Skip to content
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

release: 0.5.0 Aphyocharacinae #610

Merged
merged 338 commits into from
Aug 14, 2021
Merged

release: 0.5.0 Aphyocharacinae #610

merged 338 commits into from
Aug 14, 2021

Conversation

ZsgsDesign
Copy link
Owner

@ZsgsDesign ZsgsDesign commented Aug 13, 2021

NOJ 0.5.0 Aphyocharacinae

This is a minor version update, since this version former build version updates would now ascend to minor version updates, and former patches indexed as a patch number together with hash would be referred to as build version updates.

Important: Please follow NOJ Document's guide to upgrading your NOJ from v0.4.2 to v0.5.0.

Summary: Add PHP 7.4 & NOJ_JudgeServer v0.2.1 compatibility support, compilers for Go, C#, Rust, Ruby, Haskell, Free Pascal, Text and Free Basic, OpenJudge NOI BABEL extension support, code plagiarism check beta support, scroll board beta support, compiler info highlight and dialog support, editor themes support, NOJ themes support, image hosting service support, user permissions support, system settings support, AAuth Socialite support, localization support and a brunch of Admin Portal functional update, dozens of new environment configurations and 3 helper functions. This version update also includes lots of bug fixes, functionality & UI improvements, and security updates.

Update Logs

  • Compatibility: NOJ now supports PHP 7.4 per PHP 7.4 Support #614 requests.
  • Compatibility: NOJ now supports NOJ_JudgeServer v0.2.1 per NOJ JudgeServer 0.2.1 Support #615 requests.
  • New: Add Golang language support (require NOJ JudgeServer v0.1.4 or higher).
  • New: Add C# language support (require NOJ JudgeServer v0.1.4 or higher).
  • New: Add Rust language support (require NOJ JudgeServer v0.2.0 or higher).
  • New: Add Ruby language support (require NOJ JudgeServer v0.2.0 or higher).
  • New: Add Haskell language support (require NOJ JudgeServer v0.2.0 or higher).
  • New: Add Free Pascal language support (require NOJ JudgeServer v0.2.0 or higher).
  • New: Add Text special language support (require NOJ JudgeServer v0.2.0 or higher).
  • New: Add Free Basic language support (require NOJ JudgeServer v0.2.1 or higher).
  • New: OpenJudge NOI Group BABEL extension support per OpenJudge NOI Support #616 requests, see OpenJudge NOI.
  • New: NOJ code plagiarism check beta support per Independent Code Plagiarism Check Support #617 requests, only contests that are official and anticheat can use this feature.
  • New: NOJ scroll board beta support per Independent ScrollBoard Support #618 requests, only contests that require registration, uses ICPC rules and has frozen time can use this feature, you can use ctrl+enter to auto-scroll or use enter to scroll manually.
  • New: NOJ compiler info highlight and dialog support per Compiler Info Highlight and Dialog Support #619 requests, you can now click CE records and view info in a more elegant way.
  • New: NOJ editor themes support per NOJ Editor Themes Support #622 requests, you can now choose from a variety of totally 51 themes to customize your NOJ code editing experience.
  • New: NOJ themes support per NOJ Themes Support #623 requests, you can now choose from a variety of totally 15 themes, including the classic theme that got removed prior to NOJ v0.1.0 update, to customize your NOJ experience, see NOJ Docs - Theme for more information.
  • New: NOJ tools image hosting service support per Image Hosting Service Support #625 requests, you can now use NOJ image hosting service to upload images.
  • New: NOJ user permissions support per Independent User Permissions Support #626 requests, you can now use the command php artisan manage:permission to manage user permissions.
  • New: NOJ settings support per Database Driven Config in Admin Portal #500 requests, you can now use the database to manage some NOJ settings.
  • New: Socialite support for AAuth per Yangzhou High School requests, see AAuth Support #624.
  • New: BABEL command php artisan babel:require now supports --ignore-platform-reqs option.
  • New: Users without passwords can create new passwords on the settings page, see Automatically Create User through Social OAuth #588.
  • New: Locale support for NOJ VSCode Editor.
  • New: NOJ site registration control support via env FUNC_ENABLE_REGISTER per Disable Registration 禁止注册 #586 requests.
  • New: NOJ multi-domain support via env APP_MULTI_DOMAIN per NOJ Multi-Domain Support #620 requests.
  • New: NOJ OAuth login temp account support via env APP_ALLOW_OAUTH_TEMP_ACCOUNT per Yangzhou High School requests, see Automatically Create User through Social OAuth #588.
  • New: NOJ OAuth login switch support via env GITHUB_ENABLE and AAUTH_ENABLE per NOJ OAuth Login Switch Support #621 requests.
  • New: Dashboard system requirements check support for Admin Portal.
  • New: Add monaco-ace-tokenizer package that provides an advanced highlight for many languages, NOJ used it for Haskell.
  • New: Add fonts-asset/socialicon package provided by @ZsgsDesign, this package provides support for Socialite icons that Material Design Icons doesn't have, see Package Hosted Font Resources #504.
  • New: Add fonts-asset/langicon package provided by @ZsgsDesign, this package provides support for language icons that devicon doesn't have, see Package Hosted Font Resources #504.
  • New: Group management support for Admin Portal.
  • New: Group locale support for Admin Portal.
  • New: Contest management support for Admin Portal.
  • New: Judge Agent management support for Admin Portal.
  • New: Judge Agent locale support for Admin Portal.
  • New: Judge Server management support for Admin Portal.
  • New: Judge Server locale support for Admin Portal.
  • New: Submission management support for Admin Portal.
  • New: Dojo Tasks management support for Admin Portal.
  • New: Dojo Tasks locale support for Admin Portal.
  • New: Dojo Phase management support for Admin Portal.
  • New: Dojo Phase locale support for Admin Portal.
  • New: Settings support for Admin Portal.
  • New: Settings locale support for Admin Portal.
  • New: CodeTester support for Admin Portal.
  • New: CodeTester locale support for Admin Portal.
  • New: CodeTester API support for BABEL.
  • New: User locale support for Admin Portal.
  • New: Announcement management support for Admin Portal.
  • New: Announcement locale support for Admin Portal.
  • New: Sidebar locale for Admin Portal.
  • New: Default error locale for NOJ.
  • New: Scroll board locale for NOJ.
  • New: Image hosting service locale for NOJ.
  • New: OAuth locale for NOJ.
  • New: Add vscodeLocale() helper function.
  • New: Add getTheme() helper function.
  • New: Add setting() helper function.
  • Deprecated: MOSS code plagiarism check no longer supported.
  • Deprecated: Remove unused bootstrap-material-design.js files.
  • Deprecated: Remove GuzzleHttp\json_decode function usage.
  • Deprecated: Remove duplicated App\User and outdated App\Models\UserModel, NOJ now use App\Models\Eloquent\User instead.
  • Deprecated: Remove outdated App\Models\AnnouncementModel, NOJ now use App\Models\Eloquent\Announcement instead.
  • Deprecated: Remove outdated App\Models\CarouselModel, NOJ now use App\Models\Eloquent\Carousel instead.
  • Fixed: Concurrency problem of virtual verdict syncing, see NOJ Docs - BABEL Judge Sync for more information.
  • Fixed: A bug that causes NOJ JudgeServer to return Wrong Answer verdict.
  • Fixed: A bug that makes the score of submissions within ACM rules 1 if the verdict is accepted.
  • Fixed: A bug in the contest status list that will return all submissions when applied a problem ncode filter that doesn't exist in that match.
  • Fixed: A bug that will redirect users to the dashboard after login instead of the home page or contest page (for contest account).
  • Fixed: A load balancing bug that causes the load balancer to pick the highest judge server.
  • Fixed: A bug that makes the system info page display no judge server when the noj babel package was installed with an ID that is not 1.
  • Fixed: A bug that makes scrollbar area transparent in language select menu, this bug is caused by a Chrome update.
  • Fixed: A bug that messed up HTML structures in NOJ Admin Portal inside x3zvawq/noj_simplemde.
  • Fixed: Typo (tons of).
  • Fixed: A bug that let Eloquent ContestProblem Model disrespect frozen time.
  • Fixed: An Admin Portal bug that causes solution uneditable.
  • Fixed: An Admin Portal bug that causes group uncreatable.
  • Fixed: A bug that causes frozen time inaccessible for ContestProblem Model.
  • Fixed: A bug that causes verification email resends return Method Not Allowed.
  • Fixed: A bug that makes NOJ only accepts 12 BABEL extensions/packages.
  • Fixed: A bug that errors some `php artisan manage command default value.
  • Fixed: A styling bug that causes the new langicon misplaced.
  • Fixed: A bug that errors problem search.
  • Fixed: A potential divide by 0 bug.
  • Fixed: A typo in terms template.
  • Fixed: PSR-4 autoload issues.
  • Fixed: A typo that causes user contact info cannot update and display correctly.
  • Fixed: A bug that only login users can access OAuth links.
  • Improved: NOJ JudgeServer C compiler now compiling without -static option.
  • Improved: NOJ JudgeServer PHP compiler now running with -d error_reporting=0 option.
  • Improved: NOJ JudgeServer C# compiler now running without unused environment variables, adjusting C# compile max memory accordingly.
  • Improved: BABEL install command now accepts new_code as a valid compiler description key.
  • Improved: Removed the auto-refresh feature at the contest detail page that may potentially cause HTTP 500 errors at the beginning of a match.
  • Improved: Removed a lot of the useless consle.log() code.
  • Improved: Compiler list now ordered by display name, in earlier version, we arrange it simply by coid and would be a bad choice when we have a dozen of compilers supported.
  • Improved: Update fonts-asset/devicon package adding new language icons that NOJ needed.
  • Improved: Update monaco-editor to 0.23.0, the changes of platform detection algorithm forced us to abandon the #vscode element in editor view that we used before and renamed it to #monaco, see HTML Document has an element with vscode as it's id caused bug microsoft/monaco-editor#2409.
  • Improved: Update npm-asset/pdfobject, supporting Chromium based Edge Browser.
  • Improved: JudgeServer and OJ now have the proper Eloquent Models.
  • Improved: Remove Model affix for Eloquent Models.
  • Improved: Add missing foreign keys for database tables.
  • Improved: Admin Portal general locale update.
  • Improved: readable_name attribute for problem.
  • Improved: fillable attribute added for some Eloquent Models.
  • Improved: TLS v1.3 check.
  • Improved: VSCode worker now uses config to generate URL instead of original env.
  • Improved: Componentify VSCode frontend.
  • Improved: Editor style improved for light themes.
  • Improved: Now markdown block formula supports $$$$$$.
  • Improved: Remove unnecessary params when binding Eloquent Models.
  • Improved: Rename route names fitting dot-separated standard.
  • Improved: Colon localization on problem details.
  • Improved: Admin badge and status now depend on the permission table.
  • Improved: Users can now change usernames freely, see Automatically Create User through Social OAuth #588.
  • Improved: Redesigned user card.
  • Improved: Redesigned settings card.
  • Improved: Disable @temporarily.email domain registration, see Automatically Create User through Social OAuth #588.
  • Improved: Testcase zip files without any file inside would now be detected.
  • Improved: Remove part of AccountModel methods and implement them in User model.
  • Improved: Adjust socialite setting styles.
  • Improved: Adjust socialite login styles.
  • Improved: Adjust dropdown menu styles.
  • Security: mews/purifier is now at 3.3.5.
  • Security: npm-asset/codemirror is now at 5.61.1.
  • Security: rmccue/requests is now at 1.8.1.
  • Security: laravel/framework is now at 6.20.32.
  • Security: maatwebsite/excel is now at 3.1.32.
  • Security: filp/whoops is now at 2.14.0.
  • Security: npm-asset/perfect-scrollbar is now at 1.5.2.
  • Security: intervention/image is now at 2.6.1.
  • Security: encore/laravel-admin is now at 1.8.13.
  • Security: npm-asset/lodash is now at 4.17.21.
  • Security: phpoffice/phpspreadsheet is now at 1.17.1.
  • Security: npm-asset/jquery is now at 3.6.0.
  • Security: league/flysystem is now at 1.1.4.
  • Security: phpseclib/phpseclib is now at 2.0.32.

ZsgsDesign and others added 30 commits May 25, 2021 18:44
Bumps npm-asset/codemirror from 5.61.0 to 5.61.1.

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [rmccue/requests](https://github.com/WordPress/Requests) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/WordPress/Requests/releases)
- [Changelog](https://github.com/WordPress/Requests/blob/develop/CHANGELOG.md)
- [Commits](WordPress/Requests@v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: rmccue/requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [laravel/framework](https://github.com/laravel/framework) from 6.20.27 to 6.20.30.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-6.x.md)
- [Commits](laravel/framework@v6.20.27...v6.20.30)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [maatwebsite/excel](https://github.com/Maatwebsite/Laravel-Excel) from 3.1.30 to 3.1.32.
- [Release notes](https://github.com/Maatwebsite/Laravel-Excel/releases)
- [Changelog](https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/CHANGELOG.md)
- [Commits](SpartnerNL/Laravel-Excel@3.1.30...3.1.32)

---
updated-dependencies:
- dependency-name: maatwebsite/excel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [filp/whoops](https://github.com/filp/whoops) from 2.12.1 to 2.14.0.
- [Release notes](https://github.com/filp/whoops/releases)
- [Changelog](https://github.com/filp/whoops/blob/master/CHANGELOG.md)
- [Commits](filp/whoops@2.12.1...2.14.0)

---
updated-dependencies:
- dependency-name: filp/whoops
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps npm-asset/perfect-scrollbar from 1.5.0 to 1.5.2.

---
updated-dependencies:
- dependency-name: npm-asset/perfect-scrollbar
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [intervention/image](https://github.com/Intervention/image) from 2.5.1 to 2.6.1.
- [Release notes](https://github.com/Intervention/image/releases)
- [Commits](Intervention/image@2.5.1...2.6.1)

---
updated-dependencies:
- dependency-name: intervention/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [encore/laravel-admin](https://github.com/z-song/laravel-admin) from 1.8.12 to 1.8.13.
- [Release notes](https://github.com/z-song/laravel-admin/releases)
- [Commits](z-song/laravel-admin@v1.8.12...v1.8.13)

---
updated-dependencies:
- dependency-name: encore/laravel-admin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@ZsgsDesign ZsgsDesign added this to the 0.5.0 Pygocentrus milestone Aug 13, 2021
@ZsgsDesign ZsgsDesign self-assigned this Aug 13, 2021
@ZsgsDesign ZsgsDesign added the release New version release label Aug 13, 2021
dependabot bot and others added 9 commits August 13, 2021 20:36
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
@ZsgsDesign ZsgsDesign changed the title release: 0.5.0 Pygocentrus release: 0.5.0 Aphyocharacinae Aug 14, 2021
@ZsgsDesign ZsgsDesign merged commit 6a8f406 into master Aug 14, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release New version release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants