|
66465dafe8
|
Index tags and boost subtitle
|
2022-10-31 20:59:24 +00:00 |
|
|
1e2e488516
|
Add slashes to API URLs
|
2022-10-31 20:59:24 +00:00 |
|
|
66156f2be7
|
Correctly order LMOTFY endpoint
Ordering by "relevance" actually yields the least relevant results first. Remove ordering and assume the most relevant is what's needed.
|
2022-10-31 20:59:24 +00:00 |
|
|
0069af1233
|
Only stick header on desktop
On mobile, it takes up a huge amount of the viewport
|
2022-10-31 14:09:48 +00:00 |
|
|
5a8116ec22
|
Fix default CSP
|
2022-10-31 09:57:49 +00:00 |
|
|
ccdc3e918e
|
Add types for permissions policy
|
2022-10-30 19:35:26 +00:00 |
|
|
01d78a7378
|
Add permissions policy
|
2022-10-30 19:12:26 +00:00 |
|
|
d809890b0f
|
Add naive CSP
This is a very weak setup so far, as requires some more testing to confirm which origins are allowed for each resource.
|
2022-10-30 19:09:38 +00:00 |
|
|
e630ef8856
|
Allow swagger editor to make CORS requests
|
2022-10-30 19:00:27 +00:00 |
|
|
91d022c44c
|
Bump HSTS to 30 days
|
2022-10-30 18:56:40 +00:00 |
|
|
dc02e989e1
|
Fix number of queries
|
2022-10-30 13:39:02 +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 |
|
|
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 |
|
|
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 |
|
|
394d9028ba
|
Fix spacing for footer icons
|
2022-10-24 20:45:07 +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 |
|
|
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 |
|