summaryrefslogtreecommitdiff
path: root/users
AgeCommit message (Collapse)Author
2013-07-25Have navigation link to new customer form if user is not already a braintree ↵jessib
customer.
2013-07-23Some navigation tweaks.jessib
2013-07-17fix account flow integration testAzul
not really sure what to do if the second step of srp auth is repeated.
2013-07-17Adding some links, which will be removed.jessib
2013-07-16adapt srp account_flow test for the api to new ruby_srp APIAzul
2013-07-16ensure the page has been reloaded before testing current_pathAzul
This test would fail sometimes on assert_equal '/', current_path I believe it was a timing issue. page.has_content? will wait for the content to show up. So afterwards the current_path should always be correct.
2013-07-16to move to the next iteration use continue in js.Azul
2013-07-16use ruby-srp 0.2.0 which has a hex based apiAzul
2013-07-16prevent _ prefixes for couchDB document idsAzul
2013-07-15require test_helper from account test so it can be run in isolationAzul
2013-07-14make sure capybara runs the whole rack appAzul
We use port 3003 for the integration test server. This test takes a few seconds (~8) now. Most of this is startup time of the server. A second run still takes 2 seconds like before.
2013-07-14we do not expose M2 in srp.js anymore.Azul
So there is no way to print it. This message used to be correct but there are also other things that can cause this to fail now. So let's just remove it.
2013-07-14js integration test for signup, login, logoutAzul
2013-07-12remove test for duplicate login - we'll prevent that on the client sideAzul
SRP happens in two steps: * handshake * validation During the validation we delete the handshake data from the session. So a second validation does not really work. It could build upon the first one but it would not be able to send M2 to the client. So instead of trying to do sth. usefull when two validation requests are send we require the client to only send one.
2013-07-12print debug info on failed login attemptsAzul
2013-07-11fix failing testselijah
2013-07-11Slight tweak in case we get back the default response to warden's fail!, ↵jessib
which is not an enumerable.
2013-07-11Slight cleanup due to some emacs annoyances.jessib
2013-07-11Clear authentication errors before displaying new ones.jessib
2013-07-11Merge branch 'master' into feature/authentication_generic_errorjessib
2013-07-09Merge branch 'master' into feature/authentication_generic_errorjessib
Conflicts: app/views/layouts/_messages.html.haml app/views/layouts/application.html.haml users/app/assets/javascripts/users.js.coffee
2013-07-09Cleanup to show enable/deactivate account functionality in new UI.jessib
2013-07-08Merge branch 'master' into feature/disable_accountjessib
Conflicts: users/app/controllers/users_controller.rb users/app/helpers/users_helper.rb users/app/views/users/edit.html.haml users/app/views/users/show.html.haml users/config/locales/en.yml
2013-07-06updated srp_js submoduleelijah
2013-07-05remove unused user viewselijah
2013-07-04Add tests for enabling/deactivating.jessib
2013-07-04Merge branch 'master' into feature/disable_accountjessib
2013-07-04redirect to root after user destroyelijah
2013-07-04fix broken users gemspecelijah
2013-07-04remove commented out code.elijah
2013-07-04remove empty readme fileselijah
2013-07-04fix ticket tests, get :admin_user factory to work.elijah
2013-07-04user tests -- user update has been moved entirely to api controller, so fix ↵elijah
tests to reflect this.
2013-07-04allow forms with blank email forward.elijah
2013-07-04test - we allow updating of username via api nowelijah
2013-07-04users - make a nice overview page (well, nice enough) and better users ↵elijah
index/search.
2013-07-04fix user typeaheadelijah
2013-07-04users engine changes - rewrite of the views, separate email settings to a ↵elijah
separate controller, make users_controller html only and v1/users_controller json only.
2013-07-04add js to report all errors to the user, not just ones related to field ↵elijah
validation.
2013-07-04add commented out code of how redirect should work with Warden, although I ↵elijah
can't get it working.
2013-07-04new ui - initial user changeselijah
2013-07-03Automatically clear the errors when re-displayed. Not sure if this is ideal ↵jessib
functionality.
2013-07-03Accounts can be enabled or not. Admins can edit this property.jessib
2013-07-01redirect to root_path after canceling accountAzul
login makes little sense. This change was applied already... just updated the test
2013-06-27Want to tweak some, but start to displaying base generic message via javascript.jessib
2013-06-25Merge pull request #48 from leapcode/feature/remove-accountazul
For removing account, redirect to root path, and ask confirmation messag...
2013-06-24Update srp_js submodule.jessib
2013-06-20For removing account, redirect to root path, and ask confirmation message:jessib
https://leap.se/code/issues/2923
2013-06-17Tweaks to display javascript and cookies warning:jessib
* will only display cookies warning if javascript is enabled. * remove redundant code * tweak noscript html to display better div
2013-06-13Quick way to give warnings if javascript and/or cookies are not enabled. ↵jessib
Will want to tweak so the code isn't redundant, and ideally so check for cookies doesn't rely on javascript. And we'll want to expand the texts.