Karl Hobley
7423d72efe
Raise an error on save if a LogEntry is created with invalid action
...
This is just to catch mistakes as they're made. Not intended for database consistency.
2021-04-15 14:17:22 +01:00
Karl Hobley
f2f6167f5d
Allow different registries to be created for different object types
2021-04-15 14:17:17 +01:00
Karl Hobley
8a80196456
Moved LogActionRegistry into wagtailcore
...
Since logs are generated and stored in wagtailcore, I think it makes
sense for the list of available actions to be managed there too.
2021-04-15 13:58:02 +01:00
Matt Westcott
68862b5c79
Add missing changelog note for telepath streamfield
2021-04-15 11:09:51 +01:00
Karl Hobley
dd3caad56d
Release note for #6528
2021-04-15 11:07:41 +01:00
Matt Westcott
10d106ab43
Upgrade telepath to 0.0.3 for ES5 compatibility
2021-04-14 20:58:40 +01:00
Andy Babic
9630967e0e
Use resolve_url() instead of reverse() for pageurl fallbacks ( #7002 )
2021-04-14 15:26:11 +01:00
Coen van der Kamp
b1b69360a3
Add contrib simple translation ( #6528 )
2021-04-14 08:56:00 +01:00
Daniele Procida
4f8ef843d0
Update links to Diátaxis framework
...
Information about the documentation system is now maintained and updated
at https://diataxis.fr .
2021-04-12 14:34:04 +01:00
Karl Hobley
d30856d1b9
Changelog / release note for #6974
2021-04-09 11:00:49 +01:00
Dan Braghis
0ac4a989dc
Add CodeQL workflow ( #6977 )
...
CodeQL is GitHub's vulnerability scanning tool - https://codeql.github.com/docs/
2021-04-09 10:34:16 +01:00
Matt Westcott
485cf7e1cc
Add Vlad Podgurschi to contributors list
2021-04-08 17:04:21 +01:00
Matt Westcott
255a1e8641
Include submitter in workflow submitted email notification ( #6976 )
2021-04-07 19:42:06 +01:00
dependabot[bot]
2fe5683744
Bump y18n from 3.2.1 to 3.2.2
...
Bumps [y18n](https://github.com/yargs/y18n ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-07 09:13:44 +01:00
Karl Hobley
e01ee0bfc9
Use switch input widget on notifcation preferences form
2021-04-07 09:10:12 +01:00
Karl Hobley
46f4c935d8
Add switch widget
2021-04-07 09:10:12 +01:00
Thibaud Colas
b171cb2f5a
Move the IE11 support warning to the top of all Wagtail pages ( #6947 )
2021-04-06 23:43:02 +01:00
Karl Hobley
b6685e7d93
Pin docutils to 0.16
2021-04-06 18:32:38 +01:00
Karl Hobley
940a36db47
Tidy up page editor inline JS
...
Put it all in one function
Fix the indentation
Remove extraneous calls to `document.addEventListener`
2021-04-06 13:47:03 +01:00
Karl Hobley
ea1dd1a44d
Release note for #6908
2021-04-06 13:15:16 +01:00
Mike Brown
f0e2371c85
Fix reverse migration errors in images and documents ( #6908 )
...
* Fix reverse migration errors in images and documents
* iterate on choose_permission migration
Co-authored-by: Michael Brown <michael.brown3@oig.hhs.gov>
2021-04-06 09:25:41 +01:00
Karl Hobley
e973c3d544
Add a faint grey background on unfocused block headers
2021-04-01 17:26:36 +01:00
Karl Hobley
338797ff6b
Remove the grey background behind streamfields
2021-04-01 17:26:36 +01:00
Jake Howard
897ef63b01
Ignore venv from stylelint
...
`coverage` ships with a `style.scss`, which `stylelint` attempts to lint.
2021-03-31 20:50:26 +01:00
Storm Heg
1ff679f861
Add `wagtail.reorder` audit log action
...
This adds a special audit message for reordering pages.
Previously, reordering pages under the same parent would show the
slighly misleading message that the page was moved to the same parent.
A special page reordered message would be more appropiate in this case.
2021-03-31 18:48:44 +02:00
Storm Heg
520fa23ced
Include user in log entry when reordering pages
...
Include `request.user` so `Page.move() can include it in it's log entry.
This will prevent the log entry from having no acting user associated
with it (#6761 ).
2021-03-31 18:45:29 +02:00
Vlad Podgurschi
b213b8cc5a
Update StreamField Screenshot in Editor's Guide
2021-03-29 16:52:54 +01:00
Matt Westcott
eb18d37986
Implement getTextLabel on chooser widgets
2021-03-29 13:42:00 +01:00
Matt Westcott
0fa8508232
Implement getTextLabel on draftail widget
2021-03-29 13:41:53 +01:00
Matt Westcott
b219b60f95
Extract text labels from blocks to use in collapsed view
2021-03-29 13:41:39 +01:00
Matt Westcott
813621840c
Make sequence children collapsible
2021-03-29 13:41:24 +01:00
Samir Shah
0daae4a2b8
Allow a target variable to be specified for get_settings template tag. ( #6891 )
2021-03-26 23:28:07 +00:00
Kalob Taulien
4b6b1f23bd
Merge pull request #6936 from KalobTaulien/breadcrumb
...
Show current page in breadcrumb
2021-03-26 10:45:45 -06:00
Dale Evans
197e34be56
unpin beautifulsoup, allow <4.10 instead of <4.9
2021-03-26 14:22:01 +00:00
Kalob Taulien
5dc950538b
Trailing arrow on CreateView only
2021-03-25 13:18:58 -06:00
Susan Dreher
09431f7b22
Sanitize return_url ( #6909 )
2021-03-25 19:09:11 +00:00
Sagar Agarwal
400bc57536
Add type="button" to 'set privacy button' ( #6882 )
2021-03-25 14:01:27 +00:00
Sagar Agarwal
f9d1ec0bf7
Fix pagination url for 'view users in a group' ( #6880 )
2021-03-25 13:23:18 +00:00
Matt Westcott
571b9e1918
Add example of a widget adapter class
2021-03-23 18:57:53 +00:00
Matt Westcott
3e2c928e2f
Add StreamField context to block examples
2021-03-23 18:57:53 +00:00
Matt Westcott
9f084fff6d
Add StreamField to title of BoundBlocks page
2021-03-23 18:57:53 +00:00
Matt Westcott
746a95ede0
Release notes for telepath StreamField implementation
2021-03-23 18:57:53 +00:00
Matt Westcott
82002df7aa
Extend streamfield customisation docs to point to the widget API
2021-03-23 18:57:53 +00:00
Matt Westcott
0f75fb14f1
Add reference page for the client-side widget API
2021-03-23 18:57:53 +00:00
Matt Westcott
b3c39216f2
Create a 'streamfield' subsection within the reference docs
2021-03-23 18:57:53 +00:00
Matt Westcott
11d612e6d6
Extend explanation of StructValue
2021-03-23 18:57:53 +00:00
Matt Westcott
e190afd878
Fix backticks
2021-03-23 18:57:53 +00:00
Matt Westcott
c7fd13b20c
Split off StreamField customisation docs into a new page
2021-03-23 18:57:53 +00:00
Matt Westcott
30f6a66107
Add section on min_num / max_num / block_counts
2021-03-23 18:57:53 +00:00
Matt Westcott
241e06e9af
Fix references to block classes in release notes
2021-03-23 18:57:53 +00:00