Wykres commitów

12700 Commity (68f2cc5f7e27ba34ac7392493a5b4bc0b7291cd5)

Autor SHA1 Wiadomość Data
Coen van der Kamp 68f2cc5f7e
Add Wagtail Space NL 2022 banner to docs (#8264) 2022-04-01 10:58:02 +01:00
LB Johnston 8b6b0425de forms - remove unidecode and legacy clean name approach
- resolves #7975
2022-03-31 14:53:44 +01:00
Matt Westcott da819c0c36 Release note for #8075 2022-03-31 14:44:02 +01:00
Luis Nell 23895120b0
adds instagram reels support (#8075) 2022-03-31 14:42:45 +01:00
Matt Westcott 97e781e31c Renumber Wagtail 2.17 to 3.0
As per discussion on https://github.com/wagtail/wagtail/discussions/7732, the changes in the upcoming release (sidebar redesign, removal of hallo.js, module reorganisation) warrant a version bump to 3.0 if we're following semantic versioning.
2022-03-31 06:38:27 +10:00
Matt Westcott ff18b4c303
Remove description of some-day milestone (#8255)
Issues that are accepted but not prioritised will now be indicated by removing the 'Unconfirmed' label, rather than assigning to a milestone.
2022-03-30 15:52:51 -04:00
Hitansh Shah a8106e5072 Added lint-server, lint-client, format-server and format-client tasks to the Makefile (#8177) 2022-03-30 14:14:30 +01:00
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