Commit Graph

722 Commits

Author SHA1 Message Date
aad95f1e53 settings: Challenge can never ends 2024-04-19 11:46:53 +02:00
5fb85c22dc sync: Don't pull repo when doing synchronization. Do it only on auto-sync 2024-04-19 11:46:53 +02:00
ac64db277a admin: Don't consider .locked file as problematic 2024-04-19 11:46:53 +02:00
f6a251e2ec sync: Don't start SpeedySyncDeep by pull 2024-04-19 11:46:53 +02:00
2140939364 sync: Allow using challenge.toml instead of challenge.txt 2024-04-19 11:46:53 +02:00
20c41ec573 admin: Handle exercice path given to auto-sync 2024-04-19 11:46:53 +02:00
75eae43f60 admin: auto-sync tries to sync themes if it doesn't exists yet 2024-04-19 11:46:53 +02:00
63cf665f2d admin: Refactor sync/auto 2024-04-19 11:46:53 +02:00
e261c77c79 sync: Include in file presence checks splitted and compressed files 2024-04-19 11:46:53 +02:00
f5529ff72d admin: New option to pass branch to use 2024-04-19 11:46:53 +02:00
c5a059bd3b sync: Expose sync.Exists function 2024-04-19 11:46:53 +02:00
6bd23ee9f0 admin: Fix move between exercices 2024-04-19 11:46:53 +02:00
a585a6338e admin: Fix typo 2024-04-19 11:46:53 +02:00
4451e41285 New setting: introduce a decote/discount to exercice's gain 2024-04-19 11:46:52 +02:00
d4ce0dd474 Can lock theme 2024-04-19 11:46:52 +02:00
ef1eafb789 themes.json: Use a exercice list instead of hash 2024-04-19 11:46:52 +02:00
3fcf705dcf admin: Show what properties will be overwritted 2024-04-19 11:46:52 +02:00
eb85b28f5b Add a disabled state to exercices 2024-04-19 11:46:52 +02:00
847a42700f admin: Fix team updating 2024-04-19 11:46:52 +02:00
1d3a75ff82 sync: Don't stop parsing after the first treated image 2024-04-19 11:46:52 +02:00
0f65babdf4 admin/sync: typo 2024-04-19 11:46:52 +02:00
aa0e7406c1 Detect theme and exercice language at runtime (not stored) 2024-04-19 11:46:52 +02:00
4b09efa9fd sync: Handle finished.md as alternative to finished.txt 2024-04-19 11:46:52 +02:00
baa410e654 sync: Import labels of Label flags as Markdown 2024-04-19 11:46:52 +02:00
93eed8d5e4 sync: Display import error in markdown processing 2024-04-19 11:46:52 +02:00
f079ecd9e3 repochecker/grammalecte: Allow redondances in resolution.md 2024-04-19 11:46:52 +02:00
3421286c9b repochecker/grammalecte: Check for forbidden strings (raw flags) in resolution.md 2024-04-19 11:46:52 +02:00
80422daffb repochecker/grammalecte: Check resolution.md 2024-04-19 11:46:51 +02:00
1f3f0fd55b admin: Transmit sync errors to interface 2024-04-19 11:46:51 +02:00
bd19d31577 New attribute "disclaimer" on downloadable files 2024-04-19 11:46:51 +02:00
257c594dbe sync: Expose GetFileSize 2024-04-19 11:46:51 +02:00
abb277210c admin: Fix file download from admin interface 2024-04-19 11:46:51 +02:00
9bcf4a481e repochecker: Check gunziped file hash 2024-04-19 11:46:51 +02:00
6ca71230c1 Refactor sync file reading 2024-04-19 11:46:51 +02:00
541e32e10b sync: Return the reader from importer instead of writing to a given Writer 2024-04-19 11:46:51 +02:00
f4c3f1e15e sync: Create empty file for nginx gzip-static module 2024-04-19 11:46:51 +02:00
85027166d7 repochecker: Fix dependency loop detection 2024-04-19 11:46:51 +02:00
95a7986e94 admin: Rephrase label 2024-04-19 11:46:51 +02:00
a8fa58e111 repochecker: Add loop dependency detection 2024-04-19 11:46:51 +02:00
67f129ce4c qa: Auto-solve OK requests 2024-04-19 11:46:51 +02:00
cd07bec05b admin: Use branch main instead of master 2024-04-19 11:46:51 +02:00
c415e06237 libfic: Can indicate that an exercice is WIP 2024-04-19 11:46:51 +02:00
ae1378780f admin/sync: Also handle uncompressed file in CheckExerciceFiles 2024-04-19 11:46:51 +02:00
f9e9bfcb75 repochecker: fix numerous general issues with exception inheritance 2024-04-19 11:46:51 +02:00
19daf69482 admin/sync: New syntax for flag dependency 2024-04-19 11:46:51 +02:00
cc37348aaa repochecker/epita: Check full numbered flag has type number 2024-04-19 11:46:51 +02:00
7b2603afb0 admin/sync: Able to filter on the second column 2024-04-19 11:46:51 +02:00
960122dfb6 Justified MCQ are back! 2024-04-19 11:46:51 +02:00
a28f108b8a db: Add a published attribute, filled by challenge.txt 2024-04-19 11:46:51 +02:00
6b7ed273b7 db: Add cksum_shown field to files in order to store second checksum in case of gziped content 2024-04-19 11:46:51 +02:00
38a4e21e28 admin/sync: Use globbing for ack handling 2024-04-19 11:46:51 +02:00
23ac512ce6 admin/sync: Keep Exceptions from multiple files 2024-04-19 11:46:50 +02:00
5d07634d0d admin/sync: Add custom hooks that plugins can register and call 2024-04-19 11:46:50 +02:00
a790ced236 admin/sync: Removes windows \r in exceptions 2024-04-19 11:46:50 +02:00
adebdd180d admin: Fix sync report display 2024-04-19 11:46:50 +02:00
fb368d79d1 sync: Introduce repochecker-ack.txt to support check exceptions 2024-04-19 11:46:50 +02:00
95c992555c admin: Fix marshal of error in SyncReport 2022-10-29 17:21:50 +02:00
c78545c18b sync: Report custom errors 2022-10-29 17:21:50 +02:00
08ea1bac0d admin: Arrange unlockedChallengeUpTo field 2022-10-29 17:21:50 +02:00
a0013947dd admin: Disable syncVideos when prod mod enabled 2022-10-29 17:21:50 +02:00
c7968fb256 admin: Add button to switch from WIP to PROD 2022-10-29 17:21:50 +02:00
c34fe51641 admin: config is not defined on sync page, use settings instead 2022-10-29 17:21:50 +02:00
e84b1d67cb Fix go vet errors 2022-10-29 17:21:50 +02:00
b0129e5239 sync: Use errors instead of string to report 2022-10-29 17:21:49 +02:00
d8943ba1f3 admin: Improve resolutions.json 2022-10-29 17:21:49 +02:00
Élie BRAMI
a3144fac45 feat: Avoid question in label.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-12 23:12:23 +02:00
223f44572e admin: Can import videos 2022-06-12 13:18:18 +02:00
dfe62e0b97 sync: Also allow overview.md for themes 2022-06-12 12:06:02 +02:00
9f45f10775 sync: Also ignore theme directories starting by _ 2022-06-10 18:54:25 +02:00
32d003f7b7 admin: Fix public retrieval 2022-06-08 16:49:28 +02:00
0a8d0dad30 Can Unlock challenge up to a certain level 2022-06-08 16:47:03 +02:00
7a5c1eeba7 admin: Fix flag edition 2022-06-08 12:24:38 +02:00
36af72d616 admin: Fix team symlink for dex generation 2022-06-08 11:22:30 +02:00
750db69b06 settings: Can display a global message on all pages 2022-06-08 09:12:56 +02:00
e9dd35f8ac settings: Can disable all submission button for maintenance 2022-06-08 09:12:56 +02:00
329bd246c7 admin: Add stats about submissions rate 2022-06-08 04:02:06 +02:00
9ea415b857 admin: Fix nil pointer when seeing public team 2022-06-08 03:06:29 +02:00
159672ec47 admin: Don't erase challenge.json if already exists 2022-06-08 03:00:50 +02:00
ba096c0af1 admin: Able to reset issues, QA and events 2022-06-07 12:37:35 +02:00
9a2fd85d57 sync: Unneeded log
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-07 01:06:31 +02:00
83a579fbd2 admin: Don't fail if importer is not writable
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-06 23:00:03 +02:00
11a12e1d44 Import logos from challenge.json
Some checks are pending
continuous-integration/drone/push Build is running
2022-06-06 20:42:46 +02:00
58af047a26 admin: Pick challenge title from challenge.json 2022-06-04 18:21:41 +02:00
d09c1741a2 admin: Also generate associations when generating dex.yaml 2022-06-04 18:11:10 +02:00
68fb332ed1 admin: Fix segv when settings.json doesn't exist
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-01 22:49:43 +02:00
595318e7b1 admin: Fix summary table on home page
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-01 13:25:58 +02:00
a414cd22c8 Handle optionnal flags 2022-06-01 12:56:43 +02:00
c0260da035 admin: Add resync button on theme 2022-05-31 18:41:42 +02:00
f65375b01f admin: Handle more info in challenge.json 2022-05-31 18:18:08 +02:00
1856a78d10 admin: Improve title and toasts rendering 2022-05-31 16:41:36 +02:00
fbeb2cc42b admin: Update fill_teams.sh 2022-05-31 14:54:34 +02:00
70891bf0e9 admin: Fix old routes 2022-05-31 14:54:19 +02:00
6c31820178 admin: Return the updated team struct after password regeneration 2022-05-31 14:53:53 +02:00
8fd2a70894 admin: Fix nil dereference when asking password 2022-05-31 14:53:26 +02:00
bd35705f58 admin: Make menu items active on rights pages 2022-05-27 16:23:33 +02:00
3c237819c3 settings: Save future changes in a dedicated file 2022-05-27 16:23:33 +02:00
465a48c1c0 admin: Show diff on settings form 2022-05-26 13:01:59 +02:00
eb07eadae0 admin: Copy challenge.json from sync to distsettings 2022-05-26 12:26:53 +02:00
4b2625c47d admin: Fix toast that wasn't hidden on button click 2022-05-26 11:37:43 +02:00
123467f3eb settings: Save duration in challenge.json 2022-05-24 23:09:43 +02:00