Commit Graph

151 Commits

Author SHA1 Message Date
Loretta fdcd47fa75 Update UI access from Developer to Administrator role
Replaced all checks and UI visibility conditions using LoggedInModel.IsDeveloper with LoggedInModel.IsAdministrator across Blazor components and grid templates. This change restricts advanced features and UI elements to administrator users instead of developer users. The "Delete" toolbar item remains accessible to developers. No other logic or functionality was modified.
2025-12-13 00:16:34 +01:00
Loretta 056a69ecc8 Update local HTTPS, layout auth, deps, and add SignalR tests
- Switch FruitBankConstClient.BaseUrl to HTTPS for localhost.
- Pin DevExpress.Blazor to 25.1.3 in client project.
- Add Microsoft.Extensions.ObjectPool v9 to test project for SignalR.
- Reformat App.razor markup; comment out ResourcePreloader.
- Render @Body only if logged in or on login page in MainLayout.
- Redirect to /Login if not authenticated after auto-login.
- Add SandboxEndpointSimpleTests.cs for HTTP/SignalR endpoint tests against local sandbox.
2025-12-11 23:46:20 +01:00
Adam 01ffd22fca Allowed Martin to access edit 2025-12-11 18:32:29 +01:00
Loretta 0d9ced990a Add secure cross-platform auto-login with credential storage
Introduces ISecureCredentialService abstraction and platform-specific implementations for secure credential storage (WebAssembly, MAUI, server). Refactors LoggedInModel to support async auto-login, login, and logout using stored credentials. Updates DI and UI logic to enable seamless auto-login and logout across all platforms. Cleans up redundant navigation checks and improves maintainability.
2025-12-09 16:46:47 +01:00
Loretta 4ef318973f Add grid sync state tracking and robust login redirection
Introduce IsSyncing and OnSyncingStateChanged to IMgGridBase and MgGridBase for real-time sync state tracking and event notification. Update FruitBankToolbarTemplate to enable/disable the reload button based on grid sync and reload state, subscribing to sync events and cleaning up on disposal. Implement IAsyncDisposable in MgGridBase to prevent memory leaks. Update login navigation to use forceLoad for reliability. These changes improve UI responsiveness and resource management.
2025-12-09 11:27:21 +01:00
Loretta 346d433196 Refactor, enhance, and improve test coverage
Refactored `OnDataSourceLoaded` to be asynchronous for better state handling. Downgraded `Newtonsoft.Json` to version `13.0.3` across multiple projects for compatibility. Enhanced `MeasuringItemPalletBase` with `SetParentPropToNull` and `SetForeignKey` methods. Refactored `OrderItemPallet`, `ShippingItemPallet`, and `StockTakingItemPallet` to simplify table attributes and improve parent-child relationship handling.

Added `IsReadyForClose` to `StockTaking` for better closure validation. Updated SignalR tag constants to reflect new functionality. Improved Razor components (`PalletItemComponent`, `StockTakingTemplate`, `MeasuringIn`, `MeasuringOut`) to streamline logic and maintain proper references.

