0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

123 Commits

Author SHA1 Message Date
Matt Westcott
ca8503846e Fix link to RFC 8 2017-08-16 10:19:16 +01: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
0f5db96364 Add WAGTAILUSERS_PASSWORD_ENABLED and WAGTAILUSERS_PASSWORD_REQUIRED settings
Fixes #3706. These options restore the ability to create users with no password set on the Django side, for setups where authentication is managed externally (e.g. LDAP) - this was inadvertently dropped in Wagtail 1.10 when the form validation was tightened up (#3007). Additionally, the password fields can now be removed entirely, to enforce the use of an external auth setup.
2017-08-10 10:11:47 +01:00
Karl Hobley
01e2d5f4a0 Class based embed finders and new embed finder configuration (#2127)
* Allow additional oembed providers to be used (currently all are hardcoded)
 * Make per-provider configuration possible
    * Choose which finders get used for which provider (eg, force use of oembed for instagram but use embedly for everything else)
    * Allow specifying additional parameters for certian providers such as scheme=https to YouTube
2017-07-03 18:28:13 +01:00
Matt Westcott
b2fbd91864 Document the DOCUMENT_PASSWORD_REQUIRED_TEMPLATE setting 2017-06-16 14:50:48 +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
Bertrand Bordage
2b135a519c Doc typos. 2017-04-19 18:38:17 +02:00
Bertrand Bordage
769413dd2d Promotes new admin preview in release notes. 2017-04-19 18:37:54 +02:00
Bertrand Bordage
b866e5b934 Adds some missing versionadded in settings docs. 2017-04-19 15:13:02 +02:00
Bertrand Bordage
1a82c19191 Adds documentation for WAGTAILADMIN_PERMITTED_LANGUAGES. 2017-04-19 15:09:58 +02:00
Matt Westcott
88136dab73 Further typos for #3310. 2017-04-19 14:54:36 +02:00
Daniel Chimeno
72a935a8f0 Adds user-prefered admin language (#3310).
added prefered language field and migration

added form and view to select prefered language

Added some tests

modified tests

fix styleguide errors

activate middleware only for authenticated users

fixed typos

fixed test undoing language preferences

fixed lint issues

fixed tests

fixed message

change behaviour and more test added

added utf8 coding

[skip ci] initial documentation for preferred language

added contributor

refactor get_available_admin_languages

refactor get_available_admin_languages

make language name language aware

translate notifications to recipient language

make language name language aware

fixed lint
2017-04-19 14:48:06 +02:00
Bertrand Bordage
511c158b18 New admin preview (#3383)
* Rewrites the page preview to make it reliable.

* Updates preview tests.

* Fixes View import on Django 1.8 & 1.9.

* Starts sending preview auto-update data only after clicking on preview.

* Changes the preview session key prefix.
2017-04-12 16:35:38 +01:00
Bertrand Bordage
8cf37bc877 Merge pull request #3460 from rosco77/patch-1
[Docs] Removes common prefix from i18n_patterns.
2017-04-08 01:53:18 +02:00
Bertrand Bordage
d36fe2b253 Merge pull request #3462 from kaedroho/feature/images-in-api-simple
Allow custom field classes to be used in api_fields
2017-04-06 19:41:29 +02:00
Karl Hobley
fd9db9335a Docs edits 2017-04-06 15:27:34 +01:00
Karl Hobley
7e160edad6 Docs 2017-04-06 15:17:57 +01:00
Bojan Mihelac
0f53afc5a6 Adds support for custom date and datetime formats (#2595)
It is possible to set default format for date/datetime inputs. This works together
with standard django localization.

    # django settings
    USE_I18N = True
    LANGUAGE_CODE = 'sl'

    # wagtail settings
    WAGTAIL_DATE_FORMAT = '%d.%m.%Y.'
    WAGTAIL_DATETIME_FORMAT = '%d.%m.%Y. %H:%M'

DateBlock, DateTimeBlock accepts additional keyword argument `format`.
2017-03-31 16:30:27 +01:00
Alex Gleason
bbdbf3fd81 Allow spaces in tag fields 2017-03-23 17:19:47 +01:00
Matt Westcott
eb9cc639d2 Link to the full Elasticsearch setup docs from the Performance page 2017-03-23 15:51:11 +01:00
Maarten Kling
e41edb6e29 Setting for your most recent edits (#3483)
Closes #996
2017-03-22 20:47:57 +01:00
Ross Curzon-Butler
d4165f0d40 Django urlpattens no longer support common prefixes 2017-03-17 09:00:46 +01:00
Matt Westcott
21f1292cf7 Reinstate underscore in fields param, as per 40842fe8bf (commitcomment-21183519) 2017-03-07 11:03:30 +00:00
Matt Westcott
60f28f8dc3 Mark API v1 documentation as deprecated (#3429) 2017-03-07 10:49:19 +00:00
jacoor
40842fe8bf typo fix 2017-03-07 10:48:30 +00:00
Thibaud Colas
d4e63c74e5 Mention Awesome Wagtail on "third-party tutorials" page (#3419)
It feels relevant to mention Awesome Wagtail here since it serves the same purpose as this page.
2017-03-02 12:00:38 +00:00
Scot Hacker
6364104282 Document get_rendition() 2017-02-21 22:48:20 +00:00
Matt Westcott
15cd1b43cb Fix unexpected full stop in the middle. Of a sentence. 2017-02-16 17:11:37 +00:00
Matt Westcott
25c2be10c3 Remove image feature detection signal handler from docs 2017-02-16 17:10:38 +00:00
Mike Dingjan
8c970e4848 Update documentation 2017-02-16 16:54:36 +00:00
Gagaro
4fadecebd6 Added a submit_buttons block to login template 2017-02-11 22:58:53 +00:00
Alasdair Nicol
d8926913bd Updated docs to use a list for urlpatterns
This style is recommended for Django 1.8+, and required for 1.10+
2017-02-05 19:59:39 +00:00
Matt Westcott
3cdafc3b32 Add Wagtail-Multilingual to third-party tutorials (#3317) 2017-02-03 09:52:00 +00:00
Martey Dodoo
3923ee668c Remove references to Gondor.io in documentation.
Gondor.io has been retired by Eldarion (see
http://eldarion.cloud/blog/2016/04/21/goodbye-gondor-hello-kel-and-eldarion-cloud/),
so the tutorial wouldn't be helpful even if it was accessible.
2017-01-30 12:36:26 +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
Matt Westcott
1d4743d27c Update project template + docs to clarify that wagtail_urls should appear at the end of urlpatterns 2017-01-13 17:06:52 +00:00
Matt Westcott
6f834c9a9b Update links to github.com/torchbox to point to github.com/wagtail 2016-12-15 11:49:49 +00:00
Matt Westcott
978cd2e95b Switch to Rendition.filter_spec as the active field for looking up filters 2016-12-06 15:03:15 +00:00
Matt Westcott
02360e6651 re-indent template performance code snippet 2016-11-28 13:45:42 +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
254e675634 Use .. code-block:: console for all shell commands
This is the correct lexer for interactive console sessions, according to
<http://pygments.org/docs/lexers/>. This does require command lines to
be prefixed with `$`, otherwise they are interpreted as the output of a
command. It highlights the command nicely, including environment
variables, strings, and comments.
2016-11-28 13:41:35 +00:00
Tim Heap
f742d4a476 Use .. code-block:: for all python, html blocks 2016-11-28 13:41:34 +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
Manuel E. Gutierrez
5a26e22c0f Improve TranslatedField example
Avoid allocating two variables when only need one.
2016-11-15 10:39:55 +00:00
Matt Westcott
59440c92f1 Update PageViewRestriction model to support group/login restriction type
Update page privacy form with login/group options

Add unit tests for setting group-based permissions

Add a basic login page to wagtailcore

Implement front-end logic for group and login-based permissions

Allow overriding the frontend login template name with WAGTAIL_FRONTEND_LOGIN_TEMPLATE

Add documentation for customising the login page

Add message on login page for authenticated users who don't have access
2016-10-27 16:42:08 +03:00
Jaap Roes
10bcb50fff Recommend Django's cached template loader
As noted in PR #3077:

    "With the cached template loader enabled, there's a significant performance improvement"
2016-10-26 13:24:36 +02:00
pure-zero
800bfa7c16 should use rest_framework not restframework (#3087) 2016-10-15 10:58:00 +01:00
Matt Westcott
0cf3b13a1d Release note for #3075 2016-10-13 14:54:34 +01:00