Age | Commit message (Collapse) | Author |
|
have to do more, including allowing user to pick sort order.
|
|
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.
|
|
|
|
The one remaining is failing because we still build an Array for the admin tickets.
Needs to be implemented so I am leaving that test as is.
|
|
|
|
|
|
|
|
|
|
|
|
* using different partials for different parts of the view
* using render @tickets.all to iterate over the tickets. #all is necessary because of CouchRest Model
* using helpers for easier querying for the open_status and admin_status params
* using helper for avoiding duplication when linking to status
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
users/app/views/sessions/_nav.html.haml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also added #assert_json_error to tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* translating error messages
* not caching login and password in js anymore
* catching non responses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
app/assets/javascripts/application.js
ui_dependencies.rb
|
|
|
|
|
|
|