Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Conflicts:
users/test/unit/user_test.rb
|
|
|
|
|
|
that's what it does. Changed all tests to use it instead of the attributes method
|
|
This allows us to reuse add_email from email_aliases_attributes=
|
|
|
|
nor aliases that are the same as the original email for that matter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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?
|
|
Conflicts:
app/views/layouts/application.html.haml
help/app/controllers/tickets_controller.rb
help/test/functional/tickets_controller_test.rb
users/test/support/stub_record_helper.rb
|
|
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.
|
|
|
|
|
|
|
|
|
|
Conflicts:
users/app/views/sessions/_nav.html.haml
|
|
|
|
|
|
|
|
Also added #assert_json_error to tests.
|
|
|
|
|
|
|
|
|
|
|
|
|