Commit graph

342 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
1f5e151314
Ignore more blocks when getting plaintext 2022-09-25 21:54:02 +01:00
92f1a17b9f
Always show pagination buttons 2022-09-25 21:10:35 +01:00
ac30206e97
Fix pagination controls showing up 2022-09-25 21:06:43 +01:00
79c9550ee2
Make sure commento works in dark mode 2022-09-23 17:27:03 +01:00
dcb8162517
Ensure tags use code font 2022-09-23 16:44:22 +01:00
e4476e1b2a
Ensure heading ids are always valid ids 2022-09-23 15:36:23 +01:00
bee03a8e64
Add link to tags list to tags on content details 2022-09-23 08:45:17 +01:00
4b10ce6f6f
Restyle content details to be icons rather than tags
This looks much nicer, and is simpler to work with
2022-09-23 08:34:49 +01:00
6c481672c4
Improve margin around blog post date headers 2022-09-21 14:18:35 +01:00
bccc948995
Restructure fields in editor pages
Move as much as possible out of the "Content" tab, so that's just about
the actual content
2022-09-21 13:30:06 +01:00
2d537d3b10
Correctly get language
Operator precedence is important
2022-09-21 13:29:57 +01:00
82701a706c
Show blog list ToC with newest first 2022-09-20 09:54:26 +01:00
65b36f5b07
Disable workflows in admin
I'm the only one using it, so it doesn't really make sense. And disabling it outright can make things perform faster
2022-09-20 09:25:40 +01:00
e62f9de9fc
Add indexing of unsplash photos 2022-09-20 09:24:00 +01:00
997da9779c
Link to admin posts list, not the posts page itself 2022-09-19 21:40:40 +01:00
d5aac8ac50
Don't show header if there's nothing useful to show 2022-09-19 16:34:02 +01:00
77e34cbf02
Show number of blog posts on admin dashboard 2022-09-15 08:54:23 +01:00
f3b248110e
Hide updated date when creating unsplash photos 2022-09-15 08:19:22 +01:00