chore: retire legacy WebUI flows to unblock API endpoint removal#198
Open
hhvrc wants to merge 1 commit into
Open
chore: retire legacy WebUI flows to unblock API endpoint removal#198hhvrc wants to merge 1 commit into
hhvrc wants to merge 1 commit into
Conversation
This frontend is being superseded by the new OpenShock website. Strip the legacy flows from the old WebUI so the API can retire the endpoints behind them, and specifically disable the old auth endpoints that predate Cloudflare Turnstile (they accept captcha-less request bodies). Pairs with OpenShock/API#322, which returns 410 Gone for the captcha-less v1 auth routes. Disabling old (captcha-less) auth: - Login page replaced with a "Login has moved" notice + Continue to OpenShock button; users return here once signed in. - Removed Signup, Password Reset, Password Recover, and Account Activation pages + routes, freeing /1/account/{login,signup,reset}, /1/account/recover, and user/activate. Removing other flows to unblock endpoint retirement: - Profile > Settings and the dead Patreon connections routes (user/connections). - Admin pages (users management + online-devices monitoring), freeing admin/users/*, admin/users/search, admin/users/create, and 1/admin/monitoring/onlineDevices. Cleanup: removed orphaned helpers (SanityChecks.js, Login LoadingView.vue), the empty Login/Password dir, the unused .forgot-pw style, and the Admin/Settings nav entries.
|
Ready to review this PR? Stage has broken it down into 5 individual chapters for you: Chapters generated by Stage for commit 4af3bc8 on Jun 24, 2026 10:21am UTC. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This frontend is being superseded by the new OpenShock website. This PR strips the legacy flows from the old WebUI so the API can safely retire the endpoints behind them, and specifically disables the old auth endpoints that predate Cloudflare Turnstile (they accept captcha-less request bodies).
Pairs with OpenShock/API#322, which returns
410 Gonefor the captcha-less v1 auth routes.Disabling old (captcha-less) auth
The v1
login/signup/password-resetendpoints have no Turnstile verification. Rather than retrofit a captcha here, the old auth UI is removed and users are sent to the new site to authenticate:https://openshock.app); users return here once signed in.POST /1/account/{login,signup,reset},/1/account/recover/...,user/activate.Removing other flows to unblock endpoint retirement
user/connections.admin/users/*,admin/users/search,admin/users/create,1/admin/monitoring/onlineDevices.Cleanup
Removed now-orphaned helpers (
SanityChecks.js, the LoginLoadingView.vue), the emptyLogin/Password/dir, the unused.forgot-pwstyle, and the Admin/Settings nav entries.Testing
npm run build-cisucceeds (only the repo's pre-existing bundle-size warnings).