0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

60 Commits

Author SHA1 Message Date
Hugh Rawlinson
8e4a4fae5d Add release dates to release notes (#8692)
Fixes #8691

* Add dates to markdown based release notes
* Add dates to rst based release notes
2022-06-16 14:04:18 +02:00
LB Johnston
6d0659333d fix spelling - behaviour vs behavior
- documentation should be using the British english spelling
- most other spelling is `behaviour` so this aligns with the majority
2022-06-02 07:56:05 +10:00
LB Johnston
d9981e0ec7 fix up spelling in documentation & docstrings (should be en-GB not en-US)
- customize -> customise
- color -> colour
- customizing -> customising
- organize -> organise
2022-05-13 08:13:06 +10:00
Storm Heg
24ef0e62e6 Fix documentation indentation
Fix code block indentation in tutorial.rst

Prevent it from being displayed as a quote.

Fix indentation in pages.rst

Fix indentation in indexing.rst

Fix indentation in searching.rst

Fix indentation in backends.rst

Fix indentation in renditions.rst

Fix indentation in custom_image_model.rst

Fix indentation in feature_detection.rst

Fix indentation in image_serve_view.rst

Fix indentation in custom_document_model.rst

Fix indentation in i18n.rst

Fix indentation in privacy.rst

Fix indentation in page_editing_interface.rst

Fix indentation in rich_text_internals.rst

Fix indentation in extending_hallo.rst

Fix indentation in configuration.rst

Fix indentation in usage.rst

Fix indentation in theory.rst

Fix indentation in model_reference.rst

Fix indentation in queryset_reference.rst

Configure editors to indent .rst files with 2 spaces

In order for the documentation to be styled correctly, the generator
depends on indentation. Too much indentation can result in the content
being wrapped in a quote block, which looks bad.

Fix indentation in sitemaps.rst

Fix indentation in frontendcache.rst

Fix indentation in routablepage.rst

Fix indentation in table_block.rst

Fix routablepage.rst autodocs disppearing

Fix indentation in table_block.rst

Fix indentation in redirects.rst

Fix indentation in table_documentation-modes.rst

Fix indentation in browser_issues.rst

Fix indentation in release_process.rst

Fix indentation of release notes

One more indent fix in the release notes

Fix indentation warnings

Fix warning about undefined label in docs

Error during `make html`:

  wagtail/docs/releases/1.7.rst:25: WARNING: undefined label: jpeg_image_quality
2021-02-26 09:17:00 +00:00
Karl Hobley
6e5f89adf2 General spelling fixes 2020-10-03 14:43:03 +01:00
Matt Westcott
29741f57af Fill in release date for 2.6 2019-08-01 10:47:07 +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
Tom Dyson
6d7a82cfb2 Fix update docs typo
Only two Ss in accessor. Also make quotes consistent.
2019-07-09 17:50:24 +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
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