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

2158 Commits

Author SHA1 Message Date
Sage Abdullah
bf8d5b3f94 Replace data_json TextField with data JSONField in BaseLogEntry 2022-02-28 10:27:07 +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
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
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
Dan Braghis
716bf92c2d Add changelog for #7967 2022-02-15 13:09:39 +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
Dan Braghis
03c2f2a4cb Add changelog for #7946, #7947, #7951 2022-02-11 14:41:56 +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
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
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
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
LB Johnston
77591c0d30 Add 2.17 release notes + changelog for #7876
- Front-end tooling upgrade
2022-02-01 07:45:29 +10:00
Jake Howard
8367e50d2f Mention email change in changelog 2022-01-28 12:16:31 +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
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
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
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
86554020fd Add release notes for slim sidebar 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
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
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
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
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
Matt Westcott
e3c2237ccc Release note for #7837 2022-01-13 10:56:03 +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
Matt Westcott
dd0b398d9c Release note for #7783 2022-01-07 16:37:21 +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
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
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
a7e58e9c67 Release notes for #7776 2021-12-16 14:10:16 +00:00
Andy Babic
b062c22331 Release notes for #7761 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