Commit Graph

28 Commits

Author SHA1 Message Date
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
74d77dce9f sync: Add partner's info 2021-09-08 02:07:37 +02:00
7e9c2ccbe9 sync: Ignore some hidden files/dirs
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-30 11:32:23 +02:00
9dc1f401b7 Use go modules 2021-05-14 00:42:40 +02:00
adb424ea03 Use fmt.Errorf 2020-04-15 07:39:38 +02:00
0bc42282aa frontend: resize heading pictures as thumb file 2020-01-30 18:55:56 +01:00
8f998485bb sync: resize heading pictures 2020-01-23 18:26:30 +01:00
fbae34ee4f sync: add error message when missing heading.jpg 2020-01-17 14:57:03 +01:00
26eab7ed67 sync: import heading.jpg only in Sync phase 2020-01-17 14:57:03 +01:00
f2fc142869 api: remote route takes advantage from builds functions 2019-11-25 14:52:19 +01:00
4e01377a29 sync: search theme's label in a title.txt file, fallback on dirname 2019-11-25 14:52:19 +01:00
682598fdbb sync: Extract function that builds a theme from importer 2019-07-06 03:28:44 +02: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
dc4a4925e3 sync: refactor exercice synchronization 2019-01-21 03:08:05 +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
3a0c892148 sync: import heading theme image 2019-01-21 03:07:45 +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
9ab5738cff admin/sync: theme's name is now part of the theme's dirname 2018-12-08 03:23:07 +01:00
Thibaut
d303ecfa38 sync: handle new sync format: filenames and locations 2018-06-22 20:34:35 +02:00
dcb67fba63 Docs, docs, docs! 2018-05-13 14:15:07 +02:00
0c540a39eb frontend: beautiful URLs 2018-01-26 12:02:32 +01:00
ea3f3b709d admin/sync: import theme introductions 2018-01-18 12:08:10 +01:00
4d1dde4528 admin: Implement theme synchronization 2018-01-17 18:52:39 +01:00