summaryrefslogtreecommitdiffstats
path: root/app/controllers/sessions_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Skipping the "magic cookie" intended for Varnishd. Will rather useJohan Sørensen2009-04-221-0/+1
| | | | | | | | | | headers to be picked up by Varnishd." This reverts commit d0334c0ec079ca0f49b6275e3ea1ba6b2d7e533e. Conflicts: app/controllers/application_controller.rb
* Changed the openid registration process:Marius Mathiesen2009-04-221-9/+7
| | | | | | | | - When a new user attempts to log in with OpenID we store the OpenID information in the session, but don't create the user - Instead we redirect him to a registration page where the openid information is pre-filled - When the registration is completed (in the UsersController, where it belongs), the identity_url is set from what's in the session. The user is activated and logged in. The problems with incomplete OpenID information and email/logins that are taken should now be fixed
* Updated copyrights-blurb in all application filesJohan Sørensen2009-04-221-0/+4
|
* Require SSL on certain account related actionsJohan Sørensen2009-04-221-0/+1
| | | | Such as login, edit account details, change password, etc
* Skipping the "magic cookie" intended for Varnishd. Will rather use headers ↵Marius Mathiesen2009-04-221-1/+0
| | | | | | to be picked up by Varnishd. Added an after filter in application_controller that sets a header to be picked up by Varnishd
* Rename install_site_before_filters to renders_in_site_specific_context andJohan Sørensen2009-04-221-1/+1
| | | | | | | introduce a renders_in_global_context controller class method as well. This lets us control in the Site context in which specific actions or controllers as a whole are rendered in.
* Messages:Marius Mathiesen2009-04-221-1/+1
| | | | | | - Adding sent/inbox etc. - Adding breadcrumb support - Changing the redirect in sessions controller to go to the license page
* Set the cookie domain to be for all gitorious_host subdomains, and expire itJohan Sørensen2009-04-221-1/+5
| | | | after 3 weeks
* Redirect to the current_site's subdomain, if it has one and it's a GET requestJohan Sørensen2009-04-221-2/+4
|
* On (successful) login set a cookie for detection by Varnish, then delete it ↵Marius Mathiesen2009-04-221-0/+1
| | | | | | on logout - all this to let Varnish not cache contents for logged in users. The default Rails setup sets a session cookie, we need a special cookie that we ourselves are in control of
* Fixed failing user<=>account related tests, and made a few things slightly ↵Johan Sørensen2009-04-221-1/+1
| | | | more idiomatic
* Merge the accounts controller into the user controllerTor Arne Vestbø2009-04-221-2/+2
|
* Yeah, let's not flash yaml in our user's facesMarius Mathiesen2009-04-221-1/+0
|
* Require acceptance of terms on every login until they're acceptedMarius Mathiesen2009-04-221-2/+11
|
* Adding mandatory acceptance of end user license agreement:Marius Mathiesen2009-04-221-0/+5
| | | | | | | | - Adding validates_acceptance_of in User - Changed the specs - Added AASM (Acts As State Machine) plugin - Changed the signup process to include acceptance of terms - Changed the Openid login/signup sequence to redirect the user to accept the license after signing up with Openid
* Implemented Private Mode - now you can have a locked down Gitorious. Also an ↵Fabio Akita2009-01-091-0/+2
| | | | option to create a super user and an User Administration interface to control user registration
* Make sure the auth failure message says email, not usernameJohan Sørensen2008-12-301-2/+1
|
* Add copyright and license headers (AGPL) to code filesTor Arne Vestbø2008-11-281-0/+19
| | | | | The authors in each copyright header was computed by running 'git log --reverse' on that particular file.
* reword openid nickname collision error message just a tiny bit to avoid some ↵Johan Sørensen2008-07-071-3/+4
| | | | confusion
* fix quotes in openid registrationPatrick Aljord2008-06-011-3/+3
|
* openid specs pass, yayPatrick Aljord2008-06-011-3/+3
| | | | renaming openid migration number
* add support for openidPatrick Aljord2008-06-011-11/+63
|
* Removing invalid flash[:error] that slipped throughJohan Sørensen2008-02-251-1/+0
|
* Doing flash.now instead (and specs are coming, just gotta grok how to test ↵August Lilleaas2008-02-201-1/+2
| | | | flash, rspec just reposts an empty hash)
* Added a flash on failed loginsAugust Lilleaas2008-02-201-0/+1
|
* login with email instead of usernameJohan Sørensen2007-11-191-1/+1
|
* repository controller CRUDJohan Sørensen2007-11-181-3/+0
|
* * added restful_authentication pluginJohan Sørensen2007-08-151-0/+31
* added rspec_autotest plugin * translated User Text::Unit to RSpec