Commit Graph

2136 Commits

Author SHA1 Message Date
168be0f7cc config: Allow unconditional access to admin interface with compose 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
0cbd6390ba docker-compose: fix started detection 2019-11-25 14:52:19 +01:00
6d72e6b970 Complete commit 75463dcebb: if not configured, challenge should not be considered as started 2019-11-25 14:52:19 +01:00
41a3279bf8 libfic: avoid stange MYSQL_HOST variable, expect IP or DN 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
2b75287d16 backend: multithread generation 2019-07-11 19:52:13 +02:00
3bcac39f5f FIC2020 logo 2019-07-10 17:41:07 +02:00
4c7fd839b6 fixup! sync: Extract function that import flags from importer 2019-07-10 16:58:20 +02:00
a3d473983d fickit: Include /boot partition into RAID1 array, see https://outflux.net/blog/archives/2018/04/19/uefi-booting-and-raid1/ 2019-07-10 13:09:08 +02:00
444ba85f11 repochecker: add a mean to automatically check update on run
go build -tags "checkupdate"
2019-07-10 13:09:08 +02:00
32f1c86519 sync: ignore directory beginning with . (like .git) 2019-07-10 13:09:08 +02:00
9a9675bcf5 repochecker: introduce new project 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
3104bf4e65 Speak about dashboard 2019-07-06 03:28:44 +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
536dc0eb6b frontend: allow partial settings (used when publicly published) 2019-02-18 18:00:54 +01:00
15d108497e backend: check the team has access to the exercice/flag before doing the action 2019-02-06 03:40:49 +01:00
ff7c89af9f synchro: back to the default behaviour: don't synchronize/erase files that aren't treated yet 2019-02-06 03:40:49 +01: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
921644deb4 frontend: rely on angular base path 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
2ab9cb2eaa frontend: display hint cost on public interface 2019-02-06 03:40:49 +01:00
6715fb10a9 frontend: public interface: keep number of tries between refresh 2019-02-06 03:40:48 +01:00
c4aa220b2c frontend: don't reuse tries in public interface; use a separate field to store total tries count for an exercice; and display it in interface 2019-02-06 03:40:48 +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
41ef7f2555 frontend: prefer default border color in home public screen 2019-02-06 03:40:48 +01:00
1757b40a9c Remove old unused files 2019-02-06 03:40:48 +01:00
af73b2b872 frontend: avoid fetching events.json on public interface 2019-02-06 03:40:48 +01:00
e97cf884ce libfic: add igncorecase flag to regexp related to ignorecase flag 2019-02-06 03:40:48 +01:00
db22c4af1b frontend: polish public version checks 2019-02-06 03:40:48 +01:00