Commit Graph

91 Commits

Author SHA1 Message Date
3f55845374 sync: Extract function that import files from importer 2019-07-06 04:08:29 +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
34d2054e04 sync: avoid useless line break at the end of markdown processing 2019-02-06 03:40:49 +01:00
58dbd9499b sync: fix report display with some security headers 2019-01-22 08:49:44 +01:00
6042f9b477 sync: check video file size during import process 2019-01-21 09:58:36 +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
4f98536f91 sync: import MCQ justification as Flag 2019-01-21 09:58:36 +01:00
07ec6cb613 sync: Use hint title if provided 2019-01-21 09:58:36 +01:00
2879b697c0 sync: fix ordered import 2019-01-21 09:58:36 +01:00
ff3dec059c sync: Refactor exercice flags 2019-01-21 09:58:35 +01:00
a66d6885e7 Refactor flags
Both QCM and Key are Flag
2019-01-21 09:58:35 +01:00
25b23e7ae0 sync: fix message 2019-01-21 03:08:06 +01:00
ba9bf4ef45 sync: ignore bad named directory when looking for dependancies 2019-01-21 03:08:06 +01:00
0d8505131e sync: automatically add   before ponctuation 2019-01-21 03:08:06 +01:00
8c87451d80 sync: better trim authors lines 2019-01-21 03:08:06 +01:00
d89cd2f0ca sync: Allow \r at EOL in DIGESTS 2019-01-21 03:08:05 +01:00
dc4a4925e3 sync: refactor exercice synchronization 2019-01-21 03:08:05 +01:00
7f2ae673d0 sync: try to remove old exercice without any player try 2019-01-21 03:08:04 +01:00
0e36a850cf Array flags can be non-ordered 2019-01-21 03:08:04 +01:00
dbf1985d25 Implement flag arrays 2019-01-21 03:08:04 +01:00
deb12052b5 sync: include headline in exercice overview, as it is difficult to retrieve otherwise 2019-01-21 03:08:04 +01:00
476f0f553c implement choices_cost 2019-01-21 03:08:04 +01:00
f9abdd23c6 Dependancy between flags 2019-01-21 03:08:04 +01:00
21697f01ca New field for exercice to display a text after exercice validation 2019-01-21 03:08:04 +01:00
87471acf98 sync: import files in markdown, relative to theme/exercice dir 2019-01-21 03:08:04 +01:00
8c95782eff Implement and display headlines in interface 2019-01-21 03:08:02 +01:00
abd7fc6bef sync: randomize imports: themes order, MCQ and UCQ choices 2019-01-21 03:07:47 +01:00
c5b65289d3 Add new helper string related to justified MCQ flag 2019-01-21 03:07:47 +01:00
3a0c892148 sync: import heading theme image 2019-01-21 03:07:45 +01:00
d7553f0392 Handle justified MCQ in admin and sync part 2018-12-08 20:35:36 +01:00
488a032eba Handle choices in UCQ (db, sync done) 2018-12-08 20:35:36 +01:00
f183985982 admin: Add exercice's tags: sync, api, interface done 2018-12-08 20:35:36 +01:00
ff56ec9fe3 libfic/flag: add validatorRegexp field 2018-12-08 20:35:32 +01:00
d21f3b0b83 Rename Exercice's Keys as Flags 2018-12-08 20:34:04 +01:00
f36e1c4e4d Stores ignorecase property for flags 2018-12-08 20:33:39 +01:00
3146e75ead sync: rehandle dependency, trivial processing 2018-12-08 20:32:36 +01:00
2a6fbd4e32 admin&sync: insert format helper in database 2018-12-08 20:32:33 +01:00
1e2a74f3ca sync: add dependency on flag to download file 2018-12-08 03:23:08 +01:00
f9e1cf6691 sync: add a new section to allow locking file waiting flag validation 2018-12-08 03:23:08 +01:00
da2a88a3a6 sync: parse complex AUTHORS.txt as described in README 2018-12-08 03:23:08 +01:00
c33390fa80 sync: import texts as Markdown 2018-12-08 03:23:08 +01:00
be7a159815 sync: Perfers content from challenge.txt to import hints 2018-12-08 03:23:08 +01:00
9ab5738cff admin/sync: theme's name is now part of the theme's dirname 2018-12-08 03:23:07 +01:00
66391baeef sync: alert when imported file is empty 2018-12-08 03:23:07 +01:00
92ba880006 sync: save import_report into StaticDir 2018-12-08 03:23:07 +01:00
e6b1b932f4 sync: fix synchronized URLId 2018-12-08 03:23:07 +01:00
Thibaut
3b7d9a2a75 sync: handle new sync format: flags 2018-12-08 03:23:07 +01:00
Thibaut
af55c5af9f sync: handle new sync format: extends challenge defines 2018-12-08 03:23:07 +01:00