Wykres commitów

3568 Commity (e2ddd520305d64f2541a59493042c8de6a253eb8)

Autor SHA1 Wiadomość Data
Karl Hobley e2ddd52030 Updates to docs for new database search backend
A more detailed comparison of the features supported in different
databases will come later.
2021-10-11 20:12:24 +01:00
Jérôme Lebleu a714de8038 Use SVG icon instead of font icon in modeladmin index view
- This uses the same classes and tags than 'wagtailadmin/shared/header.html'
- constructs the <header> element and its children and blocks to that convention
2021-10-10 13:12:51 +10:00
Fabien Le Frapper 50f55507d8 Upgrade modernizr and jquery
- https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/
- https://github.com/Modernizr/Modernizr/compare/v2.6.2...v2.8.3
2021-10-10 13:01:53 +10:00
LB Johnston 443f5b3fa0 add missing release notes items
- items included in changelog but not in 2.15 release notes
2021-10-10 12:53:37 +10:00
Sakshi Uppoor da1e4d9a99
Fix toggle switch bug in high-contrast mode (#7561)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-10-08 22:32:55 +01:00
Jérôme Lebleu 5522992c29 Use SVG icons in StreamField buttons and headers
- Simplify rendering of .c-sf-button and its elements
- replaces the rendering of `.c-sf-button` as a flexbox by a simple
- block element - as it is enough here - and moves text related rules to the <button> element.
- Use SVG icon in StreamField's action buttons
2021-10-07 17:04:13 +10:00
Dmitrii F 932762c9f1 windows high contrast mode - multiple fixes
- fix search header field border in Windows High Contrast mode
- fix tab-nav active in Windows High Contrast mode
- add border for c-sf-button. This fix view in WHC mode.
- add justify-content - center for better view on mobile devices.
2021-10-07 15:59:14 +10:00
LB Johnston 02d6d27a9c add release notes
- autocomplete API - #4937 & #5960 & #4938
- Python 3.10 #7577
- unit tests #7578
2021-10-07 15:42:32 +10:00
Karl Hobley 160b44ed09 Documentation for autocomplete API 2021-10-07 15:26:23 +10:00
Matt Westcott b6b3a0c4ac Add support for Python 3.10
Quote all versions in test.yml (so that 3.10 isn't interpreted as 3.1)
2021-10-07 15:20:28 +10:00
LB Johnston f453092d0c update hooks documentation to use mark_safe as no variables are used 2021-10-06 20:57:32 +10:00
LB Johnston e03c86f3f8 add ability to customise the pre-filled Image title
- leveraging a custom DOM event provides the ability to update the title before being added to the form
- multiple image upload (view) needs to be able to read the title POST data
- add documentation
2021-10-06 19:53:30 +10:00
LB (Ben Johnston) 2eb7232055 Deployment docs - update wagtail getting started 2021-10-05 21:00:48 +10:00
Matt Westcott 9aa2f68dfa Release note for model audit logging 2021-10-04 14:01:25 +01:00
Matt Westcott 4db9be469f Release note for #7409 2021-10-04 13:01:19 +01:00
LB Johnston 3e2012373a update documentation & 2.15 release to drop IE11 support
- update browserslist
- fixes #6170
2021-10-04 12:35:58 +01:00
LB Johnston 3ef14c0d62 fix typo in changelog 2021-10-04 19:53:29 +10:00
Nick Smith 781c2d14d3 Add How-To instructions for landing-page redirects
This uses both the forms and routable_page contrib modules to redirect
without using a separate landing page.
2021-10-04 14:12:28 +10:00
Matt Westcott 37e19c3d71 Fix link to node.js download
https://nodejs.org/download/ just points to a directory listing now; the download link is now on the https://nodejs.org/ homepage, and there are no instructions to speak of.
2021-10-02 12:52:47 +10:00
Matt Westcott 6cb463dd41 Document the new 'log' method 2021-10-01 16:30:05 +01:00
Matt Westcott f8e7a049c0 Release note for #7540 2021-10-01 16:28:20 +01:00
Coen van der Kamp f1175658bc Add release note about default Dutch (nl) 2021-10-01 13:19:39 +01:00
LB Johnston a8636781b0 release notes for #7554 & #7545
- #7554 & #7545
2021-10-01 07:23:53 +10:00
Daniel 381b11f54f Include custom permissions hook documentation 2021-10-01 06:52:43 +10:00
Matt Westcott 1b9dfc81ba Add section about CSV exports to security docs
Security researchers frequently report CSV formula injection as a security vulnerability in Wagtail, but that's the responsibility of the software consuming the CSV, not creating it. Hopefully this explanation will stop them from doing that (or at least give us a ready-made response to point at when they do).
2021-10-01 06:38:32 +10:00
Joe Howard 4ab7080fb8 Documentation - Remove ambiguity about ModelAdmin templates
- The modeladmin folder needs to be inside the templates folder of the relevant app.
- The way it was written makes it seem like /modeladmin/ should be placed in the project root directory.
2021-09-30 21:32:57 +10:00
JaneLiu 92381698d0 Add code example for `before_delete_page` hook 2021-09-30 21:15:33 +10:00
Fabien Le Frapper cbd7b028d5 images - move shared file handling methods to mixins
- add ImageFileMixin to house contextmanager (file opening & willow image handling) + is_stored_locally method
- use mixin in AbstractImage & AbstractRendition
2021-09-30 19:11:37 +10:00
Matt Westcott 81f8f99215 Link to Github discussion boards 2021-09-30 19:00:18 +10:00
Kamil Marut 8d42bec5e6 Add "other permissions" to group permissions
- instead of a separate table containing all discrete permissions for each object, show these in the object's table
- Wagtail admin access will still show inside 'other permissions'
- resolves #5482
2021-09-30 18:54:46 +10:00
Desaiakshata 997ac738b0 dropdown - improve focus and high contrast mode visibility
- Update _dropdown.legacy.scss
- improvement to existing styles for dropdown/up button on focus and windows high contrast mode
- see #7366
2021-09-30 08:12:00 +10:00
Karl Hobley 607d356076 Changelog / release note for #7548 2021-09-29 12:02:59 +01:00
Mitchel Cabuloy d026632894
Add page synchronization to simple_translation 2021-09-29 11:43:45 +01:00
Stefan Hammer f533726de3 Add missing bind_to call to PreviewOnEdit
Added test for page preview with custom edit handlers
fixes #7537
2021-09-28 08:17:59 +10:00
Matt Westcott 3b972775fc Deprecate passing callables as log messages 2021-09-27 19:54:25 +01:00
Matt Westcott 0380f01b24 Allow specifying a format for the label of a collapsed StructBlock
Currently, the label shown for a StructBlock's collapsed representation takes its content from the first sub-block of the StructBlock, which isn't always what you want. Add a new `label_format` meta option to StructBlock to allow customising this - e.g. `label_format = "Profile for {first_name} {surname}"`
2021-09-27 19:07:14 +01:00
Scott Cranfill 27c3e7921a Docs: Clarify Jinja2 template configuration
Emphasizing and clarifying some parts that are easy to overlook, based on a Slack support conversation.
2021-09-26 20:48:28 +10:00
Victor Miti f59658c6ca Adding Notifications docs - update sample code
Update sample code in the section
Extending Wagtail -> Adding new Task types -> Adding notifications

The previous example did not work because of changes in
`wagtail.admin.mail`

`EmailNotifier` doesn't exist, so we need to import
`EmailNotificationMixin` and `Notifier` instead, and
update `BaseUserApprovalTaskStateEmailNotifier`
accordingly
2021-09-26 20:46:29 +10:00
Victor Miti bb802509d2 Model Reference docs - correct field name
change `page revision` to `page_revision`
on the `TaskState` model
2021-09-26 20:46:29 +10:00
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