Karl Hobley
7e8f8f893c
Add changelog entry for removing Django 1.11 support
2020-02-24 12:26:48 +00:00
Matt Westcott
8931312025
Release note for #5827
2020-02-21 17:29:07 +00:00
Storm Heg
738572a545
Optimise configure site warning conditional
2020-02-21 16:56:40 +00:00
Storm Heg
50f6b21a78
Fix regression where Page.get_site() was not not working
2020-02-21 16:56:39 +00:00
Storm Heg
b13d8dc6c8
Fix get_urls_parts: return None if wagtail_serve is not registered
2020-02-21 16:56:39 +00:00
Matt Westcott
4df455ea9f
Remove support for Django 2.1 ( #5840 )
2020-02-18 13:55:53 +00:00
Matt Westcott
a97256a4f7
Release note for #5837
2020-02-18 11:45:53 +00:00
Matt Westcott
9f8cddca73
Respect custom tag models in WagtailAdminModelForm formfield_for_dbfield logic
2020-02-18 00:37:58 +00:00
Matt Westcott
0099de92f6
Allow passing a tag model to AdminTagWidget
2020-02-18 00:12:49 +00:00
Matt Westcott
5d8b343528
Add autocomplete endpoint for custom tag models
2020-02-18 00:12:49 +00:00
Matt Westcott
51d8433b6b
Release note for #5787
2020-02-17 12:30:10 +00:00
Matt Westcott
96cd5c066d
Update wording
...
Also move warning so it occurs on server startup rather than first request
2020-02-17 12:06:19 +00:00
Matt Westcott
7b6a89c155
Upgrade consideration note re SiteMiddleware deprecation
2020-02-17 12:06:19 +00:00
Matt Westcott
4950158e46
Remove remaining references to request.site
2020-02-17 12:06:19 +00:00
Matt Westcott
76cd26b099
Remove remaining references to SiteMiddleware
2020-02-17 12:06:19 +00:00
Matt Westcott
4279a17e87
Remove unnecessary 'except AttributeError'
2020-02-17 12:06:19 +00:00
Matt Westcott
ad444584f5
Refactor get_base_url to avoid a redundant Site.find_for_request call
2020-02-17 12:06:19 +00:00
Matt Westcott
3b49381884
Fix and test wagtail_site tag
2020-02-17 12:06:18 +00:00
Matt Westcott
f34891fbd3
Update docs to cover wagtail_site tag, find_for_request and deprecation of SiteMiddleware
2020-02-17 12:06:18 +00:00
Matt Westcott
ac84d8743b
Revert SiteMiddleware to setting request.site
...
This way, SiteMiddleware continues to support existing user / third-party code that has not yet been migrated from request.site to Site.find_for_request
2020-02-17 12:06:18 +00:00
Matt Westcott
76b6a2a4d4
Set host headers properly in multi-site tests, rather than fiddling request._wagtail_site
2020-02-17 12:06:18 +00:00
Matt Westcott
5eec4d954e
Deprecate SiteMiddleware ( #3834 , #5332 , #5673 )
...
Squashed commit of the following:
commit 6ff78d0271ae9bb8be20edc77acc046b7ecd1190
Merge: cbb5575
b7872e3
Author: Matt Westcott <matt@west.co.tt>
Date: Fri Jan 24 10:41:00 2020 +0000
Merge branch 'master' into sitemiddleware-rebase-2
Conflicts:
docs/reference/settings.rst
wagtail/api/v2/endpoints.py
wagtail/api/v2/filters.py
wagtail/api/v2/serializers.py
commit cbb5575fd8
Author: timothy@bttrcode <timothy@bttrcode.nl>
Date: Sun Nov 3 02:30:00 2019 +0100
Update branch, resolve conflicts, clean up
commit 6188742cfe
Merge: 4b4dee6
1c1341e
Author: timothy@bttrcode <timothy@bttrcode.nl>
Date: Sun Nov 3 01:48:21 2019 +0100
Resolve merge conflicts
commit 4b4dee6c47
Author: timothy@bttrcode <timothy@bttrcode.nl>
Date: Sun Nov 3 01:42:37 2019 +0100
Temporarily add Pipfile and yarn file
commit 540dff380b
Merge: 4a93424
0d2442f
Author: timothy@bttrcode <timothy@bttrcode.nl>
Date: Fri Sep 27 20:22:00 2019 +0200
Merge branch 'master' of https://github.com/aritas1/wagtail into aritasmaster
commit 0d2442fc1f
Author: Daniel <mail@aritas.de>
Date: Wed Jun 26 03:01:44 2019 +0200
clean tests and add ALLOWED_HOSTS globally
commit b7e6b8e655
Author: Daniel <mail@aritas.de>
Date: Wed Jun 26 03:00:07 2019 +0200
change context processor to be lazy
commit b16250fce9
Author: Daniel <mail@aritas.de>
Date: Tue May 28 21:37:05 2019 +0200
update SiteMiddleware documentation
commit 4be243f64d
Author: Daniel <mail@aritas.de>
Date: Tue May 28 20:52:08 2019 +0200
fix linting
commit 33151817a0
Author: Daniel <mail@aritas.de>
Date: Tue May 28 19:11:47 2019 +0200
add wagtail_site template tag
commit 38b304105a
Author: Daniel <mail@aritas.de>
Date: Tue May 28 16:19:22 2019 +0200
update tests for deprecated SiteMiddleware
commit f745aae9d0
Author: Daniel <mail@aritas.de>
Date: Tue May 28 16:11:58 2019 +0200
change Site finding mechanism to be independent of deprecated SiteMiddleware
2020-02-17 12:06:18 +00:00
Thibaud Colas
264ae1f999
Add README badges for LGTM ( #5831 )
...
Based on our recent discussion in Slack. See #5821 for an example PR that uses the LGTM check.
2020-02-17 00:06:38 +00:00
Andy Babic
1c2719720d
Release notes for #5810
2020-02-16 21:43:36 +00:00
Storm Heg
9f5cd32e27
Show InlinePanel non field validation errors
2020-02-16 21:43:35 +00:00
Andy Babic
061f0e2571
Release notes for #5828
2020-02-16 21:18:11 +00:00
Samir Shah
dd4a04f843
Skip field validation when unpublishing pages.
2020-02-16 21:05:51 +00:00
Thibaud Colas
df89749d76
Remove empty line from comment block ( #5821 )
...
A very crucial change, so I can try our new LGTM integration.
2020-02-12 14:45:20 +00:00
Thibaud Colas
676503023d
Mention docker-wagtail-develop in developing docs ( #5820 )
...
Based on discussion in #bristol-sprint on Slack. See also https://github.com/wagtail/vagrant-wagtail-develop/pull/25 .
2020-02-12 14:11:40 +01:00
Matt Westcott
1f5761fc6c
Remove duplicate of Jérôme Lebleu from contributors
2020-02-11 12:26:38 +00:00
Matt Westcott
d192bd1d44
Version bump beautifulsoup to 4.8.x ( #5817 )
2020-02-11 11:02:08 +00:00
jacobtoppm
3ac230f821
Prevent 'status' banners for page locking being doubled up on POST requests ( #5818 )
2020-02-11 09:25:09 +00:00
Matt Westcott
4314f3d1a1
Implement MultipleChoiceBlock (rebase of #5592 ) ( #5819 )
...
* Implement MultipleChoiceBlock (squashed commits from #5592 )
* Omit widget from frozen kwargs
* Rename get_callable_choices to indicate it is an internal method
* Add release notes for MultipleChoiceBlock
2020-02-10 22:24:49 +00:00
Matt Westcott
2b797f4a2e
Fix version number to 2.9a0
2020-02-07 20:50:10 +00:00
Arkadiusz Ryś
47f677577e
Make server-side slug generation respect WAGTAIL_ALLOW_UNICODE_SLUGS ( #5808 )
2020-02-05 17:33:32 +00:00
Matt Westcott
afd707f6b4
Fill in release date for 2.8
2020-02-03 13:34:04 +00:00
Matt Westcott
8f6b3f8cba
Fetch translations from Transifex
2020-02-03 13:33:08 +00:00
Karl Hobley
2e23ef4ee4
Author specific locking docs changes ( #5771 )
...
* Add to Dashboard docs
* Replace Dashboard image to show locked pages
* Add further explanatory text to Dashboard
* Improve image readability, add missing bracket
Co-authored-by: jacobtoppm <55137073+jacobtoppm@users.noreply.github.com>
2020-01-28 09:07:01 +00:00
Andy Chosak
43acf24cc8
Always include contributor names in the CHANGELOG
...
The CHANGELOG docs say that contributor names should only be included if
they are not a core committer, but historical practice has been to
always include names. Per discussion on the core team, we want to change
this guidance to explicitly recommend always including contributor
names.
This not only encourages and recognizes contributions but also helps
future contributors know who worked on different parts of the code. This
record (along with git history) provides a good reference to understand
who made certain changes or features.
2020-01-27 09:25:42 -05:00
Andy Chosak
81d23fc8ab
Support the rel attribute on ModelAdmin buttons
...
Currently it is possible to pass the target attribute to a button
created using ModelAdmin's ButtonHelper framework. This allows you to
generate button links like <a ... target="_blank">.
For example, if adding a new button and modeling it after the existing
edit_button code [0], you can add {'target': "_blank"} to the returned
dict and it'll get passed to the template when the button is rendered.
To be consistent with PR 4844, and to be consistent with what seems to
be the best practice ([1], [2]), we should also support passing the rel
attribute, which would allow for creation of button links like <a ...
target="_blank" rel="noopener noreferrer">.
[0] 5e2f50403b/wagtail/contrib/modeladmin/helpers/button.py (L61-L73)
[1] https://developers.google.com/web/tools/lighthouse/audits/noopener
[2] https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
2020-01-26 21:06:26 -05:00
Jack Paine
70da204eb1
Reduce contrast of rich text toolbar. Fix #4997 ( #5740 )
2020-01-25 00:05:27 +00:00
Thibaud Colas
2933589680
Add release notes for #5467
2020-01-24 20:56:18 +00:00
Thibaud Colas
14a6561223
Use data- attribute instead of class
2020-01-24 20:56:18 +00:00
Simon Evans
9aaed8db4c
Refactor logo SVG partials and update bg colour
2020-01-24 20:56:18 +00:00
Brian Edelman
e0672d60b3
adds new image for accessible logo background, updates html and css for desktop and mobile to account for new image
2020-01-24 20:56:18 +00:00
Thibaud Colas
eb0612c21c
Add release notes for #5784
2020-01-24 15:56:34 +00:00
Casper Timmers
8af6b4a555
Add aria label for password reset. Fix #5782 ( #5784 )
2020-01-24 15:53:37 +00:00
Thibaud Colas
b7872e3f2f
Add release notes for #5773
2020-01-23 16:21:43 +00:00
Sævar Öfjörð Magnússon
9b64b39f4b
Show 'Close Explorer' button on mobile viewports. Fix #5396 ( #5773 )
...
* Rework 'Close Explorer' button css so that it does not rely on u-hidden. Fixes issue #5396
* Update tests due to changed css classes on 'close explorer' button
2020-01-23 16:18:14 +00:00
Thibaud Colas
ef6ace6e98
Add release notes for #5775
2020-01-23 15:59:43 +00:00