Sync Dev

Merged
PY
5mo ago
+502-27

What does this PR aim to accomplish?:

How does this PR accomplish the above?:


By submitting this pull request, I confirm the following:

  1. 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.
  2. I have commented on my proposed changes within the code.
  3. I have tested my changes.
  4. I am willing to help maintain this change if there are issues with it later.
  5. It is compatible with the GNU General Public License v3.0
  6. I have squashed any insignificant commits. (git rebase)
  7. I have checked that another pull request for this purpose does not exist.
  8. I have considered and confirmed that this submission will be valuable to others.
  9. I accept that this submission may not be used, and the pull request can be closed at the will of the maintainer.
  10. I give this submission freely and claim no ownership to its content.
  11. 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.uk and assets to https://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.json and Update.json).