Commit Graph

47 Commits

Author SHA1 Message Date
26c282138e Extract background color to continue image 2024-04-19 11:48:59 +02:00
adb0e36dd4 Able to sync and export standalone exercices 2024-04-19 11:48:59 +02:00
1f833d39fc admin: Export more importer functions 2024-04-19 11:48:57 +02:00
b6966d47ce sync: Replace []error by go.uber.org/multierr 2024-04-19 11:48:57 +02:00
d996c12452 repochecker-grammalecte: Fix headline.md spelling error 2024-04-19 11:48:57 +02:00
ec3f818c30 sync: Exercice headline can be in a dedicated file 2024-04-19 11:48:57 +02:00
f366d6b8c1 sync: Handle repochecker-ack.txt in exercice directory 2024-04-19 11:46:54 +02:00
c5a059bd3b sync: Expose sync.Exists function 2024-04-19 11:46:53 +02:00
aa0e7406c1 Detect theme and exercice language at runtime (not stored) 2024-04-19 11:46:52 +02:00
23ac512ce6 admin/sync: Keep Exceptions from multiple files 2024-04-19 11:46:50 +02:00
fb368d79d1 sync: Introduce repochecker-ack.txt to support check exceptions 2024-04-19 11:46:50 +02:00
c78545c18b sync: Report custom errors 2022-10-29 17:21:50 +02:00
e84b1d67cb Fix go vet errors 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
dfe62e0b97 sync: Also allow overview.md for themes 2022-06-12 12:06:02 +02:00
9f45f10775 sync: Also ignore theme directories starting by _ 2022-06-10 18:54:25 +02:00
560110ba5e sync: Expose GetFile and GetFileContent functions 2022-05-24 21:52:58 +02:00
f690a4e1c8 sync: Use goldmark instead of blackfriday 2022-05-22 19:10:17 +02:00
8b3fbdb64a admin: Use gin-gonic as router 2022-05-22 19:10:17 +02: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
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