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

@@ -175,16 +175,16 @@ Customer → DNS → Server → Nginx → FastAPI
FastAPI Middleware:
host = "store1.platform.com"
Step 1: Custom domain? NO (ends with .platform.com)
Step 2: Subdomain? YES
Extract "store1"
Query: SELECT * FROM stores
Query: SELECT * FROM stores
WHERE subdomain = 'store1'
Result: Store 1
request.state.store = Store 1
Route → Render Store 1's shop
```
@@ -195,18 +195,18 @@ Customer → localhost:8000/store/store1/
FastAPI Middleware:
host = "localhost:8000"
path = "/store/store1/"
Step 1: Custom domain? NO (localhost)
Step 2: Subdomain? NO (localhost has no subdomain)
Step 3: Path-based? YES
Extract "store1" from path
Query: SELECT * FROM stores
Query: SELECT * FROM stores
WHERE subdomain = 'store1'
Result: Store 1
request.state.store = Store 1
request.state.clean_path = "/" (strip /store/store1)
Route → Render Store 1's shop
```
@@ -402,7 +402,7 @@ Value: 123.45.67.89
TTL: 3600
Type: TXT
Name: _wizamart-verify
Name: _orion-verify
Value: abc123xyz (verification token from your platform)
TTL: 3600
```

View File

@@ -237,7 +237,7 @@
│ Exception Handler │
│ app/exceptions/handler.py │
│ │
│ @app.exception_handler(WizamartException) │
│ @app.exception_handler(OrionException) │
│ async def custom_exception_handler(...): │
│ return JSONResponse( │
│ status_code=exc.status_code, │
@@ -331,7 +331,7 @@ Step 2: Get Instructions
┌────────────────────────────────────┐
│ System returns instructions: │
│ "Add TXT record: │
│ _wizamart-verify.myshop.com │
│ _orion-verify.myshop.com │
│ Value: abc123..." │
└────────────────────────────────────┘
@@ -343,7 +343,7 @@ Step 3: Store Adds DNS Record
┌────────────────────────────────────┐
│ DNS Provider (GoDaddy/etc) │
│ _wizamart-verify.myshop.com TXT │
│ _orion-verify.myshop.com TXT │
│ "abc123..." │
└────────────────────────────────────┘