Commit graph

337 commits

Author SHA1 Message Date
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
Jannis Leidel
cac4600f56
Use requirements file. 2019-11-24 14:56:09 +01:00
Jannis Leidel
9654128727
Install as editable. 2019-11-24 14:49:23 +01:00
Jannis Leidel
f7bda0c276
Add Tox config and prepare for project releases. 2019-11-24 14:47:18 +01:00
Aleksi Häkli
a1d526f318
PEP8 formatting (#147)
Run black with Python 2.7 as target version
to unify the code styling and make it more
linter and style guide compliant
2019-11-15 20:22:14 +02:00
Aleksi Häkli
afa47bcbf0
Add documentation link to README 2019-11-13 23:08:52 +02:00
Aleksi Häkli
7d4d845585
Add Python version classifiers to setup.py 2019-11-13 23:01:11 +02:00
Aleksi Häkli
19e572654f
Add WIP changes to changelog 2019-11-13 22:56:46 +02:00
Aleksi Häkli
dd1caa2a50
Remove deprecated versions from README 2019-11-13 22:49:47 +02:00
Aleksi Häkli
1a001301e7
Remove EOL Python 3.4 and Django 2.0 from test matrix 2019-11-13 22:44:39 +02:00
Aleksi Häkli
32c8c747aa
Disable Fussyfox as it provides false negatives 2019-11-13 22:29:40 +02:00
Aleksi Häkli
266e413f27
Change heading level for contribution section 2019-11-13 22:27:25 +02:00
Aleksi Häkli
e8eefc1d3c
Clean up docs for a simpler structure 2019-11-13 22:23:51 +02:00
Aleksi Häkli
f63aeeec3f
Explicit master_doc for RTD Sphinx 2019-11-13 22:14:16 +02:00
Aleksi Häkli
5706ba4b21
Fix code blocks in README 2019-11-13 22:08:42 +02:00
Aleksi Häkli
df9d380feb
RTD HTML and PDF documentation (#146)
Convert Markdown to reStructuredText
Include converted documents in the docs folder
2019-11-13 21:58:47 +02:00
Aleksi Häkli
eb4f2ef94b Initial documentation shims 2019-11-10 11:08:31 -05:00
Aleksi Häkli
d27bd95119 Remove .landscape.yaml as service is defunct 2019-11-10 11:06:43 -05:00
Aleksi Häkli
01dd2bc354 Wrap Celery version specifier in quotes 2019-11-10 11:06:15 -05:00
Aleksi Häkli
ef3673cd4f Add Python 3.7, 3.8 and PyPy3 to test version matrix 2019-11-10 11:06:15 -05:00
Aleksi Häkli
cafa92860e Remove deprecated empty first URL 2019-11-08 09:03:12 -05:00
Aleksi Häkli
d6e905706b Update README
- Remove non-functional Landscape.io badge (site is unreachable)
- Add Jazzband badge
- Update title styling
- Update code examples for Django version compatibility
2019-11-08 09:03:12 -05:00
Aleksi Häkli
f439b7b647 Create CONTRIBUTING guidelines 2019-11-07 15:38:30 -05:00
Aleksi Häkli
da7aa9d41b Update README links 2019-11-07 15:37:39 -05:00
Ken Cochrane
e7f7cba6c5
Create .fussyfox.yml
Added the `.fussyfox.yml` file
2019-11-07 15:35:22 -05:00
horida
ce95906488 send user/ip blocked signal only once 2019-09-16 08:47:35 -04:00
horida
fcfa88d679 Add unblock signals 2019-09-08 10:05:04 -04:00
Ken Cochrane
2a5527ac4c bump version to 0.6.2
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2019-06-04 18:02:03 -04:00
Salar Rahmanian
fbad0face1 Added support for redis client 3.2.1 2019-06-04 15:17:31 -04:00
Chris Ledet
7ca76bb975 Add and test support for Django 2.2 2019-05-30 08:34:42 -04:00
Ken Cochrane
1026cf5c6c bumped to 0.6.1
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2019-05-19 14:15:54 -04:00
GTpyro
e3e547dbb8 added new site to list of sites using Defender 2019-03-23 17:31:20 -04:00
Attila Földes
1f76f79e09 redispy 3.2.0 compat 2019-03-07 06:26:17 -05:00
Ken Cochrane
c31e812abd Pushed out release 0.6.0 2019-02-09 10:15:53 -05:00
fr0mhell
7400a4945f Feature update Python and Django versions (#126)
* remove Python 3.3
* remove Django 1.8-1.10
* add Celery v4
* update travis config
* update admin URL
* replace MIDDLEWARE_CLASSES with MIDDLEWARE
2019-01-29 07:50:02 -05:00
Ken Cochrane
2251c298a9 Release version 0.5.5
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2018-06-07 07:48:18 -04:00
Andrei Baryshnikov
3031deb761 Add possibility to use custom utils.get_username_from_request function (#122)
* Add `DEFENDER_GET_USERNAME_FROM_REQUEST_PATH` setting

This setting allow to override default `get_username_from_request`
function.

* Add `get_username` argument to `watch_login`

To be able to propagate this argument to other utils functions calls

* Minor code-style fixes

* Add example of use of `DEFENDER_GET_USERNAME_FROM_REQUEST_PATH` setting

* Update docs
2018-05-29 10:32:08 -04:00
Ken Cochrane
825afb3209 Released version 0.5.4
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2018-04-10 19:39:20 -04:00
Jaimie Imrie
066dd238c8 Added ssl option when instantiating StrictRedis (#120) 2018-04-10 18:57:45 -04:00