0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

3840 Commits

Author SHA1 Message Date
Thibaud Colas
2fb2629ba3 Add release notes for #8218 and #8225 2022-03-28 15:16:18 +01:00
Thijs Kramer
128b319b99 Fix permission error when sorting pages having page type restrictions 2022-03-26 18:31:05 -07: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
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
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
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
ff11b9c5c6 update @wagtail/stylelint-config-wagtail npm package
- resolves #8121
2022-03-22 08:24:52 +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
LB (Ben Johnston)
b2b18aa437
Update node installation instructions (#8154) 2022-03-17 21:30:44 +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
Karl Hobley
da04f1e50b Move core.utils to core.coreutils 2022-03-17 17:19:59 +00:00
PaarthAgarwal
d38c664c1f README.md - add darkmode and lightmode setting for logo
- Added wagtail-inverse.svg
2022-03-17 08:21:57 +10:00
Matt Westcott
5ffb78e3c2 Release note for #8060 2022-03-16 12:37:26 +00:00
Matt Westcott
dd37901428 Add documentation for the permission kwarg on FieldPanel 2022-03-16 11:47:51 +00:00
Matt Westcott
b37b1b8504 Pass the for_user argument to EditHandler-derived forms
This covers pages, snippets, ModelAdmin and settings. This assumes that the form is a subclass of PermissionedForm such as WagtailAdminModelForm - for pages and snippets this is documented as a requirement (https://docs.wagtail.org/en/stable/advanced_topics/customisation/page_editing_interface.html#customising-generated-forms); for settings it's undocumented (but would entail setting `base_form_class`, and from there it's implicit that the same rules as snippets apply).

For ModelAdmin, it's possible to set a custom form by overriding get_form_class. This isn't documented, but the tests from #2752 make use of this - so in case similar code exists in the wild, I've added an upgrade note.
2022-03-16 11:47:51 +00:00
Serafeim Papastefanos
93da5bc793 Documentation - modelAdmin - add form clean example 2022-03-16 21:16:28 +10:00
LB Johnston
6439b1e8a5 refine documentation guidelines for links
- add clarity that page links can also get auto-generated labels
- add example of a reference link using a custom label
- format with prettier
2022-03-16 20:51:58 +10:00
LB Johnston
7c3ddb3bfc documentation - adopt MyST syntax for form builder section
- the original conversion to markdown happened around the same time as the MyST conversion
- this meant that the syntax was not in sync
- also run prettier over markdown for consistent formatting & whitespace
- see #8007
2022-03-16 20:51:43 +10:00
p0lygun
fda36c7343 Documentation - convert advanced topics docs to markdown 2022-03-16 20:48:03 +10:00
LB (Ben Johnston)
042d077fc1
Minor accessibility fixes to new slim sidebar menu items (#8015)
* Consistently set `aria-haspopup="menu"` for all sidebar menu items that have sub-menus (LB (Ben Johnston))
 * Make sure `aria-expanded` is always explicitly set as a string in sidebar (LB (Ben Johnston))
 * Use a button element instead of a link for page explorer menu item, for the correct semantics and behavior (LB (Ben Johnston))
2022-03-15 14:53:40 +00:00
Thibaud Colas
14280ad7ea
Convert all UI code to CSS logical properties (#8051)
- Rewrite all styles to use logical properties
- Update Stylelint configuration to include logical properties checks
2022-03-15 13:21:06 +00:00
Nicolas Ferrari
11e7936562
Add alwaysdata among Cloud providers in documentation (#8070)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 12:29:59 +00:00
PaarthAgarwal
4b07e4214a
Remove most uppercased text styles from admin UI. Fix #7624 (#8111)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 12:07:07 +00:00
PaarthAgarwal
6a84cf4583
Switch focus outlines implementation to :focus-visible for cross-browser consistency. Fix #7994 (#8113)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 11:33:12 +00:00
LB Johnston
7067c81604 update release notes for #8101
- As this is only a dev/testing dependency, and declaring the dependencies that you use directly is likely standard knowledge
- if anyone does overlook it, it'll presumably fail in an obvious and easily fixed way
- see 8ac683ef5c (r68486362)
2022-03-15 08:12:17 +10:00
LB Johnston
8ac683ef5c add changelog entry for #8101 2022-03-11 15:21:47 +00:00
Thibaud Colas
fc0f76ea9d Switch from jinjalint to curlylint 2022-03-11 15:21:47 +00:00
Thibaud Colas
4c2f160736 Remove docutils pin 2022-03-11 15:21:47 +00:00
Thibaud Colas
c5aa326565 Switch to Markdown tables for documentation 2022-03-11 15:21:47 +00:00
Thibaud Colas
a21490bb37 Improve spacing in new Sphinx output 2022-03-11 15:21:47 +00:00
LB Johnston
4db71de5a2 add release notes for #8084 2022-03-10 19:21:34 +10:00
LB (Ben Johnston)
e3b6e79a8e
Documentation - migrate form builder docs to markdown (#8007)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-10 08:43:49 +00:00
LB (Ben Johnston)
6ed65f14c6
Move Markdown docs to MyST parser. Fix #8074 (#8084) 2022-03-09 11:48:19 +00:00
LB (Ben Johnston)
58a8a31dd6
docs - add third party tutorials Jan/Feb 2022 (#8067) 2022-03-09 09:19:43 +00:00
Steve Stein
5996c5dd29
Switch icons implementation to SVG, with checkbox improvements (#8054) 2022-03-07 17:06:19 +00:00
LB (Ben Johnston)
70aabb5d34
Refine documentation for show_in_menus (#8072)
- this appears to be a point of confusion, where developers are unsure what this field does
- this update makes it more explicit that this field does not do anything, except the queryset usage, by default
2022-03-04 14:34:21 +00:00
Matt Westcott
ef2fa2e394 Release note for #7684 2022-03-02 15:56:06 +00:00
Matt Westcott
92cc026694 Rename docs page to 'Using forms in admin views' 2022-03-02 15:55:25 +00:00
Matt Westcott
f619316003 Add upgrade consideration note for third-party packages implementing their own panels 2022-03-02 15:55:25 +00:00
Matt Westcott
31139e8b24 Remove references to StreamFieldPanel and ChooserPanels from docs 2022-03-02 15:55:25 +00:00