Commit Graph

70 Commits

Author SHA1 Message Date
9ba8a505fc
Fix query count for go view
This might be non-deterministic
2024-01-14 13:09:28 +00:00
59912f6ddb
Use short "Go" view for search shortcut 2024-01-12 15:16:31 +00:00
8e0f948f66
Move search icon to left 2024-01-05 16:52:37 +00:00
48e36bc5b9
Update to Wagtail 5.2 (and others) 2024-01-05 15:30:31 +00:00
5d50907ed2
Add opensearch description file
Not _that_ opensearch
2024-01-04 22:21:32 +00:00
3c66267b79
Add breadcrumbs to search results 2023-12-25 23:28:44 +00:00
b13fe49664
Exclude listing pages from search 2023-12-25 22:10:17 +00:00
158ba9cbfc
Increase page sizes 2023-10-06 21:23:32 +01:00
9bc200fe9f
Never allow the search page to be indexed 2023-10-06 18:34:22 +01:00
7105386e61
Use direct mastodon host for verification 2023-07-20 22:02:02 +01:00
29bd939ae4
Replace flake8 and isort with ruff 2023-07-15 15:10:05 +01:00
f90c25d132
Add mastodon verification link 2023-07-03 08:53:25 +01:00
e4a8fbd14f
Remove blank line in migrations
Keep `black` happy
2023-06-17 12:49:31 +01:00
b620e0edcc
Add search link to 404 page 2023-05-05 12:39:39 +01:00
d52d532d81
Disable plausible on 404 and page protection pages 2023-05-05 12:29:25 +01:00
e504da0bcf
Restyle code block header
This looks much nicer, and removes a DB field.
2023-04-19 21:34:38 +01:00
6342726d7c
Change footer settings to generic setting 2023-04-16 15:18:21 +01:00
f055517cc1
Update to Wagtail 4.1 2023-04-16 15:04:51 +01:00
2e4e54418d
Reduce debounce time for search 2022-10-29 16:28:18 +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
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
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
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
63909a31c0
Add iframe block 2022-09-08 14:31:01 +01:00
71f74251bb
Don't require code header 2022-09-06 08:58:44 +01:00
e21d525259
Reset migrations
During dev I made loads, but I don't need them now
2022-09-04 15:56:51 +01:00
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
a053e27833
Use richtext for subtitle 2022-09-03 17:00:09 +01:00
7026aca934
Add account links to footer
Putting them in the navbar is too crowded.
2022-09-02 09:28:35 +01:00
54af457d8e
Add SRI 2022-09-01 08:36:39 +01:00
488369a247
Add filename and header show checkbox to code block 2022-08-31 22:30:08 +01:00
df09ec0f38
Ensure request is passed into the singleton URL cache
This removes needing extra queries
2022-08-31 19:06:02 +01:00
557a28833b
Only show public pages 2022-08-28 16:51:27 +01:00
c660e54bae
Add method to prefetch for listing 2022-08-28 14:52:27 +01:00
6403aca2a2
Add tests for search page 2022-08-28 12:57:10 +01:00
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
0fbd36ce3e
Add pagination to blog post list 2022-08-26 23:13:06 +01:00
32a1486840
Ensure captions are optional 2022-08-20 18:38:28 +01:00
710a4c7955
Humanize reading time 2022-08-19 17:31:40 +01:00
09c4b93245
Add typed table block 2022-08-19 13:48:45 +01:00
5affe274bd
Don't serialize all language options in migrations 2022-08-19 13:40:40 +01:00
a593dea561
Add spacing under results count on search page 2022-08-18 14:42:01 +01:00
8952f7eae5
Create base content page rather than need mixin
This makes the subclassing much simpler, and removes type ignore hacks
2022-08-16 21:32:46 +01:00
4869b47d53
Restructure base templates to pull hero into base and remove duplication 2022-08-05 09:25:30 +01:00
bc87524394
Stop saving queries
These are only needed for prompted searches
2022-08-03 22:14:54 +01:00