Releases: vnma0/hestia
Minor cosmetic changes
Changelog :
- Submissions
- Total score is now displayed in the main table, if determinable. Same applies with the execution time (the maximum amount of time used for a test will be displayed).
- The memory column, most of the time, is not used and will be hidden (55729f0).
- The tooltip for the reloading button will always get displayed on hover (56c669d).
- The solution displaying panel no longer throws 4 or 5 errors each single time opened up but no solution is available (b09178e).
- Fixed : The localized verdict for submissions will get updated without needing for a full page reload (2462dff).
- Total score is now displayed in the main table, if determinable. Same applies with the execution time (the maximum amount of time used for a test will be displayed).
- Code editor :
- Print margin has been hidden to remove distractions (6cdae34).
- Font size increased to 14px (7b08906).
- Drag'n'drop is now available (f941d42). Note that a file dropped in still subject to size checks as introduced in
v1.4.1-20190417.1
.
- Notifications are now moved to the upper-right corner of the screen (6f544ae).
- The maximum number of notifications that can be displayed at one time is 2. Each one will disappear after 1.5 seconds.
Worry-free F5s
This release only add two things, one of which you may not see its effect:
localStorage
is now used to save code across sessions - which means, provided you are logged in with the identical username, your code will be saved with each character you type locally - and it will be restored after the UI loads. Feel free to press F5 without losing anything.- Note that if someone else logs in, it would get overwritten even if nothing was typed. Currently, your code will only get cleared if the code editor was loaded - so if he/she logs in but doesn't go to
/problems
, your code is safe.
- Note that if someone else logs in, it would get overwritten even if nothing was typed. Currently, your code will only get cleared if the code editor was loaded - so if he/she logs in but doesn't go to
react-l10n
is now deprecated as told in the previous beta release.
Tested with the same condition with v1.5.4-beta-20190506.1
.
Migration to react-i18next
This is a beta release.
react-l10n
is now deprecated - it cannot support String
-based translations which sometimes means importing directly the translation from the respective JSON
file, rendering the library useless. react-i18next
is now the choice.
Tested with vnma0/wafter@1a968ec.
Bug fix for v1.5.3-20190422.1
The title said all. This fixes issues (#145 and #146) occurred in the previous release.
Colorful notifications
Note : broken release. Use the release after this instead.
Well, the title said all.
This took me several dirty hack and made me realize the implications of react-l10n
though. Migrating to react-i18next
.
Speed, speed and speed
This release does add new things, but not many though. Here's an outline:
- Scoreboard now has the scores highlighted with the same color scheme as in
Submissions
. For themers,className
s are`score_${verdict}`
(#135). It also displays the ACM verdicts properly now (#136). - You no longer have to wait for, like, 10 seconds to load
2.5MiB
of JavaScript and execute it - lazy-loading is here (#134 & #137)! You can typehttp://server:port/scoreboard
and the heavy Ace editor will not be loaded even for once. This also allows me to bundle more features.- Like, themes for Ace? (#139)
- You can now change the language without reloading the whole page (#139). Pretty neat, right?
For developers : localization strings are now at vnma0/hestia-l10n
. Be sure to get all the submodules if you haven't.
The release now also includes the gzipped version of each file in the same directory of the original version, which means support for gzipped transmission is possible and so is less loading time. See the comparison here.
Tiếng Việt
This release brings some new stuff, beside stabilizing some old ones. See this old beta release if you want a more verbose changelog.
Problems
have a renewed design (#102).- The old panel to view problem statements was never used - this time, only the bar used to choose problem is kept back, and it now rests at the top of the page.
- Ace supports less languages - some pretty-much-unused languages gets removed (#107). However, you no longer have to choose between
.JS
,.C
and.C++
- now choose betweenJavaScript
,C
andC++
! (#108)
If we don't find the appropriate name, the extension still gets displayed, don't worry though. - Load up a solution from your file is now possible (#109) - but beware, anything no less than 15 KiB will be refused. Currently there's no way to change this though.
- The old panel to view problem statements was never used - this time, only the bar used to choose problem is kept back, and it now rests at the top of the page.
- The page title changes when the route changes (#103).
- Themed submissions (#90).
- Support for localizations has been added (#122) (this doesn't take much time compared to the things above, really, but exams...).
Hiện thời chỉ có tiếng Việt được hỗ trợ.
I'm trying to find a way to move those strings to a separate repository to not bloating the app.
Some things to note:
- Yes, you have to reload to change the language.
- Yes, you can theme the
Submissions
page by overwriting CSS. But do so at your own peril.
Tested in the same condition as I did with v1.4.0-beta-20190404.1
.
And yeah, sorry, but I'll no longer sign the release artifacts.
Pre-release #1 for 1.4.0
This is a beta release for Hestia 1.4
.
Non-exhaustive changelog :
-
Re-designed Problems page (merged with 691815b)
- 13466d0 and b966442 marked the initial design.
- 2c72ea0 proposed a hack to fill Ace in the remaining space of viewport, with was then replaced with another workaround in 8163953, 2756daf and b82d88f to scale Ace by computing distinct width & height.
- List of languages supported for highlighting in Ace has been reduced in 068adb4 and merged with 1b8af2e.
- Language selector now shows human-friendly language names with 1b837a3 (merged in acc4bf8), with more languages revised/added/removed in ebe95d1 and 5cc93e0.
- Loading solutions from file is now possible (#109, enhanced in #118, #120 and #121).
-
Colored Submissions page (#90)
-
Title changes with contest name and currently displayed page (#103)
-
Localizations (#122, on hold at the time I write this). Only Vietnamese is added presently.
This release will not be signed.
Tested by @minhducsun2002 for https://github.com/vnma0/wafter with this specific commit hash :
$ git show HEAD
commit c40738ee1c7961323d7949d6f036d9de51c77827 (HEAD -> cyclone, origin/cyclone)
Merge: 3725cc3 68aabe8
Author: Nguyễn Tuấn Dũng <[email protected]>
Date: Thu Apr 4 07:19:55 2019 +0700
Merge branch 'master' into cyclone
Small enhancements
Summary
This release mainly addresses some existing bugs and enhances some other things.
-
No longer needs to press F5 regularly when viewing submissions! Things will be updated every 5 seconds, and you will be notified if there is any change. However, it's up to you to refresh things.
-
New design for submission details panel: things are now put in a dialog (#96). No more glitches (#80)!
-
It is now possible to review what you submitted (#93).
-
On slow networks, this is a big enhancement : everything is loaded in one go. Previously it does, but forces a reload (which wastes time loading unusable things). Hestia no longer reloads things upon changing route.
-
No more annoying
53.3333333333333
score (#84). -
You can now see the contest start & end time with #83
Tested with Wafter 1.6 or commit vnma0/wafter@28c4467.
Files
Bundled files :
Files | Purpose |
---|---|
hestia-standalone-1.2.0-20190325.1.zip |
Compiled build |
hestia-standalone-1.2.0-20190325.1.zip.sha512 |
Computed SHA512 hash of the above file |
hestia-standalone-1.2.0-20190325.1.zip.asc |
GPG signature of the compiled build |
hestia-standalone-1.2.0-20190325.1.zip-minhducsun2002.asc |
GPG public key that corresponds to the above signature; also the key that is used to sign @minhducsun2002's commits |
Bugfixes & background re-design
This release brings...nothing. Really.
What it does is speed up the UI and removing the dependency on the global variable, which you may not notice.
Tested with Wafter 1.6 or commit vnma0/wafter@28c4467.
kudos to @natsukagami for his ideas & examples