Sync Dev
Merged
PY
5mo ago+502+502+012345678901234567890123456789-27-27-01234567890123456789
What does this PR aim to accomplish?:
How does this PR accomplish the above?:
By submitting this pull request, I confirm the following:
- I have read and understood the contributor's guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
- I have commented on my proposed changes within the code.
- I have tested my changes.
- I am willing to help maintain this change if there are issues with it later.
- It is compatible with the GNU General Public License v3.0
- I have squashed any insignificant commits. (
git rebase) - I have checked that another pull request for this purpose does not exist.
- I have considered and confirmed that this submission will be valuable to others.
- I accept that this submission may not be used, and the pull request can be closed at the will of the maintainer.
- I give this submission freely and claim no ownership to its content.
- I have verified that my changes work correctly in both the new UI and the old/classic UI.
- I have read the above and my PR is ready for review. Check this box to confirm
Summary by Sourcery
Update script infrastructure to use the new xmoj-script.uk backend, add cloud-based settings sync and SSO login support, and refresh site legal and navigation pages.
New Features:
- Add cloud settings sync, including automatic periodic sync, UI controls, and a toggleable CloudSync utility option.
- Introduce SSO-based login flow in the messages web UI, including stateful OAuth callback handling and session exchange with the backend.
- Add dedicated privacy policy, terms of service, and child protection agreement pages linked from the main site footer.
Enhancements:
- Update all script, asset, WebSocket, homepage, and support endpoints to the new xmoj-script.uk domains.
- Improve auto-login behavior by checking server login status to avoid unnecessary redirects.
- Refine the messages web UI navigation, removing the alpha badge and adding a link to the unified authentication center.
- Bump userscript and package versions to 3.4.6 to reflect the new functionality.
CI:
- Update GitHub Actions workflows to use actions/create-github-app-token@v3 for token generation.
Summary by cubic
Adds cross‑device settings sync with hourly auto‑sync, switches all API and asset endpoints to the xmoj-script.uk domain, and bumps the script to 3.4.6. Also adds SSO login (in progress), new legal pages, and fixes an auto‑login redirect loop.
-
New Features
- CloudSync: upload/download settings UI, applies theme changes, and hourly background sync.
- Messages UI: adds SSO login entry and callback handling (development preview).
- New pages: privacy, terms, and child-protection; footer links added on the homepage.
-
Refactors
- Move API to
https://api.xmoj-script.ukand assets tohttps://assets.xmoj-script.uk; update WebSocket and image upload URLs. - Fix login loop by checking login status before redirects.
- Update workflows to
actions/create-github-app-token@v3. - Update homepage/support links and bump version to 3.4.6 (including
package.jsonandUpdate.json).
- Move API to