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

8396 Commits

Author SHA1 Message Date
Matt Westcott
99aa078178 Fix indentation on 2.1 release notes
(technically we should standardise on no leading space, because the leading space creates a blockquote element - however, it's not really noticeable in the end result, and this way we can easily copy and paste from the changelog...)
2018-03-23 12:32:40 +00:00
Matt Westcott
3101e7be50 Add release note for #4416 on 2.1 2018-03-23 12:30:13 +00:00
Matt Westcott
96061ae301 Add Python 2 check to wagtail command 2018-03-23 12:28:57 +00:00
Mike Kamermans
59506ae69f Update jquery-datetimepicker dependency to make Wagtail more CSP-friendly (unsafe-eval). Fix #4329 (#4337)
* Update jquery-datetimepicker to 2.5.19

- Fixes an `eval()` CSP violation
- includes touch scroll fix from commit #87a7a7 (L909)
2018-03-22 23:51:37 +02:00
Thibaud Colas
eb9ad812f7
Update my contributing info 2018-03-22 23:43:31 +02:00
Bertrand Bordage
eee0f33e2b Fixes a Javascript month indexing. 2018-03-22 11:27:54 +01:00
Bertrand Bordage
011a88fb07 Adds a temporary docs banner to the Kickstarter project. 2018-03-22 10:12:48 +00:00
Bertrand Bordage
e24b198872 Changelog for #4397. 2018-03-22 03:03:19 +01:00
Bertrand Bordage
4ae3c30fdb Changelog for #4402 in 2.1. 2018-03-22 02:59:47 +01:00
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