Commit graph

447 commits

Author SHA1 Message Date
9d4ac5fa1d
Remove dedicated poetry check
Roll it into the install
2022-09-13 15:13:48 +01:00
72642d948f
Embrace poetry
pip-tools doesn't work well on renovate, and also makes some things annoying. Poetry has been a pain in the past, but let's see if intense usage will win me over.
2022-09-13 14:52:06 +01:00
ce5ab07ced
Pin dependency versions in requirements files
This makes renovate able to perform the updates
2022-09-13 09:15:17 +01:00
1433a139cc
Only build container on master
It takes a long time, and most of the time doesn't change. CI should catch any potential issues
2022-09-13 08:59:56 +01:00
56ef0a9b42
Unpin redis minor version and use alpine variant 2022-09-13 08:42:52 +01:00
3c8562c35c
Restore rate limit on PR opens
There will probably be quite a few at first...
2022-09-13 08:25:00 +01:00
e954091f2a
Keep artifacts around a little longer
This ensures the pipeline has definitely finished before it's removed
2022-09-13 08:24:25 +01:00
3735119d7c
Fix regex for requirements matching 2022-09-13 08:14:24 +01:00
50bc55ace1
Add renovate dependency dashboard 2022-09-13 08:12:26 +01:00
7dbc568aee Merge branch 'renovate/postgres-14.x' into 'master'
Update postgres Docker tag to v14

See merge request repos/website!10
2022-09-12 08:46:29 +01:00
d8975e51e6
Explicitly tell renovate where requirements are
https://docs.renovatebot.com/modules/manager/pip-compile/
2022-09-12 08:35:26 +01:00
3ffcbd3928 Merge branch 'renovate/pin-dependencies' into 'master'
Pin dependencies

See merge request repos/website!1
2022-09-12 08:34:32 +01:00
29ea82dad5 Update postgres Docker tag to v14 2022-09-09 17:16:05 +01:00
1385275eca Pin dependencies 2022-09-09 17:13:13 +01:00
cbba1ede12
Add renovate 2022-09-08 20:59:29 +01:00
fb15c480a3
Add link to full content in iframe block 2022-09-08 20:58:13 +01:00
c6c913c3e7
Make subtitle more visually distinct from content 2022-09-08 14:42:45 +01:00
8b027206b1
Add comments and sharing to all content pages
Listing pages already have this block overwritten for pagination
controls
2022-09-08 14:37:18 +01:00
63909a31c0
Add iframe block 2022-09-08 14:31:01 +01:00
c56cc2f995
Correctly get lexer for language
`get_lexer_by_name` doesn't actually get the lexer by its name...
2022-09-07 14:44:39 +01:00
c7e56ab038
Don't show word count if there isn't one
This mostly covers spotify pages, which use a custom reading time but
don't have words.
2022-09-06 09:17:42 +01:00
71f74251bb
Don't require code header 2022-09-06 08:58:44 +01:00
ffcb17de31
Ensure headings are light in dark mode 2022-09-06 08:57:34 +01:00
0813b80c73
Test gunicorn config in CI 2022-09-06 08:39:17 +01:00
fb453a3277
Run an additional thread so the GIL isn't sitting completely idle 2022-09-06 08:36:55 +01:00
b95506d711
Don't load analytics when logged in or preview 2022-09-06 08:24:54 +01:00
1474131771
Thin fonts on 500 page 2022-09-05 14:29:17 +01:00
0711288197
Style 500 page 2022-09-05 14:17:48 +01:00
0a136496f4
Remove caches from base template
These components are pretty efficient, and it makes content editing more
annoying.
2022-09-05 13:58:36 +01:00
c40987c14f
Add healthcheck 2022-09-05 13:35:48 +01:00
db24bb7e0a
Disable password reset 2022-09-05 13:13:01 +01:00
614f04c246
Allow easily updating packages 2022-09-05 09:18:22 +01:00
8aab42cbbc
Update django-sri to fix integrity issues 2022-09-05 09:18:14 +01:00
8805416807
Disable update check
I work for torchbox, i'll notice
2022-09-04 21:10:06 +01:00
a76b9df329
Fix 404s if there's no resolver match 2022-09-04 18:17:06 +01:00
f40681d06a
Add caching to listing feeds 2022-09-04 17:34:04 +01:00
7cd88c9fbd
Just set cache control rather than caching page content
This avoids storing tonnes of stuff in the cache, when it doesn't matter
_too_ much
2022-09-04 17:29:04 +01:00
ddb68f7d43
Ensure media is served by Django 2022-09-04 17:23:41 +01:00
79d6c1e951
Update spotify playlists in cron 2022-09-04 16:57:57 +01:00
b167cd4ca4
Set ALLOWED_HOSTS correctly based on base hostname 2022-09-04 16:52:05 +01:00
d93bc2450d
Remove sentry enviornment variable
There will be only 1
2022-09-04 16:40:59 +01:00
e21d525259
Reset migrations
During dev I made loads, but I don't need them now
2022-09-04 15:56:51 +01:00
ee307bcfbf
Define rich text features in settings
This removes them from migrations, avoiding the need to create new ones
when they change
2022-09-03 21:07:27 +01:00
210ad88a2e
Add renditions cache 2022-09-03 17:33:11 +01:00
a053e27833
Use richtext for subtitle 2022-09-03 17:00:09 +01:00
f8f0b6ce82
Add security.md file 2022-09-03 16:37:26 +01:00
6dfbb830ef
Add IE11 deterrent 2022-09-03 16:35:39 +01:00
eaa5b063f4
Use smaller, PNG image for meta image
This ensures it's not too large, but also crawlers are more likely to
support PNG than webp
2022-09-03 16:21:24 +01:00
be009dcb37
Convert all images to webp
It's so much smaller!
2022-09-03 16:15:08 +01:00
eb05588b4a
Only copy glightbox CSS
This also comes with plyr
2022-09-03 15:29:15 +01:00