0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

12687 Commits

Author SHA1 Message Date
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
LB (Ben Johnston)
b2b18aa437
Update node installation instructions (#8154) 2022-03-17 21:30:44 +00:00
Karl Hobley
b356fe683f Don't crash if wagtail/__init__.py is loaded without Django installed 2022-03-17 17:19:59 +00:00
Karl Hobley
53d7001300 Add dummy modules to maintain wagtail.core imports 2022-03-17 17:19:59 +00:00
Karl Hobley
536ff23399 Rename WagtailCoreAppConfig to WagtailAppConfig 2022-03-17 17:19:59 +00:00
Karl Hobley
75cc7da38a Move wagtail.core to wagtail 2022-03-17 17:19:59 +00:00
Karl Hobley
0fd99886a2 Move tests to test 2022-03-17 17:19:59 +00:00