Commit Graph

13418 Commits

Author SHA1 Message Date
Matteo Pagliazzi cee7700a50 switch from Q to Bluebird 2016-05-11 14:34:01 +02:00
Matteo Pagliazzi 299ed624f5 v3: upgrade some deps 2016-05-11 13:48:39 +02:00
Matteo Pagliazzi 0d4870b1e6 v3: remove newrelic config file in favour of env variables 2016-05-11 11:43:50 +02:00
Matteo Pagliazzi f46b336a1f v3: fix package.json 2016-05-11 01:33:49 +02:00
Matteo Pagliazzi 17e763db37 v3: fix package.json 2016-05-11 01:32:55 +02:00
Matteo Pagliazzi 02a01a64ec Merge pull request #7030 from HabitRPG/sabrecat/v3-payments
[API v3] Payments refactor
2016-05-10 18:33:00 +02:00
Matteo Pagliazzi b3a78fba97 v3 payments: fix tests 2016-05-10 18:14:28 +02:00
Matteo Pagliazzi d33564e5d4 v3 payments: port paypal 2016-05-10 17:57:55 +02:00
Matteo Pagliazzi 1c887b18e1 v3 payments: fix urls in tests 2016-05-10 17:00:47 +02:00
Matteo Pagliazzi cd84ebd4c5 v3 payments: fix client errors for Stripe 2016-05-10 16:57:12 +02:00
Matteo Pagliazzi 1a43ab35c0 v3 payments: port amazon payments 2016-05-10 16:56:01 +02:00
Matteo Pagliazzi 03008c0d40 Merge branch 'api-v3' into sabrecat/v3-payments 2016-05-09 23:29:38 +02:00
Matteo Pagliazzi 0cb0780c14 v3: do not log entire promise on error and add ability to enable console logging of errors in prod 2016-05-09 23:29:20 +02:00
Keith Holliday 20f9bbf449 Corrected reset checklist logic (#7154)
* Corrected reset checklist logic

* Change cron logic to reset rather than set

* Remove extra paranthesis
2016-05-09 23:06:27 +02:00
Matteo Pagliazzi 0114e310eb v3 payments: working IAP and Stripe, move paypalBillingSetup to its own file, closeChal is now a challenge instance method 2016-05-09 22:58:15 +02:00
Matteo Pagliazzi e980b3ce0a Merge branch 'api-v3' into sabrecat/v3-payments 2016-05-08 19:19:20 +02:00
Matteo Pagliazzi e19130bd8c fix typo custsomerId -> customerId 2016-05-08 15:50:38 +02:00
Matteo Pagliazzi 77d2d943ae v3: fix crashes when group or leader cannot be populated and fixes challenges migration for tavern challenges 2016-05-07 17:35:13 +02:00
Matteo Pagliazzi 4e3d4c8831 v3: more verbose logging in production and fix migration bugs 2016-05-07 15:01:40 +02:00
Matteo Pagliazzi afb7d1d627 v3: start cleaning up TODO comemnts 2016-05-06 20:24:53 +02:00
Matteo Pagliazzi b687a6bf9d fix typo in v3 groups migration 2016-05-06 19:40:36 +02:00
Blade Barringer 7d41b76b2e Merge pull request #7148 from crookedneighbor/require-again
feat: Add require-again to help with unit testing
2016-05-06 12:20:19 -05:00
Blade Barringer 192488cb02 feat: Add require-again to help with unit testing 2016-05-06 12:05:06 -05:00
Matteo Pagliazzi c94f4ef0e9 v3 migration: delete old completed todos 2016-05-05 12:15:28 +02:00
Matteo Pagliazzi ebf3a0979f fix challenges members migration 2016-05-05 09:28:07 +02:00
Matteo Pagliazzi bb2dd8ca08 v3: remove trimming and lowercase from fields that must be unique 2016-05-04 23:43:04 +02:00
Matteo Pagliazzi e5e4bb5823 v3 migration: correctly migrate challenges tasks 2016-05-03 23:27:24 +02:00
Matteo Pagliazzi c218a2cbdf v3 fix apidoc broken layout 2016-05-03 15:54:02 +02:00
Matteo Pagliazzi 21d798bca7 v3: GET /groups accept a guilds type which returns all the guilds the user is a member of 2016-05-03 15:49:47 +02:00
Matteo Pagliazzi 72f4bd0aab Merge branch 'api-v3' into sabrecat/v3-payments 2016-05-02 00:26:02 +02:00
Matteo Pagliazzi f0e696b0ec Merge branch 'develop' into api-v3 2016-05-02 00:24:50 +02:00
Matteo Pagliazzi fbce7e65ab v3 migration: fixes 2016-05-01 23:54:58 +02:00
Matteo Pagliazzi 60eefde15f fix linting 2016-05-01 16:36:21 +02:00
Matteo Pagliazzi e8024f98e1 v3 migration: first finished version that contains all models 2016-05-01 16:27:04 +02:00
Matteo Pagliazzi a0e63c0eb2 use uuid module for uuids 2016-05-01 15:01:00 +02:00
Matteo Pagliazzi 4457b1c18c v3: fix tags and challenges migration 2016-05-01 14:46:22 +02:00
Matteo Pagliazzi 8391494b89 v3: fix tags tests 2016-05-01 14:15:26 +02:00
Matteo Pagliazzi a8fbafb801 v3: fix tags tests 2016-05-01 13:48:55 +02:00
Matteo Pagliazzi a63d5ae97f v3: fix tags tests 2016-05-01 13:25:19 +02:00
Matteo Pagliazzi f5144fddaa v3 adapt v2: fix tags _id, stickyHeader and unlocking 2016-05-01 12:51:32 +02:00
Matteo Pagliazzi 79c8449e1e Merge branch 'api-v3' into sabrecat/v3-payments 2016-04-30 19:28:45 +02:00
Matteo Pagliazzi 6380161321 Api v3 Migration (WIP) (#7131)
* v3 migration: remove old code and polish user migration

* v3 migration: start to work on challenges

* wip v3 migration

* wip v3 migration: fix _id -> id for reminders, tags and checklists
2016-04-30 18:34:16 +02:00
Matteo Pagliazzi 0c38caa2f9 Merge branch 'api-v3' into sabrecat/v3-payments 2016-04-30 16:51:51 +02:00
Matteo Pagliazzi f69a566178 Merge branch 'develop' into api-v3 2016-04-30 16:49:44 +02:00
Victor Pudeyev a567476bb7 V3 payments 7 stripe (#7124)
* payments api: cancelSubscription

* some more tests for amazon payments

* promisifying amazon payments

* somehow payment stub is not working

* cleaning up tests

* renaming tests in api/v3/integration/payments

* improvements

* cleanup, lint

* fixes as per comments

* moment.zone() is back in.

* basic controller for stripe payments

* authWithUrl is in

* stripe cleanup

* making tests pass

* stripe bug fixes

* 400 error is right

* cleanup of sinon spy for fakeSend

* paypal payments

* lint of paypal

* require -> import
2016-04-30 16:42:10 +02:00
Alys 590e185ecd fix spelling mistake: reseting to resetting 2016-04-29 18:44:49 -04:00
Sabe Jones 1787342951 chore(news): Last Chance Bailey 201604 2016-04-29 22:16:36 +00:00
Matteo Pagliazzi 3364019fcc v3 and adapted v2: bugs fixes for groups, challenges and tasks 2016-04-29 11:49:12 +02:00
Blade Barringer 2aa3a3175f Merge branch 'develop' into kelsin-develop 2016-04-27 19:11:56 -05:00
Victor Pudeyev fa21577c46 V3 payments 6 (#7104)
* payments api: cancelSubscription

* some more tests for amazon payments

* promisifying amazon payments

* somehow payment stub is not working

* cleaning up tests

* renaming tests in api/v3/integration/payments

* improvements

* cleanup, lint

* fixes as per comments

* moment.zone() is back in.
2016-04-27 21:26:32 +02:00