Skip to content

Commit 2d2a202

Browse files
authored
Merge pull request #88 from kstateome/develop
1.5.1
2 parents 0fd17f6 + de6f5fc commit 2d2a202

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 1.5.1
2+
- Include request in authenticate and evaluate gateway query_list (https://github.com/kstateome/django-cas/pull/87)
3+
14
### 1.5.0
25
- Path Change (https://github.com/kstateome/django-cas/pull/76)
36
- Update authenticate method (https://github.com/kstateome/django-cas/pull/77/files)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
CAS client for Django. This library requires Django 1.5 or above, and Python 2.6, 2.7, 3.4
44

5-
Current version: 1.5.0
5+
Current version: 1.5.1
66

77
This is [K-State's fork](https://github.com/kstateome/django-cas) of [the original](https://bitbucket.org/cpcc/django-cas/overview) and includes [several additional features](https://github.com/kstateome/django-cas/#additional-features) as well as features merged from
88

@@ -14,7 +14,7 @@ This is [K-State's fork](https://github.com/kstateome/django-cas) of [the or
1414

1515
This project is registered on PyPi as django-cas-client. To install::
1616

17-
pip install django-cas-client==1.5.0
17+
pip install django-cas-client==1.5.1
1818

1919

2020
### Add to URLs

cas/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def _service_url(request, redirect_to=None, gateway=False):
6767
for index, item2 in enumerate(gateway_params):
6868
if item[0] == item2[0]:
6969
gateway_params.pop(index)
70-
extra_params = gateway_params + query_list
70+
extra_params = gateway_params + list(query_list)
7171

7272
#Sort params by key name so they are always in the same order.
7373
sorted_params = sorted(extra_params, key=itemgetter(0))
@@ -187,7 +187,7 @@ def login(request, next_page=None, required=False, gateway=False):
187187
service = _service_url(request, next_page, False)
188188

189189
if ticket:
190-
user = auth.authenticate(ticket=ticket, service=service)
190+
user = auth.authenticate(request=request, ticket=ticket, service=service)
191191

192192
if user is not None:
193193

docs/source/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
1.5.1
5+
------------------
6+
- Include request in authenticate and evaluate gateway query_list (https://github.com/kstateome/django-cas/pull/87)
7+
48
1.5.0
59
------------------
610
- Path Change (https://github.com/kstateome/django-cas/pull/76)

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
# built documents.
5959
#
6060
# The short X.Y version.
61-
version = '1.5.0'
61+
version = '1.5.1'
6262
# The full version, including alpha/beta/rc tags.
63-
release = '1.5.0'
63+
release = '1.5.1'
6464

6565
# The language for content autogenerated by Sphinx. Refer to documentation
6666
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from setuptools import setup, find_packages
44

5-
version = '1.5.0'
5+
version = '1.5.1'
66

77

88
def read(fname):

0 commit comments

Comments
 (0)