Commit graph

2497 commits

Author SHA1 Message Date
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
Asanka Lihiniyagoda
8c4b3fe669 'Parent' link in page chooser search should not navigate away (#5011) 2019-01-29 16:36:34 +00:00
Bertrand Bordage
437f641977 Release notes for #4994. 2019-01-26 16:39:45 +01:00
Matthew Linares
a0b4efd414 Recipe: automatic redirect creation on url edit (#5002) 2019-01-24 14:06:44 +00:00
aidarbek
6890f8ef76 Removing confirmation of publishing from documentation (#5006) 2019-01-24 12:18:47 +00:00
frmdstryr
5fcaa64d81 Avoid a pop from an empty list in HTMLToContentStateHandler (#5004) 2019-01-24 12:09:33 +00:00
Coen van der Kamp
a26a3309ee Add Wagtail Space Arnhem banner to documentation 2019-01-24 11:28:56 +00:00
Sergey Fedoseev
057690815b Made HTTP_HOST of page dummy request include port. (#4954) 2019-01-17 12:34:04 +00:00
Matt Westcott
dc2f487391 Release / deprecation note for #4749 2019-01-11 15:22:37 +00:00
Mukesh
fa5deb6b44 More informative error for invalid values passed to |richtext (#4971)
Fixes #4958
2019-01-10 12:35:12 +00:00
Matt Westcott
d731ea6c9f Add missing null=True and imports to modeladmin example code 2019-01-10 10:59:05 +00:00
Matt Westcott
8afbc6c3ec Document extended LTS date of Wagtail 1.13 2018-12-19 15:13:39 +00:00
Matt Westcott
9b24ca989f Fill in release date for 2.4 2018-12-19 15:13:28 +00:00
Matt Westcott
4997d1e922 Revert release note for #4916 2018-12-19 12:27:28 +00:00
Matt Westcott
a11f7ee015 Exclude the error messages from the count of inline panel elements (#4957)
Ref #4304 ; explicitly identify and count inline-panel-child elements as per https://github.com/wagtail/wagtail/pull/4304#discussion_r169149310
2018-12-17 17:15:40 +00:00
Sergey Fedoseev
5f7b7230a2 Fix SERVER_PORT for Page.dummy_request() when page is attached to Site with 443 port. (#4950) 2018-12-11 12:39:20 +00:00
Matt Westcott
056096c2de Remove old versionchanged note 2018-12-07 11:59:55 +00:00
Matt Westcott
26de8edf79 Add release note stubs for 2.5 2018-12-07 11:59:55 +00:00
Matt Westcott
9db37023c4 Mark 2.4 as still in development 2018-12-06 16:54:02 +00:00
Karl Hobley
4abfbf89a0 Hide "delete snippets" button when no snippets selected 2018-11-30 16:57:47 +00:00
Dan Braghis
12ac86217a Fix #4785 Wagtail Sitemaps does not allow for Django Sitemap instances 2018-11-30 16:35:52 +00:00
Alex Gleason
e5f9c122ab Use better examples in ModelAdmin docs, add info about FieldPanels 2018-11-30 13:11:53 +00:00
Matt Westcott
44c905bf69 Release note for #4884 2018-11-30 12:11:14 +00:00
Matt Westcott
b81e5c6b85 avoid referring to an internal function name in hook docs 2018-11-30 11:29:21 +00:00
Matt Westcott
23c02ecfa1 Release note for #4924 2018-11-30 11:27:35 +00:00
Maylon Pedroso
f34bda64ea Add hooks for page move actions 2018-11-30 10:50:42 +00:00
Thibaud Colas
a3dc9ed477 Bump draftjs_exporter version to fix entities export bug
This bumps the `draftjs_exporter` dependency requirement of Wagtail to [v2.1.5](https://github.com/springload/draftjs_exporter/blob/master/CHANGELOG.md#v215), which fixes an export bug when entities (say, links) are adjacent in the content.

See https://github.com/springload/draftjs_exporter/issues/106.
2018-11-29 17:37:48 +00:00
Matt Westcott
30f6a590b4
Documentation on rich text internals (#4927) 2018-11-29 16:36:09 +00:00
Matt Westcott
ef3efdd185 Release note for #4917 2018-11-27 15:52:23 +00:00
Matt Westcott
76c7ef7262 Release note for #4916 2018-11-27 15:47:29 +00:00
Karl Hobley
cc25168917 Changelog/release notes for #4845 and #4781 2018-11-22 11:26:26 +00:00
Matt Westcott
cb8148ede2 Support media definitions on action menu items 2018-11-22 11:17:25 +00:00
Matt Westcott
b48566e735 Move action menu components to a new wagtail.admin.action_menu module 2018-11-22 11:16:59 +00:00
Matt Westcott
2a477c8e79 Add construct_page_action_menu hook 2018-11-22 11:14:01 +00:00
Matt Westcott
6adf7c8423 Add register_page_action_menu_item hook 2018-11-22 11:14:01 +00:00
Karl Hobley
87da49bbb1 Changelogs/release notes for #4894, #4827, and #4907 2018-11-21 23:08:36 +00:00
Matt Westcott
0ae5fe73c5 Documentation fixes don't go in the changelog (there are too many of them...) 2018-11-16 17:14:36 +00:00
Andy Chosak
17fc5cc913 add slovak character map for js slug generation
Porting of Django PR #9325, which fixes Django ticket #28768. These
changes were made in Django 2.1.

This adds support for certain Slovak characters when auto-generating
slugs for new pages. This logic is only triggered if
settings.WAGTAIL_ALLOW_UNICODE_SLUGS is set to False; see

http://docs.wagtail.io/en/v2.1.1/advanced_topics/settings.html#unicode-page-slugs

To test, create a new page and enter a title like "Vŕba". The
page's slug field will be automatically set to "vrba". In the
previous behavior, this would instead be automatically set to "vba".

https://github.com/django/django/pull/9325
https://code.djangoproject.com/ticket/28768
2018-11-16 17:13:37 +00:00
Sergey Fedoseev
e8c88d44af Fixed reference to LoginView in docs. (#4901) 2018-11-15 11:13:00 +00:00
Alex Gleason
08ea980410 Fix missing comma in Draftail docs code 2018-11-14 17:11:49 -05:00
Sergey Fedoseev
47465197a9 Use intersphinx for Django references when possible. (#4896) 2018-11-14 11:48:32 +00:00
Matt Westcott
d2b02dff00 Update welcome page screenshot (ref #4892) 2018-11-13 11:39:12 +00:00
Janneke Janssen
b07b7a6e2a Revamp the image editing page (#4087)
Removed commented out code in _forms.scss
2018-11-08 23:56:54 -05:00
Janneke Janssen
487f1f47b8 Define proper breakpoint definitions rather then typing @media (#4860) 2018-11-04 23:46:42 +02:00
Meteor0id
1efad238e1 Allow nav menu to take up all available space instead of scrolling (#4746) 2018-11-02 00:57:55 +02:00
Hillary Jeffrey
8fd54fd71c Catch redirects that omit a destination link or point to a page with no routable URL (#4836)
Fixes #4815
2018-10-31 19:21:07 +00:00
Noah B Johnson
0dacda9133 Added handling for null last login on user list page 2018-10-31 17:46:23 +01:00
Karl Hobley
9a523dbf2e Add file_hash field to Document 2018-10-31 15:13:53 +00:00
Seb
aa2a973382 Ordr collection listings by name (#4874) 2018-10-31 11:29:49 +00:00
Sergey Fedoseev
8f8faf3c60 Fixed some formatting in 'Customising IndexView' doc. (#4877)
* Fixed some formatting in 'Customising IndexView' doc.

* Make coverage omit docs/conf.py.
2018-10-30 12:29:11 +00:00
Sergey Fedoseev
29c8ad6637 Fix reference in ModelAdmin.ordering docs. 2018-10-30 12:23:17 +00:00
Benjamin Bach
5b0f2e1a54 First positional argument for tox as test module/case path 2018-10-30 12:16:45 +00:00
Mikalai Radchuk
a0a58d8396 Adds release notes for #4850 2018-10-28 17:28:53 +03:00
FedorSelitsky
6d79169dad Add PyPI trove classifiers for Wagtail 2018-10-28 16:43:42 +03:00
Mikalai Radchuk
41321158a5 Adds credits to the release notes 2018-10-28 16:23:40 +03:00
Mikalai Radchuk
604bc6c4c7 Adds release notes for #4856 2018-10-28 16:21:46 +03:00
Yannick Chabbert
515aa61943 Add template tag for dynamic image url
Update documentation

Co-Authored-By: zerolab <dan@zerolab.org>
2018-10-28 16:21:46 +03:00
Meteor0id
49b280ab0a Allow custom logos of any height in the admin menu (#4747) 2018-10-28 15:48:04 +03:00
Mikalai Radchuk
bfc41752e3 Adds release notes for #4859 2018-10-28 11:57:06 +03:00
Scott Cranfill
f1148e7f76 Address more feedback on new welcome page 2018-10-27 19:10:31 +03:00
Allen, Timothy
01ac14c139 Take the Django 'It Worked' page as a starting point for a Wagtail intro page. 2018-10-27 19:10:31 +03:00
Dzianis Sheka
70a9a5faf7 Fix help text positioning to avoid text cutting with narrow field (#4855, #3522) 2018-10-27 18:43:46 +03:00
Matt Westcott
cea4cbc836 Release note for #4854 2018-10-27 16:44:14 +03:00
Matt Westcott
aaa0953d05
Document the Dockerfile in the project template (#4853) 2018-10-27 15:18:25 +02:00
Matt Westcott
66a428f741 Release note for #4840 2018-10-27 15:58:13 +03:00
Dan Braghis
3b1dc5be86 Add Page max_count 2018-10-27 15:13:16 +03:00
Anselm Bradford
303ee0f95b Add rel="noopener noreferrer" to target blank links 2018-10-27 12:46:49 +03:00
Brady Moe
95333ba8ec returns content_types as a list instead of dict_values 2018-10-27 12:34:29 +03:00
Dan Braghis
3bb6984132 Clarify virtualenv steps for easier getting started
Reference: https://github.com/wagtail/wagtail/issues/4690#issuecomment-431240164
2018-10-27 11:49:12 +03:00
Matt Westcott
183b626dc3 Eliminate {% load staticfiles %} and {% load admin_static %}
These are removed in Django 3.0 in favour of `{% load static %}`
2018-10-27 09:40:42 +02:00
Benjamin Bach
a671f19298 Use current year for the copyright notice 2018-10-25 18:14:36 +01:00
Matt Westcott
c2a351fee1 Clarify that the default languages list is the ones with >=90% coverage 2018-10-25 12:20:59 +01:00
Matt Westcott
16bc148916 Fill in release date for 2.3 2018-10-23 15:39:56 +01:00
Janneke Janssen
52a224ca64 Fixes reference to the wagtailsearch section 2018-10-23 15:51:14 +02:00
Matt Westcott
c915ae9cb5 Fix broken link to bakerydemo (#4834) 2018-10-21 11:38:28 +02:00
Matt Westcott
9afcd1a8be Remove notes about URL confs for Django<2.0 2018-10-18 11:25:12 +01:00
Matt Westcott
4965d85e72 Update hook examples to use django.templatetags.static
django.contrib.staticfiles.templatetags.staticfiles is deprecated as of Django 2.0
2018-10-18 08:49:15 +01:00
Matt Westcott
4bb8a5f420 Document Python 3.7 support 2018-10-17 18:23:35 +01:00
Matt Westcott
e844200f27 Remove Django 1.11 support from code and docs 2018-10-17 15:30:36 +01:00
Matt Westcott
771eb42d05 add 2.4 release notes page 2018-10-17 11:46:56 +01:00