Commit Graph

593 Commits

Author SHA1 Message Date
Jake Howard c2d467c15e
Coverage is tests too 2022-10-24 20:45:07 +01:00
Jake Howard cabc472438
Bump some dependencies 2022-10-24 20:45:07 +01:00
Jake Howard 07407b11f4
Ensure pyyaml is installed
This is needed for OpenAPI schema
2022-10-24 20:45:07 +01:00
Jake Howard 394d9028ba
Fix spacing for footer icons 2022-10-24 20:45:07 +01:00
Jake Howard ab2bf2d29f Merge branch 'renovate/stylelint-14.x' into 'master'
Update dependency stylelint to v14.14.0

See merge request repos/website!46
2022-10-24 20:29:18 +01:00
Jake Howard 84e9634cf4 Merge branch 'renovate/djlint-1.x' into 'master'
Update dependency djlint to v1.19.2

See merge request repos/website!52
2022-10-24 19:15:40 +01:00
Renovate a2138e956b Update dependency djlint to v1.19.2 2022-10-24 18:06:30 +01:00
Jake Howard 91b4f4cce6 Merge branch 'renovate/more-itertools-9.x' into 'master'
Update dependency more-itertools to v9

See merge request repos/website!48
2022-10-24 16:04:12 +01:00
Renovate 364db6d41c Update dependency more-itertools to v9 2022-10-24 10:22:58 +01:00
Jake Howard 6b65f372ed Merge branch 'renovate/eslint-8.x' into 'master'
Update dependency eslint to v8.26.0

See merge request repos/website!37
2022-10-24 08:28:38 +01:00
Jake Howard e5b0c7cae8 Merge branch 'renovate/node-19.x' into 'master'
Update Node.js to v19

See merge request repos/website!49
2022-10-24 08:27:52 +01:00
Jake Howard d43ccf567c Merge branch 'renovate/sentry-sdk-1.x' into 'master'
Update dependency sentry-sdk to v1.10.1

See merge request repos/website!50
2022-10-24 08:24:12 +01:00
Renovate cb6fd858fb Update dependency sentry-sdk to v1.10.1 2022-10-24 08:10:58 +01:00
Jake Howard e7d7d122fa Merge branch 'renovate/django-debug-toolbar-3.x' into 'master'
Update dependency django-debug-toolbar to v3.7.0

See merge request repos/website!40
2022-10-23 22:26:17 +01:00
Renovate bd4bdcf46a Update dependency django-debug-toolbar to v3.7.0 2022-10-23 22:04:57 +01:00
Jake Howard 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
Jake Howard 9cfa369d56
Replace tags menu item with dashboard item 2022-10-23 20:30:17 +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
Renovate b16d3ffb40 Update dependency eslint to v8.26.0 2022-10-22 08:00:42 +01:00
Jake Howard 0971fcd8a3
Account for spaces after tags when extracting text 2022-10-21 17:46:13 +01:00
Jake Howard c8f01870d4
Use simpler listing on tag list page 2022-10-21 17:20:58 +01:00
Jake Howard 26fabf3a43
Ensure tags are sorted 2022-10-21 17:11:15 +01:00
Jake Howard db6dd80385
Remove ToC from blog list page
Showing an accurate ToC is complex alongside pagination
2022-10-21 16:56:40 +01:00
Jake Howard d2b9db8ace
Use released version of `wagtail-autocomplete`
Wagtail 3 support is finally released
2022-10-21 14:07:40 +01:00
Jake Howard f1db2529bc
Support image serve view in `wagtail-favicon`.
https://github.com/octavenz/wagtail-favicon/pull/7
2022-10-21 13:57:04 +01:00
Jake Howard 214f10002c
Cache latest blog post 2022-10-21 13:20:22 +01:00
Jake Howard 35579a8803
Remove dedicated fragments cache
Reuse the default one to avoid an extra redis connection
2022-10-21 11:40:49 +01:00
Renovate 1e8ec31176 Update Node.js to v19 2022-10-19 08:00:30 +01:00
Renovate e1a2cbeac8 Update dependency stylelint to v14.14.0 2022-10-15 18:03:36 +01:00
Jake Howard 084f52358c Merge branch 'renovate/coverage-6.x' into 'master'
Update dependency coverage to v6.5.0

See merge request repos/website!39
2022-10-09 18:41:34 +01:00
Renovate ed22c531d3 Update dependency coverage to v6.5.0 2022-10-09 18:10:15 +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 ee4914324c
Cache fragments for 6 hours
They really shouldn't change often
2022-10-04 21:27:53 +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 27a5d8891b
Increase spacing around search results 2022-10-04 21:02:43 +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 fa85c8ba80
Cache fragments for longer, and clear when editing page 2022-10-04 20:14:26 +01:00
Jake Howard 9096bd4b0b
Fix sizing of content images 2022-10-02 22:38:10 +01:00
Jake Howard 04aa301c75
Add management command to purge caches 2022-10-02 20:47:40 +01:00
Jake Howard 8f66feeaa5
Remove test 404 and 500 paths outside dev 2022-10-02 19:25:36 +01:00
Jake Howard 8844aad247
Disallow API from being indexed 2022-10-02 19:20:40 +01:00
Jake Howard 6d0c25128c
Always disallow wagtail admin 2022-10-02 19:17:33 +01:00
Jake Howard 197f2ea0aa
Move cache handling to views 2022-10-02 18:53:51 +01:00
Jake Howard 31646007f7
Remove navbar item background on focus 2022-10-02 18:05:12 +01:00
Jake Howard f16f22ad48
Hide subtitle and breadcrumbs from hero once stuck 2022-10-02 18:00:42 +01:00
Jake Howard 80cbcfbb47
Improve spacing around subtitle in hero 2022-10-02 17:37:50 +01:00
Jake Howard 1ae3288a73
Store template fragments in separate cache
This makes clearing them less expensive
2022-10-02 17:32:32 +01:00