Commit graph

648 commits

Author SHA1 Message Date
Aleksi Häkli
a5c2a2b10d
Improve README and add badges
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-01-14 16:43:42 +02:00
Aleksi Häkli
ee63d26f25
Version 4.5.3
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-01-14 15:25:23 +02:00
Aleksi Häkli
60f2a8ed71
Merge pull request #392 from jazzband/development
Remove AccessAttempt.trusted flag and clean up CI setup and README
2019-01-14 15:22:56 +02:00
Aleksi Häkli
4a29d5a8fc
Version 4.5.2
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-01-12 21:03:53 +02:00
Aleksi Häkli
bbcd02d805
Merge pull request #391 from obayhan/master
Turkish translation added
2019-01-12 20:56:01 +02:00
obayhan
1e52c8f29d Turkish translation added 2019-01-12 21:05:21 +03:00
Camilo Nova
9ab830b04a Bump version 2019-01-11 14:04:18 -05:00
Camilo Nova
e1bfc7d1fe Removed duplicated code 2019-01-11 12:43:11 -05:00
Reece Dunham
fc34d18404
Merge pull request #390 from lubicz-sielski/master
Russian locale
2019-01-11 09:01:57 -05:00
Sielski Olieg
33e877af88 russian locale 2019-01-11 16:25:40 +03:00
Sielski Olieg
8686c6599a russian locale 2019-01-11 15:52:24 +03:00
Aleksi Häkli
d9d6c31309 Improve README structure
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-25 18:55:15 +01:00
Aleksi Häkli
e42948f006 Clean up .travis.yml field ordering
Changing username or password will generate a convoluted patch
if they are on multiple different lines if they are not grouped

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-25 18:55:15 +01:00
Aleksi Häkli
a785e3c58c Run deploy to Jazzband only once
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-25 18:55:15 +01:00
Aleksi Häkli
c7e79aeaf2 Remove unused AccessAttempt.trusted flag
Fixes #344
2018-12-25 18:55:15 +01:00
Aleksi Häkli
b28ece3dae
Merge pull request #388 from jazzband/development
Version 4.5.0
2018-12-25 18:11:36 +01:00
Aleksi Häkli
b18c666ec1
Version 4.5.0
Fixes #384

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-25 17:47:11 +01:00
Aleksi Häkli
87f4fa2ccc
Merge pull request #387 from jazzband/coveralls
Remove deprecated coveralls from dependancies
2018-12-23 18:32:01 +01:00
Aleksi Häkli
a186e0f679
Change broken coveralls to codecov 2018-12-23 17:01:08 +01:00
Aleksi Häkli
13c395d36c
Merge pull request #385 from jazzband/django21
Fix tests for Django 2.1
2018-12-23 16:43:54 +01:00
Aleksi Häkli
396d99ccc1
Fix tests for Django 2.1
Use HTML comparisons is assertContains instead of
normal text comparisons which can change with rendering.

Fixes #374
2018-12-23 15:52:21 +01:00
Aleksi Häkli
a6561604b5 Add .idea to .gitignore 2018-12-23 15:42:37 +01:00
Aleksi Häkli
8ab4ce228f
Add tests for faulty AXES_USERNAME_CALLABLEs 2018-12-23 04:21:57 +02:00
Aleksi Häkli
becc61818f
Add another test case for AXES_USERNAME_CALLABLE
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-23 04:02:17 +02:00
Aleksi Häkli
b8489e0860
Fix AxesModelBackend function signature compatibility 2018-12-23 03:46:44 +02:00
Aleksi Häkli
7c3e21166e
Backwards compatibility fixes for credentials
Revert some of the PR changes to tests to make sure that all of the
old format function invocations work with the old and new tests.

Implement small enchancements to documentation and credentials resolving
for usability and flexibility with custom authentication backends.

