Commit graph

256 commits

Author SHA1 Message Date
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
25e49de081
Don't cache page bodies
They're still pretty fast to generate, and doing this breaks previews
completely
2022-08-31 18:54:09 +01:00
27dc383d17
Use relative URL for singletons
It's rare they'll be needed externally, and this way there's less to do
2022-08-31 09:16:25 +01:00
ce3690384e
Make code header a solid bar instead
This is much easier to layout, and has the benefit of being able to fit
more in.

The transform was still leaving space allocated, which looked odd
2022-08-31 09:05:32 +01:00
768223ba67
Add spacing around plusses in language dropdown
It looks so much better!
2022-08-30 22:49:05 +01:00
f3b603a82a
Add language and clipboard buttons to code blocks 2022-08-30 22:48:45 +01:00
1e9ff9f24b
Remove CORS header from static files 2022-08-28 22:28:43 +01:00
e7c4acce8b
Add the ability to password protect pages
Useful for sharing drafts
2022-08-28 22:02:02 +01:00
9ee46721c9
Use Wagtail login screen for admin-protected pages
Should never happen, but at least it won't look terrible
2022-08-28 20:34:23 +01:00
6f073c6cfc
Update module name
This will handle more than just URLs
2022-08-28 20:30:50 +01:00
442aeb21b8
Use singleton URL cache 2022-08-28 20:22:55 +01:00
ac46c0ae0b
Add start of simple module to help with caching singleton URLs 2022-08-28 17:42:21 +01:00
557a28833b
Only show public pages 2022-08-28 16:51:27 +01:00
47980032b0
Add autocomplete for blog pots tags 2022-08-28 16:18:31 +01:00
c660e54bae
Add method to prefetch for listing 2022-08-28 14:52:27 +01:00
735ab73ec0
Inline select_related calls 2022-08-28 12:59:09 +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
4ca2a97b2a
Update queries for favicon and add cache
It shouldn't change much, so let's cache it
2022-08-28 00:13:19 +01:00
4b1d873bf8
Extend time for session cookies 2022-08-27 23:54:31 +01:00
358013e16a
Add favicon 2022-08-27 23:44:56 +01:00
46836a6d30
dark-mode 2022-08-27 23:20:30 +01:00
eddf4c88d1
Use monokai as the dark mode
I prefer how it looks
2022-08-27 22:48:22 +01:00
27bce00c46
Remove subtitle from listing pages 2022-08-27 19:55:44 +01:00
e79625a441
Correctly allow ordering of collection pages
`.specific` isn't quite as magical as it needs to be, so we have to be
explicit
2022-08-27 13:13:14 +01:00
2df1e82f31
Allow customizing HTML and hero titles 2022-08-27 13:12:45 +01:00
3d155bb46f
Add management command to refresh caches of spotify playlists 2022-08-27 13:10:33 +01:00
2b0779b26a
Install sentry 2022-08-27 12:59:02 +01:00
48c5aa0e56
Test queries for list page 2022-08-27 12:39:50 +01:00
d83e3e0afe
Ensure all listing pages have pagination controls and feed links 2022-08-27 12:32:16 +01:00
e19a2456e7
Move listing functionality to generic base page 2022-08-27 12:21:13 +01:00
655d3a484e
Fix indenting of time titles 2022-08-27 11:09:41 +01:00
d2e1cde927
Remove unnecessary extra div in footer 2022-08-26 23:25:02 +01:00
0fbd36ce3e
Add pagination to blog post list 2022-08-26 23:13:06 +01:00
958a838f98
Remove accidental import
Damn auto-import!
2022-08-26 10:10:46 +01:00
e0d17394b8
Don't index body on spotify pages
This includes API data, of which there is a lot
2022-08-25 23:52:46 +01:00
a4471a49ee
Store cookies securely 2022-08-25 23:16:20 +01:00
fb739f93fc
Add basic logging config 2022-08-25 23:15:27 +01:00
b7c18946b2
Store redirect files in cache 2022-08-25 23:08:59 +01:00
ccc9e24e77
Add some extra security headers 2022-08-25 23:08:04 +01:00
309955a052
Load images async 2022-08-25 22:42:33 +01:00
3f9288f5cb
Ensure hero images are prefetched during lists 2022-08-25 22:27:28 +01:00
2539cc3538
Refresh body HTML async 2022-08-25 14:24:00 +01:00
01d84fd29b
Add keybase URL 2022-08-25 14:11:47 +01:00
37ab598d0d
Move well-known templates to well-known app 2022-08-25 14:07:08 +01:00
82e7a00d8a
Add plausible 2022-08-25 14:01:32 +01:00
a48aeeb55d
Add management command to refresh content pages 2022-08-25 01:29:22 +01:00
a7aefb5ffc
Add basic tests for LMOTFY endpoints 2022-08-25 00:51:29 +01:00
fb44600ca2
Add more fields to LMOTFY serializer 2022-08-25 00:27:31 +01:00