refactor: rename Wizamart to Orion across entire codebase

Replace all ~1,086 occurrences of Wizamart/wizamart/WIZAMART/WizaMart
with Orion/orion/ORION across 184 files. This includes database
identifiers, email addresses, domain references, R2 bucket names,
DNS prefixes, encryption salt, Celery app name, config defaults,
Docker configs, CI configs, documentation, seed data, and templates.

Renames homepage-wizamart.html template to homepage-orion.html.
Fixes duplicate file_pattern key in api.yaml architecture rule.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-14 16:46:56 +01:00
parent 34ee7bb7ad
commit e9253fbd84
184 changed files with 1227 additions and 1228 deletions

View File

@@ -1,6 +1,6 @@
# main.py
"""
Wizamart FastAPI Application
Orion FastAPI Application
Multi-tenant e-commerce marketplace platform with:
- Three deployment modes (subdomain, custom domain, path-based)
@@ -51,7 +51,7 @@ if settings.sentry_dsn:
# Send PII data (emails, usernames) - set to False if privacy is critical
send_default_pii=True,
# Release version for tracking deployments
release=f"wizamart@{settings.version}",
release=f"orion@{settings.version}",
)
logging.getLogger(__name__).info(
f"Sentry initialized for environment: {settings.sentry_environment}"
@@ -459,7 +459,7 @@ for route_info in storefront_page_routes:
async def store_root_path(
store_code: str, request: Request, db: Session = Depends(get_db)
):
"""Handle store root path (e.g., /stores/wizamart/)"""
"""Handle store root path (e.g., /stores/orion/)"""
# Store should already be in request.state from middleware
store = getattr(request.state, "store", None)
platform = getattr(request.state, "platform", None)
@@ -515,7 +515,7 @@ async def store_root_path(
# - /platforms/loyalty/ → Loyalty platform homepage
#
# URL Structure (Production - domain-based):
# - wizamart.lu/ → Main marketing site
# - orion.lu/ → Main marketing site
# - oms.lu/ → OMS platform homepage
# - loyalty.lu/ → Loyalty platform homepage
# ============================================================================