Wykres commitów

12797 Commity (de005bc36a766f7fc66c253ec7b2d1c84f94ea0d)

Autor SHA1 Wiadomość Data
Kalob Taulien de005bc36a
Move badges under logo; added monthly downloads badge
* Move badges under logo; added monthly downloads badge

* Fixed copy/paste error

* Moved badges out of h1 tag
2022-04-07 10:19:29 -06:00
Kevin 0ed4375c3d Fixes incorrect link to Wand docs 2022-04-07 16:20:43 +01:00
Kyle J. Roux 844efa696a Ensure thumb_col_header_text is used by ThumbnailMixin correctly
- fixes #8269
because you cannot dynamically set attributes on bound methods, we need to update the current classes version of admin_thumb so it can be accessed in sub classes
2022-04-08 00:23:45 +10:00
Hitansh Shah 0b8a8c2024 Added image management command to purge and regenerate renditions
- resolves #8107
2022-04-07 23:57:44 +10:00
eevel 1c7c5cfc0b Allow specifying an alternative storage backend for image renditions
- add setting `WAGTAILIMAGES_RENDITION_STORAGE`
- add AbstractRendition file storage to use new setting
- resolves #3183
2022-04-07 23:33:46 +10:00
LB Johnston 7d3ee400fe 3.0 release notes - fix heading 2022-04-07 23:28:03 +10:00
Jake Howard 5522769a9c Validate to and from addresses on email form
This will result in a migration, but the migration from a `CharField` to an `EmailField` won't hit the database, as `EmailField` is just a `CharField` with extra default validation.
2022-04-07 22:52:12 +10:00
Matt Westcott 44e41a72d3 Add note about use of template tags in 500.html 2022-04-07 22:25:41 +10:00
Matt Westcott 30c61353e8 Fix tag imports for html lang/dir attributes
Follow-up to #8220:

