Commit graph

857 commits

Author SHA1 Message Date
Aleksi Häkli
e93e0d3f89
Update pytest from 4.5.0 to 4.6.0 2019-06-02 13:08:07 +03:00
Aleksi Häkli
9caaf48b81
Update Django Allauth example
Use example from jazzband/django-oauth-toolkit#712
for reference with props to @hcNick for debugging
2019-05-30 17:44:08 +03:00
Aleksi Häkli
17e2d34b68
Update docs for Python 3 syntax 2019-05-30 17:29:45 +03:00
Aleksi Häkli
291ccdf233
Further update login flow diagram 2019-05-28 16:53:56 +03:00
Aleksi Häkli
77bac90c91
Update login flow diagram 2019-05-28 16:45:54 +03:00
Aleksi Häkli
1e796caa31
Improve architecture documentation 2019-05-26 21:30:08 +03:00
Aleksi Häkli
5f08037f78
Tune documentation titles 2019-05-26 17:42:52 +03:00
Aleksi Häkli
572addc84a
Add authentication flow diagram 2019-05-26 17:41:27 +03:00
Aleksi Häkli
67098c4669
Fix configuration list 2019-05-26 17:34:12 +03:00
Aleksi Häkli
5ab820db6a
Update architecture docs for exception handling
Version 5.0.5 migrated from exceptions to request flagging
which alters the internal behaviour slightly.
2019-05-25 21:12:50 +03:00
Aleksi Häkli
4b7650d37d
Improve middleware documentation 2019-05-25 21:04:47 +03:00
Aleksi Häkli
7340f2c408
Use correct rST code formatting in changelog 2019-05-25 21:04:41 +03:00
Aleksi Häkli
ccb14818b8 Update tox from 3.11.1 to 3.12.1 2019-05-25 20:45:21 +03:00
Aleksi Häkli
1842826b7a Version 5.0.6 2019-05-25 20:45:21 +03:00
Aleksi Häkli
47ae68b0c0 Deprecate AXES_DISABLE_SUCCESS_ACCESS_LOG flag
Fixes #446
2019-05-25 20:45:21 +03:00
Aleksi Häkli
f028c7d2be Clean up docs on configuration flags
Use separate line for default value for readability
2019-05-25 20:45:21 +03:00
Aleksi Häkli
d0b21d3803 Use term warning instead of error in check module code 2019-05-25 20:45:21 +03:00
pyup-bot
41c4eda047 Update tox from 3.10.0 to 3.11.1 2019-05-20 20:21:18 +03:00
Aleksi Häkli
bfccbf0587
Fix typo in docs 2019-05-19 21:23:24 +03:00
Aleksi Häkli
26cc41b689 Version 5.0.5 2019-05-19 18:32:40 +03:00
Aleksi Häkli
a151b9c8e2 Add tests for AXES_ENABLED flag 2019-05-19 18:32:40 +03:00
Aleksi Häkli
3a98c92949 Improve changelog ordering 2019-05-19 18:32:40 +03:00
Aleksi Häkli
8c2ae49f9a Add compatibility table 2019-05-19 18:32:40 +03:00
Aleksi Häkli
079263e181 Add Django OAuth Toolkit integration example 2019-05-19 18:32:40 +03:00
Aleksi Häkli
25e7d5cfd3 Fix note block syntax in docs 2019-05-19 18:32:40 +03:00
Aleksi Häkli
2e984f9fdd Fix DRF integration links 2019-05-19 18:32:40 +03:00
Aleksi Häkli
1fa76eb526 Improve usage documentation readability 2019-05-19 18:32:40 +03:00
Aleksi Häkli
465fe4529d Include documentation notes 2019-05-19 18:32:40 +03:00
Aleksi Häkli
f9e850fcbd Add instructions on silencing warnings from checks
Fixes #430
2019-05-19 18:32:40 +03:00
Aleksi Häkli
9517e252e0 Deprecate the old version 4.x AxesModelBackend class
Fixes #430
2019-05-19 18:32:40 +03:00
Aleksi Häkli
05fe0e306b Improve docs for attempt tracking, resets, and customization
Fixes #433
2019-05-19 18:32:40 +03:00
Aleksi Häkli
03651ed3d5 Document moving APIs in release version 5.0
Fixes #439
2019-05-19 18:32:40 +03:00
Aleksi Häkli
3152b4d7e9 Improve lockout and request handling
The old architecture used exceptions in the signal handler
which prevented transactions from running smoothly
and signal handlers from running after Axes handlers.

The new architecture changes the request approach to request flagging
and moves the exception handling into the middleware call method.

This allows users to more flexibly run their own signal handlers
and optionally use the Axes middleware if they want to do so.

Fixes #440
Fixes #442
2019-05-19 18:32:40 +03:00
pyup-bot
31c8c16f94 Update tox from 3.9.0 to 3.10.0 2019-05-14 21:23:04 +03:00
pyup-bot
f1a5f2e54a Update pytest from 4.4.2 to 4.5.0 2019-05-14 21:23:04 +03:00
Aleksi Häkli
626c10c3f2
Update pytest from 4.4.1 to 4.4.2 2019-05-10 17:06:53 +03:00
Aleksi Häkli
435e366b02
Add author name to changelog 2019-05-10 17:04:48 +03:00
Aleksi Häkli
56b56a5e3d
Version 5.0.4 2019-05-09 19:08:26 +03:00
Aleksi Häkli
30184e2e52
Fix regression with empty IP addresses
Cache backend threw an error with OAuth2 backends
missing IP address in the cache key generation.

Fixes #437
2019-05-09 19:08:18 +03:00
Aleksi Häkli
a5a15dffaa
Version 5.0.3 2019-05-08 14:15:34 +03:00
Aleksi Häkli
83d2391250
Do not log Axes information on AXES_ENABLED = False 2019-05-08 14:01:06 +03:00
Aleksi Häkli
af0c60910e
Add tests for django.contrib.auth login and logout
Changes introduced in version 5.0 release broke compatibility
with some external Django applications and plugins,
which use login and logout methods internally.
2019-05-08 13:57:42 +03:00
Aleksi Häkli
83a1880c3b
Rollback IP validation for get_client_ip_address
This caused problems in external tools and
django.contrib.auth login and logout methods,
and did not offer improved functionality.

Rolling back improves cross compatibility for Axes.
2019-05-08 13:45:01 +03:00
Aleksi Häkli
88699cf619
Allow non-Axes requests in the handler backends 2019-05-08 13:28:22 +03:00
Aleksi Häkli
f11e062604
Fix changelog date for version 5.0.2 release 2019-05-08 11:57:09 +03:00
Aleksi Häkli
eebf0736e2
Version 5.0.2 2019-05-07 23:42:07 +03:00
Aleksi Häkli
816676f68d Add settings flag for disabling Axes
AXES_ENABLED = False can be used to toggle
the plugin off in tests which use the built-in
Django test client login, force_login and logout
methods which do not supply a request views.

Fixes #433
2019-05-07 23:37:48 +03:00
pyup-bot
f61e8efad5 Update pytest-cov from 2.6.1 to 2.7.1 2019-05-07 12:52:41 +03:00
Aleksi Häkli
bafdefc7f8
Version 5.0.1 2019-05-03 21:20:55 +03:00
Aleksi Häkli
16f96de8fd
Add changelog to documentation 2019-05-03 21:20:45 +03:00