Commit Graph

526 Commits

Author SHA1 Message Date
Everett Sochowski
b448997ac7 Remove unnecessary vals in for comprehension 2014-04-11 12:40:57 +02:00
Everett Sochowski
d8f01dc765 Refactoring payment code 2014-04-11 12:19:36 +02:00
Everett Sochowski
200bac0b33 Add tests to check only users with owner view can make payments 2014-04-11 10:47:16 +02:00
Everett Sochowski
da59ce8cc5 Improved payment error message 2014-04-11 10:34:00 +02:00
Everett Sochowski
fc383879de More helpful error messages for failed payments 2014-04-11 10:28:55 +02:00
Everett Sochowski
3c357c9c1b Error message typo fix 2014-04-11 10:22:50 +02:00
Everett Sochowski
d252f3a384 Don't allow payments between accounts with different currencies 2014-04-11 10:20:44 +02:00
Everett Sochowski
d2498e0bc9 Implement test to check that payments between accounts with different currencies fail 2014-04-10 18:24:42 +02:00
Everett Sochowski
763cf8ee5b Implemented some of the previously outlined payments tests 2014-04-10 16:06:55 +02:00
Everett Sochowski
5a96b19486 Make the currently unimplemented tests fail 2014-04-10 14:10:08 +02:00
Everett Sochowski
afa1b03531 Outlined some more payments test scenarios 2014-04-10 14:00:08 +02:00
Everett Sochowski
54d4118d32 Mostly working payments that is missing a check that both parties have the same currency accounts 2014-04-10 13:16:31 +02:00
Everett Sochowski
7c9cd0bfc1 Merge in changes from develop 2014-04-04 17:51:31 +02:00
Everett Sochowski
bb286d6a6d Make the post-oauth login page more friendly for non-http redirects (e.g. redirects to mobile apps) 2014-04-04 16:14:08 +02:00
Everett Sochowski
3b600ea54e Rename hide_metadata_if_alias to hide_metadata_if_alias_used in v1.2.1 to keep it consistent with the field used when creating/updating views 2014-04-02 12:33:30 +02:00
Everett Sochowski
cb21d5d58b Add logging when users create, update, or delete views 2014-03-31 17:38:29 +02:00
Everett Sochowski
d246612078 Merge in put_views branch 2014-03-31 14:59:31 +02:00
Everett Sochowski
62927e9810 Imlemented API calls to update existing views 2014-03-31 14:55:47 +02:00
Everett Sochowski
180ca8fe2b Setup and destroy dbs before and after each test to prevent interference between tests (the most notable effects were in deletePermissions which caused other tests to have insufficient privileges 2014-03-31 14:39:27 +02:00
Ayoub BENALI
5156e7aa2c moved the error message to the Failure object 2014-03-31 12:58:37 +02:00
Everett Sochowski
c5e997c2f5 More update view test fixes 2014-03-28 16:25:47 +01:00
Everett Sochowski
361e6d53a9 Fix update view test request types and response codes 2014-03-28 14:51:28 +01:00
Everett Sochowski
bc7f03c4fa Define expected view update behaviour in tests 2014-03-28 08:29:58 +01:00
Everett Sochowski
dff2a2340a Work on hacking together a payments api 2014-03-24 10:36:36 +01:00
morninlark
dc8446a405 Remove asking for account twice 2014-03-20 17:14:06 +01:00
morninlark
fe2a1930c9 Check if view already exists before creating, and tests 2014-03-20 16:31:31 +01:00
morninlark
224dc997b8 Add tests for check if last user with owner view before revoking access 2014-03-20 12:14:26 +01:00
morninlark
0c95ada627 fixed failing posting image test 2014-03-19 11:11:23 +01:00
Everett Sochowski
7e7e854608 Change arguments of connector function views to take a more reasonable parameter of a BankAccount instead of just an id 2014-03-06 14:09:54 +01:00
Everett Sochowski
d93accc7a2 Change arguments of connector function publicViews to take a more reasonable paramter of a BankAccount instead of just an id 2014-03-05 17:28:39 +01:00
Everett Sochowski
dc84a2429f Add useful connector function to the LocalStorage trait 2014-03-05 17:16:09 +01:00
Everett Sochowski
3fded9b66c Change permissions calls in v1.2.1 to require a user's auth provider to be specified 2014-02-28 17:33:50 +01:00
Everett Sochowski
104fd1bb75 Set email address as the provider id when registring a user via api web interface 2014-02-28 17:02:15 +01:00
Everett Sochowski
85a22f632c Merge branch 'using_api_user_id' into develop 2014-02-27 11:54:40 +01:00
Everett Sochowski
e8afa1bc2f Make tokens use api user ids instead of the ids given to them by their provider (providerid) 2014-02-25 14:59:30 +01:00
Everett Sochowski
dd4f51ef01 Use combination of provider and provider-issued user id to more precisely identify users via the api 2014-02-21 16:27:09 +01:00
Ayoub BENALI
86b01d8b1a Merge branch 'optionalMessageQueueUsage' into develop 2014-02-21 13:52:28 +01:00
Ayoub BENALI
407fbd3698 made the use of the message queueu optional et depnding of the props file 2014-02-21 13:52:17 +01:00
Everett Sochowski
c924cf5be5 Use api user id instead of the provider's id for a user when saving oauth tokens 2014-02-20 14:09:24 +01:00
Ayoub BENALI
ac5e218c61 Synchronized the OBP envelope with the transaction saver 2014-02-14 19:33:52 +01:00
Ayoub BENALI
37f5ea4c84 Handled more securely the case when the meta data of the other account
are not found while we load a transaction. Because this case should
not happen.
2014-02-14 14:57:20 +01:00
Ayoub BENALI
b828e000bc Merge branch 'master' into develop 2014-02-14 12:51:00 +01:00
Ayoub BENALI
6eddb76749 Merge branch 'master' of github.com:OpenBankProject/OBP-API 2014-02-14 12:48:59 +01:00
Ayoub BENALI
6bc2fe2671 Merge branch 'develop' 2014-02-14 12:43:40 +01:00
Ayoub BENALI
c69a12e0ac hidden a page that is not working 2014-02-14 12:43:25 +01:00
Everett Sochowski
40b2563271 Add tests for permissions bug that were previously added in v1.2.1 tests to the v1.2 test suite too 2014-02-11 12:51:00 +01:00
Everett Sochowski
b0130d0d3f Merge branch 'master' of github.com:OpenBankProject/OBP-API 2014-02-11 12:37:34 +01:00
Everett Sochowski
a854705ef2 Fix bug where incomplete data on views were being returned for permissions 2014-02-11 12:33:46 +01:00
Everett Sochowski
8219cd3865 Add test that demonstrates permissions bug where get permissions json is missing values 2014-02-11 12:24:48 +01:00
Everett Sochowski
158e196159 Merge branch 'develop' of github.com:OpenBankProject/OBP-API 2014-02-10 09:52:50 +01:00