Update documentation to indicate that backwards compatibility
is supported as well as the new format credentials invocations.

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-23 02:58:53 +02:00
Aleksi Häkli
34f9322367
Merge pull request #377 from mastacheata/bugfix/358-credentials-in-favor-of-request
Bugfix #358 credentials in favor of request
2018-12-22 19:30:17 +01:00
Benedikt Bauer
41b532c882 Fix problem with Django Admin -> It always uses username as the username field 2018-12-20 16:48:10 +01:00
Benedikt Bauer
efc02327f3 Enhance configuration docs with detailed credentials description 2018-12-20 16:47:29 +01:00
Aleksi Häkli
1c72cf431f
Merge pull request #378 from jazzband/travis
Run tests in parallel in Travis
2018-12-20 01:21:22 +01:00
Aleksi Häkli
6847f5316d
Run tests in parallel in Travis
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-20 00:58:22 +01:00
Mark Davidoff
a7758b2f4b
Merge pull request #379 from mastacheata/refactor/remove-trailing-space-in-usage-rst
Strip trailing spaces in usage.rst
2018-12-19 09:33:57 -08:00
Benedikt Bauer
af1ff981dd Strip trailing spaces in usage.rst 2018-12-19 18:04:54 +01:00
Benedikt Bauer
a17c7f4706 Strip Whitespace changes from PR 2018-12-19 18:01:56 +01:00
Benedikt Bauer
2e9754914b Use get_client_username instead of manual username lookup for cache key 2018-12-19 16:33:32 +01:00
Benedikt Bauer
b6abd9c08e Documentation update to reflect changes to AXES_USERNAME_CALLABLE
AXES_USERNAME_CALLABLE now gets two parameters and
AXES_PASSWORD_FORM_FIELD applies to the credentials dictionary first and only uses the POST fields as a fallback anymore
2018-12-19 15:27:20 +01:00
Benedikt Bauer
306dd3c596 Use credentials whenever possible in favor of request.POST 2018-12-19 15:05:09 +01:00
Aleksi Häkli
365f972413
Merge pull request #372 from jazzband/versions
Update test matrix to include Python 3.7 and Django 2.1
2018-12-15 19:40:47 +02:00
Aleksi Häkli
8204032102
Add Python 3.7 to supported versions
Add Django 2.1 to the test matrix

Fixes #371

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-10 19:48:46 +02:00
Aleksi Häkli
06870b08a0
Improve documentation for AXES_IP_WHITELIST config 2018-12-09 16:01:56 +02:00
Aleksi Häkli
295eb62527
Release 4.4.3
Fixes #370

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-08 15:24:52 +02:00
Aleksi Häkli
deb32c92c5
Add translations to the distribution
Fixes #361

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2018-12-08 15:15:03 +02:00
Mark Davidoff
3899553ba2
Merge pull request #369 from arjenzijlstra/update-error-message-axesmodelbackend
Update message of parameter required exception in AxesModelBackend.
2018-11-06 11:40:35 -08:00
Arjen
14f3a306d7
Update message of parameter required exception in AxesModelBackend. 2018-11-06 18:44:12 +01:00
Aleksi Häkli
3ccc218b89
Merge pull request #366 from arjenzijlstra/feature-reset-on-success
Added functionality to reset failed attempts on successful login.
2018-10-31 18:35:29 +02:00
Mark Davidoff
db63fe022b
Merge pull request #368 from jazzband/442
4.4.2 Release
2018-10-31 09:08:33 -07:00
Mark Davidoff
376b6a8840
bump version 2018-10-31 09:07:44 -07:00
Mark Davidoff
8ffb63e9bb
Update Changelog as the other fix did not make it into 441 2018-10-31 09:05:26 -07:00
Arjen
49ba672e2b
Rewrote test_reset_on_succes to use a common function. 2018-10-31 09:16:50 +01:00
Arjen
4509c7aab7
Rewrote range statement. 2018-10-31 08:42:47 +01:00