Changelog-Framework


Release Notes
MDRIVEN: CHANGELOG - FRAMEWORK
All the latest MDriven Fixes and Updates
ChangeLog - MDriven Framework

December 2024

  • Revision 16270 (Modified on 2024-12-31): Many changes to WebViewEdit : x COntextMeny på orange prick Click on action view opens webview if open Buttons hidden in web-viewedit BrowserBack,UrlEdit,StyleCheck,GoView/CLear+Prick, Upload model WebView tabs changed display when selected Add viewmodel in WebViewEdit WebView from toolbar when holding ctrl brings up second window Combo of viewmodels change changes WebViewEdit directly Sync ViewEdit and LiveView
  • Revision 16267 (Modified on 2024-12-28): Work in progress - Isolated edit in WebBlazor of one view, ModelIndependant Edit of WebViews in Blazor
  • Revision 16259 (Modified on 2024-12-27): Work in progress - Isolated edit in WebBlazor of one view, ModelIndependant Edit of WebViews in Blazor
  • Revision 16255 (Modified on 2024-12-21): Build system now inject correct BuildTime and you can access the via Eco.Interfaces.VersionInfo.ThisVersionDateTime
  • Revision 16254 (Modified on 2024-12-20): ParameterCheck for triggers did not accept null values for nullable parameters - fixed
  • Revision 16250 (Modified on 2024-12-19): Complex long running issue of locale dependent numbers (decimal point being , or .) along with angularJS limitation that stringformat breaking two-way binding. This has forced us to provide 2 inputs when you have both a number+stringformat , one that you only look at with stringformat (this must use type text to allow for blank-space to show as a thousand separator) , but is hidden on focus and focus brings up edit #2 - that has 2 way binding - but no stringformat and must have type=number to allow for AngularJS built in locales aware decimal separator. This gives the acceptable effect that all decimals show once you go into edit, also thousand separator disappears since space is not allowed in type=number fields.
  • Revision 16249 (Modified on 2024-12-19): Bad mistake in StringFormat for WPF made 2 days ago will give "Int32" instead of the value in any field not having an explicit stringformat, and not having a oldformat type specific string format defintion in XAML (ie like DateTime.StringFormat). Fixed
  • Revision 16247 (Modified on 2024-12-17): OCLEditor - arguments to operators now have names - this makes it easier to understand the operation; example: Method1(one:String; two:Integer; three:String) before -> self.Method1( «String» , «Int32» , «String» ) now -> self.Method1( «one:String» , «two:Int32» , «three:String» )
  • Revision 16246 (Modified on 2024-12-17): WPF StringFormat confusion; When we started with StringFormat support it was a mix of stylename and stringformat, in those scenarios style was given as "narrow" and we wanted to find narrow.stringformat, and narrow.TextBox etc as resources, this did not scale very well and we now give stringformat in std format , for example #,##.## , and we pass this in the TaggedValue StringFormat - this is a better fit as the different target environments can have their own TaggedValue: StringFormatAngular StringFormatRazor StringFormat (wpf + blazor)
  • Revision 16244 (Modified on 2024-12-17): VMClass by definition have their vCurrent_ of nestingslists set to the first object if available - now we also init the vSelected_ to first object if available. This is to make the use of vSelected_ variable for actions behave the same as the use of vCurrent_ variable
  • Revision 16243 (Modified on 2024-12-17): VMClass CanExecuteNamedAction did not correctly take ReadOnlyMode into account - This was noticed as PeriodicActions executed even when ReadOnlyMode was on . CanExecuteNamedAction now rewritten and now use AbstractAction.Enable that has the ReadOnlyMode awareness built in
  • Revision 16242 (Modified on 2024-12-17): Issue with empty space " " in EnableExpressions tricked concat of complete ViewExpression to become ... and ( ) -> giving runtime error - fixed with trim
  • Revision 16241 (Modified on 2024-12-16): OnDeleteReasonSolve(reason:string) is a new special method that can resolve cascading delete fail reasons as described here https://wiki.mdriven.net/Documentation:OCLOperators_OnDelete
  • Revision 16240 (Modified on 2024-12-16): Sort of viewmodel names in combos in debugger
  • Revision 16239 (Modified on 2024-12-16): Adding GraphAPI fields access and patch, adding permission access and send invite access
  • Revision 16238 (Modified on 2024-12-16): Changed wiki to learn in links to learn.mdriven.net Changed OclOperatator_<op> links to Documentation:OclOperatator_<op>
  • Revision 16234 (Modified on 2024-12-15): Several issues stopped StyleInModel-live changes to successfully render in LiveEdit
  • Revision 16231 (Modified on 2024-12-15): Added hiding of most menus during loading of Angular pages. Users find it confusing to see menus showing during loading on mobile devices
  • Revision 16228 (Modified on 2024-12-12): StartScreen updates - it now should also show if server is stopped mid streams
  • Revision 16226 (Modified on 2024-12-11): ...
  • Revision 16225 (Modified on 2024-12-11): CurrencyManager ran into issues with project assemblies vs plugin assemblies due to not residing in the same assembly as handles -now values are streamed between types
  • Revision 16224 (Modified on 2024-12-11): Certain combinations of expressions ending in comment became wrong when merged with accessgroups and or SysReadOnlyMode - fixed
  • Revision 16223 (Modified on 2024-12-10): SysDocBatchZip failed if SysDoc had null data - fixed
  • Revision 16222 (Modified on 2024-12-10): SysGraphAPIError class introduced to support the GraphAPI merge model. The use case to pull multiple documents in batch must allow any errors in the API usage to be managed by developer - and the execution of loops should not end
  • Revision 16220 (Modified on 2024-12-10): Tabindex on table to allow for paste on empty table
  • Revision 16218 (Modified on 2024-12-09): Fixed bug that prevented parameters to be used with RestDownload
  • Revision 16216 (Modified on 2024-12-08): cellselect work inprogress
  • Revision 16210 (Modified on 2024-12-05): Enum problem issues in blazor Styles for datatable improved
  • Revision 16203 (Modified on 2024-12-02): Upload new file, and create new folder calls added to GraphAPI now also sets SysGraphAPI.StatusFromLastOp as the other operations
  • Revision 16201 (Modified on 2024-12-02): Upload new file, and create new folder calls added to GraphAPI else if (method.Name == "UploadToFolderWithDriveIdAndId") { var driveid = variableList[0].Element.GetValue<string>(); var itemid = variableList[1].Element.GetValue<string>(); var filename = variableList[2].Element.GetValue<string>(); var blob = variableList[3].Element.GetValue<byte[]>(); result = GraphAPISupport.UploadToFolderWithDriveIdAndId(httpClient, theobject, driveid, itemid, filename, blob).Result; return true; } else if (method.Name == "CreateFolderInFolderWithDriveIdAndId") { var driveid = variableList[0].Element.GetValue<string>(); var itemid = variableList[1].Element.GetValue<string>(); var foldername = variableList[2].Element.GetValue<string>(); result = GraphAPISupport.CreateFolderInFolderWithDriveIdAndId(httpClient, theobject, driveid, itemid, foldername).Result; return true; }
  • Revision 16198 (Modified on 2024-12-02): Removed app.config, not needing and stopped build server

