Wykres commitów

486 Commity (main)

Autor SHA1 Wiadomość Data
Thibaud Colas 7cbb0ec053 Add code comment 2024-05-17 13:18:27 +01:00
Sage Abdullah f7ab88b40f Fix verbose name of user-facing models 2024-05-17 13:18:27 +01:00
Sage Abdullah febc32b7d6 Add UserApprovalTask
Based on https://docs.wagtail.org/en/stable/extending/custom_tasks.html
2024-05-17 13:18:27 +01:00
Sage Abdullah 5d00e7111a Enable inspect view for CountryModelViewSet 2024-05-17 13:18:27 +01:00
Sage Abdullah 7368667f96 Register Country model with a ModelViewSet
This serves as an example of how ModelViewSet can be mixed with snippets
in a SnippetViewSetGroup
2024-05-17 13:18:27 +01:00
Sage Abdullah 8295c442a5 Add more filters to snippet viewsets 2024-05-17 13:18:27 +01:00
Sage Abdullah dbdb9b4abf Add German and Arabic locale fixtures 2024-05-17 13:18:27 +01:00
Rohit Sharma baff48b7d9
Add icons to registered settings (#484)
* Add icons to registered settings
2024-04-14 18:20:51 +10:00
Sage Abdullah 549400c645 Add GenericRelation to revisions and workflow states 2024-02-06 19:48:27 +00:00
Rachel Smith edd2410b42 Replace image tags with picture tags
- Uses Wagtail 5.2 picture tags https://docs.wagtail.org/en/latest/releases/5.2.html#responsive-multi-format-images-with-the-picture-tag
- Each image now has three renditions for avif, webp and jpeg formats
- Some images now have two sizes on top of this (6 renditions in total) for different screen sizes
2024-02-01 08:01:53 +10:00
Rachel Smith e56d12f8b2 Remove /templates/base/include/header.html as it's unused 2024-02-01 08:01:53 +10:00
Andrei Satsevich a171a4baa2 Fix abbreviations on weekday names
Fixes #298
2024-02-01 08:00:08 +10:00
Thibaud Colas 303fdff02b Move messages within the main landmark 2024-01-31 15:14:26 +00:00
Thibaud Colas 018248bcd8 Use a header element for header template 2024-01-31 15:14:19 +00:00
Thibaud Colas 3163c11f5d Add list_export for Snippets 2024-01-26 11:35:38 +00:00
TopDevPros 31eb9d610d
Add support for external links in search promotions. (#449)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-12-16 01:27:46 +00:00
John-Scott Atlakson 3fbd1980a9 Added Wagtail's `ruff.toml`
Ignore F405 in settings
2023-12-16 00:18:52 +00:00
LB (Ben Johnston) 726584090c
Upgrade to Node 20 & Upgrade npm packages (#463) Fix #462 2023-12-16 00:09:16 +00:00
Katarina Liu a91324ba88
Replace search models and remove fields for wagtail 6 (#459)
* Replace search models and remove permission_type and submitted_for_moderation fields.
2023-11-03 11:38:16 +00:00
herr_pilgrim 0dd43bfa7a
Remove unnecessary variables from base.html (#454) 2023-10-10 07:30:56 +01:00
Thibaud Colas e47bc8b597 Consistently override all page data in base template across all non-page views 2023-10-03 15:18:48 +01:00
Thibaud Colas 0e9ef17a2d Fix breadcrumbs missing on blog tag index 2023-10-03 15:18:48 +01:00
Thibaud Colas dae19fec55 Remove template output that does nothing 2023-10-03 15:18:48 +01:00
Thibaud Colas f524870d60 Remove unused templates 2023-10-03 15:18:48 +01:00
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 137e8e6f08
Use MultipleChooserPanel instead of InlinePanel in BlogPage and RecipePage
It allows selecting multiple authors at once and functions as a great
demo of this panel.
2023-08-25 16:25:35 +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 1dbd728ad9 Enable Wagtail’s dynamic image serve view 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 d686b7ddf6 Add very basic promoted search results display 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
Jake Howard 0c58f47091
Remove references to removed fonts
The fonts were removed in #431, but the references weren't removed
2023-07-10 11:24:46 +01:00
Thibaud Colas b5291cd50d
Replace Open Sans with a system font stack 2023-07-06 10:54:34 +02:00
Thibaud Colas 7214cdad12 Replace FontAwesome font with SVG usage 2023-06-30 16:30:10 +01:00
Thibaud Colas 97b5a96938 Remove unused glyphicons font 2023-06-30 16:20:47 +01:00
Storm Heg 0f249d88ed
Remove old glyphicons font files and references (#430) 2023-06-30 16:10:55 +01:00
Storm Heg 6135424fb0
Use a local copy of font awesome instead of a CDN (#429) 2023-06-30 16:07:11 +01:00
Thibaud Colas 2304803edf Remove unneeded image tags in templates 2023-06-30 14:14:20 +01:00
Thibaud Colas 187d1e079d Remove the need for inline styles for hero images 2023-06-30 14:13:45 +01:00
Storm Heg a31d570b7c
Add Content Security Policy testing setup (#426)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-06-30 13:46:09 +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