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

96 Commits

Author SHA1 Message Date
Wout De Puysseleir
348aec32e5 Add TIDAL support to oembed
Adds TIDAL support for embedding playlists/tracks
2021-09-26 20:17:51 +10:00
Storm Heg
19ad01ddd5 Fix userbar tabbing behaviour
Tabbing (navigation using Tab or Shift + Tab keys) will now close
the menu and move to the next focusable element on the page instead
of focusing the next menu item.

The previous behaviour was a deviation from the ARIA menu practices:
https://w3c.github.io/aria-practices/#menu

Further changes / cleanup:

* Consume keyboard events like arrow down to prevent the browser
  from interpreting them.
* Refactor repeated setTimeout and `.focus()` calls into single
  `focusElement(el)` function. Let's keep it DRY!

Fixes #7290
2021-09-19 14:46:28 +10:00
amychan331@yahoo.com
218e728f34 Make hamburger menu a button for tab accessibility
- Adding type to button element
- Co-authored-by: Dan Braghis <dan@zerolab.org>
- fixes #7327
2021-09-19 14:18:34 +10:00
Andrew Stone
55950a3586 Use date format from current locale for xlsx export 2021-09-19 13:57:29 +10:00
Matt Westcott
2f518eb147 Use gettext_lazy in modeladmin views where required
Class-level strings were using gettext, which meant that they were not respecting user language settings.
2021-09-18 21:25:41 +10:00
Dan Braghis
a87acf5b17 Fix page history with deleted user 2021-09-18 21:17:26 +10:00
LB Johnston
d949946434 fix warning message for disabling workflow task
- show the states_in_progress number based on the current Task only, not all tasks
- fixes #7492
2021-09-14 19:34:03 +10:00
bwilliams3
fb4a5a6961 Send notifications to active users only 2021-09-11 14:16:48 +10:00
Andrew Stone
7d9e90fdbd Ensure admin tab events are handled on page load
The `shown.bs.tab` event was being bound after showTab() was already
called, so on page load, the tabs weren't being updated correctly.
2021-09-10 07:06:59 +10:00
LB Johnston
eba4ac1563 add release notes for #7489 2021-09-10 07:01:37 +10:00
Krzysztof Jeziorny
cf064f2b99 Fix width on comment notifications dropdown
- Other languages' word can break the dropdown's layout
2021-09-07 20:54:43 +10:00
Sagar Agarwal
592408ac3d Remove target: _blank from 'view live' and 'view draft'
- Change new_window=True to False for 'view live' and 'view draft'
- fixes #6123
2021-09-07 20:43:33 +10:00
Desaiakshata
22cdd89b68 Fix Window high contrast mode - tag field
-edit background color for form input field-forced color mode
2021-09-07 20:11:00 +10:00
Justin Slay
85faf19211 Change initial value of publish_copies to False 2021-09-01 17:47:12 +10:00
FDGod99
c2347a6d35 fix - high-contrast mode - sidebar needs visual separation
- Due to how high-contrast mode works, there was no visual separation between the sidebar and the main content, adding a transparent border resolves this without having any visual impact in non-high contrast mode
- fixes #7456
2021-09-01 08:02:42 +10:00
Matt Westcott
7f27e0abbc Support calling get_image_model and get_document_model at import time
Attempting to call get_image_model or get_document_model at the top level of a models.py file currently fails with "Models aren't loaded yet". This can be avoided by passing `require_ready=False` to apps.get_model.

