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

3592 Commits

Author SHA1 Message Date
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
LB Johnston
307d0126a2 add ability to customise the pre-filled document title
- leveraging a custom DOM event provides the ability to update the title before being added to the form
- add documentation
- fixes #7508
- see also #4945
- update image docs for same behaviour to be more readable
2021-10-15 18:25:23 +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
Cynthia Kiser
c8d2562002 Create new permission policy CollectionMangementPermissionPolicy
Also updated tests, docs, and made a migration to move from model-level permissions to new granular collection management
2021-10-15 00:44:05 +01:00
Cynthia Kiser
a84c04af19 Document add, change, delete permissions when managing permissions 2021-10-15 00:26:37 +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
Matt Westcott
b57448eeef Fill in release date for 2.14.2 2021-10-14 17:14:14 +01:00
Matt Westcott
6197ada10d Fill in release date for 2.13.5 2021-10-14 17:13:44 +01:00
Matt Westcott
871da88a7f Release note for #7524 backport in 2.13.5 2021-10-14 17:02:09 +01:00
Matt Westcott
bf14954d80 Release note for #7524 in 2.14.2 2021-10-14 17:02:02 +01:00
Matt Westcott
7eab06de10 Release note for translation fixes in 2.14.2 2021-10-14 17:01:53 +01:00
Matt Westcott
b5e7af9ebc Release note for translation fixes in 2.13.5 2021-10-14 17:01:45 +01:00
Matt Westcott
20ef0dcf7f Document the COMMENTS_RELATION_NAME constant in 2.14.2 release notes 2021-10-14 17:01:33 +01:00
Matt Westcott
d3f2305601 Document the COMMENTS_RELATION_NAME constant in 2.13.5 release notes 2021-10-14 17:01:24 +01:00
Matt Westcott
740451c351 Release note for #7591 in 2.14.2 2021-10-14 17:01:05 +01:00
Matt Westcott
80d2f2bc36 Release note for #7591 in 2.13.5 2021-10-14 16:59:34 +01:00
Fab
77913bc220 Replace unneeded length filter
I asked the question about using the `length` filter in https://github.com/wagtail/wagtail/discussions/7598 and I'm thinking it may not be needed anymore with the current version of Django that Wagtail supports.
2021-10-14 13:25:03 +01: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
Karl Hobley
e2ddd52030 Updates to docs for new database search backend
A more detailed comparison of the features supported in different
databases will come later.
2021-10-11 20:12:24 +01: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
Karl Hobley
160b44ed09 Documentation for autocomplete API 2021-10-07 15:26:23 +10:00
Matt Westcott
b6b3a0c4ac Add support for Python 3.10
Quote all versions in test.yml (so that 3.10 isn't interpreted as 3.1)
2021-10-07 15:20:28 +10:00
LB Johnston
f453092d0c update hooks documentation to use mark_safe as no variables are used 2021-10-06 20:57: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
LB (Ben Johnston)
2eb7232055 Deployment docs - update wagtail getting started 2021-10-05 21:00:48 +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
37e19c3d71 Fix link to node.js download
https://nodejs.org/download/ just points to a directory listing now; the download link is now on the https://nodejs.org/ homepage, and there are no instructions to speak of.
2021-10-02 12:52:47 +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
Matt Westcott
1b9dfc81ba Add section about CSV exports to security docs
Security researchers frequently report CSV formula injection as a security vulnerability in Wagtail, but that's the responsibility of the software consuming the CSV, not creating it. Hopefully this explanation will stop them from doing that (or at least give us a ready-made response to point at when they do).
2021-10-01 06:38:32 +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