Commit graph

871 commits

Author SHA1 Message Date
bcc9a2c2f2
Add search results counter 2022-08-02 09:27:43 +01:00
7647ace4a0
Add a loading spinner 2022-08-01 22:23:06 +01:00
5b4ff2b4e9
Only allow GET for search results 2022-08-01 21:42:06 +01:00
750ed5aa39
Remove unnecessary method 2022-08-01 21:27:40 +01:00
93030852b5
Do search if querystring is provided 2022-08-01 21:23:55 +01:00
fb78f3f993
Use HTMX for search page 2022-07-31 15:28:48 +01:00
53123ad93e
Install django-htmx 2022-07-29 23:00:44 +01:00
5da96236be
Add a basic search input to search page 2022-07-29 22:49:08 +01:00
2ae2a2c158
Show message when there's no search terms 2022-07-29 22:34:48 +01:00
71a2186cc0
Additionally ignore virtualenv
This is mostly necessary on CI
2022-07-29 22:03:31 +01:00
c4109e42f1
Use serializer to validate search params 2022-07-29 16:50:44 +01:00
639f5885a4
Ensure containers are running before shelling into them 2022-07-29 15:48:43 +01:00
87de211c73
Explicitly depend on DRF 2022-07-29 15:48:30 +01:00
87f549dfec
Use backtracking resolver for pip-tools
It's newer, faster and better
2022-07-29 15:48:16 +01:00
d92d41d075
Use init to ensure the web container stops quicker
`sleep` discards a lot of signals, so we need the init system to do it for us
2022-07-29 15:41:23 +01:00
3bce2fb880
Exclude some page types from search 2022-07-29 09:18:09 +01:00
ef30a91067
Move page size to model 2022-07-29 09:11:14 +01:00
11932fa49e
Don't show code in plaintext 2022-07-29 09:11:04 +01:00
8a55275db7
Add alias to exec into web container 2022-07-29 09:02:09 +01:00
24e9fd7881
Bind dev server to all interfaces 2022-07-29 09:02:01 +01:00
c3e0bdd8a2
Correctly expose ports to host 2022-07-29 09:01:43 +01:00
856079c118
Don't explicitly list python directories
This means as others are added, they'll be automatically linted
2022-07-29 08:46:44 +01:00
9a15fcbe60
Move gunicorn conf to etc directory 2022-07-29 08:29:50 +01:00
c88fddf835
Use full debian for CI
The containers are bigger, but it has all the required dependencies.
It's also what's run in production anyway.
2022-07-28 23:20:06 +01:00
cf0a365277
Ensure additional content fields get indexed 2022-07-28 23:06:11 +01:00
863b0f67c5
Actually gitignore docker volumes
The reason they weren't coming up is because I don't have access to them
2022-07-28 22:44:57 +01:00
86c9ac5e7f
Automatically rebuild site indexes in local dev 2022-07-28 22:41:11 +01:00
a0f115fdc4
Add the basics of a search view 2022-07-28 22:40:23 +01:00
ce5e6cbdbd
Ignore vscode directory
I have this ignored globally, but it's annoying in the dev container
2022-07-28 21:10:53 +01:00
6f889b9b96
Remove unnecessary python path 2022-07-28 21:10:44 +01:00
a4c69525fc
Install inotifywait in dev 2022-07-28 20:50:09 +01:00
ed039ce6ed
Use postgres for project db 2022-07-28 20:41:30 +01:00
d995b412a0
Remove django-stubs
It's just not quite there yet for a lot of things, and makes certain things a right pain!
2022-07-28 20:15:20 +01:00
30135e53be
Update readme instructions for new docker setup 2022-07-28 19:24:16 +01:00
196775d5eb
Fix constraint for mypy
pip-tools resolves mypy to an incompatible version

Raised upstream as https://github.com/jazzband/pip-tools/issues/1658
2022-07-28 19:23:50 +01:00
13c355bf0a
Use pip-tools for dependency management 2022-07-28 18:55:47 +01:00
7132fb743c
Create user to match mine 2022-07-28 18:22:07 +01:00
b5391bc918
Change install command to do docker build 2022-07-28 18:21:19 +01:00
13f356c900
Use dind and buildkit to build container 2022-07-28 17:25:13 +01:00
e2e0144b6a
Setup gunicorn for production WSGI server 2022-07-28 14:53:22 +01:00
97d786e969
Move development into docker
This makes working with related services like redis much easier, and
helps start writing a production container
2022-07-28 14:42:12 +01:00
e87ed66a02
Install htmx 2022-07-26 09:04:14 +01:00
b92f2f4043
Add a Wagtail search page
It doesn't do any searching, yet
2022-07-26 08:53:49 +01:00
0601ced3f5
Add indexes to snippets 2022-07-26 08:41:40 +01:00
0c3b6633bd
Allow there to be no blog posts for homepage 2022-07-25 22:01:08 +01:00
f8d5cc5ba5
Add feeds to blog list pages 2022-07-25 21:58:06 +01:00
9288f97381
Remove redundant condition 2022-07-25 20:10:49 +01:00
e7617f24de
Populate latest blog post on homepage 2022-07-25 20:02:54 +01:00
71c08f5568
Use class name rather than database name for body classes
This avoids duplication and makes the classnames a bit shorter, and more sane.
2022-07-25 19:30:47 +01:00
ba7a2d7b4d
Use SVG versions of mermaid diagrams for better quality 2022-07-20 23:31:02 +01:00