# HG changeset patch # User ymh # Date 1442490379 -7200 # Node ID 51e129ee6086f5a22eb9147786ae95bced01bc18 # Parent 667eedcf45948e42cfaaa153aeb403f57a60358d new cas client version + correct firstname and lastname handling + new version diff -r 667eedcf4594 -r 51e129ee6086 server/src/remie/cas.py --- 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 diff -r 667eedcf4594 -r 51e129ee6086 server/src/remieplt/__init__.py --- 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]))) diff -r 667eedcf4594 -r 51e129ee6086 server/virtualenv/res/lib/lib_create_env.py --- 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}}, } diff -r 667eedcf4594 -r 51e129ee6086 server/virtualenv/res/src/django-cas-ng-3.4.2.tar.gz Binary file server/virtualenv/res/src/django-cas-ng-3.4.2.tar.gz has changed diff -r 667eedcf4594 -r 51e129ee6086 server/virtualenv/res/src/django-cas-ng-3.4.3-IRI.tar.gz Binary file server/virtualenv/res/src/django-cas-ng-3.4.3-IRI.tar.gz has changed diff -r 667eedcf4594 -r 51e129ee6086 server/virtualenv/web/res/requirements.txt --- 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