Commit graph

16 commits

Author SHA1 Message Date
Joachim f206f61e9a Use global switch to enable/disable preview images 2021-05-28 17:00:07 +02:00
Joachim e214d8b879 Rationalize paths handling 2021-05-26 17:55:39 +02:00
Joachim f7b117e4fb Update preview_images.py 2021-05-26 15:46:40 +02:00
Joachim a8ae3c9950 Modify inner image position 2021-05-26 15:37:09 +02:00
Joachim eb56cced8d Lint 2021-05-26 14:46:34 +02:00
Joachim 65de40a95a Add generate_preview_images command 2021-05-26 13:52:10 +02:00
Joachim b47edc5f0d Add dark mode 2021-05-26 13:07:33 +02:00
Joachim bf503d370c Add user preview task 2021-05-26 12:54:57 +02:00
Joachim 34caa36ab7 Add site preview task 2021-05-26 10:19:39 +02:00
Joachim 101ca0ff81 Refactor some 2021-05-26 09:44:32 +02:00
Joachim 8c25272462 Fix last night's bugs 2021-05-26 09:09:13 +02:00
Joachim 5b03934ec3 Update preview_images.py 2021-05-25 23:16:33 +02:00
Joachim e305c5d73d Fix color 2021-05-25 23:12:54 +02:00
Joachim dca0888d5d Thank you Black 2021-05-25 23:05:38 +02:00
Joachim fa7334826c Update 2021-05-25 23:04:28 +02:00
Joachim d1737b44bd First functioning commit
TODO

- [ ] Delay task (Celery?)
- [ ] Store the image in a subfolder unique to the edition, to make cleaning up the image easy
- [ ] Clean up the image before replacing it
- [ ] Ensure that the image will be cleaned when the edition is deleted ??
- [ ] Use instance custom colors?
- [ ] Use book cover color base?
2021-05-25 00:41:53 +02:00