Commit graph

335 commits

Author SHA1 Message Date
616b5f0415
Move some dependencies into actual dependencies
dev means dev
2022-08-03 21:28:12 +01:00
10bb018417
Embed scss source into sourcemap 2022-08-03 21:27:44 +01:00
e5392fa95d
Add stylelint 2022-08-03 21:22:11 +01:00
eae2953b89
Add eslint 2022-08-03 21:19:19 +01:00
512f9cd3b9
Add djhtml 2022-08-03 20:37:34 +01:00
e096dd8cf5
Install curlylint 2022-08-03 20:34:18 +01:00
668bcc7d5b
Add sitemap 2022-08-02 22:20:36 +01:00
bc18764ccf
Hide "to top" footer buttons on homepage
The homepage doesn't scroll, so it's a bit pointless
2022-08-02 22:10:34 +01:00
1b1971f09d
Account for hero not always existing
This is mostly true for the homepage
2022-08-02 22:03:08 +01:00
cdb037a9c8
Remove django admin 2022-08-02 21:33:48 +01:00
96e623e3db
Move serializer to different file 2022-08-02 21:28:51 +01:00
809cc5d454
Require search results be HTMX 2022-08-02 21:22:35 +01:00
34293553a8
Don't browse to hash if there isn't one 2022-08-02 21:12:42 +01:00
996f7b9c2a
Add all the relevant search messages 2022-08-02 21:11:35 +01:00
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