Commit graph

696 commits

Author SHA1 Message Date
Gabriel Augendre f163a56b7f
Move from docker hub to scaleway registry 2020-09-12 15:07:35 +02:00
Gabriel Augendre 830729a1d4
Add nginx for docker-compose 2020-09-09 18:34:21 +02:00
Gabriel Augendre 11ceec343d
Display git commit sha in footer 2020-09-09 18:33:13 +02:00
Gabriel Augendre 88f3c455ff
Increase writing space in admin page 2020-09-09 17:57:55 +02:00
Gabriel Augendre a9f06331dd
Upgrade deps (django, pre-commit) 2020-09-05 09:14:33 +02:00
Gabriel Augendre c01032726f
Remove .isort.cfg from Dockerfile 2020-09-05 09:14:00 +02:00
Gabriel Augendre 37175e54fb
Upgrade black 2020-09-05 09:09:59 +02:00
Gabriel Augendre 2085f0bc89
Move isort config to pyproject.toml 2020-09-05 09:05:06 +02:00
Gabriel Augendre 603cd31691
Add a robots.txt 2020-09-05 09:04:45 +02:00
Gabriel Augendre 3cff6619cb
Run precommit and check for missing migrations during tests 2020-09-03 22:16:27 +02:00
Gabriel Augendre df5fb508ab
Pin black version in precommit config 2020-09-03 22:16:11 +02:00
Gabriel Augendre 3ab87a4d57
Docker ignore some useless stuff 2020-09-03 22:04:07 +02:00
Gabriel Augendre 458126f828
Fix comments ordering 2020-09-03 22:00:38 +02:00
Gabriel Augendre cb0fa2da94
Definitively fix article field in comment admin form 2020-09-03 22:00:28 +02:00
Gabriel Augendre 82dd30e609
Remove pushing tests 2020-09-03 21:37:03 +02:00
Gabriel Augendre b180def20c
Allow disabling comments on article/page 2020-09-03 21:29:58 +02:00
Gabriel Augendre 63db5aa0ea
Create missing attachment migration 2020-09-03 21:29:57 +02:00
Gabriel Augendre e247f15797
Fix pages not displayed in comment admin form 2020-09-03 21:29:56 +02:00
Gabriel Augendre 7fe208f5d3
Move copy buttons to python and display in edit form 2020-09-02 13:14:36 +02:00
Gabriel Augendre 049fcb2dce
Keep EXIF on processed images 2020-08-29 09:55:31 +02:00
Gabriel Augendre 84a1b11315
Mark toggle dark mode script as async 2020-08-28 22:41:06 +02:00
Gabriel Augendre 99b2cd7e02
Order attachments by description 2020-08-28 22:24:28 +02:00
Gabriel Augendre 6c3ab47a9b
Remove onclick because CSP doesn't allow it 2020-08-28 22:09:50 +02:00
Gabriel Augendre 9813b4252b
Fix for missing processed file 2020-08-28 21:58:18 +02:00
Gabriel Augendre 1eb72f45ef
Use css to customize article content widget 2020-08-28 21:55:34 +02:00
Gabriel Augendre 6898bb22a5
Display files urls and copy button 2020-08-28 21:49:15 +02:00
Gabriel Augendre c86e15596b
Stop pulling unnecessary image during build 2020-08-27 22:31:28 +02:00
Gabriel Augendre 45fe91dc9b
Add attachments to dockerfile 2020-08-27 22:28:14 +02:00
Gabriel Augendre 945768a3e6
Add str method to attachment 2020-08-27 22:09:33 +02:00
Gabriel Augendre 57c1fe1ce8
Use shortpixel to compress and resize images 2020-08-27 22:09:32 +02:00
Gabriel Augendre 9f6ffcb1a3
Add attachments and resize images 2020-08-27 22:09:31 +02:00
Gabriel Augendre 74e93762ca
Add views count to admin list 2020-08-26 13:28:31 +02:00
Gabriel Augendre c3218df28e
Fix test warning 2020-08-25 23:15:08 +02:00
Gabriel Augendre cfc427b603
Use a custom ISO date format to please HTML <time> 2020-08-25 23:12:12 +02:00
Gabriel Augendre 67105db5a9
Lazy load images 2020-08-25 23:12:10 +02:00
Gabriel Augendre 677d752873
Fix list template for HTML compliance (remove p tag) 2020-08-25 14:16:58 +02:00
Gabriel Augendre ee0289382c Fix test data 2020-08-24 23:49:35 +02:00
Gabriel Augendre c49c11a23c Rollback to only docker without compose in build 2020-08-21 15:25:36 +02:00
Gabriel Augendre 2dbe8bf16e Use docker compose in build 2020-08-21 14:32:01 +02:00
Gabriel Augendre fc5ac92685 Remove failing test 2020-08-21 14:18:31 +02:00
Gabriel Augendre 8a7247f160 Add a failing test to check CI 2020-08-21 14:14:51 +02:00
Gabriel Augendre a97bfdffef Run tests from inside docker image to ensure python version 2020-08-21 14:14:40 +02:00
Gabriel Augendre 3afdd108b5 Fix healthcheck 2020-08-21 13:50:17 +02:00
Gabriel Augendre d53d4f9823 Add some secure settings 2020-08-21 13:40:02 +02:00
Gabriel Augendre 02f64aef12 Use local hosts only when debug is enabled 2020-08-21 13:32:09 +02:00
Gabriel Augendre 76fcefccf1 Allow longer slugs 2020-08-21 12:33:03 +02:00
Gabriel Augendre afc3203ff2 Add favicon 2020-08-20 21:18:24 +02:00
Gabriel Augendre 9904c9e4bb Add sourcehut in the footer 2020-08-20 16:41:01 +02:00
Gabriel Augendre 34ea388269 Mark moderated messages as not notified 2020-08-20 16:27:12 +02:00
Gabriel Augendre f6d6d7b850 Add task to notify commenters once their comment has been moderated. 2020-08-20 16:22:15 +02:00