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

@@ -67,7 +67,7 @@ class TestFrontendDetectorStore:
def test_stores_plural_not_store_dashboard(self):
"""Test that /stores/ path is NOT store dashboard (it's storefront)."""
result = FrontendDetector.detect(host="localhost", path="/stores/wizamart/storefront")
result = FrontendDetector.detect(host="localhost", path="/stores/orion/storefront")
assert result == FrontendType.STOREFRONT
@@ -87,12 +87,12 @@ class TestFrontendDetectorStorefront:
def test_detect_storefront_from_stores_path(self):
"""Test storefront detection from /stores/ path (path-based store access)."""
result = FrontendDetector.detect(host="localhost", path="/stores/wizamart/products")
result = FrontendDetector.detect(host="localhost", path="/stores/orion/products")
assert result == FrontendType.STOREFRONT
def test_detect_storefront_from_store_subdomain(self):
"""Test storefront detection from store subdomain."""
result = FrontendDetector.detect(host="wizamart.oms.lu", path="/products")
result = FrontendDetector.detect(host="orion.oms.lu", path="/products")
assert result == FrontendType.STOREFRONT
def test_detect_storefront_from_store_context(self):
@@ -148,7 +148,7 @@ class TestFrontendDetectorPriority:
def test_path_priority_over_subdomain(self):
"""Test that explicit path takes priority for store/storefront."""
# /store/ path on a store subdomain -> STORE (path wins)
result = FrontendDetector.detect(host="wizamart.oms.lu", path="/store/settings")
result = FrontendDetector.detect(host="orion.oms.lu", path="/store/settings")
assert result == FrontendType.STORE
@@ -164,7 +164,7 @@ class TestFrontendDetectorHelpers:
def test_get_subdomain(self):
"""Test subdomain extraction."""
assert FrontendDetector._get_subdomain("wizamart.oms.lu") == "wizamart"
assert FrontendDetector._get_subdomain("orion.oms.lu") == "orion"
assert FrontendDetector._get_subdomain("admin.oms.lu") == "admin"
assert FrontendDetector._get_subdomain("oms.lu") is None
assert FrontendDetector._get_subdomain("localhost") is None
@@ -185,7 +185,7 @@ class TestFrontendDetectorHelpers:
def test_is_storefront(self):
"""Test is_storefront convenience method."""
assert FrontendDetector.is_storefront("localhost", "/storefront/products") is True
assert FrontendDetector.is_storefront("wizamart.oms.lu", "/products") is True
assert FrontendDetector.is_storefront("orion.oms.lu", "/products") is True
assert FrontendDetector.is_storefront("localhost", "/admin/dashboard") is False
def test_is_platform(self):