Commit graph

246 commits

Author SHA1 Message Date
973a50ea9c
Wire up home search input to go to search page 2022-08-04 14:17:50 +01:00
32412c1172
Docker build doesn't depend on any artifacts 2022-08-03 22:52:51 +01:00
684bb90707
Only download static artifacts for jobs which need them 2022-08-03 22:43:17 +01:00
21fb994445
Only build container as far as production 2022-08-03 22:39:11 +01:00
4917a0fd95
Inline node CI configuration
There's likely only going to be 1
2022-08-03 22:35:55 +01:00
bc87524394
Stop saving queries
These are only needed for prompted searches
2022-08-03 22:14:54 +01:00
138773997c
Don't update pip twice 2022-08-03 21:54:56 +01:00
a818106f75
Install node deps during build
The project dir is mounted in, so they're not available from the
container
2022-08-03 21:54:03 +01:00
ee9ed8e063
Just install production deps in container 2022-08-03 21:51:27 +01:00
1af1addb6f
sass is a full dependency, too 2022-08-03 21:51:07 +01:00
1b1617380c
Don't try and compress sourcemaps 2022-08-03 21:41:24 +01:00
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