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

4068 Commits

Author SHA1 Message Date
Matt Westcott
d65d10d3de Release note for #8293 2022-04-06 17:38:44 +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
saurabh
a641057fc2 fixed the errors in deploying.rst and i18n.rst 2022-04-04 06:48:02 +10:00
PaarthAgarwal
1d22985912 Fix issue where normalize.css would introduce font issues
- global font family on some elements set by normalize.css would override the desired font
- font stack was not correctly used across some elements
- fixes #8016
2022-04-03 22:27:09 +10:00
talkshrey
7f7fd15831 docs - fix spacing added between -m and http command
- see #8257
2022-04-03 22:12:04 +10:00
anujaraj
f3720a7652 Fix missing translations in workflow templates
- fixes #8214
- see #8240 & #8238
2022-04-03 22:03:50 +10:00
James Ray
2cae3083f5
Add missing lang attributes to <html> elements. Fix #8212 (#8220)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-01 23:50:47 +01:00
Harris Bard Lapiroff
1adc82c044
Add trimmed to blocktrans tags. Fix #8217 (#8226) 2022-04-01 23:16:51 +01:00
Jesse Menn
5eeb8cca40
Stop skipping heading levels in Wagtail welcome page (#8223)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-01 22:30:55 +01:00
Matt Westcott
113005aa05
Page description (#8164)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Co-authored-by: Kalob Taulien <kalob.taulien@gmail.com>
2022-04-01 22:16:41 +01:00
Thibaud Colas
34cd9e2aaa Code review cleanup 2022-04-01 17:01:26 -04:00
Andy Chosak
00adeb8cf2 Fix bulk publishing of pages without revisions
Currently bulk publishing raises an error if you include pages that
exist in the database without any revisions. This commit ensures
that a revision exists before the page is published.

Fixes issue 8187.
2022-04-01 14:50:53 -04:00
Saurabh
a70aefe243
fixed punctuation issues and modified text in wagtail documentation. (#8262) 2022-04-01 17:12:57 +01:00
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
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
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
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
Matt Westcott
786a4a3384 Provide a documented register_form_field_override method for apps to register their own form fields with WagtailAdminModelForm 2022-03-02 15:55:25 +00:00
Matt Westcott
d6358836f2 Remove redundant render_as_field override from BaseChooserPanel
All built-in choosers use the standard field_panel_field.html template - it's probably been this way since Wagtail 1.0, when choosers got their own Widget classes rather than just being HTML decoration around a HiddenInput. As a result, the additional template context they pass (e.g. self.object_type_name) is redundant. If any third-party chooser panels exist that do need them (which is unlikely, if they just copy the existing ones), they should override render_as_field themselves to pass whatever context they need.
2022-03-02 15:55:25 +00:00
Matt Westcott
c6f3b9982c Fix / remove broken documentation links 2022-03-02 11:48:06 +00:00
Matt Westcott
d4899f5a51 Fix heading level 2022-03-02 11:38:46 +00:00
LB Johnston
aaddf81b36 update release notes with Hallo removal
- resolves #6228
2022-03-02 20:15:33 +10:00
LB Johnston
6ecdc16bd4 remove Hallo references in the documentation 2022-03-02 20:15:33 +10:00
Sage Abdullah
bf8d5b3f94 Replace data_json TextField with data JSONField in BaseLogEntry 2022-02-28 10:27:07 +00:00
Steve Stein
3bf9b65c06
Tailwind package setup (#8003)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-27 16:08:38 +00:00
Matt Westcott
e59c8bc644 Fix heading levels 2022-02-25 13:06:40 +00:00
Sage Abdullah
05812ce624 Remove replace_text management command 2022-02-25 11:39:47 +00:00
Sage Abdullah
bae76a2af0 Replace content_json TextField with content JSONField in PageRevision 2022-02-25 11:39:47 +00:00
LB (Ben Johnston)
861a509b32
add make format to cover most auto-fixable formatting (#8022) 2022-02-24 17:20:35 +00:00
Thibaud Colas
d149a27392 Upgrade Storybook setup, with latest release, less boilerplate 2022-02-24 21:22:45 +10:00
John-Scott Atlakson
4a7fb00d35 Always set the filename in Content-Disposition
Relates to original fix for #1158
2022-02-23 06:50:21 +10:00
Gianluca De Cola
aaee9b8c81 Remove IE11 warning message and related files
- resolves #7993
2022-02-22 17:22:39 +10:00
Joshua Munn
b8405e9ca8 Add unsaved fields to FormBuilder.formfields with clean name as key
fixes #6555,
Only the final unsaved FormField appears in the preview of a FormPage. As
FormBuilder adds fields to its formfields attribute using their
clean_name as the key, and FormField.clean_name isn't populated until
FormField.save is called, all unsaved fields are added to the
FormBuilder.formfields dict with the empty string as key. This solves
this by calling get_field_clean_name on the field before insertion
into formfields if clean_name hasn't been set yet.
2022-02-22 17:09:37 +10:00
LB Johnston
927358bf3c add release note #7941 2022-02-22 16:35:42 +10:00
LB Johnston
e0f9e802de add release notes #7977 2022-02-22 16:32:02 +10:00
LB Johnston
d2a11bc7bd add release notes #7965 2022-02-22 16:30:25 +10:00
Andy Babic
963c739f03 Remove a reference to the recipe from redirects.rst 2022-02-22 16:18:46 +10:00
Andy Babic
2c33c98eb4 Remove redirect auto-creation recipe from docs, as wagtail has this covered. 2022-02-22 16:18:46 +10:00
John-Scott Atlakson
d8d01f5ed2
Fixed typo in StreamBlock example (#8020) 2022-02-21 17:37:42 +00:00
sag᠎e
d191504e15
Update development instructions to use Node.js 16 (#8019) 2022-02-21 11:53:08 +00:00
Thibaud Colas
0b37f6d024
Remove all style customisations for documentation, except banner. Fix #7987 (#7990)
All of those customisations predate #7956, which fixed the loading of the CSS, so they were likely only intended for our previous Sphinx theme.
2022-02-18 13:41:18 +00:00
Matt Westcott
51e760810c Release note for #7985 in 2.16.2 2022-02-18 10:58:57 +00:00
Serafeim Papastefanos
25ed1ba38e Update django-treebeard dependency to 4.5.1 or above (#7985)
The django-treebeard 4.3.x is not compatible with Django 4.x because of the dreaded ugettext alias removal problem. This makes sure that a proper django-treebeard version will be installed.

*IMPORTANT*: Please notice that django treebeard *does not* officially support django 4.x. However from my tests I have concludeded that it works fine after you install the version 4.5.x.
2022-02-18 10:53:27 +00:00
Thibaud Colas
52048ba0e8 Release notes for #7916 2022-02-15 16:31:57 +00:00
Thibaud Colas
c5d2f98205 Remove redundant noopener from noreferrer rel attributes 2022-02-15 16:31:57 +00:00
Thibaud Colas
ae14fa6e76 Remove JS compatibility code for IE11 2022-02-15 16:31:57 +00:00
Thibaud Colas
9ecc105178 Remove legacy browser styles 2022-02-15 16:31:57 +00:00
Dan Braghis
716bf92c2d Add changelog for #7967 2022-02-15 13:09:39 +00:00
Dan Braghis
d10f15e558 Reformat with black 2022-02-15 13:06:17 +00:00
Dan Braghis
6dae6e5d07 Add and configure black
This:
- updates the pre-commit configuration and setup.py testing dependencies
- updates isort/flake8 configuration for black
- adds black linting to Makefile and CircleCI configuration
- updates editorconfig with the new line length (88) for py files
- updates python guidelines in docs
2022-02-15 13:06:17 +00:00
Steve Stein
f968aac038
Update system font stack value for compatibility. Fix #7724 (#7972)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

- `-apple-system, BlinkMacSystemFont` - These are used to target modern iOS Safari, macOS Safari, macOS Firefox and macOS Chrome's system fonts. 
- ` 'Segoe UI',  system-ui,` - These fonts target windows machines on Windows 7+ [reference](https://markdotto.com/2018/02/07/github-system-fonts/#the-stack). Having system-ui placed after Segoe UI allowed Segoe UI to take precedence when used on Windows machines set to Chinese ( Simplified ) language. There are some known language issues around `system-ui` being used: [This github article](https://infinnie.github.io/blog/2017/systemui.html). However, the purpose of `system-ui` [(reference here)](https://drafts.csswg.org/css-fonts-4/#valdef-font-family-system-ui) is to allow web content to integrate with the look and feel of the native OS. Which makes this font-family a good choice for other devices _if_ the problem is solved by putting Segoe UI first. 
- `Roboto,` - This is our fallback font for androids devices. Having Segoe set before this allows windows to use its system default font even if you have installed Roboto for development reasons. 
- `Helvetica Neue,` - This is a fallback for older macOS
- `Arial` - Using this to catch any of the very old Windows versions (shoutout windows 95)
- `sans-serif` - Our last resort to get a font without serifs
- `  'Apple Color Emoji',  'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';` - All the emoji's for the OS's mentioned above. 😁
2022-02-14 15:17:02 +00:00
Jannis Vajen
7e6755ec62 Add missing import statement in code example 2022-02-13 16:33:46 +00:00
Steve
01986cfa17 Indent templates with djhtml 2022-02-12 01:15:51 +00:00
Steve Stein
72886c0a62
Djhtml install and configure with pre-commit (#7940) 2022-02-12 01:04:21 +00:00
Dan Braghis
03c2f2a4cb Add changelog for #7946, #7947, #7951 2022-02-11 14:41:56 +00:00
Mads Jensen
de3fcba9e9 Fix warnings from flake8-comprehensions. 2022-02-11 14:34:00 +00:00
Matt Westcott
10df5c2c0d Fill in release date for 2.16.1 2022-02-11 13:31:27 +00:00
Matt Westcott
a7cafc3181 Fill in release date for 2.15.4 2022-02-11 13:30:58 +00:00
Thibaud Colas
046685149a
Add new version fo Wagtail Space docs banner. Fix #6089 (#7956)
* Add new version fo Wagtail Space docs banner. Fix #6089

* Fix closing date

Co-authored-by: Matt Westcott <matthew@torchbox.com>
2022-02-11 12:38:22 +00:00
LB Johnston
f7836c2014 reorder nav (sidebar) imports so that hooks can still override them (#7954)
- main_nav_css & main_nav_js were added when the new slim sidebar was being built
- with the legacy styles/js - there was little risk of there being conflicts
- with the new sidebar CSS, this sidebar bundle comes with a large duplicate of what is in core.css so we should add it before the hooks run so that hook scan override if needed as per our documentation
- this is a temporary fix for #7943 - ideally we should avoid sidebar.scss bundle duplicating so much of the core css
- note: JS is lower risk but should follow the same convention
2022-02-11 11:01:52 +00:00
Matt Westcott
adeabd9633 Prevent error on creating automatic redirects for sites with non-standard ports
Fixes #7942 - get_dummy_request should not include the port number in SERVER_NAME.
2022-02-11 10:40:50 +00:00
Steve Stein
6382945a7b
Add ESlint & Stylelint to pre-commit hooks (#7931). Fix #7909
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-10 16:01:32 +00:00
Matt Westcott
01fd201c36 Release note for #7944 in 2.16.1 2022-02-10 15:43:44 +00:00
Matt Westcott
c81743c17b Add 2.16.1 release notes
These don't need to go in the 2.17 notes, since 2.16.1 will be released first and it's implied that everything in it will be in 2.17.
2022-02-10 13:49:35 +00:00
Matt Westcott
fe847a1dbb Add 2.15.4 release notes 2022-02-10 13:46:45 +00:00
Dennis McGregor
1bbf952453 Apply unlocalize filter to bulk action object ids
- Bulk Actions were failing for objects with id > 999 in projects with
- Django settings `USE_L10N` and `USE_THOUSAND_SEPARATOR` enabled.
- Test bulk action checkboxes handle USE_THOUSAND_SEPARATOR setting
2022-02-10 19:34:00 +10:00
Ihor Marhitych
da293bce35 fix issue where bulk actions would return, not raise 404
return Http404 -> raise Http404
2022-02-09 21:51:47 +10:00
Matt Westcott
329671c0bc Add line for 2.17 in compatibility table 2022-02-08 19:00:47 +00:00
Matt Westcott
8d40a978ef Remove old versionadded / versionchanged notes 2022-02-08 19:00:47 +00:00
Matt Westcott
00582ba35a Remove 'db' and 'postgres_search' search backends 2022-02-08 19:00:47 +00:00
Matt Westcott
da5ca3a2e3 Release note for #7934 in 2.16.1 2022-02-08 12:02:24 +00:00
Matt Westcott
e4fbb4cd7f Fill in release date for 2.16 2022-02-07 14:06:12 +00:00
LB (Ben Johnston)
f2257acc2e
Remove dateformat library usage (#7907). Fix #7904
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-04 14:13:48 +00:00
Carlton Gibson
cd8a1033b5
Updated docs link to supported Django version (#7917)
Using the `stable` URL fragment will always point to the latest major version, whereas 3.1, which was linked, is now end of life.
2022-02-04 12:33:56 +00:00
Thibaud Colas
af942a27e4
Reformat codebase with Prettier (#7912)
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00
Thibaud Colas
11ccf30f00
Add Prettier configuration & documentation (#7908)
- Install Prettier
- Add Prettier configuration
- Add git-blame-ignore-revs
- Clean up .editorconfig indent_style definition
- Clean up .editorconfig space definitions
- Add documentation for Prettier
- Add missing Prettier run-scripts
- Disable Prettier formatting in CI for now
2022-02-04 11:45:08 +00:00
LB (Ben Johnston)
b297d521c1
update a few wagtail.io references to wagtail.org (#7905) 2022-02-02 10:39:14 +00:00
LB Johnston
77591c0d30 Add 2.17 release notes + changelog for #7876
- Front-end tooling upgrade
2022-02-01 07:45:29 +10:00
Thibaud Colas
ee15eec511 Switch all Node tooling from Gulp to Webpack, with needed code changes
- Remove gulp code and docs
- Add base CSS & SCSS processing in Webpack
- Make sure Sass files use paths that can be resolved by Webpack
- Use faster source map generation
- Clean up build scripts
- Make sure Storybook can process Sass
- Switch away from web fonts (more work needed)
2022-02-01 07:36:17 +10:00
Karl Hobley
2a90e96523 Update security PGP key to use new wagtail.org domain 2022-01-28 12:16:31 +00:00
Jake Howard
8367e50d2f Mention email change in changelog 2022-01-28 12:16:31 +00:00
Jake Howard
4718fae68b Update email addresses for new .org domain (#7845) 2022-01-28 12:16:24 +00:00
Matt Westcott
5b761dd9fb Fill in release date for 2.15.3 2022-01-26 16:06:26 +00:00
Matt Westcott
307a1aab9e Release note for #7893 in 2.15.3 2022-01-26 11:27:31 +00:00
LB Johnston
5258f2899b hooks - update unnecessary format_html to mark_safe 2022-01-26 11:19:27 +00:00
Matt Westcott
92a323231f Add release notes for 2.11.9 2022-01-24 16:10:59 +00:00
Matt Westcott
6b22835dc5 Formalise support for Django 4.0 2022-01-24 11:46:12 +00:00
Matt Westcott
a3af1199a9 List NHS as sponsor 2022-01-21 14:17:58 +00:00
Matt Westcott
db4913af56 Release note for #7839 2022-01-21 13:10:54 +00:00
Andy Babic
d92b191015 Release notes for #7827 2022-01-21 12:53:37 +00:00
Andy Babic
236af3607f Documentation for #7827 2022-01-21 12:53:37 +00:00
Cynthia Kiser
82d9330d77 Added a section to deployment docs about configuring serving of user uploaded files (#7553) 2022-01-21 11:21:53 +00:00
Sævar Öfjörð Magnússon
c4d5d23544 Images in PR #7872 were unfortunately swapped 2022-01-21 11:20:06 +00:00
Jérôme Lebleu
e1ecca2f3c Display the select option's text instead of value in telepath (#7629) 2022-01-21 10:52:47 +00:00
Thibaud Colas
20a7d1ef3a Mention WAGTAIL_SLIM_SIDEBAR will go away in Wagtail 2.18 2022-01-21 10:24:02 +00:00
Thibaud Colas
86554020fd Add release notes for slim sidebar 2022-01-21 10:24:02 +00:00
Thibaud Colas
2e6378aa19 Add WAGTAIL_SLIM_SIDEBAR = False setting to switch back to legacy sidebar 2022-01-21 10:24:02 +00:00
Thibaud Colas
71be900e25 Update MenuItem API documentation 2022-01-21 10:24:02 +00:00
Sævar Öfjörð Magnússon
bab1f44aed Adding documentation for grouped custom menu items (#7872) 2022-01-21 10:03:35 +00:00
LB (Ben Johnston)
83dd59aef6
documentation - third party tutorials (#7869) 2022-01-21 07:31:00 +00:00
rgs258
e3f38f0605 Remove errant greater than 2022-01-20 23:42:33 +00:00
Naomi I. Morduch Toubman
9b1a05a55d
Change webmaster to website administrator in the admin (#6857)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-20 20:39:09 +00:00
Karl Hobley
533e85c8d1 Changelog / Release notes for #7862 and #7875 2022-01-20 14:07:47 +00:00
Vladimir Tananko
e07e1994de A Jinja2 version of wagtail_site tag 2022-01-20 14:05:13 +00:00
Thibaud Colas
aaab4ff0d5
Add missing backtick 2022-01-19 17:07:47 +00:00
Karl Hobley
e919eea50e Changelog and release note for #7867 2022-01-19 09:30:56 +00:00
Matt Westcott
760cad9b3d Fill in release date for 2.15.2 2022-01-18 11:13:27 +00:00
Matt Westcott
7c2dec3e73 Release note for CVE-2022-21683 2022-01-18 11:12:55 +00:00
jacobtoppm
d2c7a4cb2b Make comment notifications not using page permissions more transparent 2022-01-18 10:25:42 +00:00
LB Johnston
207e38603c add release notes / changelog entry for #7760 2022-01-16 14:31:40 +10:00
Andy Babic
0063484368 Fix incorrect logging of 'move' actions as 'reorder' actions when target is an intended sibling 2022-01-16 14:26:25 +10:00
Jason Attwood
10f9de2459 Fix Dropdown issues in windows High contrast mode
- Fixes #7450
2022-01-16 14:09:45 +10:00
LB Johnston
efa21b7bf7 fix typo in release notes 2022-01-15 23:52:32 +10:00
Jason Attwood
a0e55cedee Fix comment buttons not displaying correctly in high contrast mode
- fixes #7459
2022-01-15 23:41:42 +10:00
Shariq Jamil
28d9ded998 Add border to help/warning blocks for high contrast mode
- ensures the content has visible separation in windows high contrast mode
- fixes #7447
2022-01-15 23:37:05 +10:00
Jérôme Lebleu
318d3d81a9 Make homepage site summary items responsive 2022-01-15 22:45:20 +10:00
Jérôme Lebleu
55be8f3763 Use SVG icon in homepage's site summary items 2022-01-15 22:45:20 +10:00
Krzysztof Jeziorny
8fa614eaf7 Render horizontal listing as a flex container
- Don't set fixed height on listed images
- Improve display of image listing for long image titles
2022-01-15 22:21:46 +10:00
Jason Attwood
bc3ce80f8c Fix gulp to correctly watch files 2022-01-15 22:11:48 +10:00
Matt Westcott
064f1926cd Set default submit button label on generic create views to 'Create' instead of 'Save'
As per #7763
2022-01-15 22:02:53 +10:00
LB Johnston
7def921880 update changelog for #7751 2022-01-15 21:46:21 +10:00
Thibaud Colas
940fd1d041 Document full integration test steps 2022-01-15 21:44:36 +10:00
Thibaud Colas
1c2ef89957 Support changing which origin the integration tests are run on 2022-01-15 21:44:36 +10:00
Thibaud Colas
44fd1852ee Trial browser tests in CircleCI 2022-01-15 21:44:36 +10:00
Scott Cranfill
bc7566104c
TypedTableBlock: Add borders to help visualize rows and columns (#7670)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-15 10:57:12 +00:00
Jake Howard
0a9b23979b Update links to wagtail.io website to point to wagtail.org
This covers only links to the website, not other sites
2022-01-15 20:23:44 +10:00
Jake Howard
e9183a95c8 Update docs links to reference new domain 2022-01-15 20:04:24 +10:00
LB (Ben Johnston)
1deed5f5af
Rename admin/expanding-formset.js (using kebab-case file) (#7833) 2022-01-15 01:00:02 +00:00
LB (Ben Johnston)
a7aabf76ac
modal-workflow - block additional opens & add trigger focus management (#7568). Fix #4006
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-15 00:47:23 +00:00
Matt Westcott
317f100a78 Release note for #7805 2022-01-14 17:21:27 +00:00
Matt Westcott
a7f53a0dca Upgrade taggit to 2.x 2022-01-14 14:23:56 +00:00
Matt Westcott
d6d43338ef Drop support for Django <3.2 2022-01-14 14:23:56 +00:00
Matt Westcott
daa46b216c Fix BaseDeleteView subclassing for Django 4.0
As of Django 4.0 BaseDeleteView has switched to a new implementation based on FormMixin where custom deletion logic now lives in form_valid:
https://docs.djangoproject.com/en/4.0/releases/4.0/#deleteview-changes

Here we copy the Django 4.0 implementation for use on older Django versions to keep everything consistent, and provide a delete_action method for views that override wagtail.views.generic.models.DeleteView further (e.g. the workflow deactivation views).
2022-01-14 14:23:56 +00:00
Matt Westcott
d450621a42 Add changelog entry for #7847 to 2.16 docs page 2022-01-14 11:38:22 +00:00
Matt Westcott
88150bf8d3 Increase Pillow dependency range to include 9.x (#7831)
Fixes #7817
2022-01-14 11:25:54 +00:00
Tidiane Dia
f3f35f6322 Add workflow submitted by data in home panel 2022-01-14 11:08:25 +00:00
Matt Westcott
4550bba562 Release note for non-fts sqlite support 2022-01-14 10:18:15 +00:00
Thibaud Colas
5a9761a70f Update browser support targets following UI team discussion
Small but important changes:

- We should always be testing in Windows, even if MS Edge is now available on macOS as well.
- We should make a better effort to support older Safari releases, as Safari is tied to OS updates, and device management isn’t always keeping up with releases
2022-01-14 11:31:58 +10:00
Matt Westcott
e3c2237ccc Release note for #7837 2022-01-13 10:56:03 +00:00
LB Johnston
4de5f3652c fix all basic linting rules (mostly formatting) 2022-01-13 07:50:24 +00:00
Martin Coote
f8d76b4bd1
Improve implementations of visually-hidden text in explorer and main menu toggle (#5793). Fix #5269
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-13 07:42:28 +00:00
Wicked
88c7d46282
Improve the visibility of field error messages, in Windows high-contrast mode and out (#7663) Fix #7241
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-13 06:46:35 +00:00
Tidiane Dia
bafb4352ce Redirect to correct collection listing view after editing member
Add tests

Use f-string for edit_url

Redirect to collection listing after deleting an item from it

Use current url to avoid losing information(e.g tags)

Update tests
2022-01-12 10:27:37 +00:00
Matt Westcott
d938052e8c Release note for #7726 in 2.15.2 2022-01-10 19:41:41 +00:00
Michael Karamuth
10f54bc11a feature: Login remember me functionality
- Improve wagtail/admin/views/account.py
- Co-authored-by: Jake Howard <RealOrangeOne@users.noreply.github.com>
2022-01-08 22:53:08 +10:00
LB Johnston
472d522288 Add changelog / release notes for #7746 2022-01-08 21:57:05 +10:00
thoang43
3651e5f21b Add draftail padding to fix cut off ol items
- fixes #7019
2022-01-08 21:44:11 +10:00
Vu Pham
0055be331b Modify responsive size for buttons on mobile
- fixes #6618
2022-01-08 21:30:14 +10:00
LB Johnston
d964675ee8 add check for correct search_fields on pages
- fixes #4940
2022-01-08 21:25:35 +10:00
LB Johnston
4b91d6b7ee Add changelog for #7778 (2.15.2)
- relates to fix for #7768
2022-01-08 21:18:25 +10:00
LB (Ben Johnston)
707ea54f4f Update blocks.rst
Docs does not currently include the `rows` kwarg that is available on `TextBlock`.

See Question on slack https://wagtailcms.slack.com/archives/C81FGJR2S/p1635825388225100
2022-01-08 20:54:20 +10:00
Matt Westcott
dd0b398d9c Release note for #7783 2022-01-07 16:37:21 +00:00
Tidiane Dia
802ce2fc50 Add line in editor guide about secondary actions menu and update screenshot 2022-01-07 16:23:17 +00:00
Tidiane Dia
11e1ff03df Add register_page_header_buttons hook documentation 2022-01-07 16:23:17 +00:00
Tidiane Dia
0a3dd7e1f7 Improve workflow modal formatting (#7786) 2022-01-07 16:20:22 +00:00
Matt Westcott
3a9a2815c0 Release note for #7741 2022-01-07 16:11:45 +00:00
Matt Westcott
07f1c777e7 Document the bound_blocks property of ListValue 2022-01-07 16:11:45 +00:00
Matt Westcott
4a848bfb4e Implement a ListValue type for ListBlocks 2022-01-07 16:11:45 +00:00
Matt Westcott
93229cfc14 Release note / fixed test for #7801 2022-01-05 15:35:19 +00:00
Matt Westcott
946a9a8071 Release note for #7821 2022-01-05 14:04:14 +00:00
Dan Braghis
731cc540b0 Refresh page on create before passing to hooks 2022-01-05 09:30:06 +00:00
Dan Braghis
614ec3fc2a Remove woff fonts 2021-12-20 18:17:04 +00:00
Dan Braghis
670ad8cfa2 Release notes for #7721 2021-12-20 18:10:08 +00:00
Tibor Leupold
783f0d4a16 Update the mentioning of default_app_config in the docs 2021-12-20 18:09:32 +00:00
Karl Hobley
247030df14
Revert "Implement page_url_path_changed signal (RFC 34) (1 of 3)" (#7797)
* Revert "Release notes for #7761"

This reverts commit b062c22331.

* Revert "Fix incorrect logging of move VS reorder"

This reverts commit 0086c7ba7a.

* Revert "Update docs"

This reverts commit e602990e39.

* Revert "Add tests"

This reverts commit b10e545b14.

* Revert "Prevent the 'old_record' query being unnecessary triggered by page.move()"

This reverts commit 4fed675d7a.

* Revert "Implement the page_url_path_changed signal"

This reverts commit 2f86eda372.
2021-12-18 16:54:44 +00:00
Karl Hobley
6f2c576da0
Revert "Add ever_live() and never_live() filters to PageQuerySet (RFC 34) (2 of 3)" (#7796)
* Revert "Release notes for #7776"

This reverts commit a7e58e9c67.

* Revert "Tests for #7776"

This reverts commit 1f5734ce3f.

* Revert "Add PageQuerySet.ever_live() and PageQueryset.never_live() filters"

This reverts commit d8c2e33505.
2021-12-18 16:54:26 +00:00
Karl Hobley
7999cbf2c4
Revert "Add signal handler for automatic redirect creation (RFC 34) (3 of 3)" (#7795)
* Revert "Release notes for #7774"

This reverts commit e9eadb65c7.

* Revert "Docs for #7774"

This reverts commit d00a4c8a65.

* Revert "Automatically create redirects for when pages are moved or have their slug updated"

This reverts commit 31a7b11932.
2021-12-18 16:54:04 +00:00
Andy Babic
e9eadb65c7 Release notes for #7774 2021-12-16 16:06:11 +00:00
Andy Babic
d00a4c8a65 Docs for #7774 2021-12-16 16:06:11 +00:00
Andy Babic
a7e58e9c67 Release notes for #7776 2021-12-16 14:10:16 +00:00
Andy Babic
d8c2e33505 Add PageQuerySet.ever_live() and PageQueryset.never_live() filters 2021-12-16 14:10:16 +00:00
Andy Babic
b062c22331 Release notes for #7761 2021-12-16 13:35:11 +00:00
Andy Babic
e602990e39 Update docs 2021-12-16 13:35:11 +00:00
Matt Westcott
361c3d5d54 Remove release note for #7704 in 2.16, as it's in 2.15.2 2021-12-09 16:40:06 +00:00
Matt Westcott
cf0ee13b49 Remove Python 3.6 support 2021-12-09 16:36:29 +00:00
Matt Westcott
c37786679a Release note for #7762 in 2.15.2 2021-12-08 17:08:21 +00:00
Matt Westcott
80ecec334a Release note for #7704 in 2.15.2 2021-12-08 16:29:28 +00:00
LB (Ben Johnston)
c9aa26e887
Documentation - remove all jQuery usage (#7658) 2021-12-07 15:37:33 +00:00
Tomasz Knapik
2c169a8d38 Add Azure CDN and Front Door backends 2021-12-03 08:05:12 +10:00
Karl Hobley
4803133fee Changelogs/release notes/contributors for #7385 #7669 #7704 2021-12-02 13:47:52 +00:00
Dmitrii Faiazov
b314f28f37
Add alias_of field into pages API 2021-12-02 13:36:55 +00:00
Matt Westcott
980d2c435e collapse option on StreamField, StreamBlock, ListBlock
Fixes #7705
2021-12-01 07:36:54 +10:00
JS
40e6e1c803 Docs - Update API configuration example
Code correction - date format was incorrect.
2021-11-30 07:58:13 +10:00
Kevin Gutiérrez
131cd076b7 Change spin animation name 2021-11-18 07:05:53 +10:00
sakshi uppoor
e6f7c62360 Fix dashboard icons colour & opacity (Windows High Contrast)
- fixes #7325
2021-11-18 06:38:25 +10:00
Tom Usher
344dfcf02b Add more SketchFab oEmbed patterns
The /models pattern is what is documented in the Sketchfab oEmbed docs.
The /3d-models pattern is what you'd get by copying and pasting the URL from browsing the site.
https://sketchfab.com/developers/oembed
2021-11-18 06:32:16 +10:00
Matt Westcott
660b00b7a6 Release note for #7696 2021-11-17 16:22:20 +00:00
Thibaud Colas
cb70218166
Language tweaks 2021-11-16 09:59:36 +00:00
Matt Westcott
12243e7e77 Ensure csrf token is available on dashboard panels
Fixes #7688
2021-11-11 08:29:30 +10:00