Commit Graph

81 Commits

Author SHA1 Message Date
Loretta 474cb99754 [LOADED_DOCS: 3 files, no new loads]
Update AcBinarySerializable attribute to 5 params

Updated AcBinarySerializable to use a five-parameter signature across all relevant entities and DTOs. Adjusted CONVENTIONS.md to document the new attribute usage. Refactored MiscSignalRApiPlugin constructor to a single-line parameter list for clarity.
2026-05-11 20:25:42 +02:00
Loretta cb9a381400 [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 1a0bd01500 [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 7fb87283ce [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 599f8a6787 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 25e5ded777 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 6e3ca4a1e3 Add Mango.Nop.Core docs: architecture, conventions, rules
Added Mango.Nop.Core section to copilot-instructions.md detailing workspace dependencies, framework-first design, and separation from plugin logic. Introduced ARCHITECTURE.md to define framework vs. consumer boundaries, entity mirroring, and DTO parameterization. Added CONVENTIONS.md to formalize placement rules, naming conventions, and anti-patterns, referencing AyCode.Core for shared doctrine.
2026-04-23 16:11:49 +02:00
Loretta 3725b4c2fd 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 5535011df9 Comprehensive documentation overhaul and expansion
- Added detailed .md docs for Core, Data, and Services projects: DTOs, NopDependencies, repositories, transactions, services, and logging bridge
- Updated all project README.md files with metadata, documentation tables, inheritance diagrams, and clearer dependency/reference explanations
- Root README.md now includes a documentation map and improved project/type tables
- Expanded and clarified `.github/copilot-instructions.md` as the single source of truth for domain rules, patterns, and conventions
- Updated ARCHITECTURE.md, CONVENTIONS.md, and GLOSSARY.md to document DTO strategies, transaction and logging patterns, project boundaries, and AyCode integration
- Added CLAUDE.md for Claude-specific code authoring guidance
- All .csproj files now include new docs as non-compilable content
- Ensured clear separation of concerns and improved AI/tooling discoverability across the codebase
2026-03-30 10:26:35 +02:00
Loretta f47701af59 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
Loretta 1a9e0dcf0b Merge branch '4.80' into FruitBank_v0.0.8.0 2026-03-28 16:22:34 +01:00
Loretta 1898f4d517 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
Loretta ced4b98908 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:49 +01:00
Loretta ca1ac2a2d1 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:46 +01:00
Loretta c0073815ae Add ToonDescription attributes to core entities and DTOs
Introduced ToonDescription annotations across DTO and entity classes to provide metadata, business rules, and documentation for classes and properties. Updated usings to include AyCode.Core.Serializers.Toons where needed. These changes improve code clarity and support tooling for documentation and code generation.
2026-01-15 11:34:06 +01:00
Loretta 954b99fcbc Add OrderStatus enum property to Order class
Introduced the OrderStatus property as an enum wrapper for OrderStatusId in the Order class. This enhances type safety and code readability by allowing direct use of the OrderStatus enum. The property is annotated with ToonDescription to clarify its purpose and business rule.
2026-01-15 11:33:51 +01:00
Loretta 7bcd601035 Add ToonDescription attributes for enhanced metadata support
Introduced Toon serialization/description attributes to CustomerDto, GenericAttribute, and OrderNote classes. Added table mapping and foreign key metadata, as well as necessary using statements, to improve serialization, documentation, and tooling capabilities.
2026-01-14 21:05:20 +01:00
Loretta 0eeefedee3 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
Loretta 99bfaf960b 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
Loretta 3c479e1ad5 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:50 +01:00
Loretta 120ed09738 .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00
Loretta b21197ca67 improvements, fixes 2025-11-26 09:42:07 +01:00
Loretta 4c5d5d55c4 improvements 2025-11-21 07:20:42 +01:00
Loretta 82c3b5a7cd StockQuantityHistoryExt, StockQuantityHistoryDto; improvements, fixes; 2025-11-13 19:58:39 +01:00
Loretta 7946a52219 improvements, fixes, etc.. 2025-11-11 20:51:28 +01:00
Loretta 5277a090fb Add MessagePack packages 2025-11-07 19:21:51 +01:00
Loretta ed7a2e8cd6 BaseEntity.ToString() 2025-11-07 05:56:47 +01:00
Loretta bef91e0131 ... 2025-11-06 15:11:59 +01:00
Loretta 2bd97c88ca Mango.Nop.Core cleanup; 2025-11-05 14:56:40 +01:00
Loretta 0da0565134 Add Mango.Nop.Data project to solution 2025-11-04 15:57:09 +01:00
Loretta ec71f81d4c SignalR improvements; etc... 2025-10-30 14:54:33 +01:00
Loretta df9157c4ab Price calculation improvements, fixes, etc... 2025-10-24 15:47:45 +02:00
Loretta 08069dda58 fixes 2025-10-24 12:01:48 +02:00
Loretta 7fb047fd28 Implement CheckAndUpdateProductManageInventoryMethodToManageStock to MgEventConsumer; improvements; 2025-10-24 08:12:35 +02:00
Loretta 56927f50ea GeneratePackageOnBuild false 2025-10-23 11:27:00 +02:00
Loretta 408fa0f87e refactoring, cleanup v1.1... 2025-10-22 16:20:36 +02:00
Loretta d52deeb2b4 refactoring, cleanup, etc... 2025-10-22 15:16:20 +02:00
Loretta 38e036553e noplogger improvements, fixes, etc... 2025-10-21 15:30:43 +02:00
Loretta fd39b0700a Add MeasurementOwnerId; RevisorId generic attributes to Order; improvements, fixes, etc.. 2025-10-20 16:46:47 +02:00
Loretta a0bb6117ae ShippingDocumentToFiles fix; CustomOrder create improvements; 2025-10-19 15:08:38 +02:00
Loretta 55f626c71d nuget packages update; fixes 2025-10-18 18:45:49 +02:00
Loretta c4742f0d86 improvements, fixes, etc... 2025-10-18 08:43:36 +02:00
Loretta f7f2d30915 improvements, fixes, etc... 2025-10-16 11:43:51 +02:00
Loretta 28de927bd9 ... 2 2025-10-15 08:08:12 +02:00
Loretta c397c68601 improvements, fixes, etc... 2025-10-13 14:18:14 +02:00
Loretta a5e3702616 fixes 2025-10-12 18:07:59 +02:00
Loretta a2ed202276 improvements, fixes, etc... 2025-10-12 07:47:55 +02:00
Loretta 28d9122818 improvements, etc 2025-10-11 12:52:55 +02:00
Loretta 6fecdd2317 ShippingItemPallets improvements 2025-10-05 14:55:36 +02:00
Loretta daa1421011 improvements, fixes, etc... 2025-10-03 07:19:24 +02:00