Commit graph

3816 commits

Author SHA1 Message Date
Matt Westcott
43d1261c2f Merge branch 'flake8' of https://github.com/kaedroho/wagtail into kaedroho-flake8
Conflicts:
	wagtail/wagtailadmin/views/account.py
2015-04-08 21:26:57 +01:00
Matt Westcott
74273275e4 Merge branch 'kaedroho-issue-1124' 2015-04-08 11:49:41 +01:00
Matt Westcott
7ff9f3ee50 Release note for #1147 2015-04-08 11:49:19 +01:00
Matt Westcott
c53ffbf929 Merge branch 'issue-1124' of https://github.com/kaedroho/wagtail into kaedroho-issue-1124 2015-04-08 11:45:43 +01:00
Karl Hobley
bda345c9de Cleaned up E701 errors 2015-04-03 19:31:43 +01:00
Karl Hobley
5b49ddb5e3 Cleaned up E703 Error
Not Javascript!
2015-04-03 19:31:43 +01:00
Karl Hobley
b76b64ae39 Clean up W601 error 2015-04-03 19:31:43 +01:00
Karl Hobley
82fef49c37 Silence an F403 error 2015-04-03 19:31:43 +01:00
Karl Hobley
cdd8528ed9 Clean up E122 errors 2015-04-03 19:31:43 +01:00
Karl Hobley
9ca401176e Clean up E112 error 2015-04-03 19:31:43 +01:00
Karl Hobley
dd61cc799e Clean up E127 errors 2015-04-03 19:31:43 +01:00
Karl Hobley
8013c9400c Clean up E201 error 2015-04-03 19:31:43 +01:00
Karl Hobley
80c2b00e74 Clean up E265 errors 2015-04-03 19:31:43 +01:00
Karl Hobley
0143fb9944 Clean up E226 errors 2015-04-03 19:31:43 +01:00
Karl Hobley
71441defc4 Fixed missing newline (W292) 2015-04-03 19:31:43 +01:00
Karl Hobley
66b7f71687 Fix local variable name clash (F812) 2015-04-03 19:31:43 +01:00
Karl Hobley
88ef591b84 Fixed a couple of clashing test names (F811) 2015-04-03 19:31:43 +01:00
Karl Hobley
4186b56764 Clean up E231 errors 2015-04-03 19:31:42 +01:00
Karl Hobley
2546c758d5 Ignore E126 errors 2015-04-03 19:31:42 +01:00
Karl Hobley
321d2261a1 Ignore E124 errors 2015-04-03 19:31:42 +01:00
Karl Hobley
6b56af27ff Clean up E123 errors 2015-04-03 19:31:42 +01:00
Karl Hobley
6828537c4b Clean up E125 error 2015-04-03 19:31:42 +01:00
Karl Hobley
ca61a26842 Clean up E225 errors 2015-04-03 19:31:42 +01:00
Karl Hobley
efb7797c00 Clean up E301 errors 2015-04-03 19:31:42 +01:00
Karl Hobley
f209a25cfa Ignore E303 errors 2015-04-03 19:31:42 +01:00
Karl Hobley
db10ef7bd8 Fixed missing imports (F821) 2015-04-03 19:31:42 +01:00
Karl Hobley
d5eb3577e2 Clean up E272 error 2015-04-03 19:31:42 +01:00
Karl Hobley
878c13d7ad Removed unused local variables (F841) 2015-04-03 19:31:37 +01:00
Karl Hobley
ba9908d4b7 Removed unused test 2015-04-03 18:52:58 +01:00
Karl Hobley
bc192388c1 Ignore E302 errors 2015-04-03 18:52:58 +01:00
Karl Hobley
62d77e3aa1 Clean up W291 errors 2015-04-03 18:52:53 +01:00
Karl Hobley
304f8f8e66 Ignore E261 errors 2015-04-03 18:52:53 +01:00
Karl Hobley
27b95dce86 Ignore E128 errors 2015-04-03 18:52:53 +01:00
Karl Hobley
d88bc49ea7 Fix E203 errors 2015-04-03 18:52:53 +01:00
Karl Hobley
a0b3dcf434 Don't flake8 project template 2015-04-03 18:52:53 +01:00
Karl Hobley
e656744e36 Removed unused imports 2015-04-03 18:52:53 +01:00
Karl Hobley
c63b585d8c Clean up W293 errors 2015-04-03 18:52:50 +01:00
Karl Hobley
01808528db Clean up W391 errors 2015-04-03 18:52:47 +01:00
Karl Hobley
bf7292ffcf Clean up E241 errors 2015-04-03 18:52:45 +01:00
Karl Hobley
cf965671e3 Clean up E202 errors 2015-04-03 18:52:42 +01:00
Karl Hobley
4ef3107b5f Clean up E208 errors 2015-04-03 18:52:39 +01:00
Karl Hobley
e68856de7b Test for flake8 errors in tox/travis
Ignoring E501
2015-04-03 16:56:06 +01:00
Karl Hobley
c653f0630a Merge pull request #1152 from kaedroho/new-tox
Use generative tox config
2015-04-03 15:10:13 +01:00
Karl Hobley
85ed04bf5c Merge pull request #1153 from kaedroho/drone
Put drone back
2015-04-03 14:50:44 +01:00
Karl Hobley
e39fc266e9 Put drone back 2015-04-03 14:47:13 +01:00
Karl Hobley
0181fb16f0 Use generative tox config 2015-04-03 14:38:08 +01:00
Karl Hobley
7fd8f8f0e4 Update session auth hash on password change
Fixes #1124
Report and suggested fix by @AtomicSpark

When SessionAuthenticationMiddleware is enabled, the change password form will kick the user out of all their sessions, including the one they just changed their password in.

This change prevents the middleware from kicking the user out of the current session (but they will still be kicked out all other sessions)

See: https://docs.djangoproject.com/en/dev/topics/auth/default/#session-invalidation-on-password-change
2015-04-02 17:15:26 +01:00
Tom Dyson
3fcf04f8a3 add hosting reference in commercial support 2015-04-02 12:53:44 +01:00
Tom Dyson
0bc67e1913 Add 'Commercial Support' section to readme 2015-04-02 12:36:29 +01:00
Karl Hobley
b5feee1459 Make sure image files get closed on exception
If an exception got raised in the "with" block for the get_willow_image context manager, the image file was not closed.
2015-04-02 11:45:40 +01:00