Commit Graph

244 Commits

Author SHA1 Message Date
Loretta 9b2e34f7b5 merge 2026-05-26 17:08:01 +02:00
Loretta d0c300f2b1 Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2026-05-26 16:41:38 +02:00
Adam 2e7619b621 bug fixes on preorder, modified logic 2026-05-26 14:48:57 +02:00
Loretta 6c60d7b403 Add XML doc conventions and update references
Added a section on XML documentation standards to CONVENTIONS.md, clarified references to core and Mango.Nop framework convention docs, and improved formatting. Enabled EmitCompilerGeneratedFiles in Mango.Nop.Core.csproj.
2026-05-23 09:27:35 +02:00
Adam c86ef0e416 gyorsrendelés, előrendelés, előrendelés management, hasonlók 2026-05-12 16:18:19 +02:00
Loretta 2cf197c159 [LOADED_DOCS: 2 files, no new loads]
Update DB connection, protocol flush policy, and docs

- Switch appsettings.json to production DB connection string
- Update copilot-instructions.md to reference Rules #1-6
- Set FlushPolicy.DoubleBuffered for AcBinary protocol in PluginNopStartup.cs
2026-05-05 15:06:06 +02:00
Loretta 23ce78abf3 [LOADED_DOCS: 3 files, no new loads]
Add type-location map and DRY measurement docs

Added a "Type-Location Map" to the plugin README for quick type lookup. Updated MEASUREMENT.md to reference canonical definitions in DOMAIN_MODEL.md for shared measurement logic, reducing duplication. Clarified pallet weighing workflow and fixed the client app doc path. Minor formatting and clarity improvements.
2026-04-28 06:51:57 +02:00
Loretta ccc3f18772 [LOADED_DOCS: 1 files, no new loads]
Add repo prefixes and clarify workspace dependencies

Added prefix, type, and layer properties to each @repo block in copilot-instructions.md. Updated own-dep-repos arrays for clearer dependency paths. Adjusted [LOADED_DOCS: ...] prefix instructions to reflect correct file counts. These changes enhance multi-repo management and documentation protocol clarity.
2026-04-26 19:13:04 +02:00
Loretta d7d6a60c9d [LOADED_DOCS: NONE]
Refactor skill loading protocol in copilot-instructions

Clarified session setup: only two reactive skills are pre-loaded, with three user-gated skills now lazy-loaded on demand. Updated documentation to add "AUTHORITY, RULE SCOPE, AND SKILL INVOCATION" section, revised skill trigger descriptions, and adjusted `[LOADED_DOCS: ...]` prefix logic. Documented docs-archive as a lazy-loaded skill. Added settings.local.json for local file removal permissions. No code logic changes—documentation and protocol only.
2026-04-26 13:44:27 +02:00
Loretta 13e96ea7af Refactor docs: topic folders, navigation, protocol sync
- Restructured documentation: added `docs/README.md` to each sub-project, moved LOGGING and SIGNALR docs into dedicated subfolders with their own `README.md`.
- Updated all cross-references to use new topic folder paths and canonical AyCode.Core doc locations.
- Updated `.csproj` files to auto-include all Markdown docs and project-level `README.md` files.
- Removed obsolete single-file docs, replaced with structured content in topic folders.
- Enforced AI Agent Protocol: session setup, output prefix, no-re-read, and mandatory `docs-check` skill after code changes.
- Added domain-critical reminders and navigation guidance to relevant `README.md` files.
2026-04-25 07:24:39 +02:00
Loretta 7faad25b23 Update AI Agent protocol docs and config/debug logic
- Switched to new `[LOADED_DOCS: N files (+K this turn: ...)]` prefix format in all protocol docs, with examples and enforcement details.
- Documented `docs-discovery` skill, protocol history, and documentation-first coding requirements.
- Added protocol documentation for `Nop.Plugin.Misc.AIPlugin`.
- Changed SQL connection string to use `FruitBank_DEV` in `appsettings.json`.
- Wrapped `IHubProtocol` debug output in `#if DEBUG` in `PluginNopStartup.cs`.
2026-04-24 08:20:19 +02:00
Loretta c5bed0b22a [LOADED_DOCS: .github\copilot-instructions.md]
Update DB config, docs, and SignalR binary protocol setup

