Commit Graph

2121 Commits

Author SHA1 Message Date
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
85d326db6b dashboard: improve readability with a legend and bold text in summary table 2019-01-23 18:33:48 +01:00
c9347f45e2 dashboard: fix solved number in summary table 2019-01-23 18:29:52 +01:00
5c5dadbee0 dashboard: avoid fake decimals in score 2019-01-23 18:29:24 +01:00
5714e8f41b admin: start adding monitor 2019-01-23 02:25:19 +01:00
42a17ab450 dashboard: use server time to calculate event time 2019-01-23 02:25:19 +01:00
17a9d39556 frontend: add a label for hint file b2sum 2019-01-23 01:39:44 +01:00
fa2d514bbc dashboard: add rank on the side 2019-01-23 01:38:00 +01:00
c1bc86d3c9 dashboard: better description of COMCYBER? 2019-01-23 00:18:13 +01:00
547184a40a dashboard: expose others screens 2019-01-23 00:17:46 +01:00
8abe57ffb6 admin: new API route to display local monitoring infos 2019-01-22 08:50:18 +01:00
3f7e217316 db: store file size as unsigned int 2019-01-22 08:49:44 +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
b205409679 dashboard: add the ability to use a remote dashboard, serve only local files: assets and eventualy public.json (to override given ones) 2019-01-22 08:49:44 +01:00
8c754fe265 fickit: install grub on disks instead of syslinux which cannot be used as both UEFI and BIOS bootloader 2019-01-22 08:49:44 +01:00
f983da9815 fickit-pkg/syslinux: add grub2, as syslinux is crap 2019-01-22 08:49:44 +01:00