0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

50 Commits

Author SHA1 Message Date
William Blackie
3754d34caa Search query normalisation no longer removes punctuation #5416 2019-07-04 16:53:27 +01:00
Michael Hearn
10bbfec93c Also add change event to timepicker and datepicker 2019-07-03 16:10:41 +01:00
Jonny
851bd5f24d Added missing is_stored_locally() to AbstractDocument 2019-07-03 15:53:51 +01:00
jordan_bauer
0dac8f0764 added construction_hook_name to settings_menu (#5384) 2019-06-25 12:04:53 +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
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
11af8123f7 Release notes for #5183 2019-06-20 16:06:59 +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
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
jordan-bauer
998440cfa9 Remove buggy tab order customisations in CMS admin (#5383, #5351) 2019-06-18 12:49:16 +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
Andy Babic
fdd8ddc2b1 Release notes for #5373 2019-06-13 13:56:49 +01:00
Thibaud Colas
4349c6c4dd Add release notes for #5356 2019-06-12 18:31:32 +01:00
Andy Babic
2115d57c3e Release notes for #5208 2019-06-08 18:03: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
Dillen Meijboom
dd1597ea37 Implemented branding title prefix customization (#5344) 2019-06-07 17:06:00 +01:00
Matt Westcott
13133dad5b Release note for #5361 2019-06-07 16:22:44 +01:00
Helen Chapman
669c1af4a0 Remove menu role from page edit action menu (#5354, #5327) 2019-06-05 19:11:55 +01:00
Thibaud Colas
e191582b94
Add a "Dashboard" label for logo link in the main nav for screen reader users (#5349)
* Use the correct link label for Dashboard link in main nav
* Remove dashboard link title with Wagtail version number
2019-06-04 21:51:18 +01:00
Thibaud Colas
e0f84389bb Release notes for #5317 2019-05-28 11:53:26 +01:00
Thibaud Colas
c9e740324c Release notes for #5304 2019-05-23 17:12:58 +01:00
Matt Westcott
c109dd3495 Add form field prefixes for input forms in chooser modals
Update chooser modal JS to use field IDs with prefixes

Note that the tag field JS no longer needs to be initialised here, as that's done in AdminTagWidget's inline JS
2019-05-23 18:03:59 +10:00
Matt Westcott
4cb308bf66 Move date / time widget initialiser JS into the widget's form media
This allows them to work on pages that do not include _editor_js.html (or page-editor.js). However, wagtailadmin/shared/datetimepicker_translations.html will still be required in order to localise the date picker UI.

Move datepicker translations to admin_base.html
2019-05-23 17:12:47 +10:00
LB Johnston
d57c7c59f3 Update changelog/contributors & release notes with recent contributions 2019-05-23 16:58:19 +10:00
Kalob Taulien
9489cb0758 Added ButtonHelper example code 2019-05-23 07:18:50 +10:00
Thibaud Colas
e71fed541c Add release notes for #5292 2019-05-20 15:32:52 +01:00
Thibaud Colas
70a749b10a Add release notes for #5290 2019-05-14 14:16:10 +01:00
Deniz Dogan
0840b1a355 Add type check to get_rendition_or_not_found
Fixes #5222
2019-05-10 16:04:37 +01:00
Alex Tomkins
4891db0d89 Improve EditHandler __repr__
The string of self.form is the same as form.as_table - which is too verbose.

This updates the __repr__ of EditHandler/FieldPanel to show the class name of the form being used instead (or NoneType if it's None).
2019-05-10 15:35:52 +01:00
Seb
5e15984074 Add type to chunk_size arg for update_index 2019-05-10 14:58:28 +01:00
rinti
1b22794da2 Add correct dir attribute to html tag in admin 2019-05-10 14:47:10 +01:00
Thibaud Colas
3508f0bdbd Add release notes for #5287. Fix #5258 2019-05-10 14:37:11 +01:00
Matt Westcott
51d8cac6f4 Release note for #4906 2019-05-03 16:56:46 +01:00
Michael Hearn
7c9c00ab7c Don't show pages in explorer that user has no permissions to access
Partially addresses #4660
2019-05-03 11:42:38 +01:00
Deniz Dogan
74ce4adb6b Fix playful tail wag animation
Fixes #3780
2019-04-30 07:49:10 +10:00
Alex Tomkins
0644f90bef Revise test decorator used in TestPageEditHandlers
- Fix clear_edit_handler decorator
- Will  allow the TestPageEditHandlers test cases to run
- Fixes test for test_check_invalid_base_form_class
- Errors might be returned out of order, so sort them before comparing them to the expected list
2019-04-25 21:24:32 +10:00
Adrian Brunyate
d3b8bcb689 Round dimensions for images when scaling.
Add hook for validating image operations.
2019-04-25 11:31:38 +10:00
Kevin
31885d6f4e Add color-white to wagtail-version so it's visible (#5236). Fix #5189 2019-04-24 15:40:09 +01:00
Matt Westcott
14cb03b539 Stop ModelAdmin from failing when filtering over a foreign key relation
Supersedes #4998
As per https://github.com/wagtail/wagtail/pull/4998#issuecomment-471005219, the implementation of `lookup_allowed` is flawed and breaks on some valid lookups while allowing invalid ones. We are therefore better off removing that validation entirely.
2019-04-12 18:56:56 +01:00
nmorduch
2668c05146 Rearrange SCSS structure according to ITCSS 2019-04-11 11:08:47 +02:00
Andy Babic
f1c7b002d8 changelog and release note updates for #5147 2019-04-10 21:29:41 +01:00
Matt Westcott
a304f0f9f8 Remove support for Python 3.4 2019-04-10 17:39:53 +01:00
Matt Westcott
de1a674b0b Add 2.6 section to changelog and release notes 2019-04-10 17:39:11 +01:00