Commit Graph

269 Commits

Author SHA1 Message Date
92d3c4515d Update version to 0.7.2 2016-08-31 16:32:38 +02:00
80a1eef900 Fix lang attribute in django 1.7 2016-08-27 11:13:55 +02:00
5052bd8ddc Fix BootsrapForm: placeholder on Input and Textarea only. 2016-08-27 11:04:37 +02:00
94c2168af1 Add Django 1.10 support 2016-08-25 13:02:45 +02:00
bbf0c6e287 Update version to 0.7.0 2016-08-24 23:15:35 +02:00
7bfaaff4f7 Add a forgotten migration (only change help_text and validators) 2016-08-24 23:14:31 +02:00
5b2795ae44 Update version to 0.7.0 2016-08-24 23:03:21 +02:00
6b007f3960 Add CAS_INFO_MESSAGES tests 2016-08-24 18:20:12 +02:00
cd57f101bc Fix english typos in tests 2016-08-24 18:01:59 +02:00
e8d893beeb Add a CAS_INFO_MESSAGES and CAS_INFO_MESSAGES_ORDER settings allowing to display messages 2016-08-24 18:01:45 +02:00
097a7e32ad Fix some english typos and update french translation 2016-08-24 17:21:50 +02:00
816156fa59 Allow the user defined CAS_COMPONENT_URLS to omit not changed values 2016-08-22 15:07:15 +02:00
14a459b128 Add a validator to models CharField that should be regular expressions 2016-08-21 09:07:43 +02:00
cd45c479a8 Update version to 0.6.4 2016-08-14 08:21:10 +02:00
3c2245e9cd Add a forgotten migration (only change help_text) 2016-08-14 08:20:01 +02:00
84d0d267ad Update version to 0.6.3 2016-08-13 19:39:47 +02:00
da796c6e01 Corrects various errors spoted by travis and codacy 2016-08-06 11:44:58 +02:00
ed5e3d5226 Unfold many to many attributes in auth.DjangoAuthUser 2016-08-06 11:31:39 +02:00
29522aad4e Usage of the documented API for models _meta 2016-08-06 11:09:52 +02:00
aaadca15b7 Code factorisation in views.py 2016-08-06 11:09:15 +02:00
d46428520f Code factorisation in models.py 2016-08-05 17:56:34 +02:00
170c557190 js/css style 2016-08-03 01:48:31 +02:00
f4882c3057 Add powered by footer, set warn cookie using javascript, w3c validation 2016-08-02 18:52:43 +02:00
6442040095 Add templatetags tests 2016-08-02 17:10:42 +02:00
f0c5839c94 typo in templatetags docstrings 2016-08-02 15:22:27 +02:00
d099fe40a0 Document cas_server/templatetags 2016-08-02 15:15:51 +02:00
773707e6c3 Update version to 0.6.2 2016-08-02 14:35:24 +02:00
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
99d335e85d Enable logging to stderr then running tests 2016-08-01 18:36:12 +02:00
41f7bdade3 Fix autodoc forms.FederateUserCredential base class 2016-08-01 18:36:05 +02:00
d053003344 Add test for ldap check password with bad base64 hash 2016-08-01 18:33:58 +02:00
d25f738b03 Add unit test for utils.dictfetchall 2016-08-01 18:29:05 +02:00
c6583c925e Support authentication renewal in federate mode 2016-08-01 17:36:33 +02:00
ed3e382ef1 [cas.py] Append renew=true when validating tickets 2016-08-01 17:01:11 +02:00
2a1c90965c Add a checkbox to forget the identity provider if we checked "remember the identity provider" 2016-08-01 12:01:53 +02:00
0237364d8e Only set "remember my provider" in federated mode upon successful authentication 2016-08-01 11:34:49 +02:00
13c7359294 Remember warn using a cookie 2016-08-01 02:07:50 +02:00
aae3a0186e Factorize froms.py 2016-07-31 20:30:27 +02:00
2298b94f78 Add SqlAuthUser and LdapAuthUser auth classes. Deprecate the usage of SqlAuthUser in favor of SqlAuthUser.
SqlAuthUser use django databases management, and thus is compatible with all SQL databases supported
by django: postgresql, mysql, sqlite3 and oracle.

LdapAuthUser use the full pythonic ldap3 module
2016-07-31 17:09:27 +02:00
f0922e0300 Add secret as sensitive variables/post parameter for /auth 2016-07-31 12:28:10 +02:00
4721eb4f81 Catch base64 decode error on b64decode to raise our custom exception BadHash 2016-07-31 12:27:14 +02:00
fbc977c6bd Fix inversion between two gettext string 2016-07-30 19:20:52 +02:00
b45f8df09e Remove english "translation" and use full english text in the sources. Update french translation. 2016-07-30 01:34:43 +02:00
3d0f2496dd Put favicon (shortcut icon) URL in settings 2016-07-30 00:46:57 +02:00
34118833bf Display an error message on bad response from identity provider in federate mode. fix #7.
If the identity provider CAS do not return an XML document as specified on ticket validation,
an XML parsing error is raised. We now catch it and display a message to the user.
2016-07-29 16:35:21 +02:00
2cc31ce5f5 [cas.py] factor the charset detection in a function 2016-07-29 16:34:39 +02:00
570676f5b0 fix some codacy errors 2016-07-29 15:18:10 +02:00
3063cf116b few flake8 and python3 problems corrected 2016-07-29 14:55:52 +02:00
b6cffcf482 Add new version email and info box then new version is available 2016-07-29 14:33:39 +02:00
6eea76d984 Add pytest-warning to tests and correct some warnings, complete coverage (essentially branch) 2016-07-29 13:58:32 +02:00