Merged
Conversation
Reviewer's GuidePopulates the status.php search form in the NewBootstrap UI from URL query parameters, fixes a small Chinese typo in a contest submission message, and applies minor whitespace/formatting cleanups in the image enlarger feature. Sequence diagram for populating status.php query form from URL parameterssequenceDiagram
actor User
participant Browser
participant XMOJScript
participant StatusPHP_DOM
User->>Browser: Open status.php URL with query parameters
Browser->>XMOJScript: Load and execute main
XMOJScript->>StatusPHP_DOM: Detect NewBootstrap UI
XMOJScript->>Browser: Read window.location.href
XMOJScript->>XMOJScript: Parse problem_id, language, jresult from URL
XMOJScript->>StatusPHP_DOM: Replace simform outerHTML with new form
XMOJScript->>StatusPHP_DOM: Set input problem_id value to CurrentProblemId
XMOJScript->>StatusPHP_DOM: Set select language value to CurrentLanguage
XMOJScript->>StatusPHP_DOM: Set select jresult value to CurrentJresult
User->>StatusPHP_DOM: View prefilled search form
User->>StatusPHP_DOM: Submit query form if desired
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Signed-off-by: zsTree <wa2025666@gmail.com>
Signed-off-by: zsTree <wa2025666@gmail.com>
Signed-off-by: zsTree <wa2025666@gmail.com>
Member
|
Ooh Someone finally decided to fix #38 ! |
Signed-off-by: zsTree <wa2025666@gmail.com>
boomzero
approved these changes
Mar 15, 2026
Member
boomzero
left a comment
There was a problem hiding this comment.
通常情况下, 我们认为 XMOJ 上的非用户提供内容是可行的, 所以可以忽略 AI 的 XXS
btw accept member invite to this org pls
Nice work!
2 tasks
Member
Author
() |
Member
Author
@boomzero Done |
Member
|
Good job! |
Member
|
@def-WA2025 别忘了把自己设置为public @boomzero script里面要不做一个开发组成员的badge? |
Member
|
没事可以给他admin |
Member
Author
|
@PythonSmall-Q ?什么Public |
Member
|
在GitHub团队内display |
Member
Author
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.

What does this PR aim to accomplish?
Display status.php query content.
How does this PR accomplish the above?
Get URL parameters and fill them into the query form.
By submitting this pull request, I confirm the following:
git rebase)Summary by Sourcery
Prefill the status query form from URL parameters in the new bootstrap UI and correct a user-facing submission message.
New Features:
Bug Fixes:
Summary by cubic
Prefills the
status.phpquery form from URL parameters in the NewBootstrap UI so shared links open with the same filters. Adds numeric range checks, fixes XSS and special-value filling issues, removes stray logs, and updates to3.3.3.New Features
status.phpwithNewBootstrap, readproblem_id,language, andjresultfrom the URL, validate ranges, and set the form fields.Bug Fixes
Written for commit ac13113. Summary will update on new commits.