Commit Graph

36 Commits

Author SHA1 Message Date
122e919daf admin: Don't do only standalone exercices when doing speedy sync 2024-04-19 11:49:00 +02:00
adb0e36dd4 Able to sync and export standalone exercices 2024-04-19 11:48:59 +02:00
b6966d47ce sync: Replace []error by go.uber.org/multierr 2024-04-19 11:48:57 +02:00
1769938205 generator: Can perform synchronous generation 2024-04-19 11:48:55 +02:00
dc83efa868 sync: Better perform exception in exercices 2024-04-19 11:46:54 +02:00
5fb85c22dc sync: Don't pull repo when doing synchronization. Do it only on auto-sync 2024-04-19 11:46:53 +02:00
f6a251e2ec sync: Don't start SpeedySyncDeep by pull 2024-04-19 11:46:53 +02:00
fb368d79d1 sync: Introduce repochecker-ack.txt to support check exceptions 2024-04-19 11:46:50 +02:00
95c992555c admin: Fix marshal of error in SyncReport 2022-10-29 17:21:50 +02:00
b0129e5239 sync: Use errors instead of string to report 2022-10-29 17:21:49 +02:00
3c0751a78a sync: Fix division by zero 2022-05-17 18:18:33 +02:00
2645109839 admin: Display commit ID in admin interface 2022-01-21 08:02:23 +01:00
e6d8f2db1b sync: Try to improve git-lfs support 2021-12-11 11:20:44 +01:00
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
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
6223d2be36 sync: Also import hints during speed sync 2021-08-31 19:34:47 +02:00
867e9bb345 sync: Fix a div by 0 when no exercice detected in theme 2021-08-30 18:31:32 +02:00
a4c87b92a5 admin: introducing speedy deep sync and themed deep sync 2020-01-23 18:26:30 +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
58dbd9499b sync: fix report display with some security headers 2019-01-22 08:49:44 +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
d21f3b0b83 Rename Exercice's Keys as Flags 2018-12-08 20:34:04 +01:00
1e2a74f3ca sync: add dependency on flag to download file 2018-12-08 03:23:08 +01:00
92ba880006 sync: save import_report into StaticDir 2018-12-08 03:23:07 +01:00
Thibaut
3b7d9a2a75 sync: handle new sync format: flags 2018-12-08 03:23:07 +01:00
dcb67fba63 Docs, docs, docs! 2018-05-13 14:15:07 +02:00
494ccb740b admin/sync: tiny refactor 2018-01-18 12:08:12 +01:00
24f527ab8a admin/sync: includes mcq and ucq in full synchronization 2018-01-18 12:08:12 +01:00
935b1666ac admin/sync: Add last sync date into full_import_report 2018-01-18 12:08:12 +01:00
1ab94862d0 admin/sync: can only perform one deep sync at a time 2018-01-17 18:52:43 +01:00
bb3e4547bb admin/sync: regenerate backend after deep sync 2018-01-17 18:52:42 +01:00
b4057c1a2c admin/sync: generate report on full import 2018-01-17 18:52:41 +01:00
6ef91a92e5 Perform full deep synchronisation 2018-01-17 18:52:41 +01:00