Commit Graph

96 Commits

Author SHA1 Message Date
Loretta a5365dd735 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:34 +02:00
Loretta e9fc609523 [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 e9c6efbb90 [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 3f21389bde [LOADED_DOCS: 1 files, no new loads]
Add Deployment & Hosting section to documentation

Added a new section detailing how the FruitBank nopCommerce server is deployed, its relationship with the FruitBank plugin, and clarified that deployment configuration is managed externally. Also documented the removal of the legacy Mango/FruitBank folder and where deployment context is now described. No other changes made.
2026-04-26 14:10:47 +02:00
Loretta ce631560dc [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 7321b0a3cd 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 e3f04cd396 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 6743d5f14f [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:05 +02:00
Loretta 318d0c2936 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 b4fa372ad8 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 44501fefc1 Update connection string to use FruitBank_DEV database
Changed the database in appsettings.json connection string from FruitBank_PROD (production) to FruitBank_DEV (development) while keeping all other parameters unchanged.
2026-04-05 17:21:53 +02:00
Loretta f3bc1fe077 Strengthen doc-first protocol and clarify Claude mapping
Updated copilot-instructions.md to enforce stricter documentation-first and multi-repo rules, including cross-repo doc loading, per-question doc checks, and improved context recovery triggers. Broadened explicit consent to all file types. Updated CLAUDE.md with sequential execution override and tool mapping, ensuring Claude follows the same protocol and rule set.
2026-04-04 20:52:56 +02:00
Loretta 956d8fecb3 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:29 +02:00
Loretta debad7f745 Add LLM instruction files for cross-repo navigation
- CLAUDE.md: single-line pointer to copilot-instructions.md
- copilot-instructions.md: added @repo name field, relative paths in own-dep-repos, SCHEMA.md first-use read, "do not re-read .md files" rule, and explicit permission to navigate external repos

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 16:15:03 +02:00
Loretta 02ffd733b3 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:02 +02:00
Loretta a29035b196 Merge branch 'main' into FruitBank_v0.0.8.0 2026-03-28 16:22:21 +01:00
Loretta 2303cc5736 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:42 +01:00
Loretta f5ff1e1ded Add serialization attributes and update to PROD config
Annotated core entities with AcBinarySerializable and ToonDescription for improved serialization and documentation. Updated appsettings.json to use the production database. Changed solution file to target Visual Studio 17. Added necessary using statements and metadata for entity classes.
2026-03-20 17:06:48 +01:00
Adam d3180c8c45 Merge branch 'main' of https://git.aycode.com/Adam/FruitBank 2026-03-10 18:10:21 +01:00
Adam e642d196e9 targonca 2026-03-10 18:10:04 +01:00
Loretta 7e988b9361 Merge branch 'main' into FruitBank_v0.0.8.0 2026-03-06 14:50:54 +01:00
Loretta d69e34c93c 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 a82f93c556 Some UI changes 2026-03-02 20:53:49 +01:00
Adam 5de603ca93 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:20 +01:00
Adam d38f3765dc Merge branch 'main' of https://git.aycode.com/Adam/FruitBank 2026-02-11 01:06:23 +01:00
Adam 34aed36633 AI finalized 2026-02-10 23:03:29 +01:00
Loretta 9c3273cb6f Update connection string to use FruitBank_DEV database
Changed the database in appsettings.json connection string from FruitBank_PROD to FruitBank_DEV for development purposes. Other connection parameters remain unchanged.
2026-01-24 10:21:04 +01:00
Loretta adaa4aab67 Merge branch 'main' of https://git.aycode.com/Adam/FruitBank 2026-01-20 14:49:33 +01:00
Loretta 2a32233b6d Restore Product class and enums; add Toon metadata
Re-enable Product class and related enums in Nop.Core.Domain.Catalog, moving them from commented to active code. Add [ToonDescription] attributes to Product properties for enhanced documentation and serialization. Mark sensitive Customer fields with [ToonIgnore] to exclude them from Toon processing.
2026-01-17 09:19:45 +01:00
Adam 0d07419692 AI basics, FileStorage service, Menu fixes, Voice order improvements 2026-01-16 13:53:47 +01:00
Loretta c47c0ddc9f Merge branch 'main' into FruitBank_v0.0.8.0 2026-01-12 07:23:21 +01:00
Loretta 5b45457ee0 Update connection string to use FruitBank_DEV database
Changed the database in appsettings.json connection string from FruitBank_PROD (production) to FruitBank_DEV (development) while keeping all other parameters unchanged.
2026-01-09 11:11:07 +01:00
Loretta 3bb1bc8fd1 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
Loretta 3d341b6568 Refactor method registration to use DynamicMethodRegistry
Replaced DynamicMethodCallModels.Add with DynamicMethodRegistry.Register for testSignalREndpoint, improving dynamic method call management and aligning with a registry-based approach.
2026-01-06 08:54:45 +01:00
Loretta b1e4bf4b0f Add interactive build_fruitbank.bat script to solution
Added build_fruitbank.bat as a Solution Item. This batch script provides an interactive interface for building, cleaning, or cleaning and building the FruitBank project and related solutions. It automates cleaning bin/obj folders, runs dotnet clean/build for multiple projects, and includes special handling for AyCode.Core.sln. The script improves developer workflow with user prompts, feedback, and error handling.
2025-12-25 08:48:48 +01:00
Loretta 5fd85007e6 Merge branch 'main' of https://git.aycode.com/Adam/FruitBank 2025-12-19 07:15:20 +01:00
Loretta 6a0ee8d105 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:57 +01:00
Adam c54ea53a48 AI document parsing small fixes (ismeasurable fix)
ShippingItem.UnitCostOnDocument added
other developments
2025-12-19 01:43:51 +01:00
Adam 2ad7917f5b AI document upload latest approach, innvoice order sync 2025-12-17 19:09:09 +01:00
Adam 996d0794de Merge branch 'main' of https://git.aycode.com/Adam/FruitBank 2025-12-14 13:37:37 +01:00
Adam 37d1e99b1b AI progress 2025-12-14 13:37:24 +01:00
Loretta e33fae85f3 Refactor tests to use GetResponseData<T> for responses
Update SignalRClientToEndpointTest to use the generic GetResponseData<T>() method instead of directly accessing the ResponseData property. This improves type safety and ensures consistent handling of response data across all relevant test cases.
2025-12-14 01:45:06 +01:00
Loretta 4e672b4264 Remove SignalR test client and disable Null plugin managers
- Deleted Mango.Sandbox.SignalRTestClient project and all related files from the solution.
- Switched appsettings.json connection string to use FruitBank_DEV.
- Cleaned up project references in Mango.Sandbox.EndPoints and its test project.
- Commented out all Null* plugin manager/service classes in Mango.Sandbox.EndPoints.Services.
2025-12-13 12:32:14 +01:00
Loretta 0dab07d2e8 Add SignalR binary serialization tests for CustomerDto lists
- Add endpoints and tests for binary serialization of TestCustomerDto lists to reproduce and diagnose MessagePack interned string index errors
- Update appsettings.json to use FruitBank_PROD database
- Set AcBinarySerializerOptions in DevAdminSignalRHubSandbox
- Extend TestSignalRTags and ITestSignalREndpointServer for new endpoints
- Add TestCustomerDto class for serialization tests
- Remove obsolete low-level SignalR/HTTP endpoint test files
2025-12-13 00:16:58 +01:00
Loretta 1e82439fee Merge branch 'main' of https://git.aycode.com/Adam/FruitBank 2025-12-12 09:07:45 +01:00
Loretta c8fa8d1c4c 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:35 +01:00
Adam 4924abf9c9 extra features, after publish, before upgrade 2025-12-11 18:30:55 +01:00
Loretta 9a3720f053 Add FruitBank SANDBOX for isolated SignalR endpoint testing
Introduces a new SANDBOX environment with a dedicated web app (`Mango.Sandbox.EndPoints`) for testing SignalR endpoints in isolation from the main application. Adds null plugin manager implementations to avoid plugin dependencies. Includes automated MSTest tests (`Mango.Sandbox.EndPoints.Tests`), a manual SignalR test client, and a PowerShell script for building and running the sandbox. Provides configuration files and health endpoints for robust, independent development and testing of FruitBank SignalR logic.
2025-12-10 09:47:06 +01:00
Loretta d3659779ee .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00
Adam c7f48cd738 átlagsúly, pdf-to-image, képfeltöltés újratöltve, AI válasz felület 2025-11-18 11:09:14 +01:00