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

@@ -140,7 +140,7 @@ Refactor template to extend base:
**Symptoms:**
- Product images show broken image icon
- Console shows 404: `/static/shop/img/placeholder.jpg`
- OR images point to fake URLs like `https://wizamart.example.com/images/product-1.jpg`
- OR images point to fake URLs like `https://orion.example.com/images/product-1.jpg`
**Root Cause:**
1. Test data has fake image URLs
@@ -168,7 +168,7 @@ Refactor template to extend base:
```python
# Replace fake URLs with real placeholder images
import sqlite3
conn = sqlite3.connect('wizamart.db')
conn = sqlite3.connect('orion.db')
cursor = conn.cursor()
cursor.execute("""
@@ -185,7 +185,7 @@ conn.commit()
**Symptoms:**
- Clicking product shows 404 error
- URL is: `/stores/wizamart/shop/shop/products/4` (double `/shop/`)
- URL is: `/stores/orion/shop/shop/products/4` (double `/shop/`)
- Server log shows route not found
**Root Cause:**
@@ -207,7 +207,7 @@ All routes in `shop_pages.py` have been fixed to remove duplicate `/shop/` prefi
### Missing `/shop/` in Links
**Symptoms:**
- Links go to `/stores/wizamart/products` instead of `/stores/wizamart/shop/products`
- Links go to `/stores/orion/products` instead of `/stores/orion/shop/products`
- 404 errors on navigation
- Footer/header links broken
@@ -235,7 +235,7 @@ Template links missing `/shop/` prefix after `{{ base_url }}`.
### Store Root Shows 404
**Symptoms:**
- `http://localhost:8000/stores/wizamart/` returns 404
- `http://localhost:8000/stores/orion/` returns 404
- `/` path not found
**Root Cause:**