Noah Hall
37245d8546
move generate_signature and verify_signature from images/views/serve to images/utils
2020-10-10 14:56:36 +01:00
Matt Westcott
7be5363dac
Avoid retranslating month / weekday names that Django already provides ( #6301 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-10-09 14:16:40 +01:00
Karl Hobley
c170c50c78
Add view for converting aliases into regular pages
2020-10-08 10:24:58 +01:00
Karl Hobley
47b681ca27
Prevent editing alias pages
2020-10-08 10:24:58 +01:00
Karl Hobley
1ae437231c
Add "Alias" boolean field to page copy to allow creation of alias pages
2020-10-08 10:24:58 +01:00
Karl Hobley
b5eddca28b
Synchronise alias page content when the source is updated
2020-10-08 10:24:58 +01:00
Karl Hobley
7af655d0d1
Update Page.copy_for_translation to create parents as aliases
2020-10-08 10:24:58 +01:00
Karl Hobley
674fa8e27a
Add Page.create_alias method
2020-10-08 10:24:58 +01:00
Karl Hobley
17f63f0efc
Add alias_of field to Page
2020-10-08 10:24:58 +01:00
Karl Hobley
77610d1e64
Changelog / Release notes for #6434 and #6442
2020-10-06 16:02:48 +01:00
Sævar Öfjörð Magnússon
9d10e28214
Update wagtail app list to match installed apps in documentation
2020-10-06 15:03:39 +01:00
samgans
bff6766360
(FIX): Page Copy does not trigger page_published signal ( #6434 )
2020-10-06 15:02:26 +01:00
Sævar Öfjörð Magnússon
bcf1fab77f
Add a check for a string value in Elasticsearch 'URLS' setting
2020-10-06 15:01:58 +01:00
Karl Hobley
f2dfff8061
Flake8 all other Python files
2020-10-05 14:27:50 +01:00
Matt Westcott
dd42d91663
Release note / additional fix for #6339
2020-10-05 14:25:33 +01:00
Frantisek Holop
07a4b41444
deprecated
2020-10-05 14:23:50 +01:00
Frantisek Holop
1e22702bd6
django 3.1 deprecates django-admin.py
2020-10-05 14:23:50 +01:00
Matt Westcott
dd442a3990
remove trailing whitespace to placate doc8
2020-10-05 12:44:57 +01:00
jacobtoppm
c5a7584553
Add changelog and contributor for #6423
2020-10-05 12:36:54 +01:00
Sævar Öfjörð Magnússon
610cf07a85
Remove reference to photographer credit in documentation, add reference to title
2020-10-05 12:34:26 +01:00
Sævar Öfjörð Magnússon
cbe5c109dc
Fix incorrect reference to edit fields in image documentation
2020-10-05 12:34:26 +01:00
meghanabhange
f1fbbcbc24
Add validation for file extension in AbstractDocument using WAGTAIL_DOCS_EXTENSIONS setting ( #6423 )
2020-10-05 12:26:00 +01:00
Karl Hobley
aafb5fb1eb
Change docs code block style to 'default'
2020-10-05 11:21:07 +01:00
Karl Hobley
cf38b2457d
Put quotes around some inline code
2020-10-03 14:43:03 +01:00
Karl Hobley
181b523faf
Add more names and jargon to spelling wordlist
2020-10-03 14:43:03 +01:00
Karl Hobley
72ef7a73e8
ElasticSearch => Elasticsearch
2020-10-03 14:43:03 +01:00
Karl Hobley
39d931d77d
Javascript => JavaScript
2020-10-03 14:43:03 +01:00
Karl Hobley
6e5f89adf2
General spelling fixes
2020-10-03 14:43:03 +01:00
Karl Hobley
00c5445b28
Update pyenchant
2020-10-03 14:43:03 +01:00
Karl Hobley
9195131738
Lint docs with doc8
2020-10-03 14:43:03 +01:00
Matt Westcott
21f66a0d64
Add missing bind_to(instance) to ModelAdmin edit view
...
Fixes #6413 . Following the refactor in 80cc70b7ce
this was not being called - this is necessary to propagate the instance down nested edit handlers.
2020-10-02 19:42:59 +01:00
Karl Hobley
8251b4a6c7
Changelog / Release note / Contributor for #6420
2020-10-01 18:53:35 +01:00
samgans
7022d0e37a
Fixed an issue with copying unsaved Pages ( #6420 )
2020-10-01 17:14:12 +01:00
Karl Hobley
e508cbc9c9
Allow ignoring a page when finding an available slug
...
This is useful for when using this function to update a pages slug
2020-10-01 17:13:08 +01:00
Cynthia Kiser
b817e869bf
Open preview in new window ( #6395 )
...
Make this preview button match the other Preview/Draft/Live buttons in admin UI
2020-10-01 13:23:32 +01:00
Ameet Virdee
48a8af71e5
Add documentation for placeholder text in Field Panels
2020-10-01 08:06:43 +02:00
Matt Westcott
bb4ad60c29
Pass page chooser URL to widget via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
523148521b
Pass document chooser URL to widget via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
90e2899b71
Pass image chooser URL to widget via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
70242efa2c
Pass task chooser URL via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
499193d05c
Pass snippet chooser URL via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
dc110b5432
Remove note about MSSQL being known to work
...
As per https://github.com/wagtail/wagtail/issues/6393
2020-09-30 16:29:08 +01:00
Matt Westcott
008b6c12c4
Update BaseLogEntry docs to reference user_display_name. Fixes #6418
2020-09-30 15:43:27 +01:00
Karl Hobley
2d9f81f3bb
Add a comment to describe why _filtered_by_child_of exists
2020-09-30 08:23:27 +01:00
thenewguy
a88866c3c6
Force string url before passing to urlparse ( #6341 )
2020-09-30 08:10:50 +01:00
Karl Hobley
2dfa3840a7
Copy related objects by ID instead of retrieving instances
2020-09-29 16:56:04 +01:00
Karl Hobley
4163be0d17
Retrieve page children with specific queryset
2020-09-29 16:56:04 +01:00
Karl Hobley
d2ef2939b1
Pre-calculate new MP_Node attributes when copying recursively
...
When copying recursively, we know that there are no existing pages
sitting underneath the pages we create, so we can bypass the checks that
Treebeard does when calculating a new path.
2020-09-29 16:56:04 +01:00
Karl Hobley
283fad5da4
Don't keep cleaning newly copied pages
2020-09-29 16:56:04 +01:00
Karl Hobley
a83d947d09
Check is_new before updating descendant paths or checking if site root
...
A page can't have descendants or be a site root if it's only just been
created.
2020-09-29 16:56:04 +01:00