Age | Commit message (Collapse) | Author |
|
|
|
separate controller, make users_controller html only and v1/users_controller json only.
|
|
|
|
|
|
|
|
Feature: API version 1 fixes
|
|
|
|
* now we return the user id on login
* allow a destroy request for logging out
* added test for api sessions controller
|
|
update some user fields.
|
|
|
|
|
|
password (they can leave either the same if they just want to change one, but we should make this clearer.)
|
|
Conflicts:
users/app/views/users/edit.html.haml
|
|
want to leak ID information.
|
|
|
|
changed the way the presenter works. Will need functional testing
|
|
|
|
different display.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
users/app/views/emails/_email.html.haml
|
|
|
|
|
|
This involves a number of other changes like making sure the comparison between aliases and emails still works.
Will do that by removing the @domain.tld from aliases as well.
|
|
listing the tickets. Give a message if a user has no tickets.
|
|
|
|
Just found out that render(@collection) returns nil for emtpy collections. So that is usefull for putting messages about the emtpy collection in an or clause.
|
|
partials have specific CSS for another use, so we will likely want to tweak this.
|
|
|
|
This even works client side. :)
|
|
|
|
using CouchRests user.email_aliases.build so the casted_by method is set in the alias
Used this to move the validations into the alias itself. This is where they belong and allows us to render the errors inline along the email field they belong to.
|
|
still needs a bit of refactoring in the view
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|