Commit graph

818 commits

Author SHA1 Message Date
91d022c44c
Bump HSTS to 30 days 2022-10-30 18:56:40 +00:00
79f532b5c0
Do a lookup to find reverse proxy
`forwarded_allow_ips` doesn't support CIDR
2022-10-30 14:26:06 +00:00
dc02e989e1
Fix number of queries 2022-10-30 13:39:02 +00:00
053f44bf35
Remove fixed height for listing items
This made it look horrible on mobile.
2022-10-30 13:14:23 +00:00
93c06b3fe7
Don't hide bits of the header when stuck
This causes horrible scroll jumping on mobile
2022-10-30 13:04:38 +00:00
1eb14f3fb5
Ensure feed titles reference the full site 2022-10-30 12:53:35 +00:00
fe3c741347
Construct HTML title in Python
Site is cached, and makes it easier to reference elsewhere
2022-10-30 12:53:15 +00:00
1023c821ab
Allow gunicorn to use X-Forwarded-* header 2022-10-30 12:14:16 +00:00
2e4e54418d
Reduce debounce time for search 2022-10-29 16:28:18 +01:00
0ac4fd1135
Don't fill full width in lightbox 2022-10-29 16:25:51 +01:00
e9ad9a88d8
Upgrade django-plausible to fix script name validation 2022-10-29 15:33:03 +01:00
bb8c40f72e
Use sri_static tag for dark mode 2022-10-29 15:19:58 +01:00
7ed5255b69
Add cache around navbar and footer
Intentionally outside the tag as generating the context does queries
2022-10-29 15:14:39 +01:00
0e20ad3269
Fix query numbers based on guestbook heading 2022-10-29 15:02:41 +01:00
b6fa67163f
Only show ToC if there are enough items 2022-10-29 14:57:12 +01:00
2fbc96946d
Ensure dark mode toggle is always in the corner 2022-10-29 14:50:53 +01:00
c0ba7bc62e
Add guestbook link 2022-10-29 14:50:01 +01:00
a031adefda
Add tag list button to post list hero 2022-10-29 13:22:21 +01:00
0544f7541b
Increase font size on listing items 2022-10-29 13:15:37 +01:00
c808aa2147
Hide "to top" button on password required page 2022-10-25 23:16:03 +01:00
a6ded62b3b Merge branch 'renovate/djangorestframework-3-x' into 'master'
Update dependency djangorestframework to v3.14.0

See merge request repos/website!60
2022-10-25 23:15:58 +01:00
3dd9b8d59a Merge branch 'renovate/stylelint-config-standard-scss-6-x' into 'master'
Update dependency stylelint-config-standard-scss to v6

See merge request repos/website!62
2022-10-25 23:15:47 +01:00
a7b72b1872 Update dependency stylelint-config-standard-scss to v6 2022-10-25 14:00:35 +01:00
6179dcf30e Update dependency djangorestframework to v3.14.0 2022-10-25 12:02:03 +01:00
a276f9afcb
Exclude migrations from coverage 2022-10-24 20:45:07 +01:00
c2d467c15e
Coverage is tests too 2022-10-24 20:45:07 +01:00
cabc472438
Bump some dependencies 2022-10-24 20:45:07 +01:00
07407b11f4
Ensure pyyaml is installed
This is needed for OpenAPI schema
2022-10-24 20:45:07 +01:00
394d9028ba
Fix spacing for footer icons 2022-10-24 20:45:07 +01:00
ab2bf2d29f Merge branch 'renovate/stylelint-14.x' into 'master'
Update dependency stylelint to v14.14.0

See merge request repos/website!46
2022-10-24 20:29:18 +01:00
84e9634cf4 Merge branch 'renovate/djlint-1.x' into 'master'
Update dependency djlint to v1.19.2

See merge request repos/website!52
2022-10-24 19:15:40 +01:00
a2138e956b Update dependency djlint to v1.19.2 2022-10-24 18:06:30 +01:00
91b4f4cce6 Merge branch 'renovate/more-itertools-9.x' into 'master'
Update dependency more-itertools to v9

See merge request repos/website!48
2022-10-24 16:04:12 +01:00
364db6d41c Update dependency more-itertools to v9 2022-10-24 10:22:58 +01:00
6b65f372ed Merge branch 'renovate/eslint-8.x' into 'master'
Update dependency eslint to v8.26.0

See merge request repos/website!37
2022-10-24 08:28:38 +01:00
e5b0c7cae8 Merge branch 'renovate/node-19.x' into 'master'
Update Node.js to v19

See merge request repos/website!49
2022-10-24 08:27:52 +01:00
d43ccf567c Merge branch 'renovate/sentry-sdk-1.x' into 'master'
Update dependency sentry-sdk to v1.10.1

See merge request repos/website!50
2022-10-24 08:24:12 +01:00
cb6fd858fb Update dependency sentry-sdk to v1.10.1 2022-10-24 08:10:58 +01:00
e7d7d122fa Merge branch 'renovate/django-debug-toolbar-3.x' into 'master'
Update dependency django-debug-toolbar to v3.7.0

See merge request repos/website!40
2022-10-23 22:26:17 +01:00
bd4bdcf46a Update dependency django-debug-toolbar to v3.7.0 2022-10-23 22:04:57 +01:00
cb6aed2567
Replace drf-yasg with DRF native schema generator
I don't need anything advance. Just redirect to the swagger editor for the UI. Makes the app much simpler
2022-10-23 21:30:00 +01:00
9cfa369d56
Replace tags menu item with dashboard item 2022-10-23 20:30:17 +01:00
3b02f21f81
Use OOB to set results count and fix jumping when loading pages
This correctly centers the pagination spinner, and ensures there's only 1.
2022-10-23 18:52:39 +01:00
a70f789a8d
Add indicator to search infinite scroll 2022-10-23 18:34:32 +01:00
b16d3ffb40 Update dependency eslint to v8.26.0 2022-10-22 08:00:42 +01:00
0971fcd8a3
Account for spaces after tags when extracting text 2022-10-21 17:46:13 +01:00
c8f01870d4
Use simpler listing on tag list page 2022-10-21 17:20:58 +01:00
26fabf3a43
Ensure tags are sorted 2022-10-21 17:11:15 +01:00
db6dd80385
Remove ToC from blog list page
Showing an accurate ToC is complex alongside pagination
2022-10-21 16:56:40 +01:00
d2b9db8ace
Use released version of wagtail-autocomplete
Wagtail 3 support is finally released
2022-10-21 14:07:40 +01:00