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
Matt Westcott
cd4e77033f
Expand title
...
"How to use StreamField" is a pretty useless title unless you already know what StreamField is, in which case you don't need the howto... I'll go with "How to use StreamField for mixed content" so that it's at least vaguely result-focused (while still keeping "how to" and "StreamField" as keywords).
2021-03-23 18:57:53 +00:00
Matt Westcott
a3b6a15b8e
Add howto documentation for StructBlock / ListBlock / StreamBlock
2021-03-23 18:57:53 +00:00
Matt Westcott
f3e33f849f
Convert StreamField reference to proper class definition markup
2021-03-23 18:57:53 +00:00
Matt Westcott
37c2326150
Split up StreamField documentation [skip ci]
2021-03-23 18:57:53 +00:00
Jacob Topp-Mugglestone
2d6dc1679a
Merge pull request #6934 from wagtail/react-redux-update
...
React redux update
2021-03-23 10:54:03 +00:00
flocker1
9cf1ddf7e2
Fixed spelling ('Haloween' -> 'Halloween')
2021-03-23 08:58:48 +00:00
Andy Babic
26561b2ea5
Remove redundant 'filter_page_type' helper methods
2021-03-23 08:57:48 +00:00
Karl Hobley
47b9c040ec
Update React Redux to 7.2.2
2021-03-19 17:10:57 +00:00
Kalob Taulien
d8d6fe0a65
Show current page in breadcrumb
2021-03-19 10:13:44 -06:00
Karl Hobley
7b0d671100
Update React to 16.14
2021-03-19 14:01:50 +00:00
Matt Westcott
ee71bd3d07
Add 'disabled' styles for streamfield controls
...
Follows on from #6802 and #6799 .
2021-03-17 23:32:59 +00:00
Matt Westcott
d3e58f7908
Delay slidedown animation to fix layout
...
Without this, the animation expands from somewhere in the middle of the block
2021-03-17 23:32:59 +00:00
Matt Westcott
f18a15e142
Animate ListBlock / StreamBlock insertion controls on insert/delete
...
This reduces the jumpiness on insertion and deletion. For nested sequences, it's not possible to eliminate the jump entirely without editing the CSS, because the insert button is `display: inline-block` which gives it a minimum height of the containing block's line-height - as a result, this spacing appears immediately as soon as the block changes from display:none to visible.
2021-03-17 23:32:59 +00:00
Matt Westcott
7361b0901f
Make animation an explicit flag on deleteBlock / duplicateBlock (and test in non-animated mode)
2021-03-17 23:32:58 +00:00
Matt Westcott
773da59107
Update lint comments for typescript-eslint
2021-03-17 23:32:58 +00:00
Matt Westcott
d5c174e027
Don't focus date pickers when adding new blocks
...
While focusing on the first child field of a new block is generally a good thing, focusing a date field opens the date picker, which looks clunky when you've not explicitly requested it. Introduce a 'soft' focus flag to indicate that we only want to focus the field if it can be done unobtrusively.
2021-03-17 23:32:58 +00:00
dex
019e2eab42
Duplicate block - editor docs
2021-03-17 23:32:57 +00:00
Karl Hobley
ca3d6df80f
Telepath: Catch JavaScript errors from widget rendering
2021-03-17 23:32:57 +00:00
Matt Westcott
30fee96d37
update telepath-unpack to 0.0.2 to fix module imports
2021-03-17 23:32:57 +00:00
Matt Westcott
f2ddbe74fd
install telepath from pypi
2021-03-17 23:32:57 +00:00
Matt Westcott
ba9487b753
Move telepath.py into an external package
2021-03-17 23:32:56 +00:00
Matt Westcott
31a6e5b0a8
Move telepath.js into an external package
2021-03-17 23:32:56 +00:00
Matt Westcott
56ea3feca3
Support customising media handling on AdapterRegistry
2021-03-17 23:32:56 +00:00
Matt Westcott
b82348e307
Add an AdapterRegistry class to replace the global adapters dict
...
This will allow packages such as Wagtail to define their own 'sandboxed' registries containing package-specific adapters - in Wagtail's case we want this so that we can take over the details of serving static JS (so that we don't need to add telepath to INSTALLED_APPS and can use the Wagtail-specific versioned_static helper).
2021-03-17 23:32:55 +00:00
Matt Westcott
3ac3ffd005
Eliminate top-level uses of versioned_static. Fixes #6801
2021-03-17 23:32:55 +00:00