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

3837 Commits

Author SHA1 Message Date
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
Matt Westcott
80905ea0f3 Release note for #7702 2021-11-10 21:08:20 +00:00
Matt Westcott
33445188e7 Release note for #7701 in 2.15.1 2021-11-10 16:06:29 +00:00
Matt Westcott
bcaf129cef Release note for #7695 in 2.15.1 2021-11-10 12:05:16 +00:00
Matt Westcott
364398be7f Changelog note for #7694 in 2.15.1 2021-11-09 20:58:26 +00:00
Eric Sherman
d8e7fdf1ee
Adding anchor link to list of documented links in the editor manual (#7672) 2021-11-05 15:21:03 +00:00
Matt Westcott
87dda77a2d Fill in release date for 2.15 2021-11-04 11:29:43 +00:00
Matt Westcott
abf408d8f6 Formally deprecate old db search backends (#7651)
As per #7633
2021-10-28 10:53:32 +01:00
Matt Westcott
3e64deb1ac Label edit actions as 'Edited' instead of 'Draft saved' for non Page models
Fixes #7622
2021-10-26 07:53:12 +10:00
Matt Westcott
a2856fc52d Start changelog for 2.16 2021-10-25 11:23:35 +01:00
Coen van der Kamp
73f65e9357 Fix TableBlock -> TypedTableBlock in code samples 2021-10-18 12:42:20 +01:00
Coen van der Kamp
ac928a443e Fix reference 2021-10-18 12:38:14 +01:00
Coen van der Kamp
b03ab850d6 Fix Python code blocks, indent lines with multiple of 4 spaces 2021-10-18 12:37:26 +01:00
LB Johnston
e8285b99f3 Revert "Upgrade modernizr" back to v2.6.2
This partially reverts commit 50f55507d8.
Fixes #7625
2021-10-18 12:29:19 +01:00
Thibaud Colas
f819d975dc
Add dedicated release notes section for Windows high contrast mode support (#7618) 2021-10-15 17:51:19 +01:00
Jacob Topp-Mugglestone
412c26201a Add changelog and release notes for bulk actions (#7615)
* Add changelog and release notes for bulk actions
2021-10-15 16:51:18 +01:00
Shohan
4624d2d540 Fix typos and remove unwanted code from bulk actions (#7613)
* [refactor] Fix typos and documentation

* [refactor] Remove unused attribute object_key

* [refactor] Remove filters from page explorer

* [refactor] Remove unused code of page filters
2021-10-15 16:51:18 +01:00
Dan Braghis
247bfe883f Further tidy up following code review
Co-Authored-By: Thibaud Colas <thibaudcolas@gmail.com>
2021-10-15 16:51:18 +01:00
Dan Braghis
d19e1b4380 Tidy up based on code review 2021-10-15 16:51:18 +01:00
Shohan
e0df3f30d7 Update editorial images and add content for bulk actions 2021-10-15 16:51:18 +01:00
Shohan
24f987db49 Add bulk actions documentation
Co-Authored-By: Thibaud Colas <thibaudcolas@gmail.com>
2021-10-15 16:51:18 +01:00
Jérôme Lebleu
025a28f238 Set the bound field label with the heading argument
When a FielPanel is rendered as a field, the label is outputted with the
`bound_field.label_tag()` method. Thus, the field's label is not
overridden with the `heading` argument.

This attempts to fix that by set the `bound_field.label` property with
the `heading` argument.

Fix s#6855.
2021-10-15 23:43:17 +10:00
Matt Westcott
20ed834132 Release note for typed table block #7470 2021-10-15 14:33:00 +01:00
Shariq Jamil
c4422b2bec add border to comments dropdown
- for windows high contrast mode
- fixes #7458
2021-10-15 23:25:09 +10:00
Matt Westcott
78389caa95 Remove unnecessary indentation from code examples 2021-10-15 14:20:56 +01:00
Matt Westcott
6012291707 Documentation formatting fixes
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2021-10-15 14:20:56 +01:00
Matt Westcott
55c72fd3ba Docs for typed table block 2021-10-15 14:20:56 +01:00
Karl Hobley
ff76931aa4 Change log and release note for new database search backend 2021-10-15 11:15:03 +01:00
LB Johnston
b3366749d9 update release notes 2021-10-15 19:12:17 +10:00
LB Johnston
307d0126a2 add ability to customise the pre-filled document title
- leveraging a custom DOM event provides the ability to update the title before being added to the form
- add documentation
- fixes #7508
- see also #4945
- update image docs for same behaviour to be more readable
2021-10-15 18:25:23 +10:00
Noah Hall
300163b845 replace hard-coded colors for admin filters with variables
- fixes #7584
2021-10-15 17:49:20 +10:00
Matt Westcott
f7fcae0a1d Release note for #6945 2021-10-15 01:16:33 +01:00