new cas client version + correct firstname and lastname handling + new version
authorymh <ymh.work@gmail.com>
Thu, 17 Sep 2015 13:46:19 +0200
changeset 147 51e129ee6086
parent 146 667eedcf4594
child 148 2abdf83dd7e9
new cas client version + correct firstname and lastname handling + new version
server/src/remie/cas.py
server/src/remieplt/__init__.py
server/virtualenv/res/lib/lib_create_env.py
server/virtualenv/res/src/django-cas-ng-3.4.2.tar.gz
server/virtualenv/res/src/django-cas-ng-3.4.3-IRI.tar.gz
server/virtualenv/web/res/requirements.txt
--- a/server/src/remie/cas.py	Wed Sep 16 23:32:47 2015 +0200
+++ b/server/src/remie/cas.py	Thu Sep 17 13:46:19 2015 +0200
@@ -36,9 +36,9 @@
                 for element in tree[0]:
                     if element.tag.endswith('user'):
                         user = element.text
-                    elif element.tag.endswith(':nom'):
+                    elif element.tag.endswith('prenom'):
                         attributes['last_name'] = element.text
-                    elif element.tag.endswith(':prenom'):
+                    elif element.tag.endswith('nom'):
                         attributes['first_name'] = element.text
                     elif element.tag.endswith('proxyGrantingTicket'):
                         pgtiou = element.text
--- a/server/src/remieplt/__init__.py	Wed Sep 16 23:32:47 2015 +0200
+++ b/server/src/remieplt/__init__.py	Thu Sep 17 13:46:19 2015 +0200
@@ -1,4 +1,4 @@
-VERSION = (0, 0, 21, "final", 0)
+VERSION = (0, 0, 22, "final", 0)
 
 VERSION_STR = unicode(".".join(map(lambda i:"%02d" % (i,), VERSION[:2])))
 
--- a/server/virtualenv/res/lib/lib_create_env.py	Wed Sep 16 23:32:47 2015 +0200
+++ b/server/virtualenv/res/lib/lib_create_env.py	Thu Sep 17 13:46:19 2015 +0200
@@ -54,7 +54,7 @@
     'PYJWT' : { 'setup': 'pyjwt', 'url': 'https://github.com/jpadilla/pyjwt/archive/1.1.0.tar.gz', 'local' : 'pyjwt-1.1.0.tar.gz', 'install': {'method': 'pip', 'option_str': None, 'dict_extra_env': None}},
     'PYTHON-MIMEPARSE': { 'setup': 'python-mimeparse', 'url': 'https://pypi.python.org/packages/source/p/python-mimeparse/python-mimeparse-0.1.4.tar.gz', 'local' : 'python-mimeparse-0.1.4.tar.gz', 'install': {'method': 'pip', 'option_str': None, 'dict_extra_env': None}},
     'REQUESTS-OAUTHLIB': { 'setup': 'requests-oauthlib', 'url': 'https://github.com/requests/requests-oauthlib/archive/v0.5.0.tar.gz', 'local' : 'requests-oauthlib-0.5.0.tar.gz', 'install': {'method': 'pip', 'option_str': None, 'dict_extra_env': None}},
-    'DJANGO_CAS_NG': {'setup': 'django-cas-ng', 'url': 'https://github.com/IRI-Research/django-cas-ng/archive/customize-cas-client.tar.gz', 'local':'django-cas-ng-3.4.2.tar.gz', 'install': {'method': 'pip', 'option_str': None, 'dict_extra_env': None}},
+    'DJANGO_CAS_NG': {'setup': 'django-cas-ng', 'url': 'https://github.com/IRI-Research/django-cas-ng/archive/v3.4.3-IRI.tar.gz', 'local':'django-cas-ng-3.4.3-IRI.tar.gz', 'install': {'method': 'pip', 'option_str': None, 'dict_extra_env': None}},
     'DJANGO_URL_SHORTENER': {'setup': 'django-url-shortener', 'url': 'https://github.com/IRI-Research/django-url-shortener/archive/0.1.1.tar.gz', 'local': 'django-url-shortener-0.1.1.tar.gz', 'install': {'method': 'pip', 'option_str': None, 'dict_extra_env': None}},
 }
 
Binary file server/virtualenv/res/src/django-cas-ng-3.4.2.tar.gz has changed
Binary file server/virtualenv/res/src/django-cas-ng-3.4.3-IRI.tar.gz has changed
--- a/server/virtualenv/web/res/requirements.txt	Wed Sep 16 23:32:47 2015 +0200
+++ b/server/virtualenv/web/res/requirements.txt	Thu Sep 17 13:46:19 2015 +0200
@@ -2,7 +2,7 @@
 defusedxml==0.4.1
 Django==1.8.4
 django-chunked-uploads==0.7
-django-cas-ng==3.4.2
+django-cas-ng==3.4.3-IRI
 django-cors-headers==1.1.0
 django-extensions==1.5.5
 django-guardian==1.3