Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
* unit tests draft
* controller draft
|
|
Just a very simple start for now.
Do we want to use the api for the secure remote password auth from js?
|
|
I also tried flash.keep(:notice) but that did not help - not sure how to keep the flash until the root url has rendered.
|
|
|
|
|
|
creating and editing users differ so much now it's not worth reusing the complex user_form_with for the signup.
|
|
password requires ajax for secure remote password to work
|
|
|
|
|
|
|
|
|
|
|
|
I changed the permissions a little to be more consistent.
Now:
* admins can edit users
* users can destroy themselves.
There's no ui for either of them but theoretically they could. Not sure this is what we want though.
|
|
|
|
|
|
|
|
|
|
Also added #assert_json_error to tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* translating error messages
* not caching login and password in js anymore
* catching non responses
|
|
|
|
|
|
|
|
|
|
Conflicts:
Gemfile.lock
|
|
|
|
|
|
|
|
Conflicts:
users/app/assets/javascripts/srp
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
Gemfile.lock
users/app/controllers/application_controller.rb
users/leap_web_users.gemspec
|
|
|
|
config file.
|
|
Conflicts:
users/app/controllers/application_controller.rb
users/app/models/user.rb
|
|
|
|
|
|
|