Commit graph

8242 commits

Author SHA1 Message Date
Matt Westcott
da45a3e4cf Add Python 2 check to wagtail command 2018-03-23 12:28:28 +00:00
Bertrand Bordage
8844bbed3e Fixes a Javascript month indexing. 2018-03-22 11:29:14 +01:00
Bertrand Bordage
814d665902 Adds a temporary docs banner to the Kickstarter project. 2018-03-22 10:13:54 +00:00
Bertrand Bordage
64f1642633 Changelog for #4402 in 2.0.1. 2018-03-22 02:58:47 +01:00
Bertrand Bordage
f1c15d9f16 Handles empty ORDER inline field. (#4402) 2018-03-22 02:56:33 +01:00
Nebulosar
7f82787aed Added error message for settings when site not defined (#4362)
* Added error message for settings when site not defined

* added tests

* fixed linter error

* implemented feedback
2018-03-22 02:51:12 +01:00
Bertrand Bordage
d94a647b9e Changelog for #4362 for 2.0.1. 2018-03-22 02:50:00 +01:00
DanAtShenTech
beb5f62e01 Clarify explanation of white cross for adding multiple items (#4392) 2018-03-19 14:54:02 +01:00
Matt Westcott
4aab1c4665 Release note for #4312 in 2.0.1 2018-03-08 17:01:44 +00:00
Tim Heap
f26491bcdd Run Django password validators against populated user models
Previously the validators were run against empty user models, which made
the UserAttributeSimilarityValidator accept passwords that would
otherwise have been rejected.

Tests have been added to ensure the validator run correctly.
2018-03-08 17:01:01 +00:00
Matt Westcott
0feae94520 Release note for #4314 in 2.0.1 2018-03-08 16:26:15 +00:00
Bertrand Bordage
d3d3f20ec8 Prevents accounts leak through the password reset form.
Also displays an error on invalid e-mail submit.
2018-03-08 16:25:31 +00:00
Andy Chosak
ce36fb2cfc add favicon to documentation
This change copies the Wagtail admin favicon.ico (from
wagtail/admin/static_src/wagtailadmin/images) into the Sphinx build
directory so that built docs use the same favicon as the admin.

Makes use of [the Sphinx `html_favicon` setting](http://www.sphinx-doc.org/en/1.5.1/config.html#confval-html_favicon)
which adds this line to the generated HTML:

```html
<link rel="shortcut icon" href="_static/favicon.ico"/>
```

Fixes #4340.
2018-03-08 12:42:20 +00:00
Bertrand Bordage
cd90ceddea Prevents a potential XSS attack coming from wagtail.io. 2018-03-08 12:42:20 +00:00
Matt Westcott
56339124a3 Upgrade Pillow to >=4.0 2018-03-08 12:42:04 +00:00
Todd Dembrey
0f9a70a6b9 Ensure that rest framework is compatible with django 2.0
3.7.4 is the first release with django 2.0 compatibility
http://www.django-rest-framework.org/topics/release-notes/#374
2018-03-08 12:42:04 +00:00
Todd Dembrey
cae33c006c Draftail was failing to initialise with defined options in settings 2018-03-08 12:41:39 +00:00
DanAtShenTech
e889cd2424 Typo and clarification (#4319) 2018-03-08 12:40:25 +00:00
Matt Westcott
71482a49ec Add 2.0.1 release notes 2018-03-08 12:40:25 +00:00
Matt Westcott
c612b01e3a Fill in release date for 2.0 2018-02-27 19:35:04 +00:00
Matt Westcott
0d2b4c1681 Version bump to 2.0 final 2018-02-27 19:33:15 +00:00
Matt Westcott
9c490e116f Fetch new translations from Transifex 2018-02-27 19:29:16 +00:00
Thibaud Colas
74cb739a1a Upgrade Draftail to latest release, addressing #4296 2018-02-27 15:36:22 +00:00
Matt Westcott
57a1e882f6 Don't insert a spacer paragraph when preceded by a list 2018-02-27 10:37:53 +00:00
Matt Westcott
9ddd5f62ee Ensure HTML entities are unescaped in html-to-contentstate conversion 2018-02-27 10:37:53 +00:00
Matt Westcott
27b47e9943 Add spacer paragraphs around atomic blocks where necessary 2018-02-27 10:37:53 +00:00
Thibaud Colas
bde97f55fd Display rich text image alt as plain text instead of read-only field 2018-02-23 16:19:39 +00:00
Thibaud Colas
0ce10bd294 Add Draftail init fallback for StreamField/InlinePanel templated fields. Fix #4295 2018-02-23 16:03:24 +00:00
Loic Teixeira
ebc34cb34f Update paths in documentation 2018-02-23 11:54:44 +00:00
Loic Teixeira
ecce220a45 Move misplaced test file 2018-02-23 11:54:42 +00:00
Loic Teixeira
02e185bffe Update path in comments 2018-02-23 11:54:41 +00:00
Thibaud Colas
a35831ce8f Fix Draftail initialising on the wrong elt. Fix #4295 (#4301) 2018-02-21 11:08:42 +00:00
Matt Westcott
74a75b0f3b Version bump to 2.0rc1 2018-02-16 12:02:39 +00:00
Matt Westcott
84d4c7ca38 Generate new source files for translation 2018-02-16 11:29:31 +00:00
Matt Westcott
61a10a3cda Fetch new translations from Transifex 2018-02-16 11:26:44 +00:00
Matt Westcott
4ebef8f602 Tutorial should refer to 'Pages', not 'Explorer' (#4293) 2018-02-16 10:31:44 +00:00
Matt Westcott
75bd2b5a14
Gracefully handle inline styles/entities at top-level of rich text (#4290) 2018-02-16 10:30:06 +00:00
Dan Dietz
4715cfc501 Added LineBreakHandler to resolve missing line breaks
Conflicts:
	CONTRIBUTORS.rst
2018-02-15 17:37:46 +00:00
Matt Westcott
378a4a8e57 Test streamfield form helper against StructBlock 2018-02-15 11:15:48 +00:00
Matt Westcott
18e823721b fixup! Add form data helpers 2018-02-15 10:39:27 +00:00
Matt Westcott
d4475af79f Add release notes for form data helpers 2018-02-14 17:17:49 +00:00
Matt Westcott
ca375b7b73 Add end-to-end tests of form data helpers 2018-02-14 17:17:48 +00:00
Matt Westcott
4b23b17d91 Add rich_text form data helper 2018-02-14 17:17:46 +00:00
Matt Westcott
e6757d64e7 Add form data helpers 2018-02-14 15:51:52 +00:00
Matt Westcott
f7b750f1e5 Reorganise wagtail.tests.utils into a subfolder 2018-02-14 14:59:09 +00:00
Matt Westcott
22a0478322 Fix 'email notifications' link 2018-02-14 14:06:08 +00:00
Thibaud Colas
e0cddf77a9 Refactor icon-help-inverse positioning 2018-02-14 11:46:32 +00:00
Thibaud Colas
aba5ac7315 Split object-help into two components sharing the same icon 2018-02-14 11:46:30 +00:00
Thibaud Colas
1db74dcb44 Remove unneeded layout override in .full fields 2018-02-14 11:46:29 +00:00
Thibaud Colas
a7b9fd4164 Remove unneeded object-help positioning in StreamField 2018-02-14 11:46:28 +00:00