Wykres commitów

379 Commity (3111176c80b121c38214aa7948435009ab373454)

Autor SHA1 Wiadomość Data
Matt Westcott 3111176c80 Set max_length on homepage promo text 2022-08-30 13:05:27 +01:00
Matt Westcott 0824f804cc lint create_random_data.py 2022-08-25 17:28:06 +01:00
Jake Howard ce1df734b8 Add a util script to create large amounts of random data 2022-08-25 17:20:56 +01:00
Sage Abdullah 32f5e55ef5 Add # noqa to print statements 2022-08-19 11:44:27 +01:00
Sage Abdullah 591fab1bb7 Fix Stylelint issues 2022-08-18 12:51:17 +01:00
Sage Abdullah c02c9116a8 Format code with Stylelint 2022-08-18 12:51:17 +01:00
Sage Abdullah dfa2c511b1 Format code with Prettier 2022-08-18 12:51:17 +01:00
Sage Abdullah 707ac77ba1 Format code with djhtml 2022-08-18 12:51:17 +01:00
Sage Abdullah a16fcf7557 Fix missing closing </li> tag 2022-08-18 12:51:17 +01:00
Sage Abdullah 6732b71983 Format code with isort 2022-08-18 12:51:17 +01:00
Sage Abdullah 40696f941c Format code with black 2022-08-18 12:51:17 +01:00
LB (Ben Johnston) cabba04d97
add styleguide to bakerydemo (#346)
Co-authored-by: LB Johnston <lb.johnston@virginaustralia.com>
2022-07-25 08:01:18 -04:00
Thibaud Colas 8bea494a43
Add a demo of ModelAdmin InspectView on most complex model (#345) 2022-07-11 13:15:18 +02:00
Matt Westcott f64e90a71e Update form submission data in fixture to be valid for JSONField
Fixes #343
2022-07-07 12:05:40 +01:00
Matt Westcott d17c0dec80 Change BASE_URL to WAGTAILADMIN_BASE_URL to silence Wagtail 3.0.1 warning 2022-06-20 11:27:33 +01:00
Matt Westcott 3f009a94df Migrate streamfields to JsonField 2022-06-20 11:18:38 +01:00
Matt Westcott 4bcadc96d1 Add migrations from Django and taggit upgrades 2022-06-20 11:18:38 +01:00
Matt Westcott e702c18101 Replace deprecated panel types with FieldPanel 2022-06-20 11:18:38 +01:00
Coen van der Kamp 32d8809877 Upgrade to Wagtail 3 2022-06-15 11:58:53 +02:00
Matt Westcott 4983dd0142
Restore glyphicons font files referenced by bootstrap.min.css (#340)
Fixes #338
2022-06-15 11:36:55 +02:00
Thibaud Colas 5b15666cef Revert settings change done by mistake in 75eab056f0 2022-05-30 09:27:23 +01:00
James Hancock 75eab056f0
Restyle CSS Across Site (#333)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-28 00:03:50 +01:00
Thibaud Colas 64a1021b57
Add basic simple_translation setup to bakerydemo (#330)
Co-authored-by: Dan Braghis <dan@zerolab.org>
2022-04-11 16:58:16 +01:00
Kalob Taulien 1e250aea95
Add diversity to pre-loaded People snippets. 2022-04-11 08:53:52 -06:00
Jake Howard dc0534bbe9 Remove stray breadsindexpage
This model was created accidentally, and leads to a messy page tree
2022-02-08 08:54:57 +00:00
Jake Howard e8d3e5077d Fix initial page tree
This was previously creating a single `Page`, with multiple "specific" pages pointing to it.
2022-02-08 08:54:57 +00:00
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
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
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 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 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 1a40b54993 upgrade to elasticsearch 5 2021-04-19 12:54:57 +01: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
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