summaryrefslogtreecommitdiff
path: root/users/app/controllers/sessions_controller.rb
AgeCommit message (Collapse)Author
2013-12-22locale prefix support:elijah
* set locale based on request header * enforce locale path prefix when current locale is not the default * note: don't use root_path anymore, instead use home_path
2013-12-16Fix issue 4756: /login should not crash if one goes there when logged in.jessib
2013-12-13refactor: remove Overview controller - we can use Users#showAzul
we were only using Users#show to redirect to the edit action. So I replaced that with the overview and we have no more use for the extra controller. This also simplifies linking to the users in question a lot.
2013-09-03Cleanup sessions controller - webapp logs in through the api.Azul
So the #create and #update actions were not needed anymore. Also removed the tests
2013-07-04add commented out code of how redirect should work with Warden, although I ↵elijah
can't get it working.
2013-02-26api for sessions fixedAzul
* now we return the user id on login * allow a destroy request for logging out * added test for api sessions controller
2012-12-11make sure can login twiceAzul
2012-11-22beautify login workflowAzul
* translating error messages * not caching login and password in js anymore * catching non responses
2012-11-22using client side validations for loginAzul
2012-11-22using the new srp.js apiAzul
2012-11-09got integration test and login flow to workAzul
2012-11-06first steps towards warden srp testingAzul
2012-11-04fixed functional testsAzul
2012-10-30sending proper error messages from warden.Azul
still need to translate these
2012-10-30using rails_warden bit of refactoringAzul
without rails_warden the failure app action was not getting set properly.
2012-10-30adding in warden with a basic strategyAzul
currently failing because we are not setting the content-type header.
2012-10-11use ruby-srp 0.1.3 which returns the user on authenticate callAzul
Also removed a few hooks to User.current. Will replace with current_user
2012-10-05ruby-srp 0.1.1 has to_json method - simplifies controllerAzul
2012-10-05moving to ruby_srp 0.1.0, works with python srpAzul
2012-10-05Merge remote-tracking branch 'origin/master' into developAzul
Conflicts: users/app/controllers/sessions_controller.rb
2012-10-02Some more tweaks to help ticket models. Still want to tweak current_user ↵jessib
access from users engine.
2012-10-02send salt on initializing loginAzul
2012-09-27added in leap web users - one repo to rule them allAzul