Wykres commitów

12693 Commity (e961ae202c56e311e3d96ccc270576d55ffed53d)

Autor SHA1 Wiadomość Data
Matt Westcott e961ae202c Upgrade to curlylint 0.13.1
Addresses https://github.com/thibaudcolas/curlylint/issues/132
2022-03-30 21:43:24 +10:00
LB Johnston 316bbf9508 format migration files - black 2022-03-29 22:57:19 +01:00
Dan Braghis f1dcf407e3 Bump black to 22.3.0 to fix issue with dependency
Ref: https://github.com/psf/black/issues/2964
2022-03-29 20:04:58 +01:00
jacobtoppm aaf1b53e20 Release notes for #8037 and missing changelog entries for other JSONField conversions 2022-03-29 18:18:07 +01:00
Sage Abdullah dcae64c255 Allow `StreamField` to use `JSONField` internal type via `use_json_field` kwarg
Add system check for use_json_field in StreamField

Change system check level to Warning

Add use_json_field argument to StreamField in test models

Use RemovedInWagtail219Warning instead of a system check

Handle unpacked values in to_python when use_json_field is True

Duplicate models and tests for JSONField-based StreamField

Add basic tests for JSONField-based StreamField

Add json_field property in StreamField to unify JSONField usage

Add docs

Don't use destructuring for kwargs in deconstruct

Add versionchanged note to StreamField reference
2022-03-29 18:18:08 +01:00
Steve Stein af4c4d0653
Change slim sidebar to be fully usable in slim mode. Fix #7918 (#8197)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

