Commit graph

1192 commits

Author SHA1 Message Date
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
dependabot-preview[bot]
d9b4b10a52 Bump sphinx-rtd-theme from 0.4.3 to 0.5.0
Bumps [sphinx-rtd-theme](https://github.com/rtfd/sphinx_rtd_theme) from 0.4.3 to 0.5.0.
- [Release notes](https://github.com/rtfd/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/rtfd/sphinx_rtd_theme/compare/0.4.3...0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-18 09:29:16 +00:00
dependabot-preview[bot]
82f6104f06 Bump pytest-cov from 2.9.0 to 2.10.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.9.0 to 2.10.0.
- [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.9.0...v2.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 11:10:40 +00:00
Aleksi Häkli
7ec5fdf8a1
Version 5.3.4 2020-06-09 18:35:12 +03:00
Aleksi Häkli
aa9906d384
Deprecate Django 1.11 2020-06-09 18:35:07 +03:00
dependabot-preview[bot]
05702fdf55 Bump tox from 3.15.1 to 3.15.2
Bumps [tox](https://github.com/tox-dev/tox) from 3.15.1 to 3.15.2.
- [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.1...3.15.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 10:40:53 +00:00
dependabot-preview[bot]
ff159726d5 Bump pytest from 5.4.2 to 5.4.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.2 to 5.4.3.
- [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.2...5.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 09:34:30 +00:00
dependabot-preview[bot]
06d25732a8 Bump pytest-cov from 2.8.1 to 2.9.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.8.1 to 2.9.0.
- [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.8.1...v2.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 10:57:18 +00:00
Aleksi Häkli
58aa4c37be
Version 5.3.3 2020-05-22 13:50:42 +03:00
Igor Shevchenko
66c712a8fd Add a test for AxesProxyHandler.is_admin_site when admin site isn't registered 2020-05-22 13:44:07 +03:00
Igor Shevchenko
d6c551cc44 Update docs for AXES_ONLY_ADMIN_SITE 2020-05-22 13:44:07 +03:00
Igor Shevchenko
a9789b9df8 Allow using AXES_ONLY_ADMIN_SITE when admin url isn't registered 2020-05-22 13:44:07 +03:00
dependabot-preview[bot]
e57b513aeb Bump tox from 3.15.0 to 3.15.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.15.0 to 3.15.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.15.0...3.15.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 09:32:42 +00:00
Aleksi Häkli
8b0a8267fb
Version 5.3.2 2020-05-15 19:27:03 +03:00
Aleksi Häkli
3ceb546ae2
Fix/585 (#586)
* Fixes #585 where appconf sniffs the module name for a settings prefix

Co-authored-by: Mark Walker <mark.walker@realbuzz.com>
2020-05-15 19:24:08 +03:00
dependabot-preview[bot]
f534db4f42 Bump pytest from 5.4.1 to 5.4.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.1 to 5.4.2.
- [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.1...5.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 10:43:49 +00:00
dependabot-preview[bot]
0870c3b1da Bump tox from 3.14.6 to 3.15.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.14.6 to 3.15.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.14.6...3.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 10:25:04 +00:00
dependabot-preview[bot]
0645f1a8ff Bump coverage from 5.0.4 to 5.1
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0.4 to 5.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.0.4...coverage-5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 09:53:08 +00:00
Aleksi Häkli
a669bc8b69
Update README.rst 2020-04-04 15:19:27 +03:00
dependabot-preview[bot]
d9b4749830 Bump pytest-django from 3.8.0 to 3.9.0
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases)
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst)
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 09:32:59 +00:00
dependabot-preview[bot]
411a401d19 Bump tox from 3.14.5 to 3.14.6
Bumps [tox](https://github.com/tox-dev/tox) from 3.14.5 to 3.14.6.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/3.14.6/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.14.5...3.14.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 10:57:01 +00:00
Aleksi Häkli
fcfc3c4b15
Version 5.3.1 2020-03-23 13:59:49 +02:00
Aleksi Häkli
344a97c694
Fix code formatting for linter 2020-03-23 13:58:12 +02:00
Damian Dimmich
3d32483dae
Submitting null byte chars causes the user_login_failed code to crash (#578)
Submitting null byte chars like in the post data causes the save to database crash with the following:

/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
ValueError: A string literal cannot contain NUL (0x00) characters.

I propose replacing these to something more palatable to the django ORM, and allowing axes to continue its work and block users with multiple failed login attempts that contain NUL characters.
2020-03-23 13:56:18 +02:00
dependabot-preview[bot]
7cc9dc3343 Bump coverage from 5.0.3 to 5.0.4
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0.3 to 5.0.4.
- [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.0.3...coverage-5.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-17 10:51:40 +00:00
dependabot-preview[bot]
2a7c2114f5 Bump pytest from 5.4.0 to 5.4.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.0 to 5.4.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/5.4.0...5.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 10:52:32 +00:00
dependabot-preview[bot]
a0826cb791 Bump pytest from 5.3.5 to 5.4.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.5 to 5.4.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.3.5...5.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 10:53:12 +00:00
Tim Gates
06a3f6b39f
docs: Fix simple typo, timdelta -> timedelta (#574)
There is a small typo in axes/tests/test_utils.py.

Should read `timedelta` rather than `timdelta`.
2020-03-13 09:53:03 +02:00
Aleksi Häkli
32daed795f
Release 5.3.0 2020-03-10 15:40:23 +02:00
I0x4dI
40b9ccf378 Remove AXES_REST_FRAMEWORK_ACTIVE flag from test 2020-03-10 15:38:04 +02:00
I0x4dI
0c87ca8a6d Return test DRF request 2020-03-10 15:38:04 +02:00