November 2024

  • Revision 16197 (Modified on 2024-11-30): Fix exception when using viewmodels with viewmodelclasses having non-english characters.
  • Revision 16196 (Modified on 2024-11-30): Issues with signalR from DevEnv, Now ignoring connection breaks , suspect assembly conflict with VS2022
  • Revision 16194 (Modified on 2024-11-30): Issues with signalR from DevEnv
  • Revision 16185 (Modified on 2024-11-29): Blazor grid relies unique cell ids that were exåensive to create - optimized
  • Revision 16183 (Modified on 2024-11-27): Fix of problem with requests to the server with angular binding text. Timing issue with src= for image not yet data bound
  • Revision 16179 (Modified on 2024-11-27): First stab at cell select in Blazor DataGrid - and copy to clip
  • Revision 16177 (Modified on 2024-11-26): Angular, issue with string format on numbers
  • Revision 16176 (Modified on 2024-11-26): Issue with stringformat in angular after last checkin
  • Revision 16174 (Modified on 2024-11-26): angular - Number input warning due to missing step:any attribute
  • Revision 16173 (Modified on 2024-11-26): Angular - Focus text if is Numeric
  • Revision 16163 (Modified on 2024-11-19): Several issues discovered with non-core TK and MDR regarding signalr - stuff that we already knew but had forgotten about : SignalR for ASP.NET is NOT compatible with SignalR for ASP.NET.Core - this takes us on a long journey that results in us not being able to use mdriven.net.http.netstandard in non core builds but instead mdriven.net.http , this is a bummer for many reasons and probably something that will make us deprecate the None core builds soon
  • Revision 16161 (Modified on 2024-11-19): Fixes to MDrivenServer (non core)
  • Revision 16157 (Modified on 2024-11-18): SignalR version confusion after consolidation to netStandard - fixed
  • Revision 16156 (Modified on 2024-11-17): Issue with PlacingContainers for single-link nestings being repeated as empty PC - fixed
  • Revision 16155 (Modified on 2024-11-15): ...
  • Revision 16152 (Modified on 2024-11-14): ...
  • Revision 16148 (Modified on 2024-11-14): VSIX and Designer changed to use netstandard builds of all persistencemappers
  • Revision 16137 (Modified on 2024-11-12): OrderBy breaks of early OrderBy(arg1,arg2,arg3... if arg1's ar different there is no need to compare args2's
  • Revision 16136 (Modified on 2024-11-11): The Debugger UI for ViewModel is now applying the styles in model

October 2024

  • Revision 16129 (Modified on 2024-10-31): Bug in checksum on Linux showed up as inability to use newlines on method bodies and ocl without checksum breaks - fixed VMClass - when nestinglist changes we now ensure the vSelected and vCurrent does not contain values NOT in the new list Bug in Turnkey UpdateSysToken caused multiple tokens being created with confusing results and issues with access. Fixed bug plus added compensating code to clean up double tokens
  • Revision 16127 (Modified on 2024-10-30): When VMClass VMManyAssociation has been updated - we now check that the vCurrent for this list is not left pointing to a value that does not exists in the list, and if the list has values but the vCurrent is out of list or null we now set first row. This is to mitigate issue in turnkey when new search that connected to a lot of details showed old details on new search.
  • Revision 16126 (Modified on 2024-10-30): When having RenderedBy - we now check that if you are non-boolean that you have set IsStatic on the column - RenderedBy must find a consistent place to click we cannot be editable at the same time. The renderedBy widget did not correctly adhere to the renderedactions readonly, or the ReadOnlyMode depending on WillEffectPersistent - fixed
  • Revision 16108 (Modified on 2024-10-29): Major changes to allow for DesignTimeSupport of WinForms for .net6+ components. MDriven relies on types defined in the solution, not necessarily in the same project and not in the same form. The .net6+ designtime support make use of an out of process designer called DesignerHost - and we must serialize and send components information and type information across this barrier - this required serious re-design and understanding. From this release NOTHING needs or should be in the GAC!!!! For winforms designer code AddRange(IColumn[]... should be replaced with AddRange(AbstractColumn[]...
  • Revision 16106 (Modified on 2024-10-25): Comboboxes in angularjs could null out when the list did not contain the selected value - as may happen during async load - solved by databinding in the current value as an hidden option (actually amazingly smart if it works ) Minor changes to scripts during debugging
  • Revision 16105 (Modified on 2024-10-25): SysSession updates - now states login method cookie if user was remembered but session or serverversion was new
  • Revision 16103 (Modified on 2024-10-25): ...
  • Revision 16102 (Modified on 2024-10-25): SysSession implemented for turnkeycore, this will not be maintained for turnkey for .netFramework472
  • Revision 16101 (Modified on 2024-10-24): Several changes to allow for Injecting templates from other sharepoint documents in order to create reports
  • Revision 16093 (Modified on 2024-10-22): MDrivenServer now has a TwoFactorCodeCheck for Upload model that can be turned on - this is to better protect production databases from mistakes... MDrivenDesigner has a new box to give the 2 factor code for the server. Designer has dropped the Upload ServerSide-jobs since this is automatic from months back...
  • Revision 16091 (Modified on 2024-10-22): SysMDrivenMiscSettingsSingleton is now internally subscribed to behave better when values change in runtime (like they will if values are derived for example)
  • Revision 16085 (Modified on 2024-10-17): Issue with Action in Grid that is connected to AbstractAction - that was NOT classAction - tried to use per row enable when it really follow ViewModelActions Enable - fixed
  • Revision 16084 (Modified on 2024-10-17): Improved logging if ocl method fails Added new SysGraphAPI method DriveDriveItemToThumbnailData to get acces to thumbnail data directly instead of the previous way DriveDriveItemToThumbnailUrl that points to CDN possibly blocked on server
  • Revision 16083 (Modified on 2024-10-16): ...
  • Revision 16082 (Modified on 2024-10-16): Decorating the new WF handles
  • Revision 16081 (Modified on 2024-10-16): To handle design time WinForms of handles in .net6+ subclasses of mdriven.Handles(netstandard) are introduced in mdriven.winforms - same name but postfixed with WF(WinForms) - this to make designtime discover them - as it will not look for components in netstandard - and we must have netstandard on handles to keep VS EcoSpace designer in 472
  • Revision 16078 (Modified on 2024-10-16): Unless the nugets target .net6.0 specifically - and only netstandard2.0 they will not show up in the toolbox upon nuget install - fixed
  • Revision 16076 (Modified on 2024-10-16): Issue with ÅÄÖ in angular name when databinding DataBindComboBox - new error after fix to enum DataBindComboBox null ref issue
  • Revision 16075 (Modified on 2024-10-16): Updates - winforms design .net6 support, work in progress
  • Revision 16072 (Modified on 2024-10-15): Picklists without NullRep - that are null - but has more than zero options - and target attribute is not persistent, should be initiated to first
  • Revision 16071 (Modified on 2024-10-15): New setting GlobalSeekersAlwaysNew on SysMDrivenMiscSettingsSingleton - if set Seekers will be opened as new in new tabs CreateSysViewStateCookie/UpdateSysViewStateCookie - Special model pattern that packs all viewstate in Cookie and when DWV gets a vVState=id it is assumed to match a SysViewStateCookie, and the cookie state is then restored in a new view
  • Revision 16067 (Modified on 2024-10-14): Pulled back net48 to net472 in order to better reach the goal to work with VS2022 designtime Minor nuget package upgrades and consolidations
  • Revision 16064 (Modified on 2024-10-11): Path.DirectorySeparatorChar was missed at some places - breaking linux
  • Revision 16063 (Modified on 2024-10-10): flipping order <TargetFrameworks>netstandard2.0;net48</TargetFrameworks> to <TargetFrameworks>net48;netstandard2.0</TargetFrameworks> or intf,handles,linqext
  • Revision 16060 (Modified on 2024-10-10): ...
  • Revision 16059 (Modified on 2024-10-10): Great confusion with system.drawing.common that has been deprecated by MS and making it impossible to have toolbox images on components from netstandard libraries, bye bye toolbox icons for MDriven handles
  • Revision 16057 (Modified on 2024-10-10): Removing net6.0 from this project files - it cause problems on buildserver and I think it is implicit from netStandard <TargetFrameworks>netstandard2.0;net48;net6.0</TargetFrameworks>
  • Revision 16055 (Modified on 2024-10-10): ...
  • Revision 16054 (Modified on 2024-10-10): Adding explicit support to netstandard2.0;net48;net6.0 from interfaces, Handles and Linqextender
  • Revision 16052 (Modified on 2024-10-09): Yet more mistakes/misses list in list, when multiselect... fixed
  • Revision 16051 (Modified on 2024-10-09): Mistake discovered and rectified when implementing ListView in ListView a week back.
  • Revision 16050 (Modified on 2024-10-09): Mistake when fixing nullvalues for enum-combos some weeks back knocked out select in MVC tables - fixed If you had advanced-tables globally on it also applied on MVC tables - but they went blank - fixed Mistake of using $stringformat in MVC code that already contained curly braces for other reasons - fixed
  • Revision 16049 (Modified on 2024-10-09): Issue with StartUpView if app is under subfolder - fixed
  • Revision 16047 (Modified on 2024-10-09): Updating MDrivenServer and TurnkeyServer to match nugets of underlying projects
  • Revision 16046 (Modified on 2024-10-09): Microsoft.IdentityModel.Tokens" Version="6.27.0" /> 6.35.0 System.IdentityModel.Tokens.Jwt" Version="6.27.0" 6.35.0
  • Revision 16044 (Modified on 2024-10-09): Nuget updates for MDriven core System.Text.Json from Version="8.0.4" to Version="8.0.5" Microsoft.AspNetCore.SignalR.Client" Version="8.0.8" /> 8.0.10 Microsoft.AspNetCore.SignalR.Client.Core" Version="8.0.8" /> 8.0.10 Microsoft.Data.SqlClient" Version="5.1.4" > 5.2.3 BlazorUtils.QuickGrid" Version="8.0.6" /> 8.0.8 Microsoft.AspNetCore.Components" Version="8.0.8" /> 8.0.10 Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.8" /> 8.0.10
  • Revision 16043 (Modified on 2024-10-09): Updating Microsoft.Data.SqlClient from version="5.1.4" to version="5.2.2"
  • Revision 16042 (Modified on 2024-10-09):
  • Revision 16040 (Modified on 2024-10-09):
  • Revision 16039 (Modified on 2024-10-09): Yet some spread usages of system.data.sqlclient replaced with microsoft.data.sqlclient
  • Revision 16038 (Modified on 2024-10-08): StartUpView issues, it is 2 very different problems to handle client side urls with # and serverside urls like DWV - both do now survive the wait for server start Issue in Blazor styling for PC's on controls
  • Revision 16037 (Modified on 2024-10-08): Issues fixed in MDrivenServer - The fix for NestingLevel of grids in grids had broken MVC rendering used by MDrivenServer - Fixed Usage of System.Data.SqlClient has somehow creeped back into MDrivenServer when we ofcourse know that we now use Microsoft.Data.SqlClient, having both available as nugets is insane because the SqlParameter is not SqlParamater half of the times... Fixed Turnkey/StartupViewTemplate.htm has been extended in javascript to not kill reference urls on deeplink nav towards sleeping TK
  • Revision 16036 (Modified on 2024-10-08): ...
  • Revision 16035 (Modified on 2024-10-08): StartupViewTemplate had an issue that it did not forward the hash part of the url when done. Killing navigations to a server that is not fully started. Fixed Redirect after successful external login has an issue not building complete returnUrl and thus killing navigations if the user was not already logged in
  • Revision 16034 (Modified on 2024-10-08): Updates to about boxes to fix for GAC issues
  • Revision 16033 (Modified on 2024-10-08): Removing a warning on PooledList Sort
  • Revision 16031 (Modified on 2024-10-07): Added all known assemblies to the Fix-It button
  • Revision 16030 (Modified on 2024-10-07):
  • Revision 16027 (Modified on 2024-10-07): New strategy to fix the VS GAC Need LocalizableCategory and LocalizableDescription crashed new VS - fixed GAccing on post build removed for all but interfaces and handles
  • Revision 16026 (Modified on 2024-10-07): New strategy to fix the VS GAC Need