Wykres commitów

757 Commity (main)

Autor SHA1 Wiadomość Data
Matt Westcott 20460cb71e Upgrade to Wagtail 5.0 and Django 4.2 2023-05-10 11:30:44 +01:00
Jake Howard 8cb4c0a60e Fix import order 2023-04-26 16:29:24 +01:00
Jake Howard abb46ed5a4 Fix name in docker build 2023-04-26 16:29:24 +01:00
Jake Howard b567e0485e Inline database config 2023-04-26 16:29:24 +01:00
Jake Howard acdb1fb5ef Run migrations before loading data 2023-04-26 16:29:24 +01:00
Jake Howard e2a728ff61 Add a CI file to check container build works 2023-04-26 16:29:24 +01:00
Jake Howard 96d10e087e Always use DATABASE_URL variable if set
This is useful in dev, not just production
2023-04-26 16:29:22 +01:00
Jake Howard 4e2dc15b01 Update procfile to use uwsgi config file 2023-04-19 12:41:29 +01:00
Chinonso Ani a2b2596130 Updated docker-compose.yml 2023-04-19 12:38:46 +01:00
Matt Westcott 1aa39cf598 Add missing AutocompleteFields to Person model search_fields
as per https://github.com/wagtail/wagtail/pull/10341#issuecomment-1512846879
2023-04-18 14:28:49 +01:00
Jake Howard 4c57a845e0 Add django extensions app 2023-03-23 15:41:56 +00:00
Jake Howard edb9dd52d8 Install django-extensions
This is needed for `reset_demo` to work
2023-03-23 15:41:56 +00:00
sag᠎e 811507f6d4
Fix live preview for BlogPage and RecipePage authors (#397) 2023-03-01 10:48:08 +00:00
Jake Howard a6da124a82 Set python path
This is needed to allow the `django-admin` command to work
2023-02-25 07:51:55 +10:00
Jake Howard 48730800c4 Stop using `.local` as a settings file
This file is merely for includes to the `.dev` settings, rather than being a settings file in itself

Fixes #398
2023-02-20 17:03:32 +00:00
Jake Howard 66aa55551b Create an empty env file
This avoids users seeing `UserWarning`s about it and getting confused
2023-02-16 10:13:49 +00:00
Jake Howard 8fc1330056 Split allowed hosts by comma 2023-02-16 10:13:49 +00:00
Jake Howard b541446e25 Add virtualenv to PATH 2023-02-16 10:13:49 +00:00
Jake Howard 97bacc0c03 Add support for custom S3 urls 2023-02-16 10:13:49 +00:00
Jake Howard 115598e13d Install `curl` in container 2023-02-16 10:13:49 +00:00
Jake Howard b2944f22ba Move uwsgi config to file
This allows for runtime interpolation of `$PORT`
2023-02-16 10:13:49 +00:00
Jake Howard 46711111bc Don't print all databases during entrypoint check 2023-02-16 10:13:49 +00:00
Jake Howard a733d61a48 Don't set UWSGI user ids
Heroku doesn't support setuid / setgid
2023-02-16 10:13:49 +00:00
Jake Howard 209a906e1c Add some security-based settings to production config 2023-02-16 10:13:49 +00:00
Jake Howard d7a607a26e Remove stray docker-compose local.py example 2023-02-16 10:13:49 +00:00
Jake Howard 4bba28ed11 Add Heroku config 2023-02-16 10:13:49 +00:00
Jake Howard 1185e6de37 Remove public mention of Heroku setup
This isn't really something we want to support
2023-02-16 10:13:49 +00:00
Jake Howard e831dcee27 Always load local.py in dev 2023-02-16 10:13:49 +00:00
Jake Howard 304d82d051 Update django-storages 2023-02-16 10:13:49 +00:00
Jake Howard 1506d76574 Actually install basic auth middleware 2023-02-16 10:13:49 +00:00
Jake Howard 7486296aa3 Mount entire dir into dev container 2023-02-16 10:13:49 +00:00
Jake Howard fb0c1bfad2 Add basic auth config 2023-02-16 10:13:49 +00:00
Jake Howard 729acc6fe7 Allow configuring wagtail admin base URL 2023-02-16 10:13:49 +00:00
Jake Howard 4235db5273 Improve S3 config 2023-02-16 10:13:49 +00:00
Jake Howard db5263696b Add frontend caching config 2023-02-16 10:13:49 +00:00
Jake Howard f50e3cfdb9 Add support for Heroku redis 2023-02-16 10:13:49 +00:00
Jake Howard 62df6b2876 Always disable debug in production 2023-02-16 10:13:49 +00:00
Jake Howard 451db64630 Add management commands to reset demo environment 2023-02-16 10:13:49 +00:00
Jake Howard acc119f39b Add collected static files to ignores 2023-02-16 10:13:49 +00:00
Thibaud Colas 086170fb89 Manually change StreamField block identifiers for uniqueness 2023-02-14 12:09:25 +00:00
Matt Westcott ad41681491
Clarify that you need to wait 10 seconds after the docker command completes 2023-02-13 20:48:01 +00:00
Matt Westcott f9d5a8ab42 Switch to wagtail-font-awesome-svg
The only remaining uses of font-based icons in the admin backend appear to be the sidebar menu items - switch those to wagtail-font-awesome-svg. For the front-end (where wagtailfontawesome was being used for the footer icons), import the font-awesome 4.7 CSS directly from cdnjs (as this is the version wagtailfontawesome was using).
2023-02-07 17:44:17 +10:00
Matt Westcott e02fbce696 Update Python requirements in readme 2023-02-07 17:43:34 +10:00
4the4ryushin 7367fedc0c fix small typo 2023-02-06 10:10:00 +00:00
Matt Westcott 4f76276c95 Update imports that reference wagtail.core
wagtail.core has been deprecated since 3.0, outputs warnings as of 4.2, and is due for removal in 5.0.
2023-01-27 16:34:34 +00:00
Thibaud Colas f3776c5bbb Add Wikibooks link in README 2023-01-10 11:08:51 +00:00
Thibaud Colas 5951953628 Add demo content for RecipePage 2023-01-10 11:08:51 +00:00
Thibaud Colas f3754842d6 Convert demo StreamField pages to RecipePage data model 2023-01-10 11:08:51 +00:00
Thibaud Colas 8bbf239cf6 Fix incorrect comment 2023-01-10 11:08:51 +00:00
Thibaud Colas f2098d9731 Fix typo 2023-01-10 11:08:51 +00:00