Thibaud Colas
c3185e5974
Add two new embed blocks within bakerydemo site
2022-11-25 17:26:46 +00:00
Thibaud Colas
8d68d70260
Update bakerydemo fixture with Wagtail data changes from 2019 to v4.1.1
2022-11-25 17:26:46 +00:00
Coen van der Kamp
77d55ac019
Fix spelling 'set up'
2022-11-04 10:10:54 +00:00
Matt Westcott
023d27386b
Call rebuild_references_index on initial load
...
Bump Wagtail version to 4.1 (and Django to 4.1) and add a call to rebuild_references_index as part of the load_initial_data management command, so that the "Used X times" reference counts for images and snippets are accurate.
2022-11-01 13:58:06 +00:00
Sage Abdullah
7815be8ae0
Apply DraftStateMixin and RevisionMixin to BreadIngredient model
2022-10-20 15:00:43 +01:00
Sage Abdullah
83388aa18e
Apply PreviewableMixin with multiple preview modes to Person model
2022-10-20 15:00:43 +01:00
Sage Abdullah
7aa02ef310
Enable scheduled publishing feature for Person snippet
2022-10-20 15:00:43 +01:00
Sage Abdullah
f381355cfe
Apply DraftStateMixin and RevisionMixin to Person model
2022-10-20 15:00:43 +01:00
Sage Abdullah
8888011b66
Apply PreviewableMixin with single preview mode to FooterText model
2022-10-20 15:00:43 +01:00
Sage Abdullah
ae3f2f2396
Enable scheduled publishing feature for FooterText snippet
2022-10-20 15:00:43 +01:00
Sage Abdullah
f27ed416ea
Apply DraftStateMixin and RevisionMixin to FooterText model
2022-10-20 15:00:43 +01:00
Sage Abdullah
423fe9195f
Apply RevisionMixin to BreadType model
2022-10-20 15:00:43 +01:00
Matt Westcott
172cdd9e5f
Rename People model to Person ( #342 )
2022-10-20 09:37:18 +01:00
sage
8c38696092
Add styles for `EmbedBlock` ( #362 )
2022-10-19 14:48:32 +01:00
Matt Westcott
9ea4261ae5
Fix help text for EmbedBlock
...
The URL suggested in the help text for EmbedBlock is incorrect - users should specify the Youtube page URL (`/watch`) to have it translated to an embed snippet via oembed. Passing an `/embed/` URL fails, as the oembed endpoint doesn't recognise these.
2022-09-13 14:18:13 +01:00
Matt Westcott
b4666d8f5c
Upgrade to Wagtail 4
2022-08-31 16:08:04 +01:00
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
83eeca85d4
Bump flake8-print to 5.0.0 and add to pre-commit config
2022-08-19 11:44:27 +01:00
Sage Abdullah
a28bd2d8d7
Add .git-blame-ignore-revs for reformatting commits
2022-08-19 11:44:27 +01:00
Sage Abdullah
c3a17fb0e8
Add GitHub Actions workflow configuration
2022-08-18 12:51:17 +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
41918f6a2c
Add ESLint, Prettier, and Stylelint config files
2022-08-18 12:51:17 +01:00
Sage Abdullah
abde110d62
Add package.json for front-end linters
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
Sage Abdullah
b45934ce83
Update and add linting config to better match Wagtail
2022-08-18 12:51:17 +01:00
Sage Abdullah
7cf07d4072
Add requirements for development
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
75d9a3f568
Upgrade base image to wagtail/buster64
...
This provides Python 3.8. Fixes #328
2022-06-20 11:20:52 +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
vossisboss
1662eb5eaa
Remove elasticsearch ( #326 )
...
* Commented out Elasticsearch for testing.
* Removed elastisearch from dependencies & docker compose.
2022-03-30 14:48:41 +01:00
Coen van der Kamp
9edeb75739
Fix and update Gitpod ( #327 )
...
* Preserve pip modules
* Pipe commands
* Add gitpod to trusted origins
* Use VSCode python extension
2022-03-28 13:27:38 +02:00