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

9318 Commits

Author SHA1 Message Date
Tom Dyson
08a301b3ce Clarify new three month release policy 2019-06-25 12:10:34 +01:00
jordan_bauer
0dac8f0764 added construction_hook_name to settings_menu (#5384) 2019-06-25 12:04:53 +01:00
Mikalai Radchuk
9291f95b7e
Update CONTRIBUTORS.rst 2019-06-24 14:05:48 +01:00
Helen Chapman
3bd058f9d8 Rename _utilities.hidden.legacy.scss to _utilities.visuallyhidden.scss (#5404)
We will always need visuallyhidden styles for screen readers.
2019-06-24 12:45:02 +01:00
Helen Chapman
6ec4ae0c32 Add screen-reader labels across multiple parts of the UI (#5274, #5339, #5372) 2019-06-21 16:29:00 +01:00
Karl Hobley
4f1a9d1bfd Try pip install --user 2019-06-21 11:31:04 +01:00
Karl Hobley
229c845481
Added CI config to generate nightly builds from master (#5320)
* Added CI config to generate nightly builds from master

* Fix typo

* Don't write __init__.py directly

We need to import the original in the script

* Update wagtail.utils.version

This is based off a copy from Django master made just now and adds
support for 'dev' versions.
2019-06-21 11:13:34 +01:00
Helen Chapman
1e85ff454c Move focus to the pages explorer menu when open (#5336, #5394)
* Ensure that when you open the explorer the focus moves to the first link of the menu, and add a label for the explorer navigation
* Add dialog role to pages explorer popup, and ensure that there is an option to close the dialog window when tabbing by making the close button visually hidden rather than display none
2019-06-20 18:02:28 +01:00
Helen Chapman
28cdf9c212 Improve screen-reader labels for action links in page listing (#5274, #5380) 2019-06-20 17:33:18 +01:00
Andy Babic
af415c7d19 Release notes for #5203 2019-06-20 16:33:09 +01:00
Andy Babic
4f762dc1ac Tests for #5203 2019-06-20 16:25:07 +01:00
Karl Hobley
d008cc7e21 Implement Page.with_content_json and add to docs (fixes #5199) 2019-06-20 16:24:04 +01:00
Andy Babic
11af8123f7 Release notes for #5183 2019-06-20 16:06:59 +01:00
Andy Babic
8034d00e78 Add tests for Page.copy() process_child_object and exclude_fields 2019-06-20 15:53:55 +01:00
Andy Babic
78425725c9 Provide the original and copied pages to process_child_object() 2019-06-20 15:51:02 +01:00
Karl Hobley
593d58c1bb Add "exclude_fields" parameter to Page.copy
Also, make the excluded fields take effect on child relations as well
2019-06-20 15:51:02 +01:00
Karl Hobley
9ff6b0d499 Add process_child_object method to Page.copy 2019-06-20 15:51:02 +01:00
Thibaud Colas
e2f14057a4
Add dedicated accessibility section to v2.6 release notes (#5402) 2019-06-19 17:31:20 +01:00
Helen Chapman
e33732cc63 Add more contextual information for screen readers in the explorer menu’s links (#5335, #5386) 2019-06-19 15:19:41 +01:00
Jonny Scholes
4ef9919240 Refactor submenu JS to remove jquery dep and move to wagtail-client (#5254) 2019-06-19 12:30:39 +01:00
Thibaud Colas
722321c3ff
Re-add loading of Wagtail icon font for userbar. Fix #5397 (#5398) 2019-06-19 10:04:52 +01:00
Fidel Ramos
41f80af5db Optimization of UserPagePermissionsProxy.revisions_for_moderation (#5311)
revisions_for_moderation() was iterating over Page instances only
to use their path attribute. The optimization uses values_list()
over the GroupPagePermission queryset to retrieve only the page
paths without having to create the model instances in memory. This
saves roughly 50% of the runtime.
2019-06-18 20:14:54 +01:00
Helen Chapman
4a1f26778f Add labels to permission checkboxes for screen reader users (#5329, #5395)
- adds a fieldset around checkboxes with the same name
- add correct labels for object permissions table
- Ensure that image and document permissions labels display correctly, and ensure that labels for the dropdowns for document and image collections are not display:none
- Hide labels from sighted users in group edit / group add pages
2019-06-18 18:23:36 +01:00
John Carter
17e541715a Fix spelling (#5393) 2019-06-18 17:48:10 +01:00
Coen van der Kamp
3eb71d702e
Merge pull request #5378 from thibaudcolas/bug/icon-help-inverse-5359
Fix help-inverse icon regression introduced by icon refactorings in #5359
2019-06-18 14:06:01 +02:00
jordan-bauer
998440cfa9 Remove buggy tab order customisations in CMS admin (#5383, #5351) 2019-06-18 12:49:16 +01:00
Andy Babic
73e07ba10d
Fix elasticsearch search backend tests broken by #5208 2019-06-17 22:17:59 +01:00
Helen Chapman
98d3ef4743 Ensure the 'add child page' button displays when focused (#5274, #5382) 2019-06-17 18:11:04 +01:00
Helen Chapman
4b4db7d771 Adds screen-reader-only text to the close button for modals (#5274, #5377)
* Adds clearer text to the close button for modals
* Use existing wagtailConfig.STRINGS to store the new translatable string for JS, rather than introducing a new library.
* Update list of string constants for translation in the tests file
* Remove aria-hidden on modal dialog close button
2019-06-17 15:56:48 +01:00
Matt Westcott
77a3bf60ca Add form media to users/edit.html (#5390) 2019-06-17 15:12:02 +01:00
Eric Dyken
eba3357fd4 Adds Collections section to editor's guide 2019-06-17 10:13:49 +01:00
Andy Babic
fdd8ddc2b1 Release notes for #5373 2019-06-13 13:56:49 +01:00
George Hickman
3624558e00 Expose Permission object in format_permssions tag
A checkbox (specifically, a BoundWidget) is instantiated with data from
a django.contrib.auth.models.Permission instance.  However it doesn't
receive the full object so it isn't available in the template.  This
stops a user from accessing useful values like Permission.name.

This adds the relevant Permission object to the template in a dict for
ease of access.
2019-06-13 13:47:27 +01:00
Thibaud Colas
c5e60ca1d4 Fix help-inverse icon regression introduced by icon refactorings in #5359 2019-06-12 18:41:51 +01:00
Thibaud Colas
4349c6c4dd Add release notes for #5356 2019-06-12 18:31:32 +01:00
Helen C
c806f1008f Fix styling and js regressions on page editor, and restore scheduled publishing special icon style 2019-06-12 18:31:32 +01:00
Thibaud Colas
5adda1af43 Fix regression for unpublished pages styles & revision index item 2019-06-12 18:31:32 +01:00
Helen C
36db643f20 On the images page, use a figcaption rather than a heading for the image description 2019-06-12 18:31:32 +01:00
Helen C
d3ccedd5ae Remove unnecessary heading elements from the site listing page and the snippet index page. 2019-06-12 18:31:32 +01:00
Helen C
daf53ed5f4 Ensure navigation submenu titles correctly label the relevant subnavigation items 2019-06-12 18:31:32 +01:00
Helen C
c82f7fded3 Remove h2s from tabbed interface. This also reverts a styling change to the tabs that their addition had caused. 2019-06-12 18:31:32 +01:00
Helen C
6e32c6749b Ensure navigation headings on search results correctly label the relevant nav element 2019-06-12 18:31:32 +01:00
Helen C
7e19f28ff5 Remove heading element wrapped around label element in order to resolve resulting incorrect heading structure. 2019-06-12 18:31:32 +01:00
Beth Menzies
1e5612ff90 adjust heading structure to be more accessible 2019-06-12 18:31:32 +01:00
kevinhowbrook
e8c64e593d Missing class imports 2019-06-11 11:53:19 +01:00
Andy Babic
13b485a2a9 Fix sphinx errors 2019-06-08 18:27:42 +01:00
Andy Babic
2115d57c3e Release notes for #5208 2019-06-08 18:03:24 +01:00
Seb
b839bd65bb Add support for custom search handler classes to ModelAdmin's IndexView
Author:    Seb <seb@takeflight.com.au>
Date:      Sun Apr 7 12:34:00 2019 +1000
2019-06-08 17:57:24 +01:00
Helen Chapman
ed7ca7ccea Stop repeating label, add image dimensions in image gallery & choosers for screen reader users (#5355)
- Images in the image listing now have an empty alt tag
- All information about the image, including title and image dimensions are now in the heading below
- The dimensions are visually hidden because they only relevant to screen readers, as sighted users can get and idea of the image dimensions from the thumbnail
2019-06-07 18:24:33 +01:00
Thibaud Colas
63635644cd
Add release notes for #5359 (#5363) 2019-06-07 18:13:04 +01:00