gstrat [Sun, 20 Jan 2013 18:08:39 +0000 (20:08 +0200)]
template updates
gstrat [Tue, 15 Jan 2013 19:41:33 +0000 (21:41 +0200)]
django1.5 compatibility fixes
gstrat [Tue, 15 Jan 2013 17:48:24 +0000 (19:48 +0200)]
initial commit
dwickwire [Wed, 17 Oct 2012 21:07:18 +0000 (16:07 -0500)]
Adding placeholder text for login form
deyk [Fri, 6 Jul 2012 16:38:28 +0000 (09:38 -0700)]
Fixed never_cache decorator to, well, never cache.
deyk [Tue, 19 Jun 2012 19:40:29 +0000 (12:40 -0700)]
Fixed naming of `identifier` attribute tags.
deyk [Tue, 15 May 2012 23:28:12 +0000 (16:28 -0700)]
Added some protective decorators.
deyk [Tue, 15 May 2012 23:27:56 +0000 (16:27 -0700)]
Now tracking login success.
deyk [Tue, 15 May 2012 22:54:37 +0000 (15:54 -0700)]
Added new signal
deyk [Wed, 18 Apr 2012 18:14:52 +0000 (11:14 -0700)]
Fixed handling of iterables inside attribute_formatters.
deyk [Wed, 18 Apr 2012 18:05:17 +0000 (11:05 -0700)]
Guess we should unpack the iterables.
deyk [Wed, 18 Apr 2012 17:59:18 +0000 (10:59 -0700)]
Instead of checking for list type, check for collections.Iterable type.
deyk [Mon, 16 Apr 2012 23:48:37 +0000 (16:48 -0700)]
Added identifier history support to CAS 2.0 validation. `signals.on_cas_collect_histories` now keys off the user, not the email.
deyk [Mon, 16 Apr 2012 19:07:31 +0000 (12:07 -0700)]
Hey, it's probably not a good idea to clobber the response value, is it?
deyk [Mon, 16 Apr 2012 18:53:46 +0000 (11:53 -0700)]
OK, why isn't that working?
deyk [Mon, 16 Apr 2012 18:49:46 +0000 (11:49 -0700)]
Let's get that send() invocation right, shall we?
deyk [Mon, 16 Apr 2012 18:46:59 +0000 (11:46 -0700)]
Changed from custom attribute callback to signal for collecting custom attributes.
deyk [Mon, 16 Apr 2012 18:41:31 +0000 (11:41 -0700)]
Beter speling.
deyk [Mon, 16 Apr 2012 18:06:52 +0000 (11:06 -0700)]
Fixed socialauth-login url.
deyk [Mon, 16 Apr 2012 18:04:22 +0000 (11:04 -0700)]
Deleting ticket after successful validation.
deyk [Mon, 16 Apr 2012 18:00:01 +0000 (11:00 -0700)]
Added missing comma.
deyk [Fri, 13 Apr 2012 23:03:57 +0000 (16:03 -0700)]
Whoops, we really don't want to use the Authentication Form.
deyk [Fri, 13 Apr 2012 22:25:48 +0000 (15:25 -0700)]
Merge remote-tracking branch 'cas2/master'
Conflicts:
.gitignore
cas_provider/forms.py
cas_provider/models.py
cas_provider/urls.py
cas_provider/views.py
Merged from https://github.com/castlabs/django-cas-provider
PT #
27996721
deyk [Thu, 12 Apr 2012 17:50:57 +0000 (10:50 -0700)]
Changed the signature of the login hijack signal.
deyk [Wed, 11 Apr 2012 22:19:32 +0000 (15:19 -0700)]
Adding the `on_cas_login` signal, which is sent just before the final redirect upon successful login.
deyk [Wed, 11 Apr 2012 21:51:54 +0000 (14:51 -0700)]
Moved `merge` argument into `**kwargs`.
deyk [Wed, 11 Apr 2012 20:33:54 +0000 (13:33 -0700)]
Removed `views.socialauth_login`, as `views.login` now has feature parity.
deyk [Wed, 11 Apr 2012 20:32:56 +0000 (13:32 -0700)]
Normal login now pull the service off the session, if it doesn't exist already.
deyk [Wed, 11 Apr 2012 20:12:49 +0000 (13:12 -0700)]
Whoops.
deyk [Wed, 11 Apr 2012 18:22:38 +0000 (11:22 -0700)]
Simplified getting the service off the session for social login.
deyk [Wed, 11 Apr 2012 18:13:19 +0000 (11:13 -0700)]
Fixed: Service URL was getting built in two different ways, depending on login method.
Also:
- Removing 'service' from session dict upon successful login.
- Switched from `has_key` to `in`.
deyk [Wed, 11 Apr 2012 17:55:56 +0000 (10:55 -0700)]
Removed duplicated service-related code branches in `views.login`.
deyk [Wed, 11 Apr 2012 17:55:26 +0000 (10:55 -0700)]
Cleaned up long lines, unused imports.
deyk [Tue, 7 Feb 2012 19:40:39 +0000 (11:40 -0800)]
Merge branch 'master' of git://github.com/eykd/django-cas-provider
deyk [Tue, 7 Feb 2012 19:40:31 +0000 (11:40 -0800)]
Fixed faulty redirect if user is already logged in. Added some better logging.
dwickwire [Mon, 6 Feb 2012 14:54:52 +0000 (08:54 -0600)]
Adding autofocus to Email field
deyk [Fri, 3 Feb 2012 23:21:44 +0000 (15:21 -0800)]
Clarified logging on validation
deyk [Fri, 3 Feb 2012 23:15:02 +0000 (15:15 -0800)]
Clarified validation logging.
deyk [Fri, 3 Feb 2012 23:00:52 +0000 (15:00 -0800)]
Made logging of failed validation more explicit.
deyk [Fri, 3 Feb 2012 18:24:38 +0000 (10:24 -0800)]
Getting the service off the POST form, like we should have been.
dwickwire [Sat, 28 Jan 2012 20:57:20 +0000 (14:57 -0600)]
Adding class to remember me
deyk [Tue, 24 Jan 2012 23:20:10 +0000 (15:20 -0800)]
Removed accounts dependency, using a signal instead.
dwickwire [Fri, 20 Jan 2012 19:19:31 +0000 (13:19 -0600)]
Changed the CAS Protocol! A 'yes' or 'no' first line followed with the user is still consistent.
Now, the response has historical identifiers trailing the primary user, each on a new line.
Clients should check for each identifier...
-- if one is matched, use that username
-- if two are matched, merge accounts on client end
-- if none are matched, create a new user with primary username
Old protocol response:
yes
foobar123
New protocol response:
yes
foobar123
barbaz345
barfoo789
dwickwire [Thu, 19 Jan 2012 22:14:00 +0000 (16:14 -0600)]
Changed the remember me label
deyk [Thu, 19 Jan 2012 19:55:13 +0000 (11:55 -0800)]
Removed some broken logging statements.
deyk [Thu, 19 Jan 2012 19:33:16 +0000 (11:33 -0800)]
Fixeed urls.py to match latest usage. Sprinkled logging statements liberally.
deyk [Wed, 18 Jan 2012 22:04:38 +0000 (14:04 -0800)]
Removed usage of LoginTicket, as we get this in a much more robust form from Django's CSRF middleware.
deyk [Wed, 18 Jan 2012 21:52:09 +0000 (13:52 -0800)]
Added more specific exception handling. This clears up the LoginTicket issue we were having upon successful login.
deyk [Wed, 18 Jan 2012 21:42:41 +0000 (13:42 -0800)]
Specifying merge template for merge url.
deyk [Wed, 18 Jan 2012 21:40:29 +0000 (13:40 -0800)]
Corrected behavior of merge/login forms on GET requests.
dwickwire [Wed, 18 Jan 2012 21:18:02 +0000 (15:18 -0600)]
Fixing validation always being thrown on first visit.
-- still need to hide errors for hidden fields
deyk [Wed, 18 Jan 2012 19:44:49 +0000 (11:44 -0800)]
Added support for handling user-merging workflows at authentication time.
- views.login now has a merge mode flag, and a corresponding /cas/merge/ url.
- forms.LoginForm now does its own validation, simplifying views.login
- views.social_auth_login hasn't been adapted yet.
dwickwire [Wed, 18 Jan 2012 17:57:46 +0000 (11:57 -0600)]
Adding basic merge template
dwickwire [Wed, 23 Nov 2011 22:01:48 +0000 (16:01 -0600)]
Saving the service protectively. Also using user from the request for socialauth logins.
dwickwire [Wed, 16 Nov 2011 14:56:58 +0000 (08:56 -0600)]
Added social authentication hook to generate valid tickets for social auth logins. Fixed redirection url to 'account' instead of 'accounts'. Reverted to using usernames instead of emails.
dwickwire [Fri, 28 Oct 2011 15:57:34 +0000 (10:57 -0500)]
Added 'remember me' functionality to view
Sebastian Annies [Wed, 26 Oct 2011 00:31:51 +0000 (02:31 +0200)]
do some logging
deyk [Mon, 24 Oct 2011 18:39:47 +0000 (11:39 -0700)]
Tweaked to use emails instead of usernames.
Sebastian Annies [Mon, 17 Oct 2011 19:00:47 +0000 (21:00 +0200)]
repair tests
Sebastian Annies [Mon, 17 Oct 2011 17:12:25 +0000 (19:12 +0200)]
new version since db schema changed
Sebastian Annies [Mon, 17 Oct 2011 17:11:56 +0000 (19:11 +0200)]
do not check targetService - that is totally wrong.
Sebastian Annies [Mon, 17 Oct 2011 17:11:26 +0000 (19:11 +0200)]
remove unused targetService field
Sebastian Annies [Mon, 17 Oct 2011 17:10:58 +0000 (19:10 +0200)]
add admins for proxy related tickets
Sebastian Annies [Mon, 17 Oct 2011 13:26:16 +0000 (15:26 +0200)]
service == service if host, port and path are euqal. Do not mind url params
testing the now corrected construction of the proxyCallbackUrl
Marek Stępniowski [Sat, 15 Oct 2011 10:38:28 +0000 (12:38 +0200)]
Changed `<CR><LF>` line endings to `<LF>` in `views.login`. Fixes #2
Marek Stępniowski [Sat, 15 Oct 2011 10:22:53 +0000 (12:22 +0200)]
Removed unneeded imports.
Sebastian Annies [Mon, 10 Oct 2011 18:10:49 +0000 (21:10 +0300)]
corrected formatting
Sebastian Annies [Mon, 10 Oct 2011 17:59:12 +0000 (19:59 +0200)]
Upgrade help
Sebastian Annies [Mon, 10 Oct 2011 17:41:51 +0000 (19:41 +0200)]
using south for db migrations
Sebastian Annies [Mon, 10 Oct 2011 11:14:40 +0000 (13:14 +0200)]
proxy chaining is now working
Sebastian Annies [Mon, 10 Oct 2011 13:17:32 +0000 (16:17 +0300)]
Edited README.rst via GitHub
Sebastian Annies [Mon, 10 Oct 2011 13:16:36 +0000 (16:16 +0300)]
Edited README.rst via GitHub
Sebastian Annies [Sun, 9 Oct 2011 21:23:26 +0000 (23:23 +0200)]
added an example to be able to easily run the unittests
Sebastian Annies [Sun, 9 Oct 2011 21:22:31 +0000 (23:22 +0200)]
first try to implement proxy tickets
* already issueing pgt and pt
* not sure what happens when proxies are chained
Gunnlaugur Thor Briem [Wed, 8 Jun 2011 21:29:06 +0000 (21:29 +0000)]
Inherit AuthenticationForm, support form override
... for compatibility with existing form customizations.
Gunnlaugur Thor Briem [Wed, 8 Jun 2011 21:26:41 +0000 (21:26 +0000)]
Fix: use the correct ValidationError class
Gunnlaugur Thor Briem [Wed, 8 Jun 2011 21:25:31 +0000 (21:25 +0000)]
Restore Py2.5 compatibility
Alex Kamedov [Wed, 27 Apr 2011 16:13:24 +0000 (22:13 +0600)]
Merge branch 'develop'
Alex Kamedov [Wed, 27 Apr 2011 15:52:30 +0000 (21:52 +0600)]
add CAS_AUTO_REDIRECT_AFTER_LOGOUT settings option
Alex Kamedov [Wed, 27 Apr 2011 15:40:37 +0000 (21:40 +0600)]
Merge branch 'vshulyak' into develop
Alex Kamedov [Wed, 27 Apr 2011 14:58:20 +0000 (20:58 +0600)]
update gitignore
Alex Kamedov [Wed, 27 Apr 2011 14:49:43 +0000 (20:49 +0600)]
Merge branch 'develop'
Alex Kamedov [Wed, 27 Apr 2011 14:49:20 +0000 (20:49 +0600)]
added some meta data to package
Alex Kamedov [Wed, 27 Apr 2011 14:48:09 +0000 (20:48 +0600)]
Now you can use custom formatters to custom user attributes
vladimir [Tue, 26 Apr 2011 08:17:39 +0000 (12:17 +0400)]
added autologout param to logout view
Alex Kamedov [Sun, 24 Apr 2011 16:38:23 +0000 (22:38 +0600)]
check service in service ticket validation
Alex Kamedov [Sun, 24 Apr 2011 15:48:31 +0000 (21:48 +0600)]
improve templates
Alex Kamedov [Sun, 24 Apr 2011 15:26:33 +0000 (21:26 +0600)]
Merge branch 'develop'
Alex Kamedov [Sun, 24 Apr 2011 15:24:50 +0000 (21:24 +0600)]
improve tests and documentation
Alex Kamedov [Sun, 24 Apr 2011 14:20:26 +0000 (20:20 +0600)]
replace \r\n in CAS v.1 validate response to \n
Alex Kamedov [Sun, 24 Apr 2011 14:02:36 +0000 (20:02 +0600)]
process warn GET argument on login page
Alex Kamedov [Sun, 24 Apr 2011 12:52:53 +0000 (18:52 +0600)]
add tests for service validate URL (CAS v.2)
Alex Kamedov [Sun, 24 Apr 2011 11:14:59 +0000 (17:14 +0600)]
simplify logic for login success redirect URL
Alex Kamedov [Sun, 24 Apr 2011 10:56:59 +0000 (16:56 +0600)]
small refactoring
Alex Kamedov [Sun, 24 Apr 2011 07:59:56 +0000 (13:59 +0600)]
add tests, fix LOGIN_REDIRECT_URL settings support
Alex Kamedov [Sat, 23 Apr 2011 20:35:30 +0000 (02:35 +0600)]
Added basic CAS 2.0 protocol support (only validation for now).
Alex Kamedov [Sat, 23 Apr 2011 20:14:29 +0000 (02:14 +0600)]
allow URLs without trailing slashes: not all CAS clients follow redirects
Alex Kamedov [Mon, 18 Apr 2011 17:08:17 +0000 (23:08 +0600)]
update documentation
Alex Kamedov [Thu, 7 Apr 2011 06:21:27 +0000 (12:21 +0600)]
improve admin area
Alex Kamedov [Thu, 7 Apr 2011 06:11:27 +0000 (12:11 +0600)]
remove unused imports