Wykres commitów

8276 Commity (26d452c4bb8908e41b27d42b7f64b9da8cd4d521)

Autor SHA1 Wiadomość Data
Karl Hobley 26d452c4bb Release notes for #4384 2018-03-16 15:16:40 +00:00
Kim Chee Leong 36c2f48d10 Remove assert from DescendantOfFilter.filter_queryset method 2018-03-16 15:14:04 +00:00
Kim Chee Leong 07036abb1c Remove assert from ChildOfFilter.filter_queryset method 2018-03-16 15:14:04 +00:00
Kim Chee Leong 1ba4d84fb7 Remove assert from WagtailPagination.paginate_queryset method 2018-03-16 15:14:04 +00:00
Lucas Moeskops f7b0b6917c Added if statement around error box html for both fields 2018-03-16 11:48:24 +01:00
Lucas Moeskops 2e10a7c239 Style improvements with help from @jjanssen 2018-03-16 11:43:33 +01:00
Lucas Moeskops db8635dc3a Layout failures 2018-03-16 11:43:33 +01:00
Lucas Moeskops 6bb3605497 Improvements to error display 2018-03-16 11:43:33 +01:00
Nebulosar 58326ef0ac 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-15 17:15:56 +01:00
Kevin Chung d188576af8 Adds a new HelpPanel (#4374) 2018-03-15 16:46:34 +01:00
Matt Westcott a46ba4805b Cleanup for the `Block.__eq__` method (#4378)
* Fix incorrect assertion in TestSystemCheck

It only worked by accident, due to the definition of equality on block objects.

* Explicitly cast child_blocks.items() to a list when deconstructing blocks

The result of items() is a lazily-evaluated ItemsView object, which Django's deep_deconstruct function (used to detect changes for migrations) doesn't recognise; as a result, the blocks inside it don't get deconstructed. Luckily, this doesn't break migration change detection, because we define __eq__ on Block so that two blocks with matching definitions are considered equal. Nevertheless, it's best that we don't rely on that behaviour; it was only implemented originally as a workaround for https://code.djangoproject.com/ticket/24340 in Django <1.9 (where deep_deconstruct didn't recurse into lists either).

* Bring comment for Block.__eq__ up to date
2018-03-15 16:40:28 +01:00
Janneke Janssen 3536796471 Correct dropdown arrow styling in Firefox, IE11. Fix #4336 (#4373) 2018-03-15 12:36:51 +01:00
Caspowned 977dbae585 Rewrite password change feedback message. Fix #4200 (#4364) 2018-03-15 00:53:33 +01:00
Thibaud Colas 6246832408 Add JS source maps in production build for packaged Wagtail 2018-03-14 23:03:00 +01:00
Lucas Moeskops 6b272c43e4 Issue 4334: Excluded fields are also excluded when a panel set is exp… (#4363)
* Issue 4334: Excluded fields are also excluded when a panel set is explicitly defined on a model.

* Improved notation after review with @BertrandBordage

* Incorrect field name in comment
2018-03-14 19:01:32 +01:00
Thibaud Colas 6126510176 Fix focal area removal not working in IE11 and MS Edge. Fix #4284 2018-03-14 14:08:55 +01:00
Thibaud Colas 68daec7848 Remove outdated X-UA-Compatible meta from admin template 2018-03-14 10:35:50 +01:00
Timothy Allen e4f4383a58 I found an extra space in the scss when extracting a list of usable icons bundled with Wagtail. (#4339) 2018-03-13 00:27:44 +01:00
Samir Shah 4c5eed2dd0 Remove support for IE6 to IE9 from project template (#4355)
I'd like to propose removing the shims for IE6-9 from the project template.

The rationale for this is the same as for dropping support for EOL version of Django, etc. - i.e., these versions of Internet Explorer are no longer supported by the vendor (the last version of Windows that you cannot upgrade to use IE10 or higher was Windows XP, which reached end of life in 2014).

On that basis I think that Wagtail should not include these shims by default - projects that for whatever reason still need to support these browsers can easily add them to their templates.
2018-03-12 11:40:09 +01:00
Matt Westcott 7a7d088d9c Release note for #4312 in 2.0.1 2018-03-08 17:02:11 +00:00
Matt Westcott 8e3308af83 Release note for #4312 in 2.1 2018-03-08 17:00:16 +00:00
Tim Heap 9d8563a744 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 16:30:04 +00:00
Matt Westcott 0d4f324d27 Release note for #4314 in 2.0.1 2018-03-08 16:26:36 +00:00
Matt Westcott a2d41ef6bf Release note for #4314 in 2.1 2018-03-08 16:24:28 +00:00
Bertrand Bordage 98ea7bbf3f Prevents accounts leak through the password reset form.
Also displays an error on invalid e-mail submit.
2018-03-08 16:07:55 +00:00
Matt Westcott ed6ee71438 Add 2.0.1 release notes 2018-03-08 12:45:21 +00:00
Andy Chosak e2f2a8c005 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:24:13 +00:00
Bertrand Bordage 8f45392861 Prevents a potential XSS attack coming from wagtail.io. 2018-03-06 23:29:28 +01:00
Thibaud Colas 432e627054
Add Codecov integration to CircleCI to track JS test coverage, with separate flags (#4219) 2018-03-06 20:19:37 +02:00
Sebastian Brestin e8ee632b29 Permission checking consistency #4305 2018-03-05 17:18:16 +00:00
Matt Westcott 46286e2c84
Upgrade Pillow to >=4.0 2018-03-05 16:39:34 +00:00
Todd Dembrey 073dcdddfe 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-05 16:22:07 +00:00
Todd Dembrey 09f8a4f38a Draftail was failing to initialise with defined options in settings 2018-03-05 16:04:02 +00:00
DanAtShenTech 76975525f7 Typo and clarification (#4319) 2018-02-27 22:08:57 +02:00
Matt Westcott 5a028919b9 Fill in release date for 2.0
Conflicts:
	CHANGELOG.txt
2018-02-27 19:36:07 +00:00
Matt Westcott 530b8b32ec Fetch new translations from Transifex 2018-02-27 19:29:55 +00:00
Thibaud Colas 87b0a89e1e Upgrade Draftail to latest release, addressing #4296 2018-02-27 15:48:34 +00:00
Matt Westcott 3a638add7d Don't insert a spacer paragraph when preceded by a list 2018-02-27 10:38:42 +00:00
Matt Westcott 581e9a92c0 Ensure HTML entities are unescaped in html-to-contentstate conversion 2018-02-27 10:38:41 +00:00
Matt Westcott 9fadf1cb21 Add spacer paragraphs around atomic blocks where necessary 2018-02-27 10:38:39 +00:00
Michael Harrison 4da0bd7bd2 Improve redirect links search in the admin 2018-02-27 16:08:11 +11:00
Matt Westcott cde31260d8 add documentation for custom send_mail method 2018-02-26 19:06:18 +00:00
Bertrand Bordage 343fa7358c Translates “username” in login form errors. 2018-02-26 16:51:41 +01:00
Thibaud Colas 96d39e4560 Display rich text image alt as plain text instead of read-only field 2018-02-23 16:19:04 +00:00
Thibaud Colas c62c58c492 Add Draftail init fallback for StreamField/InlinePanel templated fields. Fix #4295 2018-02-23 16:02:57 +00:00
Loic Teixeira f6bcfbf31e Update paths in documentation 2018-02-23 11:53:31 +00:00
Loic Teixeira 0b588e47eb Move misplaced test file 2018-02-23 11:53:31 +00:00
Loic Teixeira 8364dcd9ab Update path in comments 2018-02-23 11:53:31 +00:00
Tim Heap e8a9f9d8c9 Use correctly sorted StreamBlock children in both prepend and append menus
Previously blocks were only correctly sorted and grouped in the prepend
menu, while they appeared in definition order in the append menu.
2018-02-22 13:52:13 +00:00
Thibaud Colas 18f9736c38 Fix Draftail initialising on the wrong elt. Fix #4295 (#4301) 2018-02-21 11:07:28 +00:00