Commit Graph

495 Commits

Author SHA1 Message Date
9d93331868 admin: display {hint,flag,mcq} dependancies on interface 2020-01-30 18:55:56 +01:00
ac9361b4ce admin: redesign propagation time button + can use propagation time in public timer 2020-01-30 18:55:56 +01:00
34a2370236 admin: can renew the PKI from interface 2020-01-29 16:02:30 +01:00
5c17dd4605 admin: add indication on how to use exercice dependancies 2020-01-29 16:02:30 +01:00
99e53ccfe6 admin: use hexadecimal certificate ID 2020-01-29 16:02:30 +01:00
e937073588 Files can now depends on MCQ 2020-01-29 16:02:30 +01:00
823328ead2 sync: fix file merging when using symlinks 2020-01-29 16:02:30 +01:00
6f64eaed95 admin: improve claims with menu 2020-01-29 16:02:30 +01:00
9186bbc229 frontend: add players possibility to report problems with exercices 2020-01-23 18:27:14 +01:00
32dc9c1a8c admin: improve claims with related exercices 2020-01-23 18:27:14 +01:00
2e3f7c6894 admin: claims now reference exercices 2020-01-23 18:27:14 +01:00
56b79cae2d admin: make claims more responsive 2020-01-23 18:27:14 +01:00
80a4192cb4 admin: add badge of new/mines tasks in menu 2020-01-23 18:27:14 +01:00
a4c87b92a5 admin: introducing speedy deep sync and themed deep sync 2020-01-23 18:26:30 +01:00
f7762c0828 sync: don't try to import part of splitted files, just import the whole file 2020-01-23 18:26:30 +01:00
2bae30a841 admin/api: new route to list remote files and their properties 2020-01-23 18:26:30 +01:00
084d39f6cf Fix typos 2020-01-23 18:26:30 +01:00
22c4835875 admin: use default bootstrap theme, even when served with frontend 2020-01-23 18:26:30 +01:00
4f6480d7f8 sync: add some precision around Empty flags detection 2020-01-23 18:26:30 +01:00
769158a9d7 repochecker: add new option -skipfiledigests to speed up the checks and avoid downloading lots of content 2020-01-23 18:26:30 +01:00
aee3500fdf sync: avoid depending on database when importing files 2020-01-23 18:26:30 +01:00
16c337c2bc Update angularJS, jQuery and bootstrap 2020-01-23 18:26:30 +01:00
aba311aebd sync: detect bad label wording 2020-01-23 18:26:30 +01:00
47ba134b55 Implement flag type 'text': this is like keys, but on multiple lines 2020-01-23 18:26:30 +01:00
8f998485bb sync: resize heading pictures 2020-01-23 18:26:30 +01:00
9983542653 admin: always use normalized hexadecimal certificate ID 2020-01-23 18:26:30 +01:00
546cae869b admin: passwd authentication can be made with team name or certificate ID 2020-01-23 18:26:30 +01:00
e4b740b5bc admin: Use SSHA password instead of APR1 2020-01-17 14:57:04 +01:00
572082cd5f fill_teams: also generate apr1 htpasswd 2020-01-17 14:57:04 +01:00
225f6d2c99 fill_team: fix generation of htpasswd 2020-01-17 14:57:04 +01:00
5ffbeabf5b fill_team: avoid \ char in password + fix substitution of UTF-8 chars 2020-01-17 14:57:04 +01:00
a475617657 admin: heath api now checks untreated files 2020-01-17 14:57:03 +01:00
b4fa57f9c9 sync: introducing showlines property for vectors
It allows players to know in advance how many items the vector is composed.
2020-01-17 14:57:03 +01:00
f3a34c00db sync: implement hint dependency on flags 2020-01-17 14:57:03 +01:00
9693940d8c sync: add logs on stderr when doing deepsync 2020-01-17 14:57:03 +01:00
d97ecde3fb sync: return binding between challenge.txt IDs and DB item 2020-01-17 14:57:03 +01:00
4a490b1a33 admin: PKI validity no more hardcoded 2020-01-17 14:57:03 +01:00
14f5cf29b7 dashboard: parametrize URL in welcome team 2020-01-17 14:57:03 +01:00
fbae34ee4f sync: add error message when missing heading.jpg 2020-01-17 14:57:03 +01:00
26eab7ed67 sync: import heading.jpg only in Sync phase 2020-01-17 14:57:03 +01:00
5dcb13629a admin: display on interface time synchronization diff 2020-01-17 14:57:03 +01:00
6740256a32 sync: implement hint dependency on flags 2020-01-17 07:02:40 +01:00
cefed3bf23 admin: fix synchronisation when idtheme is not in url 2019-11-25 14:52:19 +01:00
97a3aa713f sync: fix hash computation by factorizing 2019-11-25 14:52:19 +01:00
0766fbe480 sync: don't rely on map order to import flags
Sometimes, maps order doesn't match file order. Return flag ID as
list to keep the order.
2019-11-25 14:52:19 +01:00
Tristan Ruter-Naon
cb7f3326c4 admin: fix typo 2019-11-25 14:52:19 +01:00
f2fc142869 api: remote route takes advantage from builds functions 2019-11-25 14:52:19 +01:00
ca891cd9b2 sync: Fix non-import of MCQ during sync 2019-11-25 14:52:19 +01:00
6265f85149 sync: Implement vector flags 2019-11-25 14:52:19 +01:00
99fcc99e82 sync: turn IgnoreCase on by default with reverse field CaseSensitive 2019-11-25 14:52:19 +01:00
33f7d104e4 sync: MCQ justifications are given in the choice tag directly 2019-11-25 14:52:19 +01:00
d7f0425d8a repochecker: Fix given URL to documentation 2019-11-25 14:52:19 +01:00
4e01377a29 sync: search theme's label in a title.txt file, fallback on dirname 2019-11-25 14:52:19 +01:00
846f2ce8a4 admin: Double check before doing dangerous actions in settings panel
Suggested-by: Nicolas Ribeyrolle <nicolas.ribeyrolle@epita.fr>
2019-11-25 14:52:19 +01:00
8e618565ad sync: Fix long running bug known as "why my fresh uploaded file is now empty again"
Thanks to Nicolas Ribeyrolle
2019-11-25 14:52:19 +01:00
8131fda0e7 admin: display file dependancies and be able to remove them 2019-07-21 23:50:26 +02:00
c8ece39cb2 sync: alert about unknown keys in challenge.txt 2019-07-21 22:38:45 +02:00
936ef09e33 admin: fix strange behaviour when deleting some items 2019-07-21 21:55:36 +02:00
973363b3da admin/api: refactor file API 2019-07-21 21:55:11 +02:00
3e5b4ebad2 admin: add missing default settings 2019-07-12 19:22:05 +02:00
ba5642da8f admin: new form to update history coefficient 2019-07-12 19:21:07 +02:00
3bcac39f5f FIC2020 logo 2019-07-10 17:41:07 +02:00
32f1c86519 sync: ignore directory beginning with . (like .git) 2019-07-10 13:09:08 +02:00
eb95d861d3 sync: Extract function that import hints from importer 2019-07-10 13:09:08 +02:00
4039a394b5 sync: Extract function that import flags from importer 2019-07-10 13:09:08 +02:00
3f55845374 sync: Extract function that import files from importer 2019-07-06 04:08:29 +02:00
3f99771910 sync: Extract function that builds an exercice from importer 2019-07-06 03:28:44 +02:00
682598fdbb sync: Extract function that builds a theme from importer 2019-07-06 03:28:44 +02:00
771627a0da pki: fix team association, complement to 68e5c4cd2b
The fix introduced in the referenced commit was not working.