Introduced `JsonExtensionTests` for comprehensive validation of JSON serialization/deserialization, including deep hierarchies, circular references, and hybrid references. Added `test_debug.ps1` for streamlined test debugging. Performed general code cleanup and improved test coverage.
2025-12-08 15:50:57 +01:00
Loretta 1b6aae83f1 StockTaking in progress... 2025-12-04 13:52:51 +01:00
Loretta e13e32dc57 .Net10, VS2026; StockTaking in progress... 2025-12-01 16:18:47 +01:00
Loretta 7e4d0a85e8 Upgrade to .net10 and Visual Studio 2026; StockTaking in progress... 2025-11-28 08:15:58 +01:00
Loretta b6248d68f3 improvements, fixes 2025-11-26 09:42:17 +01:00
Loretta 2253f0f534 improvements, fixes, etc... 2025-11-24 08:27:07 +01:00
Loretta 7c1cd6574e OrderItemGrid improvement, fixes 2025-11-21 17:16:59 +01:00
Loretta 34be547e85 improvements 2025-11-21 16:28:49 +01:00
Loretta 264ad6256f improvements 2025-11-21 07:20:26 +01:00
Loretta 5c6aa6a80f improvements, fixes 2025-11-20 08:30:49 +01:00
Loretta c4c58163ec improvements, fixes 2025-11-18 12:52:23 +01:00
Loretta a43c7e6858 MapHub TransportSendTimeout, WebSockets.CloseTimeout fix; etc... 2025-11-16 19:21:06 +01:00
Loretta d2d4ea56c5 improvements, fixes 2025-11-15 15:42:43 +01:00
Loretta 5e574cd19e fixes 2025-11-15 08:13:35 +01:00
Loretta 9731e15944 IsIncosistent... 2025-11-14 18:44:49 +01:00
Loretta 66764b3dd5 fixes 2025-11-14 17:56:39 +01:00
Loretta 8b9cf1ea8d StockQuantityHistoryExt, StockQuantityHistoryDto; improvements, fixes; 2025-11-13 19:58:45 +01:00
Adam 1322290d88 merge 2025-11-12 18:03:59 +01:00
Adam 052649010e ui changes 2025-11-12 18:01:53 +01:00
Loretta aad3a59383 fixes 2025-11-12 17:56:56 +01:00
Loretta cfe9c2c3fd improvements, fixes, etc... 2025-11-12 17:19:03 +01:00
Loretta 0e8ab18ca4 MgGridBase improvements, fixes 2025-11-08 06:34:18 +01:00
Loretta a53a136b56 fixes 2025-11-07 21:13:31 +01:00
Loretta 51a9b3ae4b improvements 2025-11-06 21:11:46 +01:00
Loretta 7c370251c6 MgGridBase... 2025-11-06 15:09:12 +01:00
Loretta c1f8dcbf5d Improvements, fixes, etc... 2025-11-05 14:56:07 +01:00
Loretta 955d7ec963 improvements, fixes, etc... 2025-11-04 15:31:42 +01:00
Loretta 4c5b31f123 improvements, fixes, etc... 2025-11-03 06:45:05 +01:00
Loretta 1acd6a5833 improvements 2025-11-01 19:43:44 +01:00
Adam fcfe879395 Merge branch 'main' of https://git.aycode.com/Adam/FruitBankHybridApp 2025-11-01 01:10:34 +01:00
Adam 2a8b267934 notification 2025-11-01 01:06:40 +01:00
Loretta f9cb10556a improvements, fixes 2025-11-01 00:42:54 +01:00
Loretta 3a8324cace improvements, fixes, etc.. 2025-10-31 13:51:13 +01:00
Loretta dd270f6eca imporvements, fixes, etc... 2025-10-31 05:37:12 +01:00
Loretta d53c44d2db SignalR improvements; etc... 2025-10-30 14:54:47 +01:00
Loretta 29a15fe8ac implement AvailableQuantity 2025-10-26 08:37:30 +01:00
Loretta 1e0e2146ca orderby DateOfReceipt... 2025-10-24 15:47:18 +02:00
Loretta 81edcfff07 Login hack fix; improvements 2025-10-24 08:11:50 +02:00
Loretta 2eaf74b199 fixes 2025-10-23 06:34:40 +02:00
Loretta 88c0fbec54 refactoring, cleanup, etc... 2025-10-22 15:16:04 +02:00
Loretta f274f46971 fixes 2025-10-21 17:35:59 +02:00
Loretta 74eef9807e fixes 2025-10-21 17:00:20 +02:00
Loretta bfc903f714 fixes 2025-10-21 16:29:30 +02:00
Adam 04b5556434 malacka fix 2025-10-21 14:16:22 +02:00
Adam fb2d7fbe59 Merge branch 'main' of https://git.aycode.com/Adam/FruitBankHybridApp 2025-10-21 09:03:49 +02:00
Loretta 95933933b8 fixes, improvements, etc... 2025-10-21 08:13:13 +02:00
Adam 649a7b2c8c Merge branch 'main' of https://git.aycode.com/Adam/FruitBankHybridApp 2025-10-21 00:21:24 +02:00
Loretta 2d03a6d60b fixes, improvements, etc... 2025-10-20 22:42:13 +02:00
Loretta 2183e8ea66 fix 2025-10-20 19:01:24 +02:00
Adam 0a78d54536 Merge branch 'main' of https://git.aycode.com/Adam/FruitBankHybridApp 2025-10-20 17:50:20 +02:00
Loretta 6400278830 add warning dialog 2025-10-20 17:16:41 +02:00
Loretta 153a639ba2 fixes 2025-10-20 17:08:13 +02:00
Loretta 35e71cb75c Add MeasurementOwnerId; RevisorId generic attributes to Order; improvements, fixes, etc.. 2025-10-20 16:46:40 +02:00
Adam e2aabb3bb9 Merge branch 'main' of https://git.aycode.com/Adam/FruitBankHybridApp 2025-10-19 15:13:39 +02:00
Adam 897a907f3b Navmenu 2025-10-19 15:13:36 +02:00
Loretta ebd3acd060 fixes 2025-10-19 13:50:02 +02:00
Loretta 0938422103 nuget packages update; improvements, fixes 2025-10-18 18:46:00 +02:00
Loretta f145dfcd70 improvements, fixes, etc... 2025-10-16 11:43:46 +02:00
Loretta d93cb107b6 improvements 2025-10-15 15:42:11 +02:00
Loretta 51aef27828 ... 2025-10-15 07:56:56 +02:00
Loretta 581c4ee0a5 ... 2025-10-13 18:03:15 +02:00
Loretta e1f28f7fe8 improvements, fixes, etc... 2025-10-13 14:18:08 +02:00
Loretta 9d6cc0abed improvements, fixes, etc... 2025-10-12 07:47:57 +02:00
Loretta 0f1ed24631 Implement Tare; Implement OrderItemPallet;, improvements, fixes, etc... 2025-10-10 08:00:02 +02:00
Loretta a74b356e70 improvements, fixes, etc... 2025-10-09 07:29:33 +02:00
Loretta dc249b8ef4 imrpovements, fixes, etc... 2025-10-07 07:23:26 +02:00
Loretta 8845385477 improvements, fixes, etc... 2025-10-06 07:44:49 +02:00
Loretta 460e29529f ShippingItemPallets improvements 2025-10-05 14:56:00 +02:00
Loretta e918a77db3 improvements, fixes, etc... 2025-10-03 07:19:27 +02:00
Loretta 158713a869 rename: QuantityOnDocument, NetWeightOnDocument, GrossWeightOnDocument; improvements, fixes, etc... 2025-10-02 07:23:13 +02:00
Loretta d7e58e28f5 improvements, fixes, etc... 2025-09-30 18:18:18 +02:00
Loretta 0c2c5ab8ee improvements, fixes, etc... 2025-09-30 07:24:29 +02:00
Loretta df4715360e improvements, fixes, etc... 2025-09-29 13:33:34 +02:00
Loretta 8cae7bbd76 fixes... 2025-09-23 12:16:55 +02:00
Loretta 17e4fcf09e improvements, fixes, etc... 2025-09-23 10:41:31 +02:00
Loretta fa56d6d363 MeasuringIn UI improvements, etc... 2025-09-20 13:07:00 +02:00
Loretta c4061dae6f MeasuringIn improvements 2025-09-20 05:39:20 +02:00
Loretta 4410d662d8 Measuring improvements 2025-09-19 14:44:04 +02:00
Loretta 72071e7a79 Convert to Devexpress solution; impovements, clean, etc... 2025-09-17 06:02:32 +02:00
Loretta 37ceac59b8 empty 2025-09-17 05:22:26 +02:00
Loretta 1c666c7ac7 improvement, fixes, etc... 2025-09-12 13:34:45 +02:00
Loretta cf234681af improvements, fixes, etc... 2025-09-11 12:51:46 +02:00
Loretta 07b4e5f558 Add MsTests; improvements, fixes, etc... 2025-09-09 04:38:08 +02:00
Loretta 4538c0a4b9 improvements, fixes, etc.... 2025-09-07 13:39:09 +02:00
Loretta ec93fc7afd refactoring, improvements, etc... 2025-09-07 06:56:27 +02:00
Loretta dfb6eebbf3 implement entities; fixes, etc... 2025-09-05 06:16:53 +02:00
Loretta a5c3c12a53 commit 2025-09-03 15:01:57 +02:00
Loretta 0637d34253 CopyLocalLockFileAssemblies set true 2025-09-03 07:04:18 +02:00
Loretta 964179c9d3 Implement SignalR hubs, logger; etc... 2025-09-02 13:12:10 +02:00
Loretta bde787caf0 SignalRAdmin in progress... 2025-08-31 14:55:31 +02:00
Loretta 2340c6910a merge2 2025-08-31 12:01:00 +02:00
Loretta 8301a027f0 merge 2025-08-31 12:00:49 +02:00
Adam 649777e3a9 git removes 2025-08-31 11:45:27 +02:00
Loretta 5bb2dc83e9 first 2025-08-31 08:43:12 +02:00
Adam 8d56eb2f30 whtf 2025-08-31 00:47:04 +02:00