Commit graph

1300 commits

Author SHA1 Message Date
jazzband-bot
562f93aedd Jazzband: Created local 'CODE_OF_CONDUCT.md' from remote 'CODE_OF_CONDUCT.md' 2021-10-21 14:34:07 +00:00
Asher Foa
13848bdb5f Fix typo in tests 2021-10-21 11:07:56 +03:30
dependabot[bot]
5dda717ff2 Bump coverage from 6.0.1 to 6.0.2
Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.0.1 to 6.0.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/6.0.1...6.0.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-14 00:25:46 +03:00
Aleksi Häkli
f64130fce2 Add .pre-commit-config.yaml 2021-10-12 10:10:05 +03:00
Aleksi Häkli
107268c88d
Version 5.26.0 2021-10-11 21:14:08 +03:00
Aleksi Häkli
1993a9c9cc Update string syntax 2021-10-11 20:59:06 +03:00
Vasyl Dizhak
8c5c43f482 #750, fix lockout failure when providing AXES_USERNAME_CALLABLE 2021-10-11 20:59:06 +03:00
dependabot[bot]
9f10723a3e Bump coverage from 6.0 to 6.0.1
Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.0 to 6.0.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/6.0...6.0.1)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-07 16:13:08 +03:30
dependabot[bot]
a35d399e27 Bump pytest-cov from 2.12.1 to 3.0.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.12.1 to 3.0.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.12.1...v3.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 15:59:22 +03:30
dependabot[bot]
f7e9b8ebc1 Bump coverage from 5.5 to 6.0
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.5 to 6.0.
- [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.5...6.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 15:59:08 +03:30
Aleksi Häkli
85917df508
Version 5.25.0 2021-09-19 13:34:18 +03:00
dependabot[bot]
4be7654aea Bump sphinx-rtd-theme from 0.5.2 to 1.0.0
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 0.5.2 to 1.0.0.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/0.5.2...1.0.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-19 13:27:03 +03:00
Petr Dlouhý
b5bac68f90 fix duplicated AccessAttempts 2021-09-19 13:26:16 +03:00
dependabot[bot]
53b243c4aa Bump tox from 3.24.3 to 3.24.4
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.3 to 3.24.4.
- [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.24.3...3.24.4)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-16 17:13:53 +04:30
dependabot[bot]
5688fb1805 Bump black from 21.8b0 to 21.9b0
Bumps [black](https://github.com/psf/black) from 21.8b0 to 21.9b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 17:14:18 +04:30
Aleksi Häkli
8c533ec6c7
Version 5.24.0 2021-09-09 17:40:49 +03:00
Yuta Okamoto
46bfc54a03 acquire a lock of AccessAttempt before updating 2021-09-09 17:38:30 +03:00
Aleksi Häkli
b44877a085
Version 5.23.0 2021-09-02 17:42:49 +03:00
sarahboyce
403076ef51 feat(helpers): update get_client_str to accept request object
Use case: include more info about the user in the client_str.
username is already included in the arguments but that would require a separate DB call.
https://github.com/jazzband/django-axes/issues/782
2021-09-02 17:40:05 +03:00
Aleksi Häkli
96620e61e5
Version 5.22.0 2021-08-31 21:32:17 +03:00
dependabot[bot]
56f9fc8ae1 Bump black from 21.7b0 to 21.8b0
Bumps [black](https://github.com/psf/black) from 21.7b0 to 21.8b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 21:24:51 +03:00
dependabot[bot]
7377a80824 Bump pytest from 6.2.4 to 6.2.5
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.4...6.2.5)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 21:24:45 +03:00
Yuta Okamoto
17c5d3f314 set None to failures_since_start 2021-08-31 21:24:26 +03:00
Yuta Okamoto
945754eb15 make failures_since_start accessible to the views 2021-08-31 21:24:26 +03:00
Yuta Okamoto
004a0d750c remove failures_since_start from the log 2021-08-31 21:21:28 +03:00
Yuta Okamoto
bd18a531b6 increment failures_since_start in an atomic manner 2021-08-31 21:21:28 +03:00
dependabot[bot]
33805b11b8 Bump tox from 3.24.2 to 3.24.3
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.2 to 3.24.3.
- [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.24.2...3.24.3)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-25 11:21:49 +04:30
sarath ak
edd62b9d47
Merge pull request #773 from jazzband/dependabot/pip/django-ipware-gte-3-and-lt-5
Update django-ipware requirement from <4,>=3 to >=3,<5
2021-08-22 15:50:16 +05:30
dependabot[bot]
34b4c67843
Update django-ipware requirement from <4,>=3 to >=3,<5
Updates the requirements on [django-ipware](https://github.com/un33k/django-ipware) to permit the latest version.
- [Release notes](https://github.com/un33k/django-ipware/releases)
- [Changelog](https://github.com/un33k/django-ipware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/un33k/django-ipware/compare/3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: django-ipware
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 12:07:28 +00:00
Aleksi Häkli
ee388440cd
Version 5.21.0
See #728 and #770
2021-08-19 16:05:48 +03:00
phil-bell
91bdb3be99 adding missing extra ending line 2021-08-19 16:02:32 +03:00
phil-bell
e36665eecf Adding documentation on new http response code setting 2021-08-19 16:02:32 +03:00
phil-bell
2368a7af38 adding test for different http response code 2021-08-19 16:02:32 +03:00
phil-bell
6858aea99a Adding ability to change http response code 2021-08-19 16:02:32 +03:00
dependabot[bot]
aec701803c Bump tox from 3.24.1 to 3.24.2
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.1 to 3.24.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.24.1...3.24.2)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 16:44:54 +04:30
dependabot[bot]
eddac32ae9 Bump tox from 3.24.0 to 3.24.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.0 to 3.24.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.24.0...3.24.1)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 16:50:17 +04:30
dependabot[bot]
3b5eed1489 Bump black from 21.6b0 to 21.7b0
Bumps [black](https://github.com/psf/black) from 21.6b0 to 21.7b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 16:58:00 +04:30
dependabot[bot]
a8448383ca Bump tox from 3.23.1 to 3.24.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.23.1 to 3.24.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.23.1...3.24.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 18:35:13 +03:00
Aleksi Häkli
76a052b664
Version 5.20.0 2021-06-29 17:53:23 +03:00
Aleksi Häkli
346def46ab
Version 5.20.0 2021-06-29 17:52:56 +03:00
Aleksi Häkli
ac86d4b213 Adjust commentation and log messages 2021-06-29 17:50:37 +03:00
Uli Klank
f079c48bb1 Restoring necessary general lookup of siilar attempts
Linting
2021-06-29 16:49:12 +03:00
Uli Klank
c72e8e4855 invert condition, warn earlier 2021-06-29 16:49:12 +03:00
Uli Klank
a88366f251 Prevent unnecessary save for created object 2021-06-29 16:49:12 +03:00
Uli Klank
8b5b921b71 Initiallize failures since start correctly 2021-06-29 16:49:12 +03:00
Uli Klank
93341a4d04 Handle race conditions for multiple workers
The creation of several entries is possible due to race conditions between different worker processes, which can later break the usage of get in this situation.
This change should help to prevent this race condition using the database.
2021-06-29 16:49:12 +03:00
dependabot[bot]
84b5ccd5d3 Bump mypy from 0.902 to 0.910
Bumps [mypy](https://github.com/python/mypy) from 0.902 to 0.910.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.902...v0.910)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 14:32:35 +02:00
Hasan Ramezani
2c873249fd Update mypy to 0.902 2021-06-16 11:06:28 +03:00
Aleksi Häkli
017604d01e
Version 5.19.0 2021-06-16 11:04:53 +03:00
Aleksi Häkli
11c8a837ab
Add missing Polish translation keys in English 2021-06-16 10:52:12 +03:00