This time, it has been tested with the following commands:

	# Associate all certificate to a team
	curl http://localhost:8081/api/certs/ | jq -r .[].id | while read CERTID; do curl -X PUT -d '{"id_team":1}' http://localhost:8081/api/certs/$CERTID; done

	# For each certificate associated with the team, try to connect to the server with each certificate. Report failing certificates.
	curl -s http://localhost:8081/api/teams/1/certificates | jq -r '.[] | .id + " " + .password' | while read CERTID PASSWORD; do curl -sf --cert-type P12 --cert $CERTID.p12:$PASSWORD https://fic.srs.epita.fr/my.json > /dev/null || echo $CERTID; done
2019-02-06 03:40:49 +01:00
b778d29dd9 admin: allow certid to finish by .p12, to permit downloading .p12 file 2019-02-06 03:40:49 +01:00
703eaef880 admin: display serial in hexadecimal 2019-02-06 03:40:49 +01:00
14d31737e0 admin: new route and interface to manage symlink for team association exclusing certificates 2019-02-06 03:40:49 +01:00
2b95995104 settings: add canJoinTeam parameter 2019-02-06 03:40:49 +01:00
a35aa7be70 admin: add a new route to update team history coefficient 2019-02-06 03:40:49 +01:00
6a1f73c895 admin: include coefficient in history.json 2019-02-06 03:40:49 +01:00
60ec9704e3 admin: add exercice history.json 2019-02-06 03:40:49 +01:00
2381fb490b libfic: fix checks in handling of team history deletiion 2019-02-06 03:40:49 +01:00
34d2054e04 sync: avoid useless line break at the end of markdown processing 2019-02-06 03:40:49 +01:00
473332e101 admin: show only active team in export 2019-02-06 03:40:48 +01:00
73db9da682 admin: thanks to ng-base, don't need other modifications 2019-02-06 03:40:48 +01:00
650f1f4d59 admin: add a new route to generate a file for movie links 2019-02-06 03:40:48 +01:00
1757b40a9c Remove old unused files 2019-02-06 03:40:48 +01:00
5714e8f41b admin: start adding monitor 2019-01-23 02:25:19 +01:00
fa2d514bbc dashboard: add rank on the side 2019-01-23 01:38:00 +01:00
8abe57ffb6 admin: new API route to display local monitoring infos 2019-01-22 08:50:18 +01:00
eee2cd6a2f admin: add a button to edit the raw flag value instead of the checksum 2019-01-22 08:49:44 +01:00
088c2402cd admin: add button to disable inactive teams 2019-01-22 08:49:44 +01:00
48fcfec0d0 backend: use a new team field 'active', to avoid some team generation 2019-01-22 08:49:44 +01:00
19b57f5908 admin: read sync import in settings page 2019-01-22 08:49:44 +01:00
58dbd9499b sync: fix report display with some security headers 2019-01-22 08:49:44 +01:00
7d9ad18f42 settings: new parameter to don't respect flag dependancies 2019-01-22 08:49:44 +01:00
24989c4cfa settings: new option to disable event fetch from server side 2019-01-21 09:58:36 +01:00
a4e0a90adf dashboard: can now change the sidebar 2019-01-21 09:58:36 +01:00
8190bbfdc0 Update bootstrap 2019-01-21 09:58:36 +01:00
6042f9b477 sync: check video file size during import process 2019-01-21 09:58:36 +01:00
2ac205bf83 admin: add a page to view resolution video 2019-01-21 09:58:36 +01:00
4ee70a8781 settings: change param to enable/disable depends by the depth 2019-01-21 09:58:36 +01:00
5d432cdcfc admin: API version bump 2019-01-21 09:58:36 +01:00
7227c7109e admin: add a progression indicator for the deep synchronization 2019-01-21 09:58:36 +01:00
d9fb261232 sync: import files first during the full import, to permit file dependency to flag 2019-01-21 09:58:36 +01:00