Wykres commitów

165 Commity (jinjademo)

Autor SHA1 Wiadomość Data
Storm Heg 2edb874589
Revision and workflow demo data (#438) 2023-09-02 00:09:01 +01:00
Storm B. Heg c0fed93033 Add recipe documents. Fix #440 2023-09-01 17:34:28 +01:00
Storm B. Heg 296446fe7b
Move bread models' SnippetViewSets to breads app's wagtail_hooks 2023-08-25 16:11:14 +01:00
Storm B. Heg 89ebeb1af4
Replace remaining ModelAdmin usage with SnippetViewSet and SnippetViewSetGroup 2023-08-25 16:09:36 +01:00
Scott Cranfill 1319913b2e
Upgrade to Wagtail 5.1 (#439) 2023-08-15 17:06:43 +01:00
Thibaud Colas 7418abc18f Add missing moderator user profile 2023-08-11 13:30:55 +01:00
Thibaud Colas faef911ecf Add more realistic-looking usernames for new accounts 2023-08-11 13:30:55 +01:00
Thibaud Colas 06e32a6856 Add demo users to simplify multilingual testing 2023-08-11 13:30:55 +01:00
Thibaud Colas ca3350b683 Add focal point data for three Wagtail images 2023-08-11 13:30:55 +01:00
Thibaud Colas 69c3c5c00d Add demo redirects 2023-08-11 13:30:55 +01:00
Thibaud Colas dccc3e1f08 Add demo users with all types of user accounts 2023-08-11 13:30:55 +01:00
Thibaud Colas f8a14d8c1a Add promoted search results data 2023-08-11 13:30:55 +01:00
Jake Howard ec5a5f86bb Clear cache when resetting demo 2023-07-25 14:18:38 +01:00
Ben Morse 6831b21f9c
Add Generic and Site settings models. Fix #395 (#419)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-06-22 16:38:38 +01:00
Sage Abdullah 046eb8ecf8 Make FooterText translatable 2023-05-16 14:04:46 +01:00
Sage Abdullah 050daa7d5a Enable workflows on Person model 2023-05-16 14:04:46 +01:00
Sage Abdullah f30c84888c Enable locking on Person model 2023-05-16 14:04:46 +01:00
Sage Abdullah 390cc6b71b Add CustomAccessibilityItem with all non-experimental rules enabled 2023-05-16 14:04:46 +01:00
Sage Abdullah cfc3338abb Replace ModelAdmin with SnippetViewSet for Person and FooterText models 2023-05-16 14:04: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 451db64630 Add management commands to reset demo environment 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 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 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 5951953628 Add demo content for RecipePage 2023-01-10 11:08:51 +00:00
Thibaud Colas 3a85805964 Use a different section heading and item label in InlinePanel 2022-11-30 11:30:12 +00:00
Thibaud Colas 9bf38d9e35 Stop using now-unneeded col6 classes for panels 2022-11-30 11:30:12 +00:00
Thibaud Colas 4b407634d2 Stop using now-unneeded collapsible class for panels 2022-11-30 11:30:12 +00:00
Thibaud Colas 8982499c4c Replace FontAwesome usage with built-in icons for StreamField blocks 2022-11-30 11:28:13 +00:00
Nick Moreton ec0715d857 Support for the classname="full" has been removed 2022-11-28 11:50:34 +00:00
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
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 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
Matt Westcott 172cdd9e5f
Rename People model to Person (#342) 2022-10-20 09:37:18 +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 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 dfa2c511b1 Format code with Prettier 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
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