- Switched appsettings.json connection string to production DB.
- Added "Shared Agent Skills" section to copilot-instructions.md in both main and Mango.Nop Libraries repos.
- Refactored PluginNopStartup.cs: improved using statements, updated SignalR to use AddAcBinaryProtocol with explicit options, removed manual IHubProtocol registration, and added protocol diagnostics.
- No business logic changes; focused on configuration, documentation, and infrastructure.
2026-04-22 22:45:06 +02:00
Loretta 98f3000794 Update DB to DEV and customize AyCodeBinaryHubProtocol DI
Changed connection string to use FruitBank_DEV database. Updated DI registration of AyCodeBinaryHubProtocol to use custom AcBinarySerializerOptions with BufferWriterChunkSize set to 4096. Added import for AyCode.Core.Serializers.Binaries and included a commented alternative DI approach.
2026-04-09 08:28:56 +02:00
Loretta 0d446c26df Switch to PROD DB and update SignalR hub protocol
Updated the connection string in appsettings.json to use the FruitBank_PROD database instead of FruitBank_DEV. Changed the SignalR hub protocol registration in PluginNopStartup.cs from AcBinaryHubProtocol to AyCodeBinaryHubProtocol.
2026-04-06 22:45:22 +02:00
Loretta d68f060e66 Add AcBinaryHubProtocol to SignalR for binary transport
Registered custom AcBinaryHubProtocol as a singleton IHubProtocol
in PluginNopStartup.cs to enable efficient binary messaging
(via AcBinarySerializer) and eliminate JSON/Base64 overhead.
Updated SIGNALR_ENDPOINTS.md to document the new protocol,
noting WebSocket (TransferFormat.Binary) requirement and
affected hubs (DevAdminSignalRHub, LoggerSignalRHub).
Explicitly set StatefulReconnectBufferSize to 30 MB in both
code and documentation.
2026-04-04 23:22:53 +02:00
Loretta 6c776a97ca Enforce doc-first protocol, add SGen, modular plugin docs
- Enforced strict documentation-first AI agent protocol in `.github/copilot-instructions.md` (multi-repo, no auto doc edits, explicit consent, [LOADED_DOCS] prefix, [DOCUMENTATION CHECK] on code changes)
- Updated solution structure: added `docs` folder to solution items for LLM/AI context
- Integrated AyCode SGen (source-generated binary serialization) with forced runtime registration; documented SGen usage and exclusions
- Overhauled plugin `README.md` and added modular docs: `SCHEMA.md`, `DOMAIN_MODEL.md`, `MEASUREMENT.md`, `DATA_LAYER.md`, `AI_SERVICES.md`, `SIGNALR_ENDPOINTS.md`
- Updated `CLAUDE.md` to require reading copilot instructions first
- Switched appsettings connection string to production DB
- Minor doc clarifications, corrects, and project file updates
2026-04-02 22:19:30 +02:00
Loretta 8c7a9c31ba Add architecture docs for Mango.Nop & update dev DB config
Added detailed documentation: ARCHITECTURE.md, CONVENTIONS.md, GLOSSARY.md, and copilot-instructions.md for Mango.Nop.Core, Data, and Services. Updated/added README.md files for all Mango.Nop libraries and the FruitBank nopCommerce plugin, clarifying structure, key types, and usage. Switched appsettings.json connection string from production to development database. These changes improve developer onboarding and enforce architectural consistency.
2026-03-29 10:44:03 +02:00
Adam 51f546caec CustomerCredit, new order 2026-03-27 17:14:40 +01:00
Loretta 1448993fa7 Update DLL HintPaths to use $(Configuration); prod DB switch
Replaced hardcoded Debug paths in all .csproj files with $(Configuration) for AyCode and FruitBank DLL references, enabling correct DLL resolution for any build configuration. Switched appsettings.json connection string to use the FruitBank_PROD database. Added a null check for StockTaking in StockSignalREndpointServer.cs to prevent possible null reference exceptions. Noted some encoding issues in .csproj comments and copyright fields. No other functional changes.
2026-03-24 18:30:43 +01:00
Adam 8e1b3f2a5d nem ír ez lószart se... gyors rendelés, deisgn 2026-03-18 15:15:50 +01:00
Adam 000f1de2dd Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2026-03-10 18:11:18 +01:00
Adam a085a2c473 targonca 2026-03-10 18:10:04 +01:00
Loretta 126849d930 Refactor stock taking logic; add item refresh endpoint
Refactored StockSignalREndpointServer to use helper methods for creating and updating StockTakingItem objects. Added a new SignalR endpoint to refresh StockTakingItem values. Updated order item retrieval logic and switched the connection string to use the FruitBank_DEV database. Commented-out logic for handling virtual stock was moved to helper methods.
2026-03-04 15:22:30 +01:00
Adam efebc96394 Some UI changes 2026-03-02 20:53:50 +01:00
Adam 98b1ba9b22 Rendelések feldarabolása mérési státusz alapján, és szabad szétválasztás, deign update, adószám bug-fix, szállítás alatt mező automatikus kitöltése AI által termékben, átlagsúly kiszámítása és beírása termékbe bevételezéskor. AI üdvözlő szöveg alapvető elemzéssel. 2026-02-23 17:06:21 +01:00
Adam 889c368a46 Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2026-02-11 01:07:25 +01:00
Adam 611df8f60f AI finalized 2026-02-10 23:03:29 +01:00
Loretta 9bc7d4a27e Set IsMeasured=true in AddOrUpdateMeasuredStockTakingItemPallet
Ensure all stock taking item pallets are marked as measured
before adding or updating them via the SignalR endpoint.
2026-02-07 08:54:40 +01:00
Loretta 910a7aa852 Enable stock update on closure; adjust logging level
Uncommented the stock quantity and weight update during stock taking closure, ensuring inventory is updated in the database. Changed the log level for this operation from Info to Debug. Added a new using directive and left a commented block for potential future handling of "virtual" stock items.
2026-02-06 22:14:43 +01:00
Loretta c5da19a3ee Add logging for stock taking close operations
Added info logs to CloseStockTaking for invocation and item updates.
Added error log in StockSignalREndpointServer when closing fails.
2026-02-06 18:59:24 +01:00
Loretta f5e356555c Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2026-01-20 14:49:35 +01:00
Adam 15dbec5aad AI basics, FileStorage service, Menu fixes, Voice order improvements 2026-01-16 13:53:48 +01:00
Loretta ab6fb3ab88 Update DB to PROD; reformat GetAllByProductId method
Switched connection string to use FruitBank_PROD database.
Reformatted GetAllByProductId in OrderDtoDbTable.cs for clarity; no logic changes.
2026-01-06 15:15:57 +01:00
Adam 51a60b0d53 Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2025-12-22 16:15:32 +01:00
Adam bf3456e534 bleh... nullref fix 2025-12-22 16:15:24 +01:00
Loretta fd7f2b3407 Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2025-12-22 14:39:32 +01:00
Loretta 9b5155684e Add AddPartner method with SignalR support to controller
Added AddPartner to FruitBankDataController, enabling partner creation via SignalR. The method logs the action, inserts the partner into the database, and returns the newly created partner, including ShippingDocuments if available.
2025-12-22 14:37:59 +01:00
Adam 50e9c7316f Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2025-12-20 12:55:17 +01:00
Loretta 8574c2a136 Add AyCode.Core.Extensions using directive
Added the AyCode.Core.Extensions namespace to StockSignalREndpointServer.cs to enable access to its extension methods and utilities. No other changes were made.
2025-12-20 08:39:48 +01:00
Loretta d12fcfef4f Add AyCode.Core.Helpers and Serializers usings to files
Added using statements for AyCode.Core.Helpers across several files and AyCode.Core.Serializers.Binaries in DevAdminSignalRHubSandbox.cs to enable new helper and serializer functionalities. No other code changes were made.
2025-12-19 07:14:58 +01:00
Adam 365c911c11 AI document parsing small fixes (ismeasurable fix)
ShippingItem.UnitCostOnDocument added
other developments
2025-12-19 01:43:51 +01:00
Adam eb40643d62 AI document upload latest approach, innvoice order sync 2025-12-17 19:09:09 +01:00
Adam b5ef6caa39 Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2025-12-14 13:37:40 +01:00
Adam a058557620 AI progress 2025-12-14 13:37:25 +01:00
Loretta bc7a5e0be5 Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2025-12-13 12:53:38 +01:00
Loretta a64089f6a8 Minimal SignalR test hub and endpoint for isolated testing
Refactored Mango.Sandbox.EndPoints to enable minimal, dependency-light SignalR endpoint testing. Introduced DevAdminSignalRHubSandbox and TestSignalREndpoint for protocol/contract tests without full NopCommerce/FruitBank infra. Added SignalRClientSandbox and comprehensive MSTest coverage for all parameter types. Simplified Program.cs startup, updated project references, and added minimal logger. Original SignalREndpointTests replaced with focused, low-level and high-level tests. CORS and DTOs updated for compatibility.
2025-12-11 23:46:36 +01:00
Adam 61d3b2089c extra features, after publish, before upgrade 2025-12-11 18:30:56 +01:00
Loretta e178c18f80 Add stock-taking enhancements and validation updates
Enhanced stock-taking functionality by introducing the `CloseStockTaking` method in `StockTakingDbContext` to manage session closures with validation. Added the `IsReadyForClose` method to `IMgStockTaking` and its implementation in `MgStockTaking`. Integrated `FruitBankDbContext` for stock updates.

Improved logging in `StockSignalREndpointServer` and added a new SignalR endpoint for closing stock-taking sessions. Updated `AddStockTaking` to initialize properties for new entries.

Simplified loading logic in `OrderItemDtoDbTable` by commenting out unnecessary `.ThenLoad` chains. Enhanced validation in `RefreshStockTakingItemMeasuredValuesFromPallets` and adjusted return statements in `AddOrUpdateMeasuredStockTakingItemPallet` and `UpdateStockTakingItemPallet` to fetch updated entities.

These changes improve maintainability, robustness, and functionality across the codebase.
2025-12-08 15:49:51 +01:00
Loretta bb553ed35d StockTaking in progress... 2025-12-04 13:52:46 +01:00
Loretta 070d7ec3d2 .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00