Commit graph

275 commits

Author SHA1 Message Date
hashlash
b90e545d20 Fix nested list in DEFENDER_LOCKOUT_TEMPLATE 2022-02-20 08:02:27 -05:00
Hasan Ramezani
43e6fcdf13 Confirm support for Python 3.10. 2021-12-16 16:40:44 -05:00
Hasan Ramezani
079d78bee3 Confirm support Django 4.0. 2021-12-16 16:40:44 -05:00
Hasan Ramezani
7c544d1cf8 Drop Django 3.1 support. 2021-12-16 16:40:44 -05:00
Williams Mendez
006ecf1dff Update exampleapp to use new routing/templates settings
The exampleapp is still running deprecated code.
2021-12-14 13:01:43 +01:00
Williams Mendez
c8a2586892 Define AppConfig.default_auto_field to match the initial migration
This patch removes a warning but also prevents creating migrations in projects
where DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField".
2021-12-13 21:00:46 +01:00
Hugo van Kemenade
78302f6b35 CI: Replace deprecated pypy3 with pypy-3.8
pypy3 is deprecated and is not available in newer images:
https://github.com/actions/setup-python/issues/244#issuecomment-925966022

Instead explicitly specify the version:
https://github.com/actions/setup-python#specifying-a-pypy-version

Committed via https://github.com/asottile/all-repos
2021-12-13 20:43:00 +01:00
Jazzband Bot
70c549dd2c
Jazzband: Synced file(s) with jazzband/.github (#193)
* Jazzband: Created local 'CODE_OF_CONDUCT.md' from remote 'CODE_OF_CONDUCT.md'

* Add code of conduct to package manifest template.

Co-authored-by: Jannis Leidel <jannis@leidel.info>
2021-10-23 00:25:31 +02:00
Hasan Ramezani
f358e06a53 Add pre-commit basic config. 2021-10-13 21:47:34 +03:30
Hasan Ramezani
55ab5c6961 Replace assertEquals with assertEqual. 2021-10-13 21:47:34 +03:30
Ryan Bales
e5edaf3b5d bugfix for IP backdoor to DEFENDER_LOCK_OUT_BY_IP_AND_USERNAME 2021-08-01 15:19:34 -04:00
Ken Cochrane
ab6c1a6358 fixed bad django 4.0 classifier 2021-07-18 09:58:34 -04:00
Ken Cochrane
5d625dd273 release version 0.9.1 2021-07-18 09:31:51 -04:00
Jonathan Willitts
5f5b34d50e Fix failing tests to work with Django (4.0) main dev branch 2021-04-29 06:50:36 -04:00
Ken Cochrane
d413e60847 released version 0.9.0 2021-04-25 19:36:10 -04:00
Hasan Ramezani
7eb24c5036 Add support for Django 3.2 2021-04-07 20:16:02 +04:30
Hasan Ramezani
04252ba415 Drop support for Django 3.0. 2021-04-07 20:16:02 +04:30
Jannis Leidel
743b538263 Don't run Django main test on Python < 3.8. 2021-03-10 11:47:32 +02:00
Jannis Leidel
9ff7f8e9fc Don't run Django main test on Python < 3.8. 2021-03-10 11:47:32 +02:00
Jannis Leidel
e762d154ed 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-10 11:47:32 +02:00
Jannis Leidel
b4a5f886d4
Migrate to GitHub Actions. (#174)
* Add GitHub Actions test workflow.

* Add release workflow.

* Remove Travis cruft and update changelog.

* Fix deps.

* Remove Celery version restriction.

* Relax installation requirements a bit.

* Update README.rst

* Update tox.ini
2020-12-21 14:18:53 +01:00
Hasan Ramezani
9a322c4729 Add support for Python 3.9 2020-11-27 16:32:46 +01:00
Hasan Ramezani
cc06ab33fd Drop support Django < 2.2 and add support for Django > 3 2020-11-27 16:32:46 +01:00
Hasan Ramezani
5e6e52fcbb Drop Python2.7 support. 2020-11-23 17:30:46 +01:00
Hasan Ramezani
1f9b3dec7c Fix version. 2020-11-23 09:08:40 +01:00
Kalil de Lima
cbe59ddb7b
Merge pull request #169 from kaozdl/fix/redis_password_quote
FIX: make password quote optional in the funciton signature
2020-10-27 16:53:42 -03:00
Jorge
7124e4b156 make password quote optional in the funciton signature 2020-10-27 12:35:39 -03:00
Ken Cochrane
7064c9b012 Added changelog for 0.8.0 2020-10-17 09:59:24 -04:00
Martin Braun
1366adc59f Change setup.py to allow for Django 3.1.x versions 2020-10-16 15:22:10 -04:00
Mohammed Jasir
0ad3690e6f Update README.rst
Added code snippet in order to incorporate defender lockout mechanism with the combination of django-rest-auth module and djangorestframework.
2020-10-16 15:20:25 -04:00
Ken Cochrane
621b78c5d5 Fix Django-redis-cache version
The django-redis-cache version 2.1.3 is broken in pypi, let's roll back to 2.1.1 until it is fixed.
2020-10-16 15:19:31 -04:00
Ivan Pereira
6354df0a8a
dynamic load celery (#163) 2020-09-04 15:11:19 -04:00
Ken Cochrane
df0b9db26f
Updated README to show support for Django 3
Updated README to show support for Django 3
2020-08-09 20:16:36 -04:00
Flavio Martins
4fcee56ff2
Fix redis requirement (#160)
Allow redis 3.5.*
2020-06-19 06:51:12 -04:00
Fabrício Rissetto
426f01a39e Update readme 2020-03-22 17:21:09 -04:00
calmkart
71312eb841
FIX: support for special character in redis password(such like '@') (#155)
* FIX: if special character in redis password, we can set DEFENDER_REDIS_PASSWORD_QUOTE to True, and use quote password

* MOD:add test cases with password_quota = True
2020-03-13 08:13:54 -04:00
Ken Cochrane
8daa2d168d Added changes for release 0.7.0 2020-02-23 15:23:52 -05:00
David Nugent
6756a87f77 require django >= 1.8 2020-02-23 14:25:15 -05:00
David Nugent
9431e16cdd Fix requirement versions 2020-02-23 14:25:15 -05:00
David Nugent
cb59d1c481 Fixes for django 3.0+
As python 2i is no longer supported, stub reference to python_2_unicode_compatible
2020-02-23 14:25:15 -05:00
Jannis Leidel
7b1961ebf9
remove unwanted .eggs directory. 2019-11-25 11:13:07 +01:00
Jannis Leidel
ed857f7481
Run lints and other checks. (#149) 2019-11-25 11:11:57 +01:00
Jannis Leidel
130fe397a4
Add forgotten import. 2019-11-25 08:47:43 +01:00
Jannis Leidel
87c6c2bdab
Merge pull request #148 from jazzband/project-releaess
Add Tox config and prepare for project releases.
2019-11-24 20:30:00 +01:00
Jannis Leidel
c814aa9d71
Add coverage to missing requirements. 2019-11-24 15:20:15 +01:00
Jannis Leidel
d83c4dd286
Fix paths. 2019-11-24 15:17:10 +01:00
Jannis Leidel
68d0b41ee5
Use setuptools-scm. 2019-11-24 15:14:12 +01:00
Jannis Leidel
396ea4d471
Add deploy section. 2019-11-24 15:12:31 +01:00
Jannis Leidel
b89b394c8e
Move to Codecov. 2019-11-24 15:06:20 +01:00
Jannis Leidel
2452891454
Django Master doesn't run on Python 3.5. 2019-11-24 15:05:16 +01:00