0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

143 Commits

Author SHA1 Message Date
Joshua Marantz
8e79c61564
Implement CSS variables for admin color theming (#6409)
Co-authored-by: JNaftali <jmarantz@thelabnyc.com>
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-01-17 02:17:41 +00:00
Thibaud Colas
37e9e1d54d
#6090 Document accessibility considerations (#6272)
Co-authored-by: Coen van der Kamp <coen@fourdigits.nl>
2020-11-06 15:38:00 +00:00
Karl Hobley
6e5f89adf2 General spelling fixes 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
52013f4920 Mention INSTALLED_APPS ordering in custom user docs 2020-05-18 11:33:53 +01:00
Meteor0id
829a9bbf06
Add ability to replace the default Wagtail logo in the userbar, via branding_logo block (#4731) 2020-05-08 00:11:05 +01:00
Mohamed Feddad
bb2e460c0b Replace deprecated ugettext, ungettext with gettext and ngettext. (#5907) 2020-04-02 17:15:26 +01:00
Pete Andrew
abd8320dc3 Update links in docs to point at stable Django version 2019-12-01 13:19:40 +10:00
Matt Westcott
d65532dd0f Mention the need to inherit from PermissionsMixin in custom user model docs 2019-11-28 12:35:30 +00:00
Martey Dodoo
229103ff2e Update links in documentation. (#5689)
Use HTTPS links instead of non-secure HTTP links wherever possible in
documentation.
2019-11-08 09:15:01 +00:00
Matt Westcott
8577cc2d02 Remove old versionadded tags in the docs 2019-10-29 08:56:12 +00:00
LB (Ben Johnston)
03cd4056df Docs - Add AbstractUser import to custom user model
- `from django.contrib.auth.models import AbstractUser`
- revise a previous changelog entry to clarify 'clean up' vs 'fix'
2019-10-12 09:57:47 +10: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
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
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
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
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
Matt Westcott
30f6a590b4
Documentation on rich text internals (#4927) 2018-11-29 16:36:09 +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
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
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
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
LB
740bbb6c39 fix typos 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
Victor Miti
c38b172793 updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +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
f608c67eb1 Fix capitalisation of names 2018-04-05 12:13:05 +01:00
DanAtShenTech
76975525f7 Typo and clarification (#4319) 2018-02-27 22:08:57 +02:00
Thibaud Colas
6c714b1537 Document plain JS & CSS extension points for Draftail 2018-02-12 21:54:07 +00: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
Matt Westcott
b9a548f424 Update documentation for rich text element whitelisting 2018-01-05 16:15:59 +00:00
Karl Hobley
80ff06f988 Rename wagtail.wagtailusers to wagtail.users
Conflicts:
	wagtail/admin/tests/test_pages_views.py
	wagtail/admin/utils.py
	wagtail/admin/views/account.py
	wagtail/users/views/groups.py
	wagtail/users/views/users.py
	wagtail/users/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
bf0f3e02ba Rename wagtail.wagtailimages to wagtail.images
Conflicts:
	docs/advanced_topics/api/v2/configuration.rst
	docs/advanced_topics/jinja2.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/topics/pages.rst
	docs/topics/streamfield.rst
	gulpfile.js/config.js
	tox.ini
	wagtail/admin/tests/test_compare.py
	wagtail/admin/tests/test_edit_handlers.py
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/core/tests/test_streamfield.py
	wagtail/documents/tests/test_models.py
	wagtail/images/models.py
	wagtail/images/permissions.py
	wagtail/images/tests/test_admin_views.py
	wagtail/images/tests/test_image_operations.py
	wagtail/images/tests/test_models.py
	wagtail/images/tests/test_signal_handlers.py
	wagtail/images/views/chooser.py
	wagtail/images/views/images.py
	wagtail/images/views/multiple.py
	wagtail/images/wagtail_hooks.py
	wagtail/images/widgets.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/tests/demosite/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/migrations/0001_initial.py
	wagtail/tests/testapp/migrations/0008_inlinestreampage_inlinestreampagesection.py
	wagtail/tests/testapp/migrations/0009_defaultstreampage.py
	wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
062d05189b Rename wagtail.wagtailadmin to wagtail.admin
Conflicts:
	docs/advanced_topics/customisation/admin_templates.rst
	docs/advanced_topics/customisation/page_editing_interface.rst
	docs/advanced_topics/i18n/duplicate_tree.rst
	docs/advanced_topics/jinja2.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/reference/hooks.rst
	docs/reference/pages/panels.rst
	docs/topics/pages.rst
	docs/topics/streamfield.rst
	wagtail/admin/blocks.py
	wagtail/admin/checks.py
	wagtail/admin/edit_handlers.py
	wagtail/admin/forms.py
	wagtail/admin/rich_text.py
	wagtail/admin/search.py
	wagtail/admin/site_summary.py
	wagtail/admin/templatetags/wagtailadmin_tags.py
	wagtail/admin/tests/test_admin_search.py
	wagtail/admin/tests/test_buttons_hooks.py
	wagtail/admin/tests/test_compare.py
	wagtail/admin/tests/test_edit_handlers.py
	wagtail/admin/tests/test_page_chooser.py
	wagtail/admin/tests/test_pages_views.py
	wagtail/admin/tests/test_rich_text.py
	wagtail/admin/tests/test_widgets.py
	wagtail/admin/tests/tests.py
	wagtail/admin/urls/__init__.py
	wagtail/admin/views/account.py
	wagtail/admin/views/chooser.py
	wagtail/admin/views/collection_privacy.py
	wagtail/admin/views/collections.py
	wagtail/admin/views/home.py
	wagtail/admin/views/page_privacy.py
	wagtail/admin/viewsets/model.py
	wagtail/admin/wagtail_hooks.py
	wagtail/admin/widgets.py
	wagtail/contrib/settings/registry.py
	wagtail/contrib/wagtailsearchpromotions/wagtail_hooks.py
	wagtail/contrib/wagtailstyleguide/wagtail_hooks.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/project_template/project_name/urls.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/snippets/models.py
	wagtail/tests/testapp/models.py
	wagtail/tests/testapp/wagtail_hooks.py
	wagtail/tests/urls.py
	wagtail/wagtaildocs/models.py
	wagtail/wagtaildocs/views/chooser.py
	wagtail/wagtaildocs/wagtail_hooks.py
	wagtail/wagtailembeds/wagtail_hooks.py
	wagtail/wagtailforms/models.py
	wagtail/wagtailforms/tests/test_views.py
	wagtail/wagtailforms/views.py
	wagtail/wagtailforms/wagtail_hooks.py
	wagtail/wagtailimages/models.py
	wagtail/wagtailimages/views/chooser.py
	wagtail/wagtailimages/wagtail_hooks.py
	wagtail/wagtailredirects/forms.py
	wagtail/wagtailredirects/wagtail_hooks.py
	wagtail/wagtailsites/forms.py
	wagtail/wagtailsites/views.py
	wagtail/wagtailsites/wagtail_hooks.py
	wagtail/wagtailsnippets/tests.py
	wagtail/wagtailsnippets/wagtail_hooks.py
	wagtail/wagtailusers/forms.py
	wagtail/wagtailusers/views/groups.py
	wagtail/wagtailusers/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
4300e19da2 Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +00:00
LB (Ben Johnston)
fbd317e6b9 Fix issues with 'Customising generated forms'
The 'Customising generated forms' example contains a few issues that might confuse those who are copy/pasting the code.

1. No reference to the `geocode` library and where it comes from, added imports and revised API usage
2. `location = models.CharField()` requires the `max_length` attribute set
3. `FieldPanel('title')` added to content panels, otherwise testing this out causes error because no title or slug exists

These issues were flagged in #3737
2017-11-23 17:30:14 +00:00
Matt Westcott
56a68c3ee8 Remove more Django 1.8 references from docs 2017-10-25 16:15:02 +01:00
Matt Westcott
d48c3709cd Remove support for registerHalloPlugin 2017-10-10 11:51:45 +01:00
Matt Westcott
3d21cae940 Allow overriding branding_logo on the 404 page 2017-09-21 13:25:12 +01:00
Matt Westcott
92b4f68c67 Don't call static() when constructing HalloPlugins
This isn't necessary, since Django form media fills in static paths itself - and doing it at module level will break on startup with certain staticfiles configurations if collectstatic hasn't run yet. Fixes #3829
2017-09-07 16:21:24 +01:00
Timothy Allen
8d08f83c5a Minor documentation example fix; bold and italic should be spelled out explicitly. (#3779) 2017-08-22 20:29:15 +03:00
Matt Westcott
9942822fca Make paragraph elements an always-on plugin rather than configurable with plugins 2017-08-10 14:19:34 +01:00
Matt Westcott
7c99cad62b Documentation for rich text features 2017-08-10 14:19:34 +01:00
Matt Westcott
a3b048d403 Fix incorrect field panels in custom form example
Fixes #3571. Thanks to @patta42 for the report!
2017-04-28 15:28:25 +01:00
Gagaro
4fadecebd6 Added a submit_buttons block to login template 2017-02-11 22:58:53 +00:00
Jeffrey Chau
47f7d79aec Add convenience method for finding root page to navigation.py. Add context variables to home renderer. 2017-01-24 14:16:31 +00:00
Tim Heap
16213db0f8 Remove old versionadded notes
A step has been added to the release process notes to do this for future
releases as well.

https://github.com/torchbox/wagtail/wiki/Creating-a-new-Wagtail-release
2016-11-28 13:41:35 +00:00
Tim Heap
6ba34636cb Fix whitespace errors in docs
Trimmed trailing whitespace, convert tabs to 4 spaces, add preference
for spaces to `.editorconfig`.
2016-11-28 13:41:35 +00:00
Tim Heap
2f8a43cd66 Document new blocks in login template
The old `branding.rst` docs were combined with the new docs on
customising the login page in a new `admin_templates.rst` document.
2016-11-28 12:41:06 +00:00
Tomas Olander
5ebc7d5044 Update branding docs to remove django-overextends
Fixes #2609
2016-05-31 10:34:26 +01:00
Matt Westcott
6ff98a543b Move custom user forms example to a new page under advanced_topics/customisation 2016-05-12 15:34:14 +01:00
Tim Heap
b727ec4064 Add documentation on the base_form_class attribute 2016-05-03 14:00:21 +01:00
Robert Rollins
7523d7f57f Removed all uses of STATIC_URL from code samples, replaced with static().
Concatinating with settings.STATIC_URL is no longer reccomended for creating
URLs to static resources, because it doesn't take the configured storage engine
into account. For example, a site using S3 to store its static files will need
static URLs that link out to S3, rather than relative URLs within the same
domain.

I replaced it with django.contrib.staticfiles.templatetags.staticfiles.static()
in python example code, and the {% static %} tag in template examples.
2016-04-28 10:57:22 +01:00
Robert Rollins
11793f88c5 Changed indentation on all code samples to 4 spaces.
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Chris Townsend
8ac23d0554 Updated to include TEMPLATE requirement for Django 1.9+
In Django 1.9+ if you do not add: 'builtins': ['overextends.templatetags.overextends_tags'], to your TEMPLATES section you will receive a TemplateSyntaxError when the overextends template files are rendered: "Invalid block tag on line".  Including 'builtins': ['overextends.templatetags.overextends_tags'], per the overextends docs (and experience) resolves this error.

https://github.com/stephenmcd/django-overextends
2016-03-24 21:38:58 +00:00
Robert Rollins
6446c42132 Various typo fixes and grammar/clarity improvements. 2016-03-10 15:11:41 +00:00
Mikalai Radchuk
3f2f5665b0 Allow specifying custom edit handlers for snippets 2016-01-28 13:03:27 +00:00
Matt Westcott
deee02e4d7 Release note for #1391 2015-10-05 18:41:48 +01:00
Matt Westcott
a86b08a622 Add favicon as an overrideable branding block - fixes #1391 2015-10-05 18:20:08 +01:00
Dave Cranwell
12fc3e6601 Fixes #1600. Adds documentation and caveats about image formats system within rich text 2015-09-21 14:01:18 +01:00
Matt Westcott
2ed16e3ee2 Update documentation to indicate that SnippetChooserPanel no longer requires a snippet_type argument 2015-08-28 10:57:31 +01:00
Karl Hobley
f9f6d52670 Moved page editor customisation to customisation section 2015-05-30 23:17:39 +01:00
Karl Hobley
5d52ae949d Added customisation section 2015-05-30 23:10:48 +01:00