0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

309 Commits

Author SHA1 Message Date
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
Matt Westcott
48b5740d03 Merge branch 'docs-divio-cloud' of https://github.com/evildmp/wagtail into evildmp-docs-divio-cloud 2018-06-18 15:45:38 +01:00
ed@sharpertool.com
4539ced8cc Added documentation for new JS/CSS media files association with Draftail feature definitions (#4627)
Add more documentation for #4568
2018-06-17 00:13:38 +03:00
Daniele Procida
b1db6c5882 Added Divio Cloud notes to documentation 2018-06-16 15:51:06 -04:00
Matt Westcott
c3dc86c0e5 Add full documentation for WAGTAILADMIN_RICH_TEXT_EDITORS. Fixes #4555 2018-06-10 12:45:48 +10:00
Matt Westcott
b629563fb3 Remove reference to WAGTAILIMAGES_BACKENDS 2018-06-10 12:45:48 +10:00
LB
740bbb6c39 fix typos 2018-06-10 12:45:48 +10:00
LB
c886d1ab4f add missing settings 2018-06-10 12:45:48 +10:00
LB
8d2ee74be0 add reference anchors 2018-06-10 12:45:48 +10:00
Matt Westcott
6f92f9a23a Add default_features step to strikethrough example 2018-06-07 11:48:55 +01:00
Matt Westcott
607f2ec067 Allow specifying js/css imports against Draftail features 2018-05-31 17:13:33 +01:00
Alex Gleason
1c7e90c3ee Change wagtailimages.Image on_delete CASCADE to SET_NULL in docs 2018-05-18 14:51:50 +01:00
Victor Miti
c38b172793 updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
Matt Westcott
2c8d7371b4 Remove frontend search view 2018-05-18 11:43:28 +01:00
Matt Westcott
3fc9ed5119 Remove old versionadded/versionchanged notes 2018-05-18 11:43:28 +01:00
Matt Westcott
fc46f12939 AWS_S3_FILE_OVERWRITE must be False, not True 2018-05-15 19:42:03 +01:00
Matt Westcott
5ce14841d8 Remove ancient versionchanged notes 2018-05-15 14:54:41 +01:00
Kees Hink
0b3c20556d Docs: How to create test fixtures for custom Page models 2018-05-15 14:50:24 +01:00
Matt Westcott
937254f321 Add documentation for deploying with cloud storage 2018-05-09 10:41:09 +01:00
Karl Hobley
0dec4c8f89 Update supported databases in docs 2018-05-08 11:58:31 +01:00
Matt Westcott
fa27773d16 Release note for #4462 2018-04-23 16:26:32 +01:00
Matt Westcott
bcbfe226ee Allow disabling gravatar with WAGTAIL_GRAVATAR_PROVIDER_URL=None. Fixes #1286 2018-04-23 15:53:13 +01:00
Pierre Geier
96118cdb9a Makes it possible to set a custom Gravatar source like robohash or your own. 2018-04-23 15:53:13 +01:00
David
e43ea79747 Add a per-user timezone setting 2018-04-20 12:06:52 +01:00
Thibaud Colas
c309753378
Expose reusable client-side code to build Draftail extensions (#4467)
* Expose Draftail package as global variable for reuse
* Expose Wagtail React components for reuse
* Expose Draftail-related React components for reuse
2018-04-18 00:27:07 +03:00
Karl Hobley
17f7f70170 Added "find" API view and ability to find pages by HTML path
This implements a new "find" view for all endpoints which can be used
for finding an individual object based on the URL parameters passed to
it.

If an object is found, the view will return a ``302`` redirect to detail
page of that object. If not, the view will return a ``404`` response.

For the pages endpoint, I've added a ``html_path`` parameter to this
view, this allows finding a page by its path on the site.

For example a GET request to ``/api/v2/pages/find/?html_path=/`` will
always generate a 302 response to the detail view of the homepage. This
uses Wagtail's internal routing mechanism so routable pages are
supported as well.

Fixes #4154
2018-04-13 12:08:19 +01:00
Karl Hobley
f608c67eb1 Fix capitalisation of names 2018-04-05 12:13:05 +01:00
Karl Hobley
a9b4b09152 Fix spelling mistakes in documentation 2018-04-05 12:13:05 +01:00
DanAtShenTech
76975525f7 Typo and clarification (#4319) 2018-02-27 22:08:57 +02:00
Matt Westcott
c205c8fac6 Add rich_text form data helper 2018-02-15 11:54:34 +00:00
Matt Westcott
067c26f54d Add form data helpers 2018-02-15 11:54:32 +00:00
Matt Westcott
1799853b55 Fix 'email notifications' link 2018-02-14 14:06:21 +00:00
Thibaud Colas
6c714b1537 Document plain JS & CSS extension points for Draftail 2018-02-12 21:54:07 +00:00
Dário
55580d96e8 Embed Docs: fix broken link (#4270) 2018-02-12 10:15:22 -05:00
Thibaud Colas
d86f48842d Add note about block Draftail entities in docs 2018-02-09 15:24:24 +00:00
Thibaud Colas
cedfd2b1bc Update to latest Draftail and Draft.js 2018-02-09 15:24:24 +00:00
Thibaud Colas
e59863f903 Refactor Draftail JS plugin API to be more similar to the rich text features registry API 2018-02-09 15:24:24 +00:00
Thibaud Colas
ae4e48ed3f Use built-in feature for defaults example instead of custom 2018-02-09 15:24:24 +00:00
Thibaud Colas
f50c096706 Finish Draftail entities extension documentation 2018-02-09 15:24:24 +00:00
Thibaud Colas
5c00b843c5 Move Hallo & Draftail extension docs to their own pages 2018-02-09 15:24:24 +00:00
Thibaud Colas
4285b9f1cc Add start of example for entity docs 2018-02-09 15:24:24 +00:00
Thibaud Colas
19a83364dc Add missing release notes and dependencies as globals docs from Draftail work 2018-02-09 15:24:24 +00:00
Thibaud Colas
fac8582ac4 Add entities disclaimer 2018-02-09 15:24:24 +00:00
Thibaud Colas
49c9999cb8 Add Draftail docs for custom inline styles and blocks 2018-02-09 15:24:24 +00:00
Thibaud Colas
9760e8f520 Document Hallo extension points in docs, CHANGELOG, upgrade considerations 2018-02-09 15:24:24 +00:00
Thibaud Colas
f21b4146ac Move "default features" section out of Hallo-only docs 2018-02-09 15:24:24 +00:00
Thibaud Colas
452ea4d1fe Reformat deprecation notice 2018-02-09 15:24:24 +00:00
Thibaud Colas
1e31120103 Use wontfix label for known Hallo issues 2018-02-09 15:24:24 +00:00
Thibaud Colas
9b6102b5b5 Split WYSIWYG extension docs between Hallo and Draftail 2018-02-09 15:24:24 +00:00
Thibaud Colas
9284615d94 Update rich text features docs for Draftail + Hallo support 2018-02-09 15:24:24 +00:00
Mads Jensen
b30c722728 Used Python 3 super() syntax also in documentation. (#4246)
This disregards the release notes for earlier releases and only deals
with current documentation.
2018-02-07 10:11:27 +00:00
Matt Westcott
e1325ed4d6 Release notes and documentation for Draftail (#4136) 2018-01-25 16:38:38 +00:00
Bruno Alla
be164048b8 Add setting to disable notification to superusers -- Fixes #3969
WAGTAILADMIN_NOTIFICATION_INCLUDE_SUPERUSERS, default to True
If set to False, superusers do not receive moderation notification,
only moderators do.
2018-01-10 17:26:02 +00:00
Matt Westcott
b9a548f424 Update documentation for rich text element whitelisting 2018-01-05 16:15:59 +00:00
Mike Dingjan
ef27853a05 Allow overriding login form via `WAGTAILADMIN_USER_LOGIN_FORM` setting 2018-01-03 15:57:40 +00:00
misraX
c48a2ef501 Fixing search url for django 1.10 and above.
For django 1.10 and above the search url will fail with a TypeError since there is no support for views as string insider urlpatterns, It will raise TypeError('view must be a callable or a list/tuple in the case of include().')
TypeError: view must be a callable or a list/tuple in the case of include().
2018-01-02 23:37:10 +00:00