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

98 Commits

Author SHA1 Message Date
LB Johnston
e674b44acb Documentation - clean up small typos and whitespace issues
- some files had zero-width spaces
- fix one typo
- fix formatting / line breaks in some markdown
2022-10-13 22:41:33 +10:00
LB Johnston
2e8709e0d6 Documentation - update dead/redirected links 2022-10-11 20:44:08 +10:00
LB Johnston
666cc5e8e5 fix up legacy release note refs & use consistent format
- fix some broken refs that were lost in the migration to markdown files
- use lower_snake_case for all internal refs (most follow this convention)
- release process sub-section in docs should be named release schedule instead
2022-08-16 12:42:42 +01:00
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
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
Dan Swain
484ca159d2
Change 2.17 reference to 3.0 (#8389)
There will not be a 2.17 release
2022-04-19 16:56:51 +01:00
Matt Westcott
87dda77a2d Fill in release date for 2.15 2021-11-04 11:29:43 +00:00
Matt Westcott
abf408d8f6 Formally deprecate old db search backends (#7651)
As per #7633
2021-10-28 10:53:32 +01:00
Coen van der Kamp
ac928a443e Fix reference 2021-10-18 12:38:14 +01:00
LB Johnston
e8285b99f3 Revert "Upgrade modernizr" back to v2.6.2
This partially reverts commit 50f55507d8.
Fixes #7625
2021-10-18 12:29:19 +01:00
Thibaud Colas
f819d975dc
Add dedicated release notes section for Windows high contrast mode support (#7618) 2021-10-15 17:51:19 +01:00
Jacob Topp-Mugglestone
412c26201a Add changelog and release notes for bulk actions (#7615)
* Add changelog and release notes for bulk actions
2021-10-15 16:51:18 +01:00
Jérôme Lebleu
025a28f238 Set the bound field label with the heading argument
When a FielPanel is rendered as a field, the label is outputted with the
`bound_field.label_tag()` method. Thus, the field's label is not
overridden with the `heading` argument.

This attempts to fix that by set the `bound_field.label` property with
the `heading` argument.

Fix s#6855.
2021-10-15 23:43:17 +10:00
Matt Westcott
20ed834132 Release note for typed table block #7470 2021-10-15 14:33:00 +01:00
Shariq Jamil
c4422b2bec add border to comments dropdown
- for windows high contrast mode
- fixes #7458
2021-10-15 23:25:09 +10:00
Karl Hobley
ff76931aa4 Change log and release note for new database search backend 2021-10-15 11:15:03 +01:00
LB Johnston
b3366749d9 update release notes 2021-10-15 19:12:17 +10:00
Noah Hall
300163b845 replace hard-coded colors for admin filters with variables
- fixes #7584
2021-10-15 17:49:20 +10:00
Matt Westcott
f7fcae0a1d Release note for #6945 2021-10-15 01:16:33 +01:00
LB Johnston
5a7ae4280d add release notes for #7605 2021-10-15 07:07:00 +10:00
Matt Westcott
e17647e466 Formally define / use COMMENTS_RELATION_NAME as a constant on wagtail.core.models
Follow-up to #7591 as per https://github.com/wagtail/wagtail/pull/7591#issuecomment-943217628
2021-10-15 06:49:58 +10:00
Andy Chosak
5a65cb7554 Expose preview mode to page and template rendering
Currently Wagtail defines `request.is_preview` as a way for both page
rendering and template rendering to modify logic based on whether the
page is being previewed.

If a page supports multiple preview modes, though, the information about
which mode is being previewed isn't made available. So, for example,
it's not possible to customize `Page.serve` or `Page.get_context` based
on a different preview mode. Or, consider customizing
`Page.get_template` so that it uses a different page template depending
on the mode being previewed.

This commit adds `request.preview_mode` so that the mode is available
downstream of previews, both in the page rendering logic and also in the
template itself.

A minor documentation change mentions this new property.
2021-10-14 06:47:26 +10:00
Matt Westcott
ba3a527230 Release note for #7591 2021-10-13 19:10:56 +01:00
LB Johnston
196a368cdc add contributors for #7588 2021-10-13 17:54:04 +10:00
indreshp135
6e90c877ec fix issue with __prefix__ in nested inline panel
changed following:
change only first __prefix__ when multiple __prefix__ are present in
same name when orderable and blocks are nested

Co-authored-by: anirudhvs <54744932+anirudhvs@users.noreply.github.com>
Co-authored-by: CaptainIRS <36656347+CaptainIRS@users.noreply.github.com>

- fixes #7587
- fixes #5770
2021-10-13 07:37:27 +10: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
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
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
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
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
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
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