Stable release 4.0.0: merge dev into master

Merged
BO
2mo ago
+4236-2091

What does this PR aim to accomplish?:

Promote dev to master as stable release 4.0.0. This replaces #1052, now that its review follow-ups (#1055) are on dev. Since stable 3.8.0, dev has accumulated fixes that resolve every GitHub issue that was open; there are currently no open issues.

Issues resolved by changes in this release:

  • #1038, #1041 — navbar covering page content (#1039, #1044)
  • #920, #618 — account/profile page migration and the submission history graph (#1040)
  • #915 — profile edit logic for users without a badge (#1045)
  • #1003 — replay video seek handle opened as an enlarged image (#1051)

How does this PR accomplish the above?:

Merge dev into master. The stable entry is already in Update.json: #1054 (generated by UpdateToRelease on #1052) created it as 3.9.0, and #1057 renamed it to 4.0.0 because the rating redesign (#1048) is a breaking change. UpdateToRelease on this PR found the last version already stable and made no changes. The merge is clean; the merged tree is identical to dev. No new implementation commits or history rewrites are introduced by this release PR.

Userscript changes included since 3.8.0:

  • #1036 — navbar resize-listener leak, downloads.php card overlap, web fonts
  • #1039 — navbar font mismatch and overlap before Bootstrap loads
  • #1040 — restore account and profile pages, enforce Chinese UI
  • #1044 — navbar spacer stays visible under browser cosmetic filters
  • #1045 — restore admin add-tag button for users without tags
  • #1048 — redesigned user rating and unified rating colors
  • #1049 — script admins shown with violet names instead of a badge
  • #1051 — image enlarger and minimalist skin fixed on video replay pages; page title added

Also on dev, not affecting the userscript:

  • #1043 — website redesign and deploy on every push

  • #1046 — tooling

  • #1055 — review follow-ups from #1052:

    • site, privacy and child-protection page fixes
    • test fixes
    • version PRs opened with the GitHub App token, so they auto-merge
    • extern-contrib retired; fork PRs now target dev and get post-merge version bumps (UpdateVersionFork)
    • Prerelease no longer overwrites a stable release
    • retired Qodana workflow removed

    Its workflow commits are already cherry-picked to master.

The contributor guide and organization template have been read. The ready-for-review checkbox remains unchecked: item 11 requires human verification in both the new and old/classic XMOJ UI, which a maintainer should perform before confirming. This release preserves the existing merge history, so item 6 is not newly asserted.


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

🤖 Generated with Claude Code

https://claude.ai/code/session_01E5dr7XTsCeoamqLSiT9rLp