0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/docs/releases
Robert Rollins cbabc3d9c7 Page.dummy_request() now takes an optional request object argument.
When building a dummy request, you can now pass in the original request object
to add additional information to the dummy. Currently, that includes the
following headers:
REMOTE_ADDR
HTTP_X_FORWARDED_FOR
HTTP_COOKIE
HTTP_USER_AGENT

More may be added later.

This changes ensures that middleware which work on the client IP aren't flumuxed
by its absense, and also makes it possible for previews to be rendered as the
logged in user (they had previously been rendered using an AnnonymousUser).

Because the user's logged in state is now detectable in a Page previews, the
Wagtail userbar now hides itself explicitly during previews, rather than relying
on the fact that previews used to be built with AnonymousUser.
2016-07-06 20:28:05 +01:00
..
0.4.1.rst
0.4.rst
0.5.rst
0.6.rst
0.7.rst
0.8.1.rst
0.8.3.rst
0.8.4.rst
0.8.5.rst
0.8.6.rst
0.8.7.rst
0.8.8.rst remove 'in development' from 0.8.8 2015-06-18 16:38:21 +01:00
0.8.10.rst version bump to 0.8.10 due to packaging issues (grr) 2015-09-16 17:36:21 +01:00
0.8.rst
1.0.rst 'extremely basic information' -> 'the hostname of your Wagtail site' 2015-07-15 17:12:19 +01:00
1.1.rst prepare for 1.1 release 2015-09-15 12:45:54 +01:00
1.2.rst Prepare for 1.2 release 2015-11-12 16:55:14 +00:00
1.3.1.rst Version bump to 1.3.1 2016-01-05 17:19:08 +00:00
1.3.rst Fix typos in 1.3 release notes 2016-07-05 15:00:32 +01:00
1.4.1.rst Removed arrow-up after selector issue #2365 2016-03-17 01:25:26 +00:00
1.4.2.rst Tweaks to changelog message 2016-03-30 22:29:33 +01:00
1.4.3.rst 1.4.3 no longer in development 2016-04-04 21:39:58 +01:00
1.4.4.rst Update release notes / contributors with new translations imported into 1.4.4 2016-05-10 11:28:46 +01:00
1.4.5.rst 1.4.5 is now released 2016-05-19 15:00:35 +01:00
1.4.rst 1.4 no longer 'in development' 2016-03-16 11:31:20 +00:00
1.5.1.rst mark 1.5.1 as no longer in development 2016-06-07 18:59:13 +01:00
1.5.2.rst Release note for 1.5.2 2016-06-08 11:52:27 +01:00
1.5.rst promote rich text link handling to a major feature 2016-05-19 17:01:17 +01:00
1.6.rst Page.dummy_request() now takes an optional request object argument. 2016-07-06 20:28:05 +01:00
index.rst Release note for 1.5.2 2016-06-08 11:52:27 +01:00