This change makes it possible for third-party apps to define abstract models with foreign key references to the possibly-custom image or document model (which can then be subclassed into concrete models in the project itself - defining concrete models in the third-party app probably still isn't safe, as the model will end up being baked into the third-party app's migrations).
2021-08-31 21:15:12 +10:00
LB Johnston
d43c203c29 add release notes for #7480 & #7474 2021-08-31 21:06:37 +10:00
Alex Tomkins
9812d606a9 Add a style fallback to avoid invalid inline styles
- fixes #7387
2021-08-31 21:02:43 +10:00
Gordon Pendleton
b6c172cf20 Allow html in multi image upload errors
- fixes #6824
2021-08-31 20:45:36 +10:00
infinityplusone
5f3207ca43 add object count to modeladmin header listing view 2021-08-31 11:53:34 +10:00
fabienheureux
cb08c997ea
Make all edit panels collapsible (#7365)
* Make more panels type collapsible
* Remove duplicate js in homepage template
* Move collapsible code into its own js file
* Change $li to $target in collapsible.js, as in #6342

Closes #7364, #6342, #6187, #2123

Co-authored by: Fabien Le Frapper <contact@fabienlefrapper.me>
Co-authored-by: Robbie Mackay <rm@robbiemackay.com>
Co-authored-by: Scott Cranfill <scott.cranfill@jpl.nasa.gov>
2021-08-30 08:33:43 -07:00
Chakita
b5abd8b155 High-contrast mode: restored vertical separation between field panels
- fixes #7455
2021-08-30 20:10:15 +10:00
Stefan Hammer
22a35b70d2 Fix home icon in breadcrumbs for limited-permission users, fixes #7348
- The html has just been synced with the html for unlimited users
2021-08-30 19:56:17 +10:00
amychan331@yahoo.com
f1b3bbc52f Update form label css to be readable by screen reader
- login screen
2021-08-30 19:12:22 +10:00
LB Johnston
5d2794b932 add release note for #7381 2021-08-25 07:38:44 +10:00
Matt Westcott
c919d4c3b3 release note for #7425 2021-08-24 15:57:03 +01:00
Matt Westcott
1d5c696785 double backticks 2021-08-24 15:55:17 +01:00
Matt Westcott
e777517950 Update docs on action menu items to cover new API 2021-08-24 15:42:04 +01:00
Matt Westcott
83d24c8346 Link to release notes from deprecation warnings 2021-08-24 15:42:04 +01:00
Matt Westcott
1ad6f3518c Update docs to cover use of components in homepage panels / summary items 2021-08-24 15:42:04 +01:00
Seb
a9f13d2dfb Apply list styles for MultipleChoceFields 2021-08-24 08:34:40 +10:00
LB Johnston
1b50c74424 add release notes for #7209 #7251 #7446 2021-08-23 20:46:09 +10:00
Dmitrii Faiazov
fb66c1fd17 Styling for Windows high contrast
- add media queries for icons & logos
- fix issue with color problems
2021-08-23 20:15:08 +10:00
Alex Tomkins
c825261bd1 Fix session key generation for wagtail previews (#7393)
Fixes #7392
2021-08-19 19:29:08 +01:00
Jake Howard
90c86e76d0 Add a debug logger around rendition generation (#7391)
This allows insight into which images are taking the longest to generate, which fail to render at all, and potentially which images are causing crashes (as in they start, but never stop).

The logging is intentionally only on DEBUG level, so it's opt-in, and is also reasonably quiet so it doesn't bloat logs.
2021-08-19 19:00:13 +01:00
jacobtoppm
1efbfd4994 Release note and CHANGELOG for #7376 2021-08-11 17:56:02 +01:00
Saptak Sengupta
99aead848e
Makes the title of ModelAdmin items into links (#7408)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-08-08 01:00:25 +01:00
Matt Westcott
07402a545a Tiny cleanup for site root page chooser (#7407)
* Pulling in _editor_js.html is unnecessary - the only JS dependency that isn't in form media is now modal_workflow.js. (So close to being able to ditch the template override entirely!)
* Omit the 'clear' button, as this is a required field.
2021-08-06 10:57:42 +01:00
Matt Westcott
49c5578b90 Release note for #7367 2021-08-03 19:56:07 +01:00
Karl Hobley
beeb6066ad Changelog / release note for #6843 2021-07-30 11:22:59 +01:00
Jesse Menn
1a7563406e
Converts inline panel anchor to button to make keyboard focusable. (#7346)
* Converts inline panel anchor to button to make keyboard focusable.

* Adds type='button' and undoes change to  expanding_formset.js.

* Release notes for #7346

Co-authored-by: Storm Heg <storm@stormheg.co>
2021-07-24 11:22:28 +02:00
Matt Westcott
2c4db8f2b1 Release note for #7361 2021-07-23 10:09:06 +01:00
Karl Hobley
bea17ac8b6 Add a log action for copy_for_translation operation (#7352)
Currently, when a user copies a page for translation, the 'copy' log action is used.

This adds a more specific 'copy_for_translation' operation to be used instead when the user is translating.
2021-07-21 16:22:55 +01:00
Karl Hobley
8ba4bbae57 Changelog / release note / contributor for #7302 2021-07-20 18:43:21 +01:00
Matt Westcott
f98bd6870d Release note for #7334 2021-07-14 13:16:02 +01:00
Matt Westcott
5a11ce0c5c Add release note section for 2.15 2021-07-13 17:10:47 +01:00