Valentin Samir
5bd06d47c5
Keep query string then redirecting from / to /login
2018-05-21 13:10:33 +02:00
Valentin Samir
797b6c6e61
Updates dependancies to Django>=1.11
2018-04-30 22:31:10 +02:00
Valentin Samir
dc5f59ea46
Update PyPi url from https://pypi.python.org to https://pypi.org
2018-04-30 18:31:54 +02:00
Valentin Samir
ca41c067b9
Wrap some long lines
2018-04-29 20:13:51 +02:00
Valentin Samir
290701e07f
Changes for Django 2.0 support
2018-04-29 20:10:19 +02:00
Valentin Samir
fcafc77b98
Update .travis.yml and setup.py to drop Django <1.11 and python 3.4 support
2018-04-29 19:21:54 +02:00
Valentin Samir
b207cee8ee
Update changelog
2018-04-29 19:16:24 +02:00
Valentin Samir
81d7c7c9c6
Drop support of Django <1.11 and python 3.4
2018-04-29 19:16:02 +02:00
Valentin Samir
753e3b5625
Fix #38 calling django.contrib.staticfiles.templatetags.staticfiles.static before collectstatic raise a ValueError.
...
In debug bug, it actually works and do not raise an exception, but in
non-debug mode, it tries to search the staticfiles manifest for the file.
If there is no manifest because collectstatic has not been run before, this fails.
2018-04-29 19:04:59 +02:00
Valentin Samir
ee69b04b53
Fix code style of previous commit
2018-04-29 19:04:44 +02:00
Valentin Samir
ff8373ee6a
Always return authenticationDate, longTermAuthenticationRequestTokenUsed and isFromNewLogin attributes
...
As specified in the CAS response XML schema (see Appendix A).
Fix #37 as returned attributes are now never empty.
2018-04-29 18:48:41 +02:00
Valentin Samir
4123450e9f
Add support for Django 2.0, fix #33
2018-01-27 10:44:34 +01:00
Valentin Samir
4de2e2c1c6
Add support for python 3.6 and Django 1.11
2017-11-17 16:56:44 +01:00
Valentin Samir
4229f871c5
Merge pull request #34 from nitmir/dev
...
Update version to 0.9.0
v0.9.0 - 2017-11-17
===================
Added
-----
* Dutch translation
* Protuguese translation (brazilian variant)
* Support for ldap3 version 2 or more (changes in the API)
All exception are now in ldap3.core.exceptions, methodes for fetching attritutes and
dn are renamed.
* Possibility to disable service message boxes on the login pages
Fixed
-----
* Then using the LDAP auth backend with ``bind`` method for password check, do not try to bind
if the user dn was not found. This was causing the exception
``'NoneType' object has no attribute 'getitem'`` describe in #21
* Increase the max size of usernames (30 chars to 250)
* Fix XSS js injection
2017-11-17 15:47:00 +01:00
Valentin Samir
5811d6435c
Update version to 0.9.0
2017-11-17 15:32:42 +01:00
Valentin Samir
971cde093c
Fix XSS js injection
2017-11-17 15:28:12 +01:00
Roberto Morati
f1a47e7766
Added protuguese translation (brazilian variant)
2017-08-29 18:14:00 +02:00
Valentin Samir
60ae92cc5a
Add changelog for merges 03a069268a
and 253b431194
2017-04-25 16:26:39 +02:00
Valentin Samir
253b431194
Merge pull request #26 from JostCrow/master
...
Added a way to disable the service messages on the login page
2017-04-25 16:21:05 +02:00
Valentin Samir
03a069268a
Merge pull request #27 from JostCrow/bigger_usernames
...
The username was really small
2017-04-25 16:20:50 +02:00
Valentin Samir
9e1fd9962d
Merge branch 'master' into bigger_usernames
2017-04-07 16:07:08 +02:00
Jorik Kraaikamp
92bba0da49
added the missing migration
2017-03-30 15:25:49 +02:00
Jorik Kraaikamp
13af3ccd1d
added the bigger username migration and change
2017-03-29 17:52:12 +02:00
Jorik Kraaikamp
951dc60e99
Fixed some major mistyping and added the default setting.
2017-03-29 16:57:27 +02:00
Jorik Kraaikamp
81ebc74ecd
updated the readme
2017-03-29 15:38:21 +02:00
Jorik Kraaikamp
224202c5c2
Added a setting to turn of the messages about the service
2017-03-29 15:36:12 +02:00
Valentin Samir
1dba4fea95
Support for ldap3 version 2 or more (changes in the API)
...
All exception are now in ldap3.core.exceptions, methodes for fetching
attritutes and dn are renamed.
2017-03-29 14:34:58 +02:00
Valentin Samir
443c87fa40
Do not try to bind if the user dn was not found with LDAP auth backend
...
Then using the LDAP auth backend with ``bind`` method for password check, do not try to bind
if the user dn was not found. This was causing the exception
``'NoneType' object has no attribute 'getitem'`` describe in #21
2017-03-29 14:28:36 +02:00
Valentin Samir
4c15b51612
Update CHANGELOG with dutch translation
2017-03-29 14:24:52 +02:00
Valentin Samir
85eae7d609
Merge pull request #25 from JostCrow/master
...
Added dutch translations
2017-03-29 14:23:22 +02:00
Jorik Kraaikamp
5410aee3d5
Added dutch translations
2017-03-29 13:08:55 +02:00
Valentin Samir
aa2a35b279
Merge pull request #22 from nitmir/dev
...
Update version to 0.8.0
Added
-----
* Add a test for login with missing parameter (username or password or both)
* Add ldap auth using bind method (use the user credentials to bind the the ldap server and let the
server check the credentials)
* Add CAS_TGT_VALIDITY parameter: Max time after with the user MUST reauthenticate.
Fixed
-----
* Allow both unicode and bytes dotted string in utils.import_attr
* Fix some spelling and grammar on log messages. (thanks to Allie Micka)
* Fix froms css class error on success/error due to a scpaless block
* Disable pip cache then installing with make install
Changed
-------
* Update french translation
2017-03-08 14:26:09 +01:00
Valentin Samir
00d47790e4
Update version to 0.8.0
2017-03-08 14:11:26 +01:00
Valentin Samir
9db40bdbcb
Disable pip cache then installing with make install
2016-11-20 16:52:28 +01:00
Valentin Samir
64d3901ec4
Remove spaceless in forms, fix css class errors
2016-11-20 16:51:32 +01:00
Valentin Samir
b80947755a
Add module tests.auth a docstring
2016-10-07 15:36:11 +02:00
Valentin Samir
f1fed48b21
Add ldap bind auth method and CAS_TGT_VALIDITY parameter. Fix #18
2016-10-07 15:27:43 +02:00
Valentin Samir
e77dbbcd03
Update french translation
2016-09-18 11:40:22 +02:00
Valentin Samir
6185e9c68c
Fix more spelling and grammar errors
2016-09-18 11:40:03 +02:00
Allie Micka
816d350548
Fix some spelling and grammar on log messages.
2016-09-18 11:26:09 +02:00
Valentin Samir
37c975eaf7
Allow both unicode and bytes dotted string in utils.import_attr
2016-09-18 11:21:33 +02:00
Valentin Samir
75b3fe4db0
Update coverage upload script
2016-09-11 19:30:26 +02:00
Valentin Samir
7321583429
Update CHANGELOG
2016-09-10 15:25:31 +02:00
Valentin Samir
c7171bb386
Add a test for login with missing parameter (username or password or both)
2016-09-10 15:24:30 +02:00
Valentin Samir
58be6fb3e4
Update coverage URLs
2016-09-10 01:16:33 +02:00
Valentin Samir
ebfac168a2
Put update_coverage commands in the script called by tox
2016-09-09 14:52:52 +02:00
Valentin Samir
09e9b20c5b
Do not use codacy for coverage
2016-09-09 14:25:43 +02:00
Valentin Samir
0c5631ae40
Merge pull request #16 from nitmir/dev
...
Update version to 0.7.4
Fixed
-----
* Add templatetags to Pypi package
2016-09-07 20:34:28 +02:00
Valentin Samir
0b44ecf5e5
Update version to 0.7.4
2016-09-07 20:19:18 +02:00
Valentin Samir
802c04a116
Add templatetags to Pypi package
2016-09-07 20:18:30 +02:00