- Removing the peeking attribute so the sidebar only opens when intentionally set to expanded mode by using expand or search or account functionalities
- Adding tooltips on link item hovers
- Expanding of slim sidebar when search is clicked and when account options are clicked
2022-03-28 15:43:35 +01:00
Thibaud Colas 2fb2629ba3 Add release notes for #8218 and #8225 2022-03-28 15:16:18 +01:00
Matt Westcott 5c6f12a0e9 Put PR template boilerplate in HTML comment 2022-03-28 07:52:20 +10:00
Thijs Kramer 128b319b99 Fix permission error when sorting pages having page type restrictions 2022-03-26 18:31:05 -07:00
Luis Espinoza b53017ad94 remove redundant role="main" for <main> 2022-03-26 12:03:35 -07:00
Stephanie Smith e726c5004f
Fixing translations for 'Title' in listing templates (#8218)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-26 16:44:59 +00:00
Kyle Hart ca4ccdbf17
Improved CTAs for complying with check in procedures (#8219) 2022-03-26 10:43:21 -06:00
Kyle Hart 3fabe10d5c
Remove Spacing section from CSS guidelines (#8216)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Removed Spacing section. It’s no longer relevant because we’re now using Prettier.
2022-03-26 15:56:44 +00:00
Matt Westcott 76e1bd2bbe Update release notes for #8110 2022-03-26 11:34:21 -04:00
LB Johnston 7036497240 clean up oembed providers
- sort all items alphabetically
- fix up spelling of flickr (was flikr)
2022-03-26 07:28:54 +10:00
LB Johnston 10f8e8d216 AbstractFormField.save - add to the docstring about clean name 2022-03-26 07:28:26 +10:00
Matt Westcott f9fd247290 Remove deprecation for field_permission method
...since it's never made it into a release in the first place
2022-03-25 16:09:27 -04:00
Matt Westcott 84228b623c Convert remaining EditHandlers to implement get_form_options 2022-03-25 16:09:27 -04:00
Matt Westcott ae79eb4cb2 Introduce a get_form_options method to combine widget_overrides / required_fields / required_formsets / field_permissions 2022-03-25 16:09:27 -04:00
Matt Westcott 53a0acdf84 Update get_form_for_model to take arbitrary kwargs 2022-03-25 16:09:27 -04:00
Matt Westcott bc93b8c782 Remove special casing of hidden fields in FieldPanel.get_comparison_class
There's no clear reason to put a hidden field in a FieldPanel (or why you would expect it to change between revisions, and not want to know about it in the comparison view) and if you do have some weird customisation that requires that behaviour, you could always subclass FieldPanel to return None from get_comparison_class for that one case.
2022-03-25 16:09:27 -04:00
Matt Westcott ae51ebadf0 Simplify FieldPanel kwarg handling
there's no reason to bend over backwards to distinguish between not passing a kwarg and passing None...
2022-03-25 16:09:27 -04:00
Matt Westcott fc66f06da6 Remove 'exclude' rule from WagtailAdminPageForm
EditHandlers always pass an explicit fields list, so this was redundant in practice, and just legitimised leaving out fields / exclude when subclassing it - which our tests did liberally.
2022-03-25 16:09:27 -04:00
Matt Westcott 32651f51c2 Fix inheritance on TabbedInterface / ObjectList
ObjectList isn't a special case of TabbedInterface - they're just two BaseFormEditHandlers with different templates.
2022-03-25 16:09:27 -04:00
Matt Westcott 6ef6134530 Remove show_comments_toggle kwarg from BaseFormEditHandler
Nothing ever uses it.
2022-03-25 16:09:27 -04:00
Matt Westcott 5199df3a2a Fix some references to wagtail/test/manage.py 2022-03-25 15:03:03 -04:00
Matt Westcott 5ddc374b6c Release notes for #8191 and #8011 2022-03-25 14:31:33 -04:00
Seb 0fd23e5aba Remove deprecated jinja2 references 2022-03-25 11:29:01 -04:00
Matt Westcott 3b77e23cfe Rename BaseCompositeEditHandler to PanelGroup 2022-03-25 10:44:25 -04:00
Matt Westcott dc4c9b704d Rename the EditHandler base class to Panel 2022-03-25 10:44:25 -04:00
Matt Westcott 6bb26c774e Move template paths from edit_handlers to panels 2022-03-25 10:44:25 -04:00
Matt Westcott c7774ba0be Move wagtail.contrib.forms.edit_handlers to wagtail.contrib.forms.panels 2022-03-25 10:44:25 -04:00
Matt Westcott b189ab8382 Move wagtail.admin.edit_handlers to wagtail.admin.panels 2022-03-25 10:44:25 -04:00
Matt Westcott 2a07990770 Formally deprecate StreamFieldPanel, BaseChooserPanel etc 2022-03-25 10:44:25 -04:00
LB (Ben Johnston) 038125427c
docs & github issue template - update bug issue triage (#8096)
* update github bug template to have status:Unconfirmed

- by default, ensure that all new bugs are raised with the label status:Unconfirmed
- for the bug template where 'hints' exist - use HTML comments to hide these

* docs - update issue tracking

- convert from RST to markdown
- add details about when to use Github discussions instead of an issue
- add details about bugs will be raised with the status:Unconfirmed
- add link to PR triage guide
- add links to release schedule & roadmap
- put less emphasis on milestones for new issue creation
2022-03-24 23:28:13 +01:00
Dharma-09 d0133d5fce Add Pinterest embed support
- resolves #5471
2022-03-24 08:10:17 +10:00
Steve Stein 229fbf476a
Sidebar style updates (#8118)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-23 03:27:12 +00:00
Mariusz Felisiak 7b4cf43e2e Removed outdated handling of length parameter to If-Modified-Since header
- The length parameter is not described in RFC-7232 and it's against HTTP/1.0 and HTTP/1.1 specifications.
- It was an old and unofficial extension set by some ancient versions of IE.
- See https://httpwg.org/specs/rfc7232.html#header.if-modified-since
- https://github.com/django/django/pull/15500
2022-03-23 08:36:39 +10:00
PaarthAgarwal a412dcc8d5 styles - disable text-transform property-disallowed-list for required usage 2022-03-22 08:24:52 +10:00
PaarthAgarwal ff11b9c5c6 update @wagtail/stylelint-config-wagtail npm package
- resolves #8121
2022-03-22 08:24:52 +10:00
PaarthAgarwal 91970e66e5 disabled text-transform tailwind plugin 2022-03-22 08:11:41 +10:00
PaarthAgarwal 255d5e9b03 removed redundant text-transform instances
removed page-specific overrides css from importing
2022-03-22 08:11:41 +10:00
LB Johnston fcb26f51f2 format readme with prettier 2022-03-22 07:38:58 +10:00
Karl Hobley 5a4d929c17 Add some more dummy modules 2022-03-21 12:27:17 +00:00
Karl Hobley 2c854cc929 Add rule into upgrademodulepaths command for rewriting wagtail.tests imports 2022-03-20 20:29:28 +00:00
Karl Hobley 7db4714a82 Add some dummy modules for wagtail.tests 2022-03-20 20:29:28 +00:00
Karl Hobley 0721b0edfd Add a replacement rule into `wagtail updatemodulepaths` for the wagtail.core rename
This adds a new rule into our existing `wagtail updatemodulepaths` command for the rename of `wagtail.core` to `wagtail` introduced in #8011.
2022-03-20 20:18:10 +00:00
LB Johnston 93a1ffe5da fix typo from #8119 2022-03-18 22:39:33 +10:00
Riley 074ea8c416 prevent page refresh on enter key in header seach
- resolves #3746
- add a hidden & disabled first submit input so that ‘enter’ does not trigger submit
- allow the behaviour of the actual submit button to still work as expected
- intentionally HTML only solution as it is simpler and more accessible than JS override
2022-03-18 22:33:47 +10:00
Karl Hobley fe658f021f Add some more dummy modules for moved wagtail.core modules 2022-03-18 00:07:36 +00:00