Commit graph

286 commits

Author SHA1 Message Date
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
Jorik Kraaikamp
5410aee3d5 Added dutch translations 2017-03-29 13:08:55 +02:00
Valentin Samir
00d47790e4 Update version to 0.8.0 2017-03-08 14:11:26 +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
c7171bb386 Add a test for login with missing parameter (username or password or both) 2016-09-10 15:24:30 +02:00
Valentin Samir
0b44ecf5e5 Update version to 0.7.4 2016-09-07 20:19:18 +02:00
Valentin Samir
8a7ffd8172 Update version to 0.7.3 2016-09-07 17:25:28 +02:00
Valentin Samir
216f38db14 Only check for valid username/password if username and password POST fields are posted. 2016-09-07 17:13:42 +02:00
Valentin Samir
868a06ea3f Really pick the last version on Pypi for new version checking.
We were only sorting version string lexicographically and it would have break when
we reach version 0.10.N or 0.N.10
2016-09-06 12:02:43 +02:00
Valentin Samir
990f00fe3c Add autofocus to the username input on the login page 2016-09-06 12:02:36 +02:00
Valentin Samir
92d3c4515d Update version to 0.7.2 2016-08-31 16:32:38 +02:00
Valentin Samir
80a1eef900 Fix lang attribute in django 1.7 2016-08-27 11:13:55 +02:00
Valentin Samir
5052bd8ddc Fix BootsrapForm: placeholder on Input and Textarea only. 2016-08-27 11:04:37 +02:00
Valentin Samir
94c2168af1 Add Django 1.10 support 2016-08-25 13:02:45 +02:00
Valentin Samir
bbf0c6e287 Update version to 0.7.0 2016-08-24 23:15:35 +02:00
Valentin Samir
7bfaaff4f7 Add a forgotten migration (only change help_text and validators) 2016-08-24 23:14:31 +02:00
Valentin Samir
5b2795ae44 Update version to 0.7.0 2016-08-24 23:03:21 +02:00
Valentin Samir
6b007f3960 Add CAS_INFO_MESSAGES tests 2016-08-24 18:20:12 +02:00
Valentin Samir
cd57f101bc Fix english typos in tests 2016-08-24 18:01:59 +02:00
Valentin Samir
e8d893beeb Add a CAS_INFO_MESSAGES and CAS_INFO_MESSAGES_ORDER settings allowing to display messages 2016-08-24 18:01:45 +02:00
Valentin Samir
097a7e32ad Fix some english typos and update french translation 2016-08-24 17:21:50 +02:00
Valentin Samir
816156fa59 Allow the user defined CAS_COMPONENT_URLS to omit not changed values 2016-08-22 15:07:15 +02:00
Valentin Samir
14a459b128 Add a validator to models CharField that should be regular expressions 2016-08-21 09:07:43 +02:00
Valentin Samir
cd45c479a8 Update version to 0.6.4 2016-08-14 08:21:10 +02:00
Valentin Samir
3c2245e9cd Add a forgotten migration (only change help_text) 2016-08-14 08:20:01 +02:00
Valentin Samir
84d0d267ad Update version to 0.6.3 2016-08-13 19:39:47 +02:00
Valentin Samir
da796c6e01 Corrects various errors spoted by travis and codacy 2016-08-06 11:44:58 +02:00
Valentin Samir
ed5e3d5226 Unfold many to many attributes in auth.DjangoAuthUser 2016-08-06 11:31:39 +02:00
Valentin Samir
29522aad4e Usage of the documented API for models _meta 2016-08-06 11:09:52 +02:00
Valentin Samir
aaadca15b7 Code factorisation in views.py 2016-08-06 11:09:15 +02:00
Valentin Samir
d46428520f Code factorisation in models.py 2016-08-05 17:56:34 +02:00
Valentin Samir
170c557190 js/css style 2016-08-03 01:48:31 +02:00
Valentin Samir
f4882c3057 Add powered by footer, set warn cookie using javascript, w3c validation 2016-08-02 18:52:43 +02:00
Valentin Samir
6442040095 Add templatetags tests 2016-08-02 17:10:42 +02:00
Valentin Samir
f0c5839c94 typo in templatetags docstrings 2016-08-02 15:22:27 +02:00
Valentin Samir
d099fe40a0 Document cas_server/templatetags 2016-08-02 15:15:51 +02:00
Valentin Samir
773707e6c3 Update version to 0.6.2 2016-08-02 14:35:24 +02:00
Valentin Samir
aa98096059 Use custom templatetags instead settings custom attributes to Boundfields
As it do not work with django 1.7
2016-08-02 13:29:55 +02:00
Valentin Samir
99d335e85d Enable logging to stderr then running tests 2016-08-01 18:36:12 +02:00
Valentin Samir
41f7bdade3 Fix autodoc forms.FederateUserCredential base class 2016-08-01 18:36:05 +02:00
Valentin Samir
d053003344 Add test for ldap check password with bad base64 hash 2016-08-01 18:33:58 +02:00
Valentin Samir
d25f738b03 Add unit test for utils.dictfetchall 2016-08-01 18:29:05 +02:00
Valentin Samir
c6583c925e Support authentication renewal in federate mode 2016-08-01 17:36:33 +02:00