Commit graph

589 commits

Author SHA1 Message Date
Gabriel Augendre ed4c290ba5 Fix empty description
This happened with articles starting with an image.
We now fetch the first paragraph containing some text.
2021-12-28 10:52:25 +01:00
Gabriel Augendre 01bf989c5d Update flake8 rules 2021-12-27 22:58:41 +01:00
Gabriel Augendre 1dbf04db66 Add eslint, prettier, djhtml, pytest-style & django-upgrade 2021-12-27 22:57:18 +01:00
Gabriel Augendre 09f17bdef1 Add reply via email button 2021-12-27 22:41:32 +01:00
Gabriel Augendre 74930d1e9f Reset password & TOTP when downloading DB 2021-12-27 22:10:47 +01:00
Gabriel Augendre 5be1a0c67d Reorganize env files 2021-12-27 22:10:28 +01:00
Gabriel Augendre cbef85ffbd Fix article description 2021-12-27 11:48:33 +01:00
Gabriel Augendre bb3083b9d5 Add download db from prod task 2021-12-27 11:47:36 +01:00
Gabriel Augendre c1515c6cf7 Exclude self from related articles 2021-12-27 11:21:47 +01:00
Gabriel Augendre ecc2e301b7 Collect staticfiles during image build 2021-12-26 23:38:17 +01:00
Gabriel Augendre a46c2868c2 Fix QR code display 2021-12-26 23:30:30 +01:00
Gabriel Augendre 9f41a9c34a Add 2FA in menu 2021-12-26 23:30:23 +01:00
Gabriel Augendre c033078859 Remove unused poetry config in dockerfile 2021-12-26 23:25:50 +01:00
Gabriel Augendre c95e097f34 Add TOTP 2021-12-26 23:24:33 +01:00
Gabriel Augendre fcff91d027 Add theme color for safari 2021-12-26 22:44:18 +01:00
Gabriel Augendre 65a0fd2d23 Remove pipelines url 2021-12-19 22:07:56 +01:00
Gabriel Augendre 58a848c1bd Add comment in flake8 config file 2021-12-19 21:59:45 +01:00
Gabriel Augendre 84c151270f Remove gitlab ci 2021-12-19 21:54:56 +01:00
Gabriel Augendre a0bc97d9c0 Fix dockerfile 2021-12-19 21:52:20 +01:00
Gabriel Augendre ba22d5a8cb Reorganize repo 2021-12-19 21:44:02 +01:00
Gabriel Augendre be29193ed2 Add invoke tasks to deploy and remove drone config 2021-12-19 21:22:34 +01:00
Gabriel Augendre a064a8f695 Bump dependencies, upgrade python fix warnings and apply pre-commit 2021-12-19 20:40:51 +01:00
Gabriel Augendre 4c32917242 Remove deprecated setting 2021-12-19 20:29:18 +01:00
Gabriel Augendre 77cffbea34 Add link to services status 2021-07-31 09:48:08 +02:00
Gabriel Augendre b0ed4c8327 Add some more CSP stuff 2021-04-24 09:19:48 +02:00
Gabriel Augendre 4c3b799113 Make titles more relevant 2021-04-18 09:33:02 +02:00
Gabriel Augendre 373512e52d Update goatcounter script 2021-04-17 17:36:07 +02:00
Gabriel Augendre a72d88771f Add gzip middleware 2021-04-15 21:35:42 +02:00
Gabriel Augendre 25dfdfc492 Revert "Add line numbers on code samples"
This reverts commit 20b2da9cd0.
2021-04-15 18:25:57 +02:00
Gabriel Augendre ff18f62c78 Revert "Fix code scrolling due to line numbers"
This reverts commit eb4c4330f7.
2021-04-15 18:25:56 +02:00
Gabriel Augendre 98a4ebf2e3 Revert "Remove code line numbers in RSS"
This reverts commit fc7b14192c.
2021-04-15 18:25:53 +02:00
Gabriel Augendre 921994d2ad Add quadruple click to select all 2021-04-10 16:27:45 +02:00
Gabriel Augendre fc7b14192c Remove code line numbers in RSS 2021-04-10 15:41:50 +02:00
Gabriel Augendre eb4c4330f7 Fix code scrolling due to line numbers 2021-04-10 15:34:06 +02:00
Gabriel Augendre 85a88000a7 Fix "onload" events to support multiple 2021-04-05 11:24:48 +02:00
Gabriel Augendre 20b2da9cd0 Add line numbers on code samples 2021-04-05 11:05:42 +02:00
Gabriel Augendre 5657109aa2 Fix preview button on new article 2021-03-21 16:37:16 +01:00
Gabriel Augendre 63e7118a9b CSP allow fonts 2021-03-21 16:34:37 +01:00
Gabriel Augendre 5897425ed3 Fix test 2021-03-21 16:15:52 +01:00
Gabriel Augendre 58b40710f0 Set security headers in django instead of reverse proxy 2021-03-21 16:01:17 +01:00
Gabriel Augendre c87f4eed37 Fix debug 2021-03-21 15:50:16 +01:00
Gabriel Augendre 4cbdb0bc54 Use ES6 for custom script 2021-03-21 15:39:31 +01:00
Gabriel Augendre 5c32de523a Fix tests 2021-03-21 15:39:18 +01:00
Gabriel Augendre ee381b546c Switch from django compressor to whitenoise 2021-03-21 15:30:16 +01:00
Gabriel Augendre a5c478dc90 Fix debug toolbar dependency 2021-03-20 19:59:53 +01:00
Gabriel Augendre d53ac1ef7a Prefetch tags in articles admin 2021-03-20 11:36:26 +01:00
Gabriel Augendre b5f3331386 Prefetch articles when loading related articles 2021-03-20 11:33:55 +01:00
Gabriel Augendre 5260669693 Remove unnecessary query when not logged in 2021-03-20 11:26:44 +01:00
Gabriel Augendre fff7a08aee Enable debug toolbar 2021-03-20 11:23:33 +01:00
Gabriel Augendre 986ec930e1 Update deps & install debug toolbar 2021-03-20 11:20:04 +01:00