Wykres commitów

738 Commity (676f211c0ced8b9c0b16aa248c6a03a021e4ba50)

Autor SHA1 Wiadomość Data
Vihaan Thora d3c1787922 Rename 0006_auto_20211226_0622.py to 0006_char_field_remove_null.py 2022-02-07 18:55:12 +00:00
vihaanthora d2dea8d4ce Update models.py 2022-02-07 18:55:12 +00:00
Matt Westcott e94bfbbc99 Upgrade to Wagtail 2.16, Django 4.0 2022-02-07 18:25:04 +00:00
Storm Heg 7b7d289176
Merge pull request #314 from lb-/chore/format-readme
format (prettier) readme & fix backtick usage
2022-01-22 19:19:15 +01:00
Dan Braghis 9394d3a779
Merge pull request #313 from lb-/chore/update-wagtail-url-to-org
update all wagtail.io to wagtail.org
2022-01-19 15:59:59 +01:00
Storm Heg 0df979ec70
Merge pull request #315 from lb-/chore/update-external-urls
update external urls (https) & new links
2022-01-19 15:57:58 +01:00
LB Johnston 089d4eae59 update external urls (https) & new links
- fix some links that now redirect to a new location
- ensure all external links are https (not http)
2022-01-15 20:18:47 +10:00
LB Johnston c362a59eb1 format (prettier) readme & fix backtick usage 2022-01-15 20:16:34 +10:00
LB Johnston 3590125dc0 update all wagtail.io to wagtail.org
- also ensure that we link to stable not latest when using docs links consistently
2022-01-15 20:14:53 +10:00
Amondale 1de2881d6e Update models.py 2021-10-14 18:39:15 +10:00
LB Johnston ccafa1c6ac Update all Wagtail docs links
- use https instead of http as that is now the default
- update any fixed versions to the latest
2021-09-09 22:00:39 +01:00
LB Johnston e754783875 Update all Django docs references to the latest (3.2) version 2021-09-09 21:59:05 +01:00
LB (Ben Johnston) 4e2247772c
Merge pull request #294 from gasman/admin/django-3.2
Upgrade to Django 3.2
2021-09-10 06:39:41 +10:00
Matt Westcott d3e8caedd7 Add BSD licence 2021-08-09 11:14:33 +01:00
Matt Westcott f8367ad51c upgrade to Wagtail 2.14 and Django 3.2 2021-08-02 14:28:33 +01:00
Matt Westcott 659cce75a5 Add django-debug-toolbar
Add django-debug-toolbar, disabled by default (because not everyone will want it and it's a performance hit). It frequently comes in useful during Wagtail core dev, but having to make local changes to bakerydemo means that we perhaps don't use it as much as we should...
2021-07-21 15:07:17 +01:00
Matt Westcott 6f7406b4a5 Update urlconf to use django-2-style paths 2021-07-20 12:15:24 +01:00
Matt Westcott b22e14e4aa Upgrade to Django 3.2
Set DEFAULT_AUTO_FIELD to prevent deprecation warnings (Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField')
2021-07-16 19:48:38 +01:00
Matt Westcott 7803f451d2
Fix dependency for wagtail 2.13.x 2021-05-23 17:35:12 +01:00
Kalob Taulien ba3b54d7d8 Use Wagtail 2.13 for bakery demo and GitPod. 2021-05-23 17:32:28 +01:00
Coen van der Kamp 4469a5a182 Add Gitpod (#292) 2021-05-10 13:17:41 +01:00
Matt Westcott 1a40b54993 upgrade to elasticsearch 5 2021-04-19 12:54:57 +01:00
Matt Westcott 931ca82742 Version bump to Wagtail 2.12 2021-04-19 12:40:40 +01:00
Brian Xu 63c4add18a
change python runtime from 3.7.6 to 3.7.9 (#288) 2021-03-03 15:09:48 +00:00
JNaftali 624f4419b6 fix requirements mismatch 2021-01-04 16:29:45 +00:00
Matt Westcott 530dd7b4c4 Upgrade to Wagtail 2.11 2020-11-17 17:10:45 +00:00
Matt Westcott e82c84b6a3 Fix collection paths for alphabetical ordering
Required for Wagtail 2.11 compatibility, as per https://github.com/wagtail/wagtail/pull/6417
2020-09-30 15:30:52 +01:00
Matt Westcott 2e3b59c8c4 Remove legacy rich text image styles
The `<div class="rich-text">` wrapper around rich text was disabled by default in Wagtail 2.10 (https://docs.wagtail.io/en/stable/releases/2.10.html#div-class-rich-text-wrappers-removed-from-rich-text) and we'd prefer not to enable the legacy handler, to encourage Wagtail developers to follow current best practice.

There is already a `width: 100%` rule in place for all img elements, and since an image with `width: 100%` but no `height: auto` would render with the wrong aspect ratio, it's reasonable to assume that no images on the site rely on `height: auto` being absent. Adding this to the `img` rule therefore makes the `rich-text` rule redundant.

The `width: 100%` also meant that the left/right-alignment options for rich text images had no effect - we add a `width: 50%` to those to make them meaningful again.

Finally, the responsive-object wrapper for media embeds was dropped in 2.9, so those rules are unused since then. Anyone who feels strongly about restoring responsive embeds is welcome to contribute a PR :-)
2020-08-26 10:20:36 +10:00
Matt Westcott 1fa7cdccd2 populate FormField.clean_name in initial data 2020-08-17 12:20:47 +01:00
Cynthia Kiser 5d255cd535 upgrade to Wagtail 2.10 2020-08-17 11:43:18 +01:00
Cynthia Kiser d9d02d9317 Add an example local.py for use with docker-wagtail-develop 2020-08-04 14:28:28 +01:00
Matt Westcott b281b72010
Update Python version range listed for virtualenv 2020-07-27 11:59:57 +01:00
Thibaud Colas 014a784c70
Ignore .vscode folder in git 2020-07-07 10:15:08 +01:00
Karl Hobley 82cbbfb09b Minor spelling fixes in fixture 2020-07-06 09:33:46 +01:00
Thibaud Colas 2ec4475f75
Allow all hosts to simplify cross-browser testing (#268) 2020-06-04 15:50:54 +01:00
jonndoe 20fdd22226 height :auto, for displaying images without distortion. 2020-05-11 21:51:41 +01:00
Thibaud Colas 30dcfd4dfd Remove useless "content" styles 2020-05-07 21:33:44 +01:00
Thibaud Colas fa35309371 Remove unneeded style override for nav pills items 2020-05-07 21:33:44 +01:00
Thibaud Colas 40faa0a16d Remove unnecessary flex for no-gutters 2020-05-07 21:33:44 +01:00
Thibaud Colas 2ed2d9408c Reset form elements border regardless of viewport 2020-05-07 21:33:44 +01:00
Thibaud Colas 9490524008 Make whole bread list item a link 2020-05-07 21:33:44 +01:00
Thibaud Colas e2c6f3b09e Change selectors to make !important unnecessary 2020-05-07 21:33:44 +01:00
Thibaud Colas cf81da5db4 Clean up input width definitions 2020-05-07 21:33:44 +01:00
Thibaud Colas cb271fc3ae Fix off-by-one media utility media query 2020-05-07 21:33:44 +01:00
Edd Baldry a4f8d887ea Adds 1px border to form page input fields on mobile touch #139 2020-05-07 21:33:44 +01:00
Edd Baldry dd7bb19afe Amend mobile menu to not display child items 2020-05-07 21:33:44 +01:00
Edd Baldry 4760216ec8 Add global mobile menu style 2020-05-07 21:33:44 +01:00
Edd Baldry 6afa3127a1 Amend mobile styles for global hero, main menu, breads index, locations index and breads detail page 2020-05-07 21:33:44 +01:00
Edd Baldry 53fe8e8e6d Wrap elements with 12-col div as per other detail pages 2020-05-07 21:33:44 +01:00
Edd Baldry fadcc373f5 Use consistent hero image include 2020-05-07 21:33:44 +01:00