Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-09-23 | This ensures that email addresses contain only lowercase letters, and that ↵ | jessib | |
an identity's destination is a valid Email. | |||
2013-09-19 | Merge branch 'develop' into feature/only_lower_case_aliases | jessib | |
2013-09-18 | user.account shortcut to Account.new(user) | Azul | |
2013-09-05 | For moment, have identity's address handle aliased from login so we can use ↵ | jessib | |
LoginFormatValidation. However, this is not how we will want it eventually. One issue is that the errors messages are set on login, rather than the appropriate field. | |||
2013-09-05 | Test of failing to add non-local email address as an identity's address. | jessib | |
2013-09-03 | Merge pull request #73 from azul/bugfix/3623-teardown-test-data-properly | jessib | |
Bugfix/3623 teardown test data properly | |||
2013-09-03 | Account: Composition to handle User and its identities | Azul | |
We have a lot of things that act upon a user record and one or more of it's identities at the same time: * Sing up: Create a user and it's initial identity * Rename: Change the username and create a new identity, turn old into an alias * Cancel Account: Remove user and all their identities. In order to keep the User and Identity behaviour isolated but still have a this logic represented in a sinle place the Account model deals with all these things. We could have overwritten the User#create, User#update and User#destroy methods instead. But then we would always create identities, even if we only need a user (for example in tests). | |||
2013-09-03 | don't leave id records behind when unit testing | Azul | |
2013-09-03 | expire token according to config setting auth:token_expires_after | Azul | |
2013-08-30 | there's no need for User#find_by_param. clean it up | Azul | |
2013-07-24 | keeping the pgp_key accessors for User so views still work | Azul | |
2013-07-24 | separate signup and settings service objects for user | Azul | |
2013-07-24 | setter for keys for dirty tracking, more robust tests | Azul | |
Just altering identity.keys did not mark identities as changed. Also we now have a sane default for keys. | |||
2013-07-24 | test user validates uniqueness of login amongst aliases | Azul | |
2013-07-24 | support deprecated API to set users main identity pgp key | Azul | |
We'll want to get rid of the #public_key and #public_key= functions but they are still used from the users controller. We'll probably have an identity controller instead at some point. | |||
2013-07-24 | remove email aliases test - we'll move them to identities | Azul | |
2013-07-24 | add keys to identity | Azul | |
2013-07-24 | allow available and unique forwards only | Azul | |
2013-07-24 | validations of email format and local domain moved over | Azul | |
2013-07-24 | local email adds domain if needed | Azul | |
2013-07-24 | testing all versions of emial identities, emails are now strings | Azul | |
2013-07-24 | move identity creation into user class | Azul | |
It's always based on a user and most default values are based on user properties. | |||
2013-07-24 | first take on identity model - still broken | Azul | |
2013-04-25 | Merge pull request #40 from azul/feature/token-auth | jessib | |
Token auth with a database of it's own | |||
2013-04-24 | added test for pgp key view | Azul | |
2013-04-09 | let's use safe ids instead of the default couch ones | Azul | |
Couch uses partly random partly sequential ids by default. We could change that in couch config to be all random. But this is probably more safe. | |||
2013-04-09 | initial token model and unit test | Azul | |
2013-02-06 | we don't add srp stuff to user class anymore | Azul | |
warden srp strategy in lib has it all. | |||
2013-01-24 | Removing aliases from webfinger as the link wouldn't work anyway, and don't ↵ | jessib | |
want to leak ID information. | |||
2013-01-23 | added a small test for HostMetaPresenter and using links hash in xml view | Azul | |
2013-01-23 | added unit tests for user presenter | Azul | |
changed the way the presenter works. Will need functional testing | |||
2013-01-17 | unit tests passing | Azul | |
2013-01-14 | got users controller test to pass - tickets controller test next. | Azul | |
2012-12-20 | fixed tests, testing corner cases, fixed these | Azul | |
2012-12-18 | only destroy user that has been persisted in teardown | Azul | |
2012-12-18 | refactored email_alias creation and validation | Azul | |
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-13 | Merge branch 'master' into develop | Azul | |
Conflicts: users/test/unit/user_test.rb | |||
2012-12-13 | refactor: changed add_email to add_email_alias | Azul | |
that's what it does. Changed all tests to use it instead of the attributes method | |||
2012-12-13 | refactor: allow adding email aliases directly | Azul | |
2012-12-13 | ensure users do not have duplicate email aliases | Azul | |
nor aliases that are the same as the original email for that matter | |||
2012-12-13 | LocalEmail added - will validate uniqueness amongst emails and aliases | Azul | |
2012-12-12 | find users by email and aliases | Azul | |
2012-12-10 | created generic Email class and use it with EmailAliases | Azul | |
2012-12-09 | first steps towards email aliases | Azul | |
* unit tests draft * controller draft | |||
2012-11-26 | Merge branch 'develop' into help_develop | jessib | |
Conflicts: users/app/views/sessions/_nav.html.haml | |||
2012-11-26 | simplified controller and adjusted tests | Azul | |
Also added #assert_json_error to tests. | |||
2012-11-23 | identify user by id so rerendering the form does not use new invalid login | Azul | |
2012-11-12 | Merge branch 'develop' into help_develop | jessib | |
Conflicts: help/test/functional/tickets_controller_test.rb users/test/functional/application_controller_test.rb users/test/support/auth_test_helper.rb | |||
2012-11-12 | commented out an unfinished test | Azul | |
2012-11-06 | first steps towards warden srp testing | Azul | |