Age | Commit message (Collapse) | Author |
|
feature/validate-email-domain
|
|
|
|
This even works client side. :)
|
|
|
|
You can overwrite them in config/config.yml
|
|
|
|
Removing email aliases - proper error display
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Actually that might not be the best idea.
Issue at hand was that invalid email aliases were getting displayed when rendering the edit form again. We probably want to solve this different.
|
|
still needs a bit of refactoring in the view
|
|
|
|
|
|
https://github.com/leapcode/leap_web
|
|
Adopt certs to changes in the leap ca
|
|
|
|
|
|
|
|
|
|
|
|
fixes #1168
[ci skip]
|
|
[ci skip]
|
|
Conflicts:
certs/app/models/leap_ca/cert.rb
|
|
The before validation hook will overwrite whatever is in random on create. This is what we want - just need to test it properly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
no idea why the numericality validatoin with greater_than_or_equal 0 does not catch negative numbers
|
|
|
|
|
|
This was breaking inclusion of other js.
|
|
defaults.yml later
|
|
Conflicts:
users/test/unit/user_test.rb
|
|
|
|
|
|
that's what it does. Changed all tests to use it instead of the attributes method
|