Age | Commit message (Collapse) | Author |
|
|
|
Test/billing subscriptions
|
|
Feature/sessions expire
|
|
default to syslog in production - #3886
|
|
user.account shortcut to Account.new(user)
|
|
|
|
|
|
|
|
|
|
There might not have been any transactions. Fixes the functional test
|
|
functional: test canceling a subscription
integration: investigate the issue with creating a subscription
|
|
|
|
Feature/billing admin cancel subscriptions
|
|
|
|
want to test regarding subscriptions.
|
|
|
|
|
|
Version 0.2.2
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
emails.
|
|
use /login instead of /sessions/new and test successful login
|
|
do a git submodule sync
|
|
|
|
There's no non api sessions resource anymore.
|
|
Bugfix/3623 teardown test data properly
|
|
Token expiry
|
|
Ensure json requests get json error response on failure
|
|
Cleanup/remove outdated controller actions
|
|
[skip ci]
|
|
The main part of the sessions resource now lives in the API. the two named routes are just fine for what is left.
|
|
|
|
So the #create and #update actions were not needed anymore. Also removed the tests
|
|
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
|
|
|
|
This will return the user. But we can add timestamp validations and updates here.
|
|
|
|
|
|
Normally rails sends an html page which can't be parsed by the client.
|