-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hydro v5 #951
Open
undefined-moe
wants to merge
82
commits into
master
Choose a base branch
from
next
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5,215
−4,031
Open
Hydro v5 #951
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
2c8c031
framework: use @cordisjs/core instead
undefined-moe bd63331
core&framework: pass type checks on cordis 4.0.0-alpha.1
undefined-moe aeb9d4c
bus: remove legacy `import *` usage support
undefined-moe dec3170
core: fix load
undefined-moe d72bb20
core: build with plugins
undefined-moe f7e635c
core: fix startup
undefined-moe 688e0d2
migrate: fix checkLock
undefined-moe 9c2b458
core: loader.reloadPlugin: remove first arg
undefined-moe 9d64824
core: server: use handler mixin
undefined-moe f6bb3b6
bump deps
undefined-moe 93f2402
migrate: handle bigint
undefined-moe f825fbe
import-qduoj: fix spj=null
undefined-moe 31b4ed7
core: config: refactor (allow schemastery)
undefined-moe bb4c1ac
core: fix ci
undefined-moe 37f5b98
core: add exports
undefined-moe a33826c
framework: ignore ECONNABORTED
undefined-moe 209cee9
framework: disable prototype for kHandler
undefined-moe d009eb4
workspace: add ui-next
undefined-moe 0aecafc
ui: new config page
undefined-moe 4c086db
fix ci
undefined-moe a459b9a
core: loader: add missing inject
undefined-moe 1a7b08e
core&ui: remove Hydro.service.bus, Hydro.ui.template
undefined-moe 97ef575
core: fix builtin storage service
undefined-moe c4301a5
core: fix geoip inject
undefined-moe d0e8177
core: fix storage sign
undefined-moe 1165bff
ui: use schemastery-react
undefined-moe 6ff66f2
core: drop global.Hydro.lib
undefined-moe b48e700
judge: add user_code
undefined-moe cda3a8f
workspace: add oxlint
undefined-moe 0414a13
workspace: fix eslint
undefined-moe 51c3c4f
framework: show step error detail
undefined-moe af1b12d
framework: mixin: support callback style
undefined-moe af118e6
core: fix storage copy
undefined-moe caa4ddc
core: schema: hide secret value
undefined-moe 8bc5fa1
bump prerelease
undefined-moe 39dd47a
bump framework
undefined-moe af64125
workspace: fix publish script
undefined-moe f36c13d
fix publish script
undefined-moe 985fd72
benchmark: fix write benchmark.json (#956)
criyle ebc2eae
core: i18n: better performance
undefined-moe 875421d
judge: let sandbox client manages cache clean up & fix cache clean up…
criyle 4b7de2f
judge: fix submission dispose too early & make submit_answer more eff…
criyle a01c83c
bug fixes
undefined-moe aa75195
core: command: respect HYDRO_PROFILE
undefined-moe e0628c6
core: bug fixes
undefined-moe f5eab3b
add support for config migration
undefined-moe 0b03b17
bug fixes
undefined-moe 09fe3a3
upgrade deps
undefined-moe 415d1f4
framework: disable sse by default
undefined-moe 0e7320f
core: store record rejudge history
undefined-moe cd92a41
ui: add record history panel
undefined-moe 3c65c27
core&ui: show history judge time
undefined-moe 80d2137
bug fixes
undefined-moe 74a3ee9
ui-next: move to a seperate tsconfig
undefined-moe 706a9a0
core&ui: UserSelectAutoComplete: support pasting username/email
undefined-moe 7fd0171
core&ui: new domain_join logic
undefined-moe 24f61b8
fix PRIV_VIEW_ALL_DOMAIN
undefined-moe 2a04921
core: home_domain: only show joined
undefined-moe e15a310
core: upgrade: sync existing domain settings with legacy behavior
undefined-moe b9dbdc3
core: auto-join system domain
undefined-moe e9c5bf5
core: domain-join: bug fixes & add i18n
undefined-moe 0bd15ca
bug fix
undefined-moe b6f1a9c
core: use mongodb@6
undefined-moe 033e88f
core: cordis alpha.7
undefined-moe f0d49c2
core: domain_user: ignore role=default
undefined-moe 040f7d8
workspace: use eslint@9
undefined-moe 0e7f5fe
workspace: apply eslint edits
undefined-moe f8ed636
workspace: prepare: use single quote
undefined-moe a0f38d9
core&ui: implement domain leave and kick
undefined-moe 3a776c3
bug fixes & improments
undefined-moe 917ed3d
core: fix db pagination filter
undefined-moe ff16057
core: domain_join: allow auto group assignment
undefined-moe 7ed859b
core: support ban user from domain
undefined-moe e1f4f69
bug fixes (fix #964 #957)
undefined-moe 9bdf241
config: remove all setting.yaml
undefined-moe 6009a3c
core: db.fixExpireAfter: ignore system collection
undefined-moe 3d6b783
ui: fix domain_join link
undefined-moe 68e641f
core: skip if no record selected to rejudge
undefined-moe 62fb745
bug fixes
undefined-moe dc9cc9e
bug fixes
undefined-moe 4421f98
judge: replace diff binary (fix #965)
undefined-moe f305110
ui: better config page layout
undefined-moe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
*.js text eol=lf | ||
*.jsx text eol=lf | ||
*.ts text eol=lf | ||
*.tsx text eol=lf | ||
*.json text eol=lf | ||
*.yaml text eol=lf | ||
*.yml text eol=lf | ||
*.md text eol=lf | ||
*.css text eol=lf | ||
*.scss text eol=lf | ||
*.less text eol=lf | ||
*.html text eol=lf |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ yarn.lock | |
pnpm-lock.yaml | ||
tsconfig.json | ||
tsconfig.*.json | ||
.oxlintrc.json | ||
|
||
# Project Rules | ||
## Core | ||
|
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
enableTelemetry: false | ||
|
||
nodeLinker: node-modules | ||
|
||
npmPublishAccess: public | ||
|
||
yarnPath: .yarn/releases/yarn-4.0.2.cjs | ||
|
||
preferInteractive: true | ||
|
||
preferReuse: true | ||
|
||
tsEnableAutoTypes: true | ||
enableTelemetry: false | ||
|
||
yarnPath: .yarn/releases/yarn-4.7.0.cjs |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
JSX transform update
Changed from 'react' to 'react-jsx', which uses React 17's new JSX transform. This is a breaking change that might require code updates if components rely on importing React in every file.
🏁 Script executed:
Length of output: 283
Please run the above script to verify whether any TSX or JSX files still contain explicit React imports that can be removed with the new
react-jsx
JSX transform. Based on the output, further code updates might be necessary if such import statements are found.🏁 Script executed:
Length of output: 4746
React JSX Transform Update – Address Unnecessary React Imports
The build configuration now uses the new
react-jsx
transform (React 17+), which means explicitimport React from 'react'
statements are generally no longer required for JSX to work. However, our verification shows that numerous files still include these imports (35 TSX files and 9 JSX files, for example, inpackages/ui-default/components/languageselect.tsx
,packages/ui-default/components/react/IconComponent.tsx
, etc.).Actionable next steps: