Commit Graph

558 Commits

Author SHA1 Message Date
8b3fbdb64a admin: Use gin-gonic as router 2022-05-22 19:10:17 +02:00
83468ad723 admin: Fix toast with yes/no after sync 2022-05-17 18:18:33 +02:00
9d639a0315 sync: Non-empty directory without .git is Fatal 2022-05-17 18:18:33 +02:00
3c0751a78a sync: Fix division by zero 2022-05-17 18:18:33 +02:00
53e70b1eba admin: Can reset challengeInfo 2022-05-02 18:42:19 +02:00
c525acff20 settings: Add challenge subtitle 2022-05-02 18:42:19 +02:00
48ee5321a8 admin: Handle challenge info on settings page 2022-05-02 18:42:19 +02:00
dff4f4eb63 Distribute and handle challenge.json 2022-05-02 18:42:19 +02:00
e8f6a03cd9 settings: Rename struct to remove FIC occurence 2022-05-01 22:15:16 +02:00
457cd307dd admin: Can extract exercices as ZQDS session.yml 2022-05-01 22:05:26 +02:00
15afbb8b87 settings: Use pointer 2022-05-01 21:32:19 +02:00
5e4c14c634 admin: Make propagation time smarter
Some checks are pending
continuous-integration/drone/push Build is running
2022-02-03 16:56:34 +01:00
2cd40e64ab admin: Add description to fields 2022-02-03 16:53:59 +01:00
02bd5f316a admin: When deleting team, also delete associations 2022-02-03 10:16:52 +01:00
86748b36c8 sync: Use git reset --hard --recurse-submodule
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-22 08:10:53 +01:00
d4a81aa660 sync: Improve git sync reliability
Some checks are pending
continuous-integration/drone/push Build is running
2022-01-22 07:51:02 +01:00
01b05aaed0 Implement label only flag
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-21 13:26:52 +01:00
892bb99461 admin: Disable PKI regeneration in prod
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-21 11:09:16 +01:00
ce41ab76eb Upgrade bootstrap to 4.6.1
This fixes a bug with toast
2022-01-21 09:59:13 +01:00
b1315a9eeb admin: Auto change default value for unlockedChallengeDepth 2022-01-21 09:17:46 +01:00
15c85c8f59 admin: Add setting to differenciate real challenge from common tests 2022-01-21 09:10:18 +01:00
252ff33b83 sync: Allow Markdown in flag help 2022-01-21 09:00:22 +01:00
5a79343af8 Implement sort_regexp_validator_groups 2022-01-21 08:44:51 +01:00
40a9078b70 sync: Handle title.txt in exercice dir 2022-01-21 08:02:23 +01:00
63d8ae4ecd settings: Add an option to show MCQ distance from good 2022-01-21 08:02:23 +01:00
2645109839 admin: Display commit ID in admin interface 2022-01-21 08:02:23 +01:00
92bb409764 admin: Fix panic on not provided password 2022-01-20 14:44:11 +01:00
f8001653cd sync: Parse resolution.md 2021-12-11 11:20:44 +01:00
0cc72712a4 Trim flags to avoid mistakes due to empty lines or espaces... 2021-12-11 11:20:44 +01:00
e6d8f2db1b sync: Try to improve git-lfs support 2021-12-11 11:20:44 +01:00
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
8a6d480d17 sync: Make value lowercase if flag is not case sensitive 2021-12-11 02:02:06 +01:00
57d351c6c1 sync: Allow free hint 2021-12-11 02:02:06 +01:00
43be59b97d admin: Create a GitImporter based on git binaries 2021-12-11 02:02:06 +01:00
9fe1374a77 sync: Try to use a ssh key if no ssh-agent configured 2021-12-11 02:02:06 +01:00
724b00b825 repochecker: Enforce archive types 2021-12-11 02:02:06 +01:00
038abe450d admin: Add a route and a button to sync the filesystem 2021-12-11 02:02:06 +01:00
a06602a7e8 admin: Add new API route to perform smart theme update controled by hooks 2021-12-11 02:02:06 +01:00
995740e275 admin: Add a new option -4real to avoid mass progression deletion 2021-12-11 02:02:06 +01:00
49664c3dfe Implement radio flag type 2021-12-11 02:02:06 +01:00
61fccca070 Implement unit property for flags 2021-12-11 02:02:06 +01:00
c3742ade4e Implement number flags 2021-12-11 02:02:06 +01:00
495b08463f sync: Check that UCQ value is not 'true' nor 'false' 2021-11-14 17:30:29 +01:00
89ca192890 sync: Add Git Importer 2021-11-14 17:30:29 +01:00
aebfb7bf96 sync: Add Init and Sync functions
Init initializes the directory/repository before the first use.
Sync is called to unsure the directory is up-to-date.
2021-11-14 17:30:29 +01:00
08da42e273 dashboard/admin: Adapt to 16/9 2021-09-09 11:33:59 +02:00
105034ec8c Add global score coefficient 2021-09-09 11:33:59 +02:00
cd73622cae New settings to only count bad submissions 2021-09-09 11:33:59 +02:00
b887288c78 admin: Update way of modulus calculation 2021-09-09 11:33:59 +02:00
f6fec437f9 admin: Change challenge duration to 6h 2021-09-09 11:33:59 +02:00