Commit graph

1257 commits

Author SHA1 Message Date
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
Michał (Quadric) Sieradzki
111b9650b8 polish locale 2021-06-16 10:46:00 +03:00
dependabot[bot]
d62fe5cd2d Bump black from 21.5b2 to 21.6b0
Bumps [black](https://github.com/psf/black) from 21.5b2 to 21.6b0.
- [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-06-11 15:10:37 +02:00
Aleksi Häkli
f38859b259
Version 5.18.0 2021-06-09 19:36:45 +03:00
Aleksi Häkli
3b933bca9a
Version 5.17.0 2021-06-09 19:36:26 +03:00
Zakatell Kanda
876b6f3dc4 use autofield for now, otherwise we have to bump min version to 3.2 2021-06-09 19:35:29 +03:00
Zakatell Kanda
b4a71de81f use the new django bigautofield, fixes a warning 2021-06-09 19:35:29 +03:00
dependabot[bot]
d9643e2180 Bump pytest-django from 4.3.0 to 4.4.0
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.3.0 to 4.4.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/v4.3.0...v4.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 16:36:36 +02:00
Aleksi Häkli
a2d605c900
Version 5.17.0 2021-06-05 18:48:08 +03:00
Nikolai Røed Kristiansen
2e074eebc5 Fix default_app_config deprecation
Django 3.2 automatically detects AppConfig and therefore this setting is no longer required.

https://docs.djangoproject.com/en/dev/releases/3.2/#automatic-appconfig-discovery
2021-06-05 18:44:11 +03:00
dependabot[bot]
4c7a50e11c Bump pytest-cov from 2.11.1 to 2.12.1
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.11.1 to 2.12.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.11.1...v2.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 14:22:36 +02:00
dependabot[bot]
2b9ae28264 Bump black from 21.5b1 to 21.5b2
Bumps [black](https://github.com/psf/black) from 21.5b1 to 21.5b2.
- [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)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 14:21:21 +02:00
dependabot[bot]
91ebbf75eb Bump pytest-subtests from 0.4.0 to 0.5.0
Bumps [pytest-subtests](https://github.com/pytest-dev/pytest-subtests) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/pytest-dev/pytest-subtests/releases)
- [Changelog](https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-subtests/compare/0.4.0...0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 14:34:31 +02:00
Aleksi Häkli
b30a6352f6
Adjust syntax 2021-05-19 20:57:53 +03:00
Aleksi Häkli
2c7232253d
Version 5.16.0 2021-05-19 20:57:34 +03:00
dependabot[bot]
f977004123 Bump pytest-django from 4.2.0 to 4.3.0
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.2.0 to 4.3.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/v4.2.0...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 20:55:11 +03:00
smtydn
a26c5109ed Fix formatting 2021-05-19 20:54:57 +03:00
smtydn
1a8d96e242 Add AXES_CLIENT_STR_CALLABLE setting 2021-05-19 20:54:57 +03:00
dependabot[bot]
a9c38d0d0b Bump black from 21.4b2 to 21.5b1
Bumps [black](https://github.com/psf/black) from 21.4b2 to 21.5b1.
- [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)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 14:33:07 +02:00
dependabot[bot]
179d087b5f Bump tox from 3.23.0 to 3.23.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.23.0 to 3.23.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.23.0...3.23.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 14:30:31 +02:00
dependabot[bot]
fdbb294751 Bump pytest from 6.2.3 to 6.2.4
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.3 to 6.2.4.
- [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.3...6.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 14:29:35 +02:00
Aleksi Häkli
0e16b5827c
Remove CodeQL analysis from pipeline 2021-05-03 17:22:44 +03:00
Aleksi Häkli
7a1107cdb2
Version 5.15.0 2021-05-03 17:21:25 +03:00
Michael O'Connor
170dacc112 Integrate AXS_SENSITIVE_PARAMETERS functionality with AXES_PASSWORD_FORM_FIELD 2021-05-03 17:10:45 +03:00
Michael O'Connor
f54c4f095b Add option to cleanse sensitive GET and POST params in database handler 2021-05-03 17:10:45 +03:00
dependabot[bot]
f338057a96 Bump black from 21.4b1 to 21.4b2
Bumps [black](https://github.com/psf/black) from 21.4b1 to 21.4b2.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/master/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 16:51:00 +03:00
Hasan Ramezani
73fd56dde3
Merge pull request #741 from jazzband/dependabot/pip/black-21.4b1
Bump black from 20.8b1 to 21.4b1
2021-04-28 18:54:01 +04:30
dependabot[bot]
d28f7e43d1
Bump black from 20.8b1 to 21.4b1
Bumps [black](https://github.com/psf/black) from 20.8b1 to 21.4b1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/master/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 12:08:54 +00:00
Aleksi Häkli
3c56cf6395
Add .vscode to .gitignore 2021-04-18 19:26:33 +03:00
Hasan Ramezani
f50fecd173 Add supported Python and Django badges to README.rst 2021-04-18 14:03:16 +03:00
dependabot[bot]
8f219720ef Bump pytest-django from 4.1.0 to 4.2.0
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.1.0 to 4.2.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/v4.1.0...v4.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 16:42:29 +03:00
Aleksi Häkli
5790b09188
Fix docs build settings loading 2021-04-06 22:19:00 +03:00
Aleksi Häkli
5cc75704c7
Version 5.14.0 2021-04-06 20:16:42 +03:00
dependabot[bot]
ddf21d114c Bump pytest from 6.2.2 to 6.2.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.2 to 6.2.3.
- [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.2...6.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 20:15:19 +03:00
dependabot[bot]
4e9f94bbd5 Bump sphinx-rtd-theme from 0.5.1 to 0.5.2
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 0.5.1 to 0.5.2.
- [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.1...0.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 20:14:53 +03:00
Aleksi Häkli
962c77af14
Merge pull request #734 from hramezani/drop_django3
Drop Django3.0 support.
2021-04-06 20:14:25 +03:00
Aleksi Häkli
1a94e3770c
Merge branch 'master' into drop_django3 2021-04-06 20:13:08 +03:00
Hasan Ramezani
80287bb10a Fix comment typo in github action test pipeline. 2021-04-06 20:11:14 +03:00
Hasan Ramezani
6b2da1f152 Add support for Django 3.2 2021-04-06 20:11:14 +03:00
Hasan Ramezani
dc8aa0df95
Drop Django3.0 support. 2021-04-06 17:13:24 +02:00
dependabot[bot]
ea4d3c477d Bump tox from 3.22.0 to 3.23.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.22.0 to 3.23.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/3.23.0/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.22.0...3.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-10 11:43:11 +02:00
Jannis Leidel
bf4de903c2
Merge pull request #726 from jazzband/master-to-main
Rename Django's dev branch to main.
2021-03-09 13:12:46 +01:00
Jannis Leidel
0e922e0d9c
Rename Django's dev branch to main.
More information: https://groups.google.com/g/django-developers/c/tctDuKUGosc/
Refs: https://github.com/django/django/pull/14048
2021-03-09 12:40:04 +01:00
Aleksi Häkli
50a6baae2a
Add example on custom lockout responses
Fixes #715
2021-03-02 18:52:56 +02:00