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
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
bf426d2ed2
configs: nginx-demo config support both SSL cert + http auth
2019-01-22 08:49:44 +01:00
525b3d6b56
frontend: update the page title when navigate
2019-01-22 08:49:44 +01:00
56faf7b8db
fickit: don't include routing things into frontend
2019-01-22 08:49:44 +01:00
f32e46c699
libfic: db: increase db boot time to 90 seconds
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
50a51ba628
libfic: Fix MCQ dependency on flag
2019-01-22 08:49:44 +01:00
65908f8880
frontend: fix display of timeout message when validating a flag
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