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

8489 Commits

Author SHA1 Message Date
Bertrand Bordage
72e181a788 Changelog for #4402 in 2.0.1. 2018-03-22 02:59:18 +01:00
Bertrand Bordage
c697711bb1 Changelog for #4362 for 2.1. 2018-03-22 02:54:19 +01:00
Bertrand Bordage
587a049270 Changelog for #4362 for 2.0.1. 2018-03-22 02:53:14 +01:00
Bertrand Bordage
afe3b74f7d Changelog for #4374. 2018-03-22 02:42:14 +01:00
Tony Yates
cab90e5d1b Adding external link with selected text now includes text in link chooser. Fix #4328 (#4366) 2018-03-21 00:35:41 +02:00
Matt Westcott
e64c4daca6 Changelog cleanup
Documentation typo fixes aren't covered in the changelog (they happen frequently enough that covering them all would create too much noise)
2018-03-20 14:41:00 +00:00
Kim Chee Leong
2fdb924b56 Call 'specific' attribute when fetching page
Get the specific implementation of a page, this shows the correct
get_admin_display_title on the delete confirmation page.
2018-03-20 14:36:13 +00:00
Coen van der Kamp
07bcf45027 4399 Close paragraph and table rows (#4400) 2018-03-19 14:35:20 +01:00
Coen van der Kamp
490c4a713a Localize verbose names (#4397, fixing #2591)
* 2591 Localize app labels and Image model

Fix white

* 2591 Add migration
2018-03-19 13:41:49 +01:00
Bertrand Bordage
935b33ad7e
Handles empty ORDER inline field. (#4402) 2018-03-19 13:13:02 +01:00
DanAtShenTech
72e1491f39 Fix typo 2018-03-16 19:54:59 +01:00
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