Wykres commitów

264 Commity (cbbddb55720508452a76427fa6761bb102595d18)

Autor SHA1 Wiadomość Data
Matt Westcott 8711050e49 Add cache-busting parameter to admin static files
Fixes #5493
2019-10-09 12:16:56 +01:00
jacobtoppm dd5cbd8d7a Add new docs page 'Changing rich text representation' (#5579)
* Add new docs page 'Changing rich text representation' describing how to subclass Format to provide a custom image html representation in rich text
2019-10-02 12:12:38 +01:00
jacobtm daba83aab1 Add a note on 'Previewing and Submitting for Moderation' page about potential disabled moderation 2019-10-02 10:48:15 +01:00
Brian Whitton 34f4ab8a3f allow image page sizes to be configurable (#5568) 2019-09-25 10:49:57 +01:00
jacobtm a7b470bc9d Add ability to hide 'Submit for Moderation' in action menu using setting WAGTAIL_MODERATION_ENABLED. When set to false, SubmitForModerationMenuItem method is_shown returns false (#5574) 2019-09-24 16:28:47 +01:00
Dawn Wages 1b2dadc429 Update configuration.rst (#5576) 2019-09-23 12:06:16 +01:00
Matt Westcott 76d72a36c3 Documentation tweaks for WAGTAILDOCS_SERVE_METHOD
As suggested by @chosak - https://github.com/wagtail/wagtail/pull/5296#discussion_r324252497 , https://github.com/wagtail/wagtail/pull/5296#discussion_r324257167
2019-09-21 18:53:48 +01:00
Tobias McNulty 40fa3956f5 add WAGTAILDOCS_SERVE_METHOD setting to allow serving files from underlying storage 2019-09-21 18:53:48 +01:00
Dawid Bugajewski 90b7a3b0d3 Fix class selector mapping (#5571)
The markup is wrong which results in code not working properly.
2019-09-20 10:18:55 +01:00
Janne Alatalo dd0bb9a870 Add setting to disable email management
This commit adds WAGTAIL_EMAIL_MANAGEMENT_ENABLED setting that defaults
to True, but when disabled, hides the 'Change email' button in account
management view, and disables the associated route. This is useful when
using external authentication method like LDAP or OpenID Connect where
email management is handled elsewhere.

Wagtail already includes WAGTAIL_PASSWORD_MANAGEMENT_ENABLED setting.
This is almost exact copy of that implementation.
2019-09-04 10:25:35 +01:00
Sanyam Khurana f9753f1f23 fix(docs/customization): Add models import to fix example (#5520) 2019-08-20 11:57:14 +01:00
Sergey Fedoseev 94be338cbd Fix mention of non-existing PageLinkHandler.get_identifier
Refs #5184
2019-08-20 11:54:43 +01:00
Daniele Procida 72db52371a Updated feature detection notes 2019-07-21 18:03:09 +10:00
Jaroslaw Zabiello 7df817d29c Update third_party_tutorials.rst
Add a detailed article about using GraphQL in Wagtail
2019-06-25 16:07:06 +01:00
jordan-bauer 998440cfa9 Remove buggy tab order customisations in CMS admin (#5383, #5351) 2019-06-18 12:49:16 +01:00
Dillen Meijboom dd1597ea37 Implemented branding title prefix customization (#5344) 2019-06-07 17:06:00 +01:00
Michael Bunsen b06cb6a6eb
ImageRenditionField returns a relative URL
The example in the docs shows an absolute URL with the site's hostname, but the ImageRenditionField returns a relative URL. 

Relevant source here: https://github.com/wagtail/wagtail/blob/master/wagtail/images/api/fields.py
2019-05-17 16:44:32 -07:00
scil 1e55b98af0 Update performance.rst 2019-05-01 12:58:22 +01:00
LB Johnston 8407245207 Add Third Party Tutorials & Links
- Revise grammar for Learn Wagtail link
- Add articles from Timonweb blog
- Add Youtube link for Google Cloud Platform
- Add blog from Jelastic (PaaS) deployment
- Add Mozilla guide for end users (really well laid out and reasonably generic)
2019-04-25 17:24:46 +01:00
Thibaud Colas b7f53ef276
Fix typo in rewrite handlers example code (#5253) 2019-04-24 21:10:12 +01:00
Matt Westcott 12f7ee2f1a Deprecation note for #5184 2019-04-08 16:35:58 +01:00
Andy Chosak d7bad06fe8 Add documentation of rewrite handlers 2019-04-08 14:31:55 +01:00
Md. Arifin Ibne Matin 2b2c71a4d9 Support additional custom handler for links in Rich text editor. (#5159) 2019-04-03 20:50:39 +01:00
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
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
Evan Winter 5a34090b4b Fix typo in api/v2/usage.rst
first_publised_at --> first_published_at
2019-03-06 01:19: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 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
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
Matt Westcott 30f6a590b4
Documentation on rich text internals (#4927) 2018-11-29 16:36:09 +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
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
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
Matt Westcott c2a351fee1 Clarify that the default languages list is the ones with >=90% coverage 2018-10-25 12:20:59 +01:00
Janneke Janssen 52a224ca64 Fixes reference to the wagtailsearch section 2018-10-23 15:51:14 +02:00
Matt Westcott 9afcd1a8be Remove notes about URL confs for Django<2.0 2018-10-18 11:25:12 +01:00
Meteor0id 088d3ffc21 missing quotation, not that it matters
award of smallest contribution of the year goes to..
2018-09-13 13:00:57 +01:00
Michael Harrison 8ef0edb371 Add file download url to Imagesv2 API endpoint 2018-09-06 17:12:02 +01:00
Matt Westcott 2947c584b0 Recommend the use of ManifestStaticFilesStorage. Fixes #3700 2018-09-04 12:56:11 +01:00
Meteor0id cb8fe063bb depriciate url() for alias re_path() 2018-08-18 11:33:12 +02:00
Meteor0id cb75effd11 url() is depriciated. Alias re_path()
Added important note about using url() on older versions of django, but switched the examples to re_path as to comply with Django docs for 2.0 and later.
2018-08-18 11:32:39 +02:00
Martey Dodoo 1247565d3d Add warning about unregistering image formats.
Add warning to documentation to warn that unregistering image formats
that are being used will create an error when viewing or editing pages.

See https://groups.google.com/forum/#!topic/wagtail/X8xTUs-2npA and
https://github.com/wagtail/wagtail/issues/1471#issuecomment-118436706.
2018-08-16 10:52:51 +01:00
Matt Westcott 939e031760 Fix passwordless user creation tests for Django 2.1 and clarify WAGTAILUSERS_PASSWORD_REQUIRED docs
The behaviour of `has_usable_password` has changed in Django 2.1, such that `None` is no longer considered a 'non-usable' password: https://docs.djangoproject.com/en/2.1/ref/contrib/auth/#django.contrib.auth.models.User.has_usable_password

As a consequence of the fix applied in Django https://code.djangoproject.com/ticket/28718 , Wagtail users created without a password will now be able to complete the password reset process to gain access to Wagtail. Sites that do not want this behaviour (e.g. because those users should be using an LDAP login instead) should disable password changes via WAGTAIL_PASSWORD_MANAGEMENT_ENABLED and WAGTAIL_PASSWORD_RESET_ENABLED.
2018-08-09 00:34:38 +01:00