Wykres commitów

12979 Commity (stable/3.0.x)

Autor SHA1 Wiadomość Data
Matt Westcott a7ac18f609 Reword special-purpose FieldPanel deprecation message for clarity
Multiple people on Slack support have asked "how do I fix this error" now, which suggests that the wording here needs improvement...

* change "is obsolete" to "is no longer required", to make it sound less "your code is broken" and more "here's an improvement you can make" (but also state that it'll be removed in a future release, to make it clear that you have to do it soomer or later)
* leave out the full module paths - they're probably coming across as internal tech gobbledegook rather than informative, and obscuring the word "Panel" which is the most important thing in the message
* link to the release note to clear up any remaining confusion
2022-09-29 22:12:56 +01:00
Matt Westcott 24fdc703fd fix formatting of 2.15.6 release notes 2022-09-05 13:22:06 +01:00
Matt Westcott b1e62bc4f4 Release notes for 2.16.3 2022-09-05 13:21:58 +01:00
Matt Westcott 0b0844cc7a Add release notes for 2.15.6 2022-09-05 13:21:03 +01:00
Matt Westcott 2b3da3582e Fill in release date for 3.0.3 2022-09-05 11:19:30 +01:00
Matt Westcott 173a726ec3 Fix bullet point formatting 2022-09-02 15:02:02 +01:00
Matt Westcott cff61be50c Version bump to 3.0.3 2022-09-02 14:57:45 +01:00
Matt Westcott 9e8c0e75e2 Add release notes for 3.0.3 2022-09-02 14:57:20 +01:00
jacobtoppm 29c430b92a Postpone add comment widget initialisation until after comments are enabled. (#9124)
This prevents errors when comments.js is loaded but a view does not use
the commenting functionality, which caused issues for StructBlocks containing
FieldBlocks on non page-models. In future we should only load comments.js
where it is actually needed as well.
2022-09-02 14:54:28 +01:00
Stefan Hammer f164180d36 Improve locked_by-filter for locked pages report, fixes #9116
It now only displays users, which have actually locked something.
2022-09-02 11:41:10 +01:00
Matt Westcott 054c077c68 Version bump to 3.0.2 2022-08-30 17:02:26 +01:00
Matt Westcott 3f984f6074 Fill in release date for 3.0.2 2022-08-30 17:02:02 +01:00
Matt Westcott 3851608095 Release note for #9099 in 3.0.2 2022-08-30 16:53:10 +01:00
Matt Westcott 9c6eb87254 Remove broken reference to Image.LoaderError
This exception has not existed since Willow 0.3. Type checking on the 'except' line only happens when an exception occurs, so most of the time this is harmless, but if an unrelated exception occurs here (such as that caused by a faulty filetype library: https://github.com/h2non/filetype.py/issues/130) the real exception gets masked by an AttributeError for the missing definition.
2022-08-30 16:51:54 +01:00
jacobtoppm f57f0d5aaf Fix FieldBlocks ending up with a null annotationTemplateNode and making commenting impossible if they initialise pre-CommentPanel
- fixes #9035
- cherry pick of #9076
2022-08-25 07:04:06 +10:00
Matt Westcott 37107f1826 Upgrade flake8-print to resolve CircleCI failures 2022-08-19 12:02:35 +01:00
Matt Westcott 0e2f8f2fdd Release notes for #8940 and #8973 in 3.0.2 2022-08-19 11:25:52 +01:00
Matt Westcott 7c46a8038a Fix updatemodulepaths for Python 3.7
Fixes #8970. Python 3.7 incorrectly opens the stream for writing in text mode (be6dbfb43b), so work around this by writing the unicode string back rather than encoding back to bytes.

This will probably fail if we're on Windows AND Python 3.7 AND encounter non-ASCII characters (because in that case it'll be open for writing as Windows-1252 encoding), but it's probably the best we can do without abandoning the fileinput library entirely.
2022-08-19 11:21:09 +01:00
LB Johnston a5f699ffbd fix issue for string representation of FormSubmission
- fixes #8927
- problem introduced in #8230
2022-08-04 13:34:30 +02:00
Matt Westcott 7934e19dcd update latest.txt for 3.0.1 2022-06-16 11:09:46 +02:00
Matt Westcott 9f1652dd21 Version bump to 3.0.1 2022-06-16 10:47:15 +02:00
Matt Westcott af44f1ef0e Fill in release date for 3.0.1 2022-06-16 10:46:49 +02:00
Matt Westcott 394d06c54b Fetch new translations from transifex 2022-06-16 10:39:53 +02:00
LB Johnston fda10b0211 add changelog for #8676 2022-06-16 06:45:12 +10:00
Matt Westcott 3e940ce4f4 Add warning if WAGTAILADMIN_BASE_URL is undefined 2022-06-16 06:42:45 +10:00
Matt Westcott efeb3ebbad Set base_url to default to "" in emails
This makes it "less obviously wrong" than outputting None...
2022-06-16 06:42:45 +10:00
Matt Westcott eab32164fd Stop emails from breaking when WAGTAILADMIN_BASE_URL is absent
In this case, workflow notification emails can't include the full URL (because they're triggered from a signal, where we don't have access to a request object) but we don't want them to break outright.

fixes #8582
2022-06-16 06:42:45 +10:00
Matt Westcott a1f72d14bd Make try/except on sending email less broad
We don't want to ignore legitimate errors that happen during template rendering
2022-06-16 06:42:45 +10:00
Matt Westcott 627a013caf Release note for #8680 2022-06-14 15:58:46 +02:00
Matt Westcott 0db5b93b11 Allow scheduled publishing to happen when the initial editor did not have publish permission
Fixes #8585
2022-06-14 15:58:34 +02:00
Matt Westcott 294e0b605f Release note for #8668 2022-06-13 17:00:15 +01:00
Jacob Topp-Mugglestone 7b2005f21d Fix/splitting blocks with highlights (#8668)
* Fix splitting block with highlighted text deleting text

* Fix issue with splitting blocks at start/end crashing editor

* Add unit tests for Draftail split behaviour
2022-06-13 16:34:19 +01:00
Matt Westcott e125bd6578 Make radio buttons / checkboxes display vertically under Django 4.0
Fixes #8190
Django 4 changed the rendering of radio button / checkbox lists to nested divs rather than ul/li - see 5942ab5eb1. This change simply applies the existing li styles to second-level divs.
2022-06-13 15:45:10 +01:00
Matt Westcott f3e10a8f35 Use original wording for 3.0.1 release notes 2022-06-13 15:34:47 +01:00
Matt Westcott 8882181536 Use original wording for changelog notes 2022-06-13 15:34:01 +01:00
Matt Westcott a8732d643e Release notes for 3.0.1 2022-06-13 15:28:26 +01:00
LB Johnston 45288f9de1 fix issue with spinner icon & longrunning active state
- using padding meant the icon would visually spin 'wobbly'
- button content is no longer centre aligned so button longrunning active state should not be either
- fixes #8615
2022-06-13 15:21:46 +01:00
Sage Abdullah 511f44fa48 Fix locale selector background color
- fixes #8588
2022-06-10 07:41:03 +10:00
PaarthAgarwal 6b16de6c7b Ensure TabbedInterface will not show a tab if no panels are shown
- If no panels show (due to permissions) the tab was still showing
- instead it is expected that the tabs should not show at all if empty
- fixes #8593

# Conflicts:
#	CHANGELOG.txt
#	docs/releases/4.0.md
2022-06-02 22:15:44 +10:00
Karl Hobley 4e29fe4a4e Set referer policy of upgrade notifcation to "strict-origin-when-cross-origin"
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
- Since Django 3.1, all Wagtail admin responses have been given a referer-policy: same-origin header. See: https://chipcullen.com/django-3-referrer-policy-change/
- #8560
2022-05-19 19:05:03 +10:00
Karl Hobley 611b7a52dd Update myst_parser to v0.17.2 (#8380)
To resolve issue with the removed `attrs` module.

See: https://github.com/executablebooks/MyST-Parser/pull/557
2022-05-16 14:38:48 +01:00
Matt Westcott 4e524c7972 Fill in release date for 3.0 2022-05-16 14:19:42 +01:00
Matt Westcott e54949f29c Version bump to 3.0 final 2022-05-16 14:19:00 +01:00
Thibaud Colas 94506f0f52 Refactor ModelAdmin breadcrumbs regression tests to be more flexible 2022-05-16 14:17:09 +01:00
Matt Westcott 0cc94adaa6 Fetch new translations from Transifex 2022-05-16 11:41:04 +01:00
Steve Stein 296c0daf98 Apply simplest fix for breadcrumbs visual regressions in modeladmin 2022-05-13 17:11:50 +01:00
Matt Westcott 2b08df4799 Make 'upload one now' link on document chooser work after results refresh (#8529)
* Make 'upload one now' link on document chooser work after results refresh

Fixes #8528
Put the initTabs call inside ajaxifyLinks so that it's reapplied when the results container (including the 'no results message') is replaced.

* Make 'create one now' link on task chooser work after results refresh
2022-05-13 12:14:40 +01:00
Matt Westcott 39f22ba6c8 Set comment position correctly relative to scroll position (#8511)
Fixes #8500. As a consequence of the CSS changes in c6fdb6bbb3, scroll position is no longer reflected in the document element's scrollTop property, but on the `<main>` element instead. As a result, comment positions were not being adjusted for scroll position. To account for this (and any future CSS changes), we walk all ancestor elements to calculate the true scroll position.
2022-05-12 14:12:10 +01:00
LB (Ben Johnston) fcd4f0afdb fix issue with image model docstrings (#8524)
* asterisk was being parsed as markdown and not rendering correctly in the documentation
2022-05-12 10:58:52 +01:00
Stefan Hammer 5f38ddd8f7 Added handling for lazily evaluated page_description, fixes #8523 (#8527) 2022-05-12 10:55:49 +01:00