summaryrefslogtreecommitdiff
path: root/users/app/models/user.rb
AgeCommit message (Collapse)Author
2012-12-20validating email domain and displaying it as the placeholderAzul
This even works client side. :)
2012-12-18make sure we have email_aliases at all before testing for an error on the lastAzul
2012-12-18refactored email_alias creation and validationAzul
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.
2012-12-17enabled destroying email aliases - no ajax yet.Azul
2012-12-13Merge branch 'feature/email-aliases-model'Azul
2012-12-13refactor: changed add_email to add_email_aliasAzul
that's what it does. Changed all tests to use it instead of the attributes method
2012-12-13refactor: Email constructor now takes string or hashAzul
This allows us to reuse add_email from email_aliases_attributes=
2012-12-13refactor: allow adding email aliases directlyAzul
2012-12-13ensure users do not have duplicate email aliasesAzul
nor aliases that are the same as the original email for that matter
2012-12-13LocalEmail added - will validate uniqueness amongst emails and aliasesAzul
2012-12-12find users by email and aliasesAzul
2012-12-10email format validationsAzul
2012-12-10use consistent naming scheme across CA, webapp and couchDB installAzul
2012-12-10created generic Email class and use it with EmailAliasesAzul
2012-12-10actually allow adding email aliasesAzul
2012-12-09basic form added to user settings, simple model createdAzul
2012-12-07refactored views to ease adding of email formAzul
2012-11-26basic users index with typeahead searchAzul
2012-11-26minor: client side validations fixed + .json requestAzul
2012-11-23identify user by id so rerendering the form does not use new invalid loginAzul
2012-11-22fixed testsAzul
2012-11-13using client side validations during signupAzul
2012-10-31Code to check administration (and ugly test display.) This includes example ↵jessib
config file.
2012-10-31Merge branch 'develop' into feature-admin_usersjessib
Conflicts: users/app/controllers/application_controller.rb users/app/models/user.rb
2012-10-31Merge branch 'develop' of ssh://leap.se/leap_web into developjessib
2012-10-31user creation should send ok flag so js can start loginAzul
2012-10-29first steps at is_admin?Azul
2012-10-18Uses the working authentication code.jessib
2012-10-08Merge branch 'release-0.1.0' into help_developjessib
Conflicts: .gitignore
2012-10-07adding validations for valid login chars and verifier and salt being hexAzul
2012-10-07added validationsAzul
2012-10-05Rough code to add & comment on tickets.jessib
2012-10-05moving to ruby_srp 0.1.0, works with python srpAzul
2012-10-02Some more tweaks to help ticket models. Still want to tweak current_user ↵jessib
access from users engine.
2012-09-27added in leap web users - one repo to rule them allAzul