Commit graph

14 commits

Author SHA1 Message Date
Aurélien Delobelle
e3446fbf4f New dev release 2017-09-16 02:19:06 +02:00
Aurélien Delobelle
bb8a3b16bf Connect a CAS Account for an authenticated works...
...thanks to using SocialLogin.stash/unstash_state.

Also:
- Some tests are updated to get the stash_state. Requests are denied if
client session doesn't go through stash_state (called in LoginCASView).
- Fix an assert statement in a test.
2017-09-16 01:58:09 +02:00
Aurélien Delobelle
819f50e86d New dev release 2017-07-28 15:41:19 +02:00
Aurélien Delobelle
f2f8a6baf7 Add badges to README 2017-07-28 15:37:59 +02:00
Aurélien Delobelle
049cf22b42 Renew on already authenticated + Misc tests
Renew paramater:
- By default, CAS client will use renew parameter if user already
authenticates via a CAS server. If always False, he can't
reauthenticate on a CAS server due to the single sign-on CAS feature
(except if he logouts of CAS on his own).

Tests:
- patch_cas_reponse now returns a correct CAS client taking into
account the version attribute of the CAS adapter.
- Some moves happens between testcases et al.
- Delete old and now unused fake CAS client classes.
2017-07-28 15:31:37 +02:00
Aurélien Delobelle
b1165d39af Enable travis builds 2017-07-28 13:22:33 +02:00
Aurélien Delobelle
a789b4da87 Add missing templates to MANIFEST 2017-07-27 18:04:22 +02:00
Aurélien Delobelle
3f84c805d0 New dev release 2017-07-26 18:34:08 +02:00
Aurélien Delobelle
9860eb683f Update tests
- Delete patch_cas_client on CASTestCase. It's replaced with
patch_cas_response method.
- Move CAS*TestCase to allauth_cas.test.testcases.
2017-07-26 18:32:35 +02:00
Aurélien Delobelle
7133ae65a6 Prevent escaping of logout message 2017-07-26 17:24:20 +02:00
Aurélien Delobelle
76fd5ca344 initial 2017-07-25 18:31:42 +02:00
Aurélien Delobelle
f6a7dbc385 add files for setup & tests 2017-07-22 18:29:14 +02:00
Aurélien Delobelle
f1796f9f11 add LICENSE 2017-07-22 18:25:04 +02:00
Aurélien Delobelle
c07ef51524 add README 2017-07-22 18:15:53 +02:00