* project_template/500.html should not include template tags because they get parsed during `wagtail start` rather than on page render, and 500.html is static HTML by design - hard-code lang="en" instead
* remove redundant wagtailadmin_tags imports
2022-04-07 22:25:41 +10:00
LB Johnston 5f4942f9ad documentation - fix broken docs references
- remove 2.16 reference to setting that no longer exists
2022-04-07 12:52:03 +01:00
Caio Jhonny 21202e421e Add missing import django models (#8301)
Django models need to be imported
2022-04-07 12:18:37 +01:00
Matt Westcott c5d66c7a1f Remove default_app_config for test apps and wagtail.core 2022-04-07 12:16:28 +01:00
Matt Westcott cef90cfd88 Remove default_app_config settings
These are only required in Django < 3.2, which we no longer support.
2022-04-07 12:16:28 +01:00
Matt Westcott 096ab2a8b4 Release note for #8059 in 2.16.2 2022-04-06 19:26:39 +01:00
Dan Braghis e777c22d70 Initialize locale attribute in SafePaginateListView.__init__ 2022-04-06 19:10:52 +01:00
Matt Westcott 7f46688741 Fix banner date logic
Months in `new Date(y, m, d)` are 0-based, just to be awkward
2022-04-06 18:01:54 +01:00
Matt Westcott ad64ac3e91 Release note for #8292 2022-04-06 17:39:50 +01:00
Matt Westcott d65d10d3de Release note for #8293 2022-04-06 17:38:44 +01:00
Matt Westcott 4902c0ab4b Remove assertNumQueries from deletion log test
as per https://github.com/wagtail/wagtail/pull/8289#discussion_r844114429 - it's too sensitive to changes to logic elsewhere.
2022-04-06 16:56:55 +01:00
Jake Howard 4aa362a9cc Prefetch specific model instances
This reduces the number of queries performed during delete, slightly.

Was 191 before this change
2022-04-06 16:38:58 +01:00
Jake Howard 71b77d2aed Log delete for all descendents of pages, not just direct children
This leads to a misleading audit log, where some pages aren't shown as being deleted
2022-04-06 16:38:58 +01:00
Matt Westcott e897c0a3d1 Ditch html_declarations
Since it's unspecified where these are output on the page - and they get rendered once for each panel - there's no reason why we can't just output them as part of the panel rendering itself.
2022-04-06 14:40:39 +01:00
Matt Westcott b884026d08 Move inline panel JS into inline_panel.html 2022-04-06 14:40:39 +01:00
Matt Westcott 895ffaed83 Ditch BaseFormEditHandler
Make get_form_class a standard feature of the base Panel instead.
2022-04-06 14:40:39 +01:00
Matt Westcott 40d88daeba Show / hide the comments toggle based on the presence of the comments formset, rather than hacking a flag into the form class 2022-04-06 14:40:39 +01:00
Matt Westcott d5fdff57f9 Use media for privacy switch JS 2022-04-06 14:40:39 +01:00
Matt Westcott a5a24f9ee6 Remove view media declarations
they're not a thing.
2022-04-06 14:40:39 +01:00
Matt Westcott eb746589f4 Remove edit handler media from workflow task create/edit template
These forms are not edit-handler based, so this is redundant.
2022-04-06 14:40:39 +01:00
Matt Westcott 3716e5280b Include media declarations from panels on templates 2022-04-06 14:40:39 +01:00
Matt Westcott 1b73b033a7 Use cached_property for PanelGroup.BoundPanel.children 2022-04-06 14:40:39 +01:00
Matt Westcott 199fe7ad76 simplify FormSubmissionsPanel.render_html 2022-04-06 14:40:39 +01:00
Matt Westcott e01c33c280 Make BoundPanels into components 2022-04-06 14:40:39 +01:00
Matt Westcott 4eef367241 Change BoundPanel.render method to render_html 2022-04-06 14:40:38 +01:00
Matt Westcott c732b2bedd Add upgrade note about dropping Jinja2 2.x support 2022-04-06 14:13:32 +01:00
Matt Westcott db6e0adbc0 Add Jinja2 note to 2.16.2 release notes 2022-04-06 13:21:37 +01:00
Matt Westcott 84605d8b88 Add 2.15.5 release notes 2022-04-06 13:21:33 +01:00
Sandil Ranasinghe cb7fc4cb14 Rename BASE_URL to WAGTAILADMIN_BASE_URL & add docs
- add documentation for WAGTAILADMIN_BASE_URL
- ensure that WAGTAILADMIN_BASE_URL is used via a util so that it can fallback from request
- resolves #3248
- remove settings URL from pagination template - not required for query string URLs
2022-04-06 19:43:46 +10:00
vuph 5ac259f682 Add ValidationError for tags with more than 100 characters
- Co-Authored-By: Khanh Hoang <39248704+thoang43@users.noreply.github.com>
- Add max_tag_length field to avoid hard coding 100
- fixes #4564
2022-04-06 07:39:17 +10:00
Abdul 9007bda686 documentation - add admin tag manager doc
- add documentation that describes how to use `ModelAdmin` to manage tags
- resolves #1220
2022-04-06 07:21:34 +10:00
Matt Westcott c8564b0be4 Upgrade notes for #8115 / #8123 2022-04-05 22:07:59 +01:00
ShwetKhatri2001 177f005a20 documentation - migrate editor's guide to markdown from RST
- resolves #8106
2022-04-06 06:48:43 +10:00
Matt Westcott 050f481575 Apply Prettier formatting to test.yml 2022-04-05 15:10:05 +01:00
Matt Westcott 0946e5d5b7
add Vinit Kumar to contributors 2022-04-05 14:55:57 +01:00
Vinit Kumar 760f37988e revert: change to pip caching
let's revisit this optimization in a different PR, since there is no
explicit requirements.txt in the project as such. We will need a slighly
different approach with this.

Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
2022-04-05 14:55:26 +01:00
Vinit Kumar f02f49c9ad feat: upgrade github actions and cache pip
Github actions have a new release and pip cache was not enabled.

Both of these will make the CI run faster.

Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
2022-04-05 14:55:26 +01:00
Vinit Kumar a7fb0f89be fix: cancel in progress CI runs
This improves the CI experience as it will run the github checks in a
group and at the same time cancel in progress jobs if a new commit is
pushed for the pull request.

No only does it makes the contributing experience nice, but it also
saves tonnes of energy.

- Github Issue: #8276

Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
2022-04-05 14:55:26 +01:00
Stefan Hammer d08295777d Add verbose_name_plural to Redirect to allow translation 2022-04-05 14:54:52 +01:00
Matt Westcott 16f839dfa7 Update deprecation warnings for new versions 2022-04-05 14:44:31 +01:00
Matt Westcott 45b55140f1 Use an inner class for BoundPanels, rather than side by side
Will hopefully make things easier to mentally parse, once things are using components properly
2022-04-05 14:16:07 +01:00
Matt Westcott defa7f8ed2 Deprecate EditHandler.bind_to 2022-04-05 14:16:07 +01:00