Wykres commitów

1256 Commity (29741f57afd1ee88d0c370b21b938dace7b6087a)

Autor SHA1 Wiadomość Data
Matt Westcott 29741f57af Fill in release date for 2.6 2019-08-01 10:47:07 +01:00
Matt Westcott 4767557217 Fill in release date for 2.5.2 2019-08-01 10:46:33 +01:00
Matt Westcott d75754a19b Add release notes for 2.5.2 2019-07-30 14:08:52 +01:00
Thibaud Colas db9b582912 Delay dirty form check data snapshot to avoid race conditions. Fix #4978 (#5469)
User interaction with the form within the 10s delay also won’t trigger the confirmation message. There will still be race condition issues if form widgets like rich text take 10+ seconds to initialise – but that doesn’t seem likely.
2019-07-30 12:45:11 +01:00
Catherine Farman f53dd95696 Change StreamField group labels color so labels are visible. Fix #5455 (#5462)
* use lighter grey for streamfield group label for accessible contrast
2019-07-26 16:39:11 -04:00
Rodrigo 1a2bf525f2 Add https support for scribd oembed provider (#739)
Currently scribd defaults to https for their sharing links - http still works but if you copy&paste quickly you may think it's broken
2019-07-25 14:19:07 +01:00
Matt Westcott 1468cab3a1 Release note for #5431 2019-07-25 10:46:41 +01:00
Daniele Procida 72db52371a Updated feature detection notes 2019-07-21 18:03:09 +10:00
Michael van Tellingen 9cd2fc2c82 Add a `construct_page_listing_buttons` hook
This hook mimics the functiolity provided by `construct_page_action_menu`
in that it constructs the final list of buttons to be shown in the wagtail
admin interface.  This means that within this function button's can be
removed, added or re-ordered.

See #4925
2019-07-21 17:40:26 +10:00
Matt Westcott 772b76ef00 Add 2.7 section to changelog and release notes 2019-07-09 16:51:48 +01:00
Fidel Ramos baee103024 Optimize admin.navigation.get_explorable_root_page
Testing the queryset in the if clause was causing the whole queryset
to be retrieved and populated from DB, all to check whether it was empty
or not.

The optimization is to rely on the strict behavior of
first_common_ancestor, which raises an exception if the queryset is
empty.
2019-07-09 11:57:40 +01:00
Andrew Miller b9816d194a Don't make assumptions about the username field
The USERNAME_FIELD exists to allow customisation. Therefore we should make an assumption that `.username` exists on the model. Instead, we need to pull the required value from the USERNAME_FIELD and add in a fallback default.
2019-07-08 20:11:14 +01:00
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
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