Commit Graph

76 Commits

Author SHA1 Message Date
nemunaire 24e825d500 admin: Generate Vouch-Proxy config 2024-04-19 11:49:00 +02:00
nemunaire dc5350c20f fickit: Handle secrets more seriously 2024-04-19 11:49:00 +02:00
nemunaire 52bc7b6650 admin: Make OIDC_ISSUER a variable 2024-04-19 11:49:00 +02:00
nemunaire 79afaa8fb2 admin: Handle dashboard later publication through evdist 2024-04-19 11:48:59 +02:00
nemunaire e4f404d8d6 Remove unused StripPrefix
Not used since 8b3fbdb64a
2024-04-19 11:48:58 +02:00
nemunaire afcc7f2de0 Allow more parameters to be passed in environment 2024-04-19 11:48:58 +02:00
nemunaire 9a5347b8ef admin: Don't consider non-git directory as Fatal 2024-04-19 11:48:58 +02:00
nemunaire 4b03f0befd admin: Create the SYNC directory if it doesn't exist 2024-04-19 11:48:57 +02:00
nemunaire 6163d51e5b repochecker: New option to restrict domain where remote file can come from 2024-04-19 11:48:57 +02:00
nemunaire f097c029f3 Security fix: Incorrect permission assignment for critical resource 2024-04-19 11:48:55 +02:00
nemunaire 1769938205 generator: Can perform synchronous generation 2024-04-19 11:48:55 +02:00
nemunaire ed091e761c Split backend service into checker and generator
Both are linked through a unix socket.
2024-04-19 11:48:55 +02:00
nemunaire f5529ff72d admin: New option to pass branch to use 2024-04-19 11:46:53 +02:00
nemunaire c78545c18b sync: Report custom errors 2022-10-29 17:21:50 +02:00
nemunaire 159672ec47 admin: Don't erase challenge.json if already exists 2022-06-08 03:00:50 +02:00
nemunaire 68fb332ed1 admin: Fix segv when settings.json doesn't exist
continuous-integration/drone/push Build is passing Details
2022-06-01 22:49:43 +02:00
nemunaire eb07eadae0 admin: Copy challenge.json from sync to distsettings 2022-05-26 12:26:53 +02:00
nemunaire 8b3fbdb64a admin: Use gin-gonic as router 2022-05-22 19:10:17 +02:00
nemunaire e8f6a03cd9 settings: Rename struct to remove FIC occurence 2022-05-01 22:15:16 +02:00
nemunaire 15afbb8b87 settings: Use pointer 2022-05-01 21:32:19 +02:00
nemunaire 995740e275 admin: Add a new option -4real to avoid mass progression deletion 2021-12-11 02:02:06 +01:00
nemunaire 89ca192890 sync: Add Git Importer 2021-11-14 17:30:29 +01:00
nemunaire 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
nemunaire 5eeb1a6297 admin: Handle team password 2021-09-09 11:21:29 +02:00
nemunaire 3c42bef298 CI: Fix compilation problems 2021-09-01 01:49:28 +02:00
nemunaire 8f1b44e3dd New env variable FIC_BASEURL to change the base URL 2021-07-22 16:17:03 +02:00
nemunaire 7fc860edec admin: Embed static assets into binary 2021-06-09 23:26:40 +02:00
nemunaire 1436d9ca81 admin: New route to reset settings to sane default values 2020-11-13 11:34:31 +01:00
nemunaire 64b9e9a251 New option to disallow team creation: join only 2020-05-16 03:51:36 +02:00
nemunaire 9186bbc229 frontend: add players possibility to report problems with exercices 2020-01-23 18:27:14 +01:00
nemunaire 5dcb13629a admin: display on interface time synchronization diff 2020-01-17 14:57:03 +01:00
Tristan Ruter-Naon cb7f3326c4 admin: fix typo 2019-11-25 14:52:19 +01:00
nemunaire 3e5b4ebad2 admin: add missing default settings 2019-07-12 19:22:05 +02:00
nemunaire 2b95995104 settings: add canJoinTeam parameter 2019-02-06 03:40:49 +01:00
nemunaire 4ee70a8781 settings: change param to enable/disable depends by the depth 2019-01-21 09:58:36 +01:00
nemunaire 8749a7c164 Make go vet -strictshadow mostly happy 2019-01-21 09:58:36 +01:00
nemunaire 7edd70c3c0 admin: apply settings to internal structures
This allows scores and rank to be properly generated in admin interface.
2019-01-21 03:08:05 +01:00
nemunaire 7970b552e9 dashboard: move public.json files into a dedicated directory 2019-01-21 03:08:05 +01:00
nemunaire af2fe21d73 admin: initialize directory structure and required files at launch 2018-12-08 03:23:08 +01:00
nemunaire 92ba880006 sync: save import_report into StaticDir 2018-12-08 03:23:07 +01:00
nemunaire c460bb7bf5 Handle graceful http shutdown 2018-05-11 05:27:51 +02:00
nemunaire 0ec90b14c6 Fixes thanks to go vet 2018-05-11 05:27:51 +02:00
nemunaire c118035c33 Introducing new PKI management 2018-05-11 05:27:50 +02:00
nemunaire 992221a6da Remove old PKI 2018-05-11 05:27:50 +02:00
nemunaire 8ed23ddc7a admin: localimporter can make symlink instead of copying whole files 2018-01-17 18:52:42 +01:00
nemunaire bfd7126e1e tmp 2018-01-17 18:52:40 +01:00
nemunaire 8f7de926d3 admin: Implement sychronization backends
We are now able, depending on configuration, to retrieve files from either WebDAV or local file system.
2018-01-17 18:52:39 +01:00
nemunaire 99975d9df4 admin: Take cloud URL, user and pass from environment 2018-01-17 18:52:39 +01:00
nemunaire cd5a9d06ea Define global default value at initialisation 2018-01-17 18:52:39 +01:00
nemunaire e6e6e6c206 Use BLAKE2b checksum instead of SHA-1 and SHA-512 2018-01-17 18:52:38 +01:00