Commit graph

1072 commits

Author SHA1 Message Date
Aleksi Häkli
043cdcaa62
Version 5.5.2 2020-09-11 11:06:03 +03:00
David Smith
d96a3e4625 black formatting 2020-09-11 11:03:15 +03:00
David Smith
96d34c1b95 request.is_ajax() is deprecated 2020-09-11 11:03:15 +03:00
Aleksi Häkli
ee42228818
Version 5.5.1 2020-09-10 21:27:13 +03:00
David Smith
bf1f4eb360 Changed url() to path()
url() is deprecated in Django 3.1
2020-09-10 21:21:32 +03:00
David Smith
57a15116cd assertEquals() --> assertEqual()
assertEquals() is deprecated
2020-09-10 21:21:16 +03:00
Aleksi Häkli
f97bf3c592
Improve notes on atomic requests 2020-09-06 00:02:41 +03:00
Timmy O'Mahony
ef1e1b4422 Added note about atomic request related to issue #628 2020-09-05 23:46:14 +03:00
dependabot-preview[bot]
8f576c8ba8 Bump tox from 3.19.0 to 3.20.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.19.0 to 3.20.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.19.0...3.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 09:32:18 +00:00
Aleksi Häkli
86edcc6117
Version 5.5.0 2020-08-21 17:22:42 +03:00
Robert Rollins
98c404b442 Added comment describing the args the signal sends. 2020-08-21 17:18:45 +03:00
Robert Rollins
4986c240a6 Removed use of Signal()'s providing_args kwarg, as it is deprecated. 2020-08-21 17:18:45 +03:00
Petr Dlouhý
bf69a0a89e changes requested by aleksihakli 2020-08-21 17:17:57 +03:00
Petr Dlouhý
71ee9239d9 add missing tests; refactor reset_request() 2020-08-21 17:17:57 +03:00
Petr Dlouhý
576e666c54 fix tests on pypy 2020-08-21 17:17:57 +03:00
Petr Dlouhý
128d01158c add LOCK_OUT_BY_USER_OR_IP option
store all AccessAttempt records
2020-08-21 17:17:57 +03:00
Petr Dlouhý
18c4edec29 test_login also with cache handler; refactor making cache key 2020-08-21 17:17:57 +03:00
Petr Dlouhý
c3c2786d57 add reset_request helper function to internalize reset logic into django-axis 2020-08-21 17:17:57 +03:00
dependabot-preview[bot]
b855a92e88 Bump pytest-cov from 2.10.0 to 2.10.1
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.0...v2.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 10:35:53 +00:00
dependabot-preview[bot]
6fc1f83ead Bump tox from 3.18.1 to 3.19.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.18.1 to 3.19.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.18.1...3.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 09:31:16 +00:00
Aleksi Häkli
8765a51882
Version 5.4.3 2020-08-06 10:45:49 +03:00
Hasan Ramezani
df2d6ca24b Added Django 3.1 test environment.
Signed-off-by: Hasan Ramezani <hasan.r67@gmail.com>
2020-08-06 10:44:53 +03:00
dependabot-preview[bot]
2d0c289fc0 Bump pytest from 6.0.0 to 6.0.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.0.0...6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-31 10:03:35 +00:00
dependabot-preview[bot]
7b8123a72c Bump pytest from 5.4.3 to 6.0.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.3 to 6.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.4.3...6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-29 09:43:53 +00:00
Aleksi Häkli
d9d16003a0
Version 5.4.2 2020-07-28 20:29:10 +03:00
Jorge Galvis
45109341be Make code Black's compliant. 2020-07-28 20:21:34 +03:00
Jorge Galvis
f772817bc8 Add some docstrings for guidance about creating new handlers. 2020-07-28 20:21:34 +03:00
Jorge Galvis
c786c53e9b Make all handlers to use the AxesBaseHandler mixin. 2020-07-28 20:21:34 +03:00
Jorge Galvis
87d8a974a3 Move signal's callbacks to AxesDatabaseHandler as they only make sense for a DB backend. 2020-07-28 20:21:34 +03:00
Jorge Galvis
9bb04a01b8 Only AxesHandler needs to follow a contract 2020-07-28 20:21:34 +03:00
Jorge Galvis
d6c3663025 Make AxesDatabaseHandler class to be a concrete class of AxesHandler 2020-07-28 20:21:34 +03:00
Jorge Galvis
e9fe8e4b90 Make AxesCacheHandler class to be a concrete class of AxesHandler 2020-07-28 20:21:34 +03:00
dependabot-preview[bot]
677b6c00cc Bump tox from 3.18.0 to 3.18.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.18.0 to 3.18.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/3.18.1/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.18.0...3.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-28 09:41:10 +00:00
dependabot-preview[bot]
ff4cd6caa7 Bump coverage from 5.2 to 5.2.1
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.2 to 5.2.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.2...coverage-5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 10:11:48 +00:00
dependabot-preview[bot]
7992e01b26 Bump tox from 3.17.1 to 3.18.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.17.1 to 3.18.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/3.18.0/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.17.1...3.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-23 09:29:33 +00:00
dependabot-preview[bot]
269160f78b Bump tox from 3.17.0 to 3.17.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.17.0 to 3.17.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.17.0...3.17.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 09:35:26 +00:00
dependabot-preview[bot]
611c5b7ecc Bump tox from 3.16.1 to 3.17.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.16.1 to 3.17.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.16.1...3.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-15 09:30:33 +00:00
dependabot-preview[bot]
a05db03aac Bump coverage from 5.1 to 5.2
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.1 to 5.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.1...coverage-5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 09:41:31 +00:00
Aleksi Häkli
1c0296fd24
Version 5.4.1 2020-07-03 19:55:42 +03:00
Aleksi Häkli
3866414f6c
Fix code styling 2020-07-03 19:55:10 +03:00
Aleksi Häkli
e5098c5bd3
Version 5.4.0 2020-07-03 19:11:07 +03:00
Aleksi Häkli
e7404cb055 Use urlencode for generating usernames in redirect 2020-07-03 19:08:15 +03:00
Petr Dlouhý
9bfe1615a4 propagate username to the AXES_LOCKOUT_URL redirect 2020-07-03 19:08:15 +03:00
Hasan Ramezani
ca6b736482 Update django-ipware.
Signed-off-by: Hasan Ramezani <hasan.r67@gmail.com>
2020-07-03 18:09:22 +03:00
Hasan Ramezani
171abf45ba Changed ipware.ip2 to ipware.ip 2020-07-03 18:09:22 +03:00
Petr Dlouhý
35d6df2502 Update captcha example, add imports and get_ip... 2020-07-03 18:08:04 +03:00
Aleksi Häkli
98ad1b59cf
Version 5.3.5 2020-07-02 17:35:10 +03:00
Aleksi Häkli
46c7f783ed
Restrict ipware version for compatibility 2020-07-02 17:33:49 +03:00
dependabot-preview[bot]
9ce2b2200b Bump tox from 3.16.0 to 3.16.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.16.0 to 3.16.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.16.0...3.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-30 09:28:26 +00:00
dependabot-preview[bot]
dee01f014e Bump tox from 3.15.2 to 3.16.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.15.2 to 3.16.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.15.2...3.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 12:21:59 +00:00