move into sonardesk
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Phase 2: route-contract baseline (not a runtime migration)
|
||||
|
||||
This iteration adds a repeatable **static** route inventory (`sonardesk-route-inventory.json`), its regeneration script (`php scripts/integration/audit_routes.php`) and host-level marketing route tests.
|
||||
|
||||
## Production blockers
|
||||
|
||||
1. Extract legacy API routes from module route providers and compare the **runtime** `php artisan route:list --json` outputs of both original applications. Static regex is not a substitute for runtime route enumeration.
|
||||
2. Port licensing models, migrations, services, controllers and commands with namespace isolation. Do not run legacy migrations against the ABSDev database until table/schema conflicts have been reviewed.
|
||||
3. Reconcile Fortify/Spatie auth with legacy users, permissions, sessions and licence ownership.
|
||||
4. Integrate Paddle/Lemon Squeezy webhook signature verification and idempotency, preserve existing endpoints and secrets outside source control.
|
||||
5. Port downloads, appcast, support and release-management views/controllers into Stylist's SonarDesk theme.
|
||||
6. Test with a staging database copy and synthetic payment events; only then switch DNS.
|
||||
|
||||
No legacy licensing endpoints have been activated by this change. The archived legacy source remains isolated.
|
||||
@@ -0,0 +1,391 @@
|
||||
{
|
||||
"generated_from": "archived SonarDesk source",
|
||||
"warning": "Static extraction: nested prefixes, resource routes and dynamic registrations require runtime verification",
|
||||
"routes": [
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/activate",
|
||||
"source": "modules/Licensing/Routes/api.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/validate",
|
||||
"source": "modules/Licensing/Routes/api.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/deactivate",
|
||||
"source": "modules/Licensing/Routes/api.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/webhooks/{provider}",
|
||||
"source": "modules/Licensing/Routes/api.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/",
|
||||
"source": "modules/Licensing/Routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/licences/{license}",
|
||||
"source": "modules/Licensing/Routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/licences/{license}/upgrade",
|
||||
"source": "modules/Licensing/Routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/licences/{license}/subscription",
|
||||
"source": "modules/Licensing/Routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/licences/{license}/resend",
|
||||
"source": "modules/Licensing/Routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/licences/{license}/activations/{activation}",
|
||||
"source": "modules/Licensing/Routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/buy",
|
||||
"source": "modules/Paddle/Routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/sitemap.xml",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/{key}.txt",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/robots.txt",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/release",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/downloads/sonardesk/details",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/download",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/downloads/products/{product}/details",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/downloads/products/{product}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/downloads/{release}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/updates/appcast.xml",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/support",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/support",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/login",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/login",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/register",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/register",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/forgot-password",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/forgot-password",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/reset-password/{token}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/reset-password",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/logout",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/verify-email",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/verify-email/{id}/{hash}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/email/verification-notification",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/licences",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/licences/{license}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/licences/{license}/revoke",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/licences/{license}/restore",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/users",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/users/{user}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"path": "/users/{user}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/users/{user}/verify",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/users/{user}/verification-email",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/users/{user}/password-reset",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/users/{user}/suspend",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/users/{user}/restore",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/users/{user}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PATCH",
|
||||
"path": "/users/{user}/licences/{license}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/users/{user}/licences/{license}/activations/{activation}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/seo",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"path": "/seo",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/cms",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/cms/create",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/cms",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/cms/{page}/edit",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"path": "/cms/{page}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/cms/{page}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/download-products",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/download-products",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"path": "/download-products/{product}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PATCH",
|
||||
"path": "/download-products/{product}/publication",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/download-products/{product}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/releases",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/releases/create",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/releases",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/releases/settings",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"path": "/releases/settings",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/releases/{release}/edit",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"path": "/releases/{release}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/releases/{release}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/support",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/support/{ticket}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "PATCH",
|
||||
"path": "/support/{ticket}",
|
||||
"source": "routes/web.php"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/pages/{slug}",
|
||||
"source": "routes/web.php"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user