4279c458c4
docs: add comprehensive architecture rules reference documentation
...
Created detailed documentation for all 51 architectural rules:
New Documentation:
- docs/development/architecture-rules.md (comprehensive reference)
- Added to mkdocs.yml navigation
Documentation Includes:
- Overview and usage instructions
- Severity level explanations
- All 51 rules organized by category:
* Backend Rules (API, Service, Model, Exception)
* Frontend Rules (JavaScript, Templates, Styling)
* Naming Convention Rules
* Security & Multi-Tenancy Rules
* Code Quality Rules
* Middleware Rules
For Each Rule:
- Rule ID and name
- Severity level
- Detailed description
- Good and bad code examples
- Anti-patterns detected
- File patterns affected
Additional Sections:
- Quick reference tables
- Pre-commit checklist
- Common violations and fixes
- Ignored patterns explanation
- Summary statistics (51 rules, 35 errors, 16 warnings)
This documentation complements:
- .architecture-rules.yaml (rule definitions)
- scripts/validate_architecture.py (enforcement)
- Code Quality guide
- Contributing guide
Documentation builds successfully with mkdocs.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-28 20:03:45 +01:00
cde4e8eefc
docs: add comprehensive code quality and contributing documentation
...
- Add detailed Code Quality guide covering Ruff, mypy, and pytest
- Add Contributing Guide with workflow, standards, and best practices
- Update mkdocs.yml navigation to include new documentation
- Successfully build documentation without errors
New Documentation:
- docs/development/code-quality.md - Complete guide to code quality tools
- docs/development/contributing.md - Contributing guidelines and workflow
- Added Code Quality Dashboard implementation to navigation
Documentation includes:
- Ruff usage and configuration
- mypy type checking
- pytest testing guidelines
- Makefile command reference
- Pre-commit workflow
- IDE integration instructions
- Migration guide from old tools
- Best practices and common issues
Documentation builds cleanly with mkdocs build.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-28 19:43:08 +01:00
74bf2367f8
docs: add comprehensive implementation plan for code quality dashboard
...
Created detailed implementation guide for remaining phases (2-4):
Phase 2 - Service Layer:
- CodeQualityService class specification
- Scan management methods
- Violation CRUD operations
- Statistics and metrics calculation
- Integration with validator script
Phase 3 - API Endpoints:
- REST API specification for code quality
- Pydantic request/response models
- Endpoint documentation (/admin/code-quality/*)
Phase 4 - Frontend:
- Dashboard layout and components
- Alpine.js component structure
- Violations table with filtering
- Charts and visualizations
- Navigation integration
Implementation Details:
- Database schema documentation
- JSON output format for validator
- Testing checklist
- Priority order for next session
- Time estimates (3-4 hours)
Additional Features:
- Background job support considerations
- Email notifications
- GitHub/GitLab PR integration
- Historical trend analysis
This document serves as a complete blueprint for completing
the code quality dashboard in the next development session.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-28 09:26:20 +01:00
3c7af0ccdf
refactor: standardize markdown file naming to kebab-case convention
...
Renamed all documentation files to follow kebab-case naming standard:
- UPPERCASE files → lowercase (e.g., RBAC.md → rbac.md)
- snake_case files → kebab-case (e.g., icons_guide.md → icons-guide.md)
- SCREAMING_SNAKE_CASE → kebab-case (e.g., DATABASE_SETUP_GUIDE.md → database-setup-guide.md)
Files renamed (15 total):
API Documentation:
- api/RBAC.md → api/rbac.md
Architecture:
- architecture/API_CONSOLIDATION_PROPOSAL.md → api-consolidation-proposal.md
- architecture/API_MIGRATION_STATUS.md → api-migration-status.md
Development:
- development/AUTH_DEPENDENCIES_GUIDE.md → auth-dependencies-guide.md
- development/CUSTOMER_AUTHENTICATION_IMPLEMENTATION.md → customer-authentication-implementation.md
- development/CUSTOMER_AUTH_SUMMARY.md → customer-auth-summary.md
- development/icons_guide.md → icons-guide.md
Database Seeder:
- database-seeder/DATABASE_INIT_GUIDE.md → database-init-guide.md
- database-seeder/DATABASE_QUICK_REFERENCE_GUIDE.md → database-quick-reference-guide.md
- database-seeder/DATABASE_SEEDER_DOCUMENTATION.md → database-seeder-documentation.md
- database-seeder/MAKEFILE_DATABASE_SEEDER.md → makefile-database-seeder.md
Error Rendering:
- error-rendering/ERROR_RENDERING_DEVELOPER_DOCUMENTATION.md → error-rendering-developer-documentation.md
- error-rendering/HTML_ERROR_RENDERING_FLOW_DIAGRAM.md → html-error-rendering-flow-diagram.md
Getting Started:
- getting-started/DATABASE_QUICK_REFERENCE.md → database-quick-reference.md
- getting-started/DATABASE_SETUP_GUIDE.md → database-setup-guide.md
Updates:
- Updated all references in mkdocs.yml
- Updated all cross-references in markdown files
- Verified mkdocs builds without warnings or errors
Standard: Use kebab-case (lowercase-with-hyphens) for all markdown files
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-28 07:58:33 +01:00
86d67b5cfb
feat: add customer authentication pages and documentation
...
Add complete customer authentication UI with login, registration,
forgot password, and dashboard pages.
Templates Added:
- app/templates/shop/account/login.html
- Two-column layout with vendor branding
- Email/password login with validation
- Password visibility toggle
- "Remember me" functionality
- Error/success alerts
- Loading states with spinner
- app/templates/shop/account/register.html
- Customer registration form
- Client-side validation (password strength, email format)
- Marketing consent checkbox
- Confirm password matching
- app/templates/shop/account/forgot-password.html
- Password reset request page
- Email validation
- Success confirmation
- app/templates/shop/account/dashboard.html
- Customer account dashboard
- Overview of orders, profile, addresses
Styles Added:
- static/shared/css/auth.css
- Authentication page styling
- Two-column layout system
- Form components and validation states
- Theme-aware with CSS variables
- Dark mode support
- Mobile responsive
- static/shared/css/base.css updates
- Enhanced utility classes
- Additional form styles
- Improved button states
Documentation Added:
- docs/frontend/shop/authentication-pages.md
- Comprehensive guide to auth page implementation
- Component architecture
- API integration patterns
- Theme customization
- docs/development/CUSTOMER_AUTHENTICATION_IMPLEMENTATION.md
- Implementation details and technical decisions
- Security considerations
- Testing procedures
- docs/development/CUSTOMER_AUTH_SUMMARY.md
- Quick reference guide
- Endpoints and flows
- Updated docs/frontend/shop/architecture.md
- Added authentication section
- Documented all auth pages
- Updated docs/frontend/shop/page-templates.md
- Added auth template documentation
- Updated mkdocs.yml
- Added new documentation pages to navigation
Features:
- Full theme integration with vendor branding
- Alpine.js reactive components
- Tailwind CSS utility-first styling
- Client and server-side validation
- JWT token management
- Multi-access routing support (domain/subdomain/path)
- Error handling with user-friendly messages
- Loading states and animations
- Mobile responsive design
- Dark mode support
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-25 21:09:27 +01:00
1f2ccb4668
refactor: move fallback error templates to shared directory with improved naming
...
Reorganize error template structure to consolidate shared templates in a dedicated location.
Changes:
- Move templates/fallback/* to templates/shared/ with -fallback suffix
- 404.html → 404-fallback.html
- 500.html → 500-fallback.html
- generic.html → generic-fallback.html
- Update error_renderer.py to use new template paths
- Modified template selection logic in _find_template()
- Updated documentation strings to reflect new paths
- Update error rendering documentation
- HTML_ERROR_RENDERING_FLOW_DIAGRAM.md: Updated diagrams and examples
- ERROR_RENDERING_DEVELOPER_DOCUMENTATION.md: Updated file structure and paths
Benefits:
- Clearer organization with all shared templates in shared/ directory
- Consistent naming convention (-fallback suffix) indicates purpose
- Aligns with existing cdn-fallback.html in same directory
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-25 21:06:16 +01:00
756e12fe7b
removing references to letzshop, replacing by wizamart
2025-11-23 20:19:00 +01:00
0d7915c275
docs: update authentication dependency names across documentation
...
Updated all documentation to use correct authentication dependency names:
- HTML pages: get_current_admin_from_cookie_or_header, get_current_vendor_from_cookie_or_header, get_current_customer_from_cookie_or_header
- API endpoints: get_current_admin_api, get_current_vendor_api, get_current_customer_api
Changes:
- Updated authentication flow diagrams with correct dependency names for admin and vendor flows
- Added comprehensive customer/shop authentication flow documentation
- Updated cookie isolation architecture to show all three contexts (admin, vendor, shop)
- Expanded security boundary enforcement diagram to include shop routes
- Added customer cross-context prevention examples
- Updated all code examples in frontend and backend documentation
- Fixed import statements to use app.api.deps instead of app.core.auth
Files updated:
- docs/api/authentication-flow-diagrams.md (added customer flows)
- docs/frontend/admin/page-templates.md
- docs/frontend/admin/architecture.md
- docs/frontend/shared/ui-components.md
- docs/frontend/shared/sidebar.md
- docs/development/exception-handling.md
- docs/architecture/diagrams/vendor-domain-diagrams.md
- docs/backend/admin-integration-guide.md
- docs/backend/admin-feature-integration.md
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-22 18:21:23 +01:00
7a9c12dcdf
docs: fix broken link in auth dependencies guide
...
Fix MkDocs build error by removing markdown link to source code file.
Change from [API Dependencies](../app/api/deps.py) to plain text
reference to avoid strict mode warning about non-documentation files.
Fixes: Doc file contains a link to 'app/api/deps.py' not in docs
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-22 16:07:24 +01:00
ac1017928c
docs: add authentication dependencies guide
...
Add comprehensive guide explaining when to use each authentication
dependency:
- get_current_admin_from_cookie_or_header vs get_current_admin_api
- get_current_vendor_from_cookie_or_header vs get_current_vendor_api
- get_current_customer_from_cookie_or_header vs get_current_customer_api
Key distinctions:
- HTML pages (templates) → use _from_cookie_or_header (accepts cookies)
- API endpoints (JSON) → use _api (header-only, no cookies, CSRF-safe)
- Login pages → use _optional (returns None instead of exception)
Includes:
- Complete reference table
- When to use which dependency
- Migration guide from old names
- Code examples for each scenario
- Quick reference cheat sheet
This clarifies the naming change from get_current_admin_user to the
more specific variants and helps developers choose the right dependency.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-22 16:03:03 +01:00
41a51af6b4
docs: update troubleshooting documentation
...
Update troubleshooting guide with latest fixes and solutions for
common development issues encountered during CMS implementation
and shop frontend development.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-22 15:55:56 +01:00
be07bbb3b1
docs: add comprehensive CMS documentation
...
Add complete documentation for the Content Management System:
Feature Documentation (docs/features/):
- content-management-system.md - Complete CMS overview
* Two-tier architecture explanation
* Database schema and relationships
* API reference for all endpoints
* Usage workflows for admin/vendor/customer
* Best practices and examples
- cms-implementation-guide.md - Step-by-step implementation
* Activation checklist
* Code integration instructions
* Testing procedures
* Troubleshooting guide
Quick Start Guide (docs/getting-started/):
- cms-quick-start.md - Quick reference
* Setup commands
* Access URLs
* Managing content (API, admin panel, vendor dashboard)
* Two-tier system explained with examples
* Common tasks and troubleshooting
Updated Seeder Docs:
- Add CMS to enhanced seeder coverage list
- Add dedicated CMS section with table of pages
- Document integration with db-setup workflow
- Update best practices
MkDocs Configuration:
- Add "Features" section with CMS documentation
- Add CMS Quick Start to "Getting Started"
- Add CDN Fallback Strategy to "Frontend Development"
- Complete navigation structure
All documentation builds cleanly with no warnings.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-22 15:55:42 +01:00
a18ad48721
updating middleware doc
2025-11-19 21:55:34 +01:00
807033be16
revamping documentation
2025-11-17 22:59:42 +01:00
adbcee4ce3
middleware fix for path-based vendor url
2025-11-09 18:47:53 +01:00
5c80ba17c5
Main exception renamed to WizamartException
2025-10-27 21:55:05 +01:00
f65a40b533
Added support for Heroicons
2025-10-19 18:51:34 +02:00
dd16198276
major refactoring adding vendor and customer features
2025-10-11 09:09:25 +02:00
c971674ec2
marketplace refactoring
2025-10-04 13:38:10 +02:00
eaba11acb1
git repo creation on synology server documentation
2025-09-27 15:54:45 +02:00
8b86b3225a
Admin service tests update
2025-09-24 21:02:17 +02:00
98285aa8aa
Exception handling enhancement
2025-09-23 22:42:26 +02:00
b1a76cdb57
Docs for error handling
2025-09-22 21:14:55 +02:00
282ec5e024
Make command for pycharm
2025-09-21 22:36:19 +02:00
5ef018d4ff
Added placeholder for documentation
2025-09-21 17:16:55 +02:00