Commit Graph

73 Commits

Author SHA1 Message Date
Jake Howard 514e609973
Change minify-html details to be more spec compliant 2024-05-04 23:07:35 +01:00
Jake Howard 0f328aff0a
Minify HTML 2024-05-04 20:07:59 +01:00
Jake Howard 7cbdda9397
Fix listing item images 2024-04-18 17:53:47 +01:00
Jake Howard 9ba8a505fc
Fix query count for go view
This might be non-deterministic
2024-01-14 13:09:28 +00:00
Jake Howard 59912f6ddb
Use short "Go" view for search shortcut 2024-01-12 15:16:31 +00:00
Jake Howard 8e0f948f66
Move search icon to left 2024-01-05 16:52:37 +00:00
Jake Howard 48e36bc5b9
Update to Wagtail 5.2 (and others) 2024-01-05 15:30:31 +00:00
Jake Howard 5d50907ed2
Add opensearch description file
Not _that_ opensearch
2024-01-04 22:21:32 +00:00
Jake Howard 3c66267b79
Add breadcrumbs to search results 2023-12-25 23:28:44 +00:00
Jake Howard b13fe49664
Exclude listing pages from search 2023-12-25 22:10:17 +00:00
Jake Howard 158ba9cbfc
Increase page sizes 2023-10-06 21:23:32 +01:00
Jake Howard 9bc200fe9f
Never allow the search page to be indexed 2023-10-06 18:34:22 +01:00
Jake Howard 7105386e61
Use direct mastodon host for verification 2023-07-20 22:02:02 +01:00
Jake Howard 29bd939ae4
Replace flake8 and isort with ruff 2023-07-15 15:10:05 +01:00
Jake Howard f90c25d132
Add mastodon verification link 2023-07-03 08:53:25 +01:00
Jake Howard e4a8fbd14f
Remove blank line in migrations
Keep `black` happy
2023-06-17 12:49:31 +01:00
Jake Howard b620e0edcc
Add search link to 404 page 2023-05-05 12:39:39 +01:00
Jake Howard d52d532d81
Disable plausible on 404 and page protection pages 2023-05-05 12:29:25 +01:00
Jake Howard e504da0bcf
Restyle code block header
This looks much nicer, and removes a DB field.
2023-04-19 21:34:38 +01:00
Jake Howard 6342726d7c
Change footer settings to generic setting 2023-04-16 15:18:21 +01:00
Jake Howard f055517cc1
Update to Wagtail 4.1 2023-04-16 15:04:51 +01:00
Jake Howard 2e4e54418d
Reduce debounce time for search 2022-10-29 16:28:18 +01:00
Jake Howard 0e20ad3269
Fix query numbers based on guestbook heading 2022-10-29 15:02:41 +01:00
Jake Howard b6fa67163f
Only show ToC if there are enough items 2022-10-29 14:57:12 +01:00
Jake Howard 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
Jake Howard a70f789a8d
Add indicator to search infinite scroll 2022-10-23 18:34:32 +01:00
Jake Howard 549a48769d
Swap curlylint and djhtml with djlint 2022-10-05 14:17:00 +01:00
Jake Howard 315412ff5d
Remove unused import and update query count 2022-10-05 09:23:58 +01:00
Jake Howard 6a1acd1684
Decrease page size
Infinite scroll makes this much easier
2022-10-04 21:17:16 +01:00
Jake Howard c09669693f
Exclude singleton pages from search results 2022-10-04 21:12:55 +01:00
Jake Howard 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
Jake Howard 63909a31c0
Add iframe block 2022-09-08 14:31:01 +01:00
Jake Howard 71f74251bb
Don't require code header 2022-09-06 08:58:44 +01:00
Jake Howard e21d525259
Reset migrations
During dev I made loads, but I don't need them now
2022-09-04 15:56:51 +01:00
Jake Howard 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
Jake Howard a053e27833
Use richtext for subtitle 2022-09-03 17:00:09 +01:00
Jake Howard 7026aca934
Add account links to footer
Putting them in the navbar is too crowded.
2022-09-02 09:28:35 +01:00
Jake Howard 54af457d8e
Add SRI 2022-09-01 08:36:39 +01:00
Jake Howard 488369a247
Add filename and header show checkbox to code block 2022-08-31 22:30:08 +01:00
Jake Howard df09ec0f38
Ensure request is passed into the singleton URL cache
This removes needing extra queries
2022-08-31 19:06:02 +01:00
Jake Howard 557a28833b
Only show public pages 2022-08-28 16:51:27 +01:00
Jake Howard c660e54bae
Add method to prefetch for listing 2022-08-28 14:52:27 +01:00
Jake Howard 6403aca2a2
Add tests for search page 2022-08-28 12:57:10 +01:00
Jake Howard edbedcd0fa
Remove unnecessary extra query during search
Just pass the original queryset, which helps ordering and performance
2022-08-28 12:56:26 +01:00
Jake Howard 0fbd36ce3e
Add pagination to blog post list 2022-08-26 23:13:06 +01:00
Jake Howard 32a1486840
Ensure captions are optional 2022-08-20 18:38:28 +01:00
Jake Howard 710a4c7955
Humanize reading time 2022-08-19 17:31:40 +01:00
Jake Howard 09c4b93245
Add typed table block 2022-08-19 13:48:45 +01:00
Jake Howard 5affe274bd
Don't serialize all language options in migrations 2022-08-19 13:40:40 +01:00
Jake Howard a593dea561
Add spacing under results count on search page 2022-08-18 14:42:01 +01:00