Matt Westcott
3c44037b2f
Fix warnings on building documentation ( #5145 )
...
* Fix "Duplicate explicit target name" warnings on extending_draftail.rst
ref: https://github.com/sphinx-doc/sphinx/issues/3921
* Fix 'Unknown target name' warning on third_party_tutorials.rst
* Add docstrings to Page.get_ancestors, get_descendants and get_siblings
Documents the `inclusive` flag and avoids the "Field list ends without a blank line; unexpected unindent" warning when building docs
2019-03-15 02:03:56 +01:00
Md. Arifin Ibne Matin
edfd9afc1d
Add more built-in rich text formats ( #5141 )
2019-03-15 01:39:18 +01:00
Wesley van Lee
a700e1352c
Preserve non breaking white spaces in rich text processing. Fix #4996 ( #5142 )
...
Prevent the initial loading of the rich-text field to replace non-breaking white spaces with normal spaces
2019-03-14 17:31:10 +01:00
Matt Westcott
3e1e67021e
Add release note for #5138 to 2.5 docs
2019-03-14 14:43:28 +01:00
Damian
ef7bd7989e
add form media to user add/edit forms ( #5146 )
2019-03-14 14:42:26 +01:00
Matt Westcott
23a89774ad
Deprecation note for #5128
2019-03-14 12:11:16 +01:00
Andy Babic
b2eee20e1b
Move reversing_urls.rst into a subdirectory with it's own index, and include that index in the modeladmin docs' main toctree
2019-03-14 09:48:02 +01:00
Esperk
9f2e4033ea
Abort unfinished ajax before firing new ajax call. Fix #4594 ( #5137 )
...
To prevent showing old results always cancel unfinished query requests before firing a new one
2019-03-13 15:44:12 +01:00
Arthur Holzner
6f6f9b8e46
Added fallback to pageurl ( #4603 )
2019-03-13 12:17:13 +01:00
Thijs Kramer
fdbd7ca2d3
only append model type to button when there is one target model ( #5094 )
2019-03-13 11:35:40 +01:00
Andy Babic
77a8e3b7c0
Do not allow copies of pages that exceed their models' `max_count`
...
Update PagePermissionTester.can_move_to() to call on the page class's 'can_create_at()' method, and respond accordingly
Add a SingletonPageViaMaxCount to the test.json fixture for use in page permission tests
Add some tests for PagePermissionTester.can_copy_to()
Create a SingletonPageViaMaxCount in setUp() instead of adding to the fixture
2019-03-13 07:57:25 +10:00
LB Johnston
fc21729a24
add docs with instructions on how to generate urls for modeladmin
2019-03-13 07:41:34 +10:00
Mani
87bbc31d88
Add a setting to apply limit on number of tags that can be added to any tagged model.
2019-03-10 20:48:33 +10:00
Matt Westcott
3fe442ff4d
Add Learn Wagtail to third-party tutorials
2019-03-10 15:57:52 +10:00
Tiago Requeijo
4f5b117250
Fix for emails missing the HTML messages.
2019-03-10 15:38:19 +10:00
kevinhowbrook
1248279114
Specify a larger length as the default of 200 isn't always enough ( #5114 )
2019-03-07 11:18:40 +00:00
Thomas Kremmel
4e8f197a9d
allow panels & edit_handler to be defined on ModelAdmin ( #4900 )
2019-03-06 12:26:20 +00:00
Matt Westcott
53cea8bc04
Release note for #4653
2019-03-06 11:24:44 +00:00
Loic Teixeira
9da3a3d975
Update documentation
2019-03-06 11:00:30 +00:00
Evan Winter
5a34090b4b
Fix typo in api/v2/usage.rst
...
first_publised_at --> first_published_at
2019-03-06 01:19:07 +00:00
Asanka Lihiniyagoda
74218a7e43
Set data-focal-point-* values to be '' instead of 'None' when they are empty.
2019-03-03 10:06:16 +10:00
Matt Westcott
8b7efc0b16
Output current language code in HTML header ( #5091 )
...
Fixes #5051
2019-03-01 11:37:44 +00:00
Matt Westcott
61e1e4c2f9
Add 'wagtail_update_index' as an alias for the 'update_index' command ( #5009 )
...
Fixes #2447
2019-03-01 11:01:41 +00:00
LB Johnston
fa2a0c2d02
add ability for page.copy to copy ParentalManyToMany field relations
2019-03-01 07:11:28 +10:00
Sergey Fedoseev
233bb17789
Add missing collection column in wagtaildocs/documents/list.html ( #5110 )
2019-02-27 19:28:40 +00:00
Sergey Fedoseev
c2a83b92da
Fix typo in docs/topics/images.rst
2019-02-27 19:25:06 +00:00
Gassan Gousseinov
d37ce9f699
routablepageurl returns urls only for default site on multisite installation ( #5102 )
2019-02-27 19:21:26 +00:00
Matt Westcott
34d7efe4e3
Add note to clarify that construct_homepage_panels should modify the ist in place
2019-02-27 14:56:40 +00:00
Neil Lyons
f10c5cab58
Update docs for construct_homepage_panels hook ( #5109 )
...
`construct_homepage_panels` hook doesn't need a return statement.
[Looking at the code](https://github.com/wagtail/wagtail/blob/master/wagtail/admin/views/home.py#L101-L102 ), the user doesn't need to return a list, they need to mutate the list passed in.
2019-02-27 14:50:01 +00:00
Evan Winter
a4c3ccc464
Fix typo in docs ( #5103 )
2019-02-26 21:46:23 +00:00
Karl Hobley
04861bc37d
Release note / contributor for #5097
2019-02-23 14:15:07 +00:00
tomedelliott
f5654981c8
Add limit image upload size by number of pixels ( #5097 )
...
* Add test for Image pixel size
* add pixel size check and update test to match
using djangos get_image_dimensions this maybe a internal function
but the commit adding it is over 9 years old
* Update docs and CHANGELOG
* fix typos
2019-02-23 14:13:00 +00:00
DanAtShenTech
e6e9fd09e2
Highlight "create" and "edit" forms ( #5081 )
2019-02-19 10:53:29 +00:00
Matt Collins
37a472834a
Update legacy wagtail.wagtailadmin paths ( #5090 )
...
Update legacy wagtail.wagtailadmin paths to wagtail.admin
2019-02-19 10:49:15 +00:00
Matt Westcott
087434f348
Update links to Draftail documentation
2019-02-14 23:24:30 +01:00
DanAtShenTech
f21e75e95d
Fix typo (missing plural)
2019-02-14 23:18:48 +01:00
DanAtShenTech
966ad8658d
Properly designate last_name field
2019-02-14 12:05:26 +00:00
DanAtShenTech
56f29a0825
Clarify explanation of ParentalKey within InlinePanel ( #5070 )
...
Make it clear that the relationship to relate a cluster of objects to a page is called ParentalKey.
2019-02-13 16:32:22 +00:00
Vladimir Knobel
a0d6dbb5f4
Update primer.rst ( #5068 )
...
path to overriding template doesn't match model name
2019-02-13 15:16:44 +00:00
Matt Westcott
4a5036839b
Respect CSS precedence rules in HTMLRuleset ( #4926 )
...
Fixes #4527
2019-02-13 14:50:20 +00:00
DanAtShenTech
dbb7ec77b3
Fix index_view_class in primer.rst
...
Fix the "index_view_class=" reference. Small grammar fixes.
2019-02-08 17:32:57 +00:00
DanAtShenTech
f1e3e2e379
Update primer.rst ( #5061 )
...
Small wording clarifications.
2019-02-08 17:26:26 +00:00
pvetch
731b8fc9b4
Update third_party_tutorials.rst ( #5057 )
...
This content seemed moribund so have added some newer material and checked that the original links still work. There are probably lots of other newer examples that could be added (it might be worth weeding out some of the older content at this point too).
2019-02-08 17:06:01 +00:00
DanAtShenTech
c9be245b0f
Update primer.rst ( #5062 )
...
Small grammar fixes
2019-02-08 17:02:30 +00:00
Thibaud Colas
96ec1e0e4e
Preserve links when copy-pasting rich text content from Wagtail to other tools ( #5054 )
2019-02-07 00:01:03 +02:00
Brady
e77338f1a3
Highlight broken links to pages and documents in rich text. Fix #4802 ( #4813 )
2019-02-02 17:04:01 +00:00
ed@sharpertool.com
f39f018ebf
Update hooks.rst ( #5044 )
...
Document and Image fields changed from `uploaded_by` to `uploaded_by_user`
2019-01-31 12:22:25 +00:00
David Beitey
f881420a98
Add MEDIA_* settings to Django integration page ( #5046 )
...
This change adds the required MEDIA_URL/MEDIA_ROOT settings to this documentation page, so the page outlines they are required and gives an example if they're not already configured.
2019-01-31 12:19:42 +00:00
Karl Hobley
6e2b8c28d0
Diffing streamfieds
2019-01-30 09:52:03 -05:00
Karl Hobley
50e72dc58b
Allow disabling search auto-update on a per-model basis ( #4946 )
2019-01-29 17:06:41 +00:00