Commit graph

880 commits

Author SHA1 Message Date
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
f1db2529bc
Support image serve view in wagtail-favicon.
https://github.com/octavenz/wagtail-favicon/pull/7
2022-10-21 13:57:04 +01:00
214f10002c
Cache latest blog post 2022-10-21 13:20:22 +01:00
35579a8803
Remove dedicated fragments cache
Reuse the default one to avoid an extra redis connection
2022-10-21 11:40:49 +01:00
1e8ec31176 Update Node.js to v19 2022-10-19 08:00:30 +01:00
e1a2cbeac8 Update dependency stylelint to v14.14.0 2022-10-15 18:03:36 +01:00
084f52358c Merge branch 'renovate/coverage-6.x' into 'master'
Update dependency coverage to v6.5.0

See merge request repos/website!39
2022-10-09 18:41:34 +01:00
ed22c531d3 Update dependency coverage to v6.5.0 2022-10-09 18:10:15 +01:00
549a48769d
Swap curlylint and djhtml with djlint 2022-10-05 14:17:00 +01:00
315412ff5d
Remove unused import and update query count 2022-10-05 09:23:58 +01:00
ee4914324c
Cache fragments for 6 hours
They really shouldn't change often
2022-10-04 21:27:53 +01:00
6a1acd1684
Decrease page size
Infinite scroll makes this much easier
2022-10-04 21:17:16 +01:00
c09669693f
Exclude singleton pages from search results 2022-10-04 21:12:55 +01:00
27a5d8891b
Increase spacing around search results 2022-10-04 21:02:43 +01:00
b515b6368c
Optimise for cache hits
Don't select/prefetch for listing, because we cache the entire listing item. This makes the main query more efficient, thus page loads faster.
2022-10-04 20:49:29 +01:00
fa85c8ba80
Cache fragments for longer, and clear when editing page 2022-10-04 20:14:26 +01:00
9096bd4b0b
Fix sizing of content images 2022-10-02 22:38:10 +01:00
04aa301c75
Add management command to purge caches 2022-10-02 20:47:40 +01:00
8f66feeaa5
Remove test 404 and 500 paths outside dev 2022-10-02 19:25:36 +01:00
8844aad247
Disallow API from being indexed 2022-10-02 19:20:40 +01:00
6d0c25128c
Always disallow wagtail admin 2022-10-02 19:17:33 +01:00
197f2ea0aa
Move cache handling to views 2022-10-02 18:53:51 +01:00
31646007f7
Remove navbar item background on focus 2022-10-02 18:05:12 +01:00
f16f22ad48
Hide subtitle and breadcrumbs from hero once stuck 2022-10-02 18:00:42 +01:00
80cbcfbb47
Improve spacing around subtitle in hero 2022-10-02 17:37:50 +01:00
1ae3288a73
Store template fragments in separate cache
This makes clearing them less expensive
2022-10-02 17:32:32 +01:00
a2d1aff112
Reduce API page size 2022-10-02 17:28:20 +01:00
23b8454fe4
Add template caching for listing components 2022-10-02 17:27:55 +01:00
6775a336e1
Revert "Add the ability to cache model attributes in redis"
This reverts commit 7c008c2149.
2022-10-02 16:17:55 +01:00
cd48ae7810
Revert "Replace spotify data cache with new cached properties"
This reverts commit a3d9fa177e.
2022-10-02 16:17:49 +01:00
5c49906da3
Remove apt list and stray packages 2022-09-30 16:04:52 +01:00
a3d9fa177e
Replace spotify data cache with new cached properties
Also replace the update script with one which will do everything
2022-09-30 09:07:31 +01:00
7c008c2149
Add the ability to cache model attributes in redis
This not only means they persist longer than the instance, but can also be shared between processes. This is especially useful for list pages, as rendering content for summaries etc is quite expensive
2022-09-29 22:59:23 +01:00
d1523a886b
Use fira-code package with support for font-display 2022-09-29 21:05:19 +01:00
f2e2719647
Add title to navbar icon links 2022-09-29 20:55:43 +01:00
e05d2675d5
Add blank alt tag to hero image 2022-09-29 20:55:35 +01:00
e7037d01b0
Remove stray description tag 2022-09-29 20:42:25 +01:00
be9796360c
Make ToC dropdown slightly wider 2022-09-29 20:34:41 +01:00
5efdf48c67
Fix content container sizing 2022-09-29 20:22:07 +01:00