Commit Graph

679 Commits

Author SHA1 Message Date
Alys cfb5e2be60 fix bug in Rebirth test, add new tests, adjust apidocs (#7293) 2016-05-16 18:13:49 +02:00
Blade Barringer 6bbfbbf613 fix: Fix quest progress button 2016-05-15 21:17:11 -05:00
Blade Barringer 21203c3f2e feat: Add modify inventory debug menu 2016-05-15 16:07:30 -05:00
Blade Barringer 2851af1a29 chore: Disable make admin debug route for v3 prod testing 2016-05-15 07:01:09 -05:00
Blade Barringer 44c9449913 feat: Separate out update-user into set-cron and make-admin debug routes 2016-05-15 06:58:54 -05:00
Blade Barringer 480937c800 fix: Temporarilly comment out udpate user debug route 2016-05-14 23:07:18 -05:00
Blade Barringer 7b15967215 Merge pull request #7263 from crookedneighbor/debug-update-user
Debug update user
2016-05-14 22:48:20 -05:00
Blade Barringer 4a2e3d4410 lint: Add missing semicolons in test 2016-05-14 22:45:35 -05:00
Blade Barringer 3b8ce8451b feat: Create debug update user route 2016-05-14 22:30:18 -05:00
Alys 887d187691 change "an user" to "a user" in comments and text (no code changes) (#7257) 2016-05-15 01:10:08 +02:00
Blade Barringer c534f31593 Merge pull request #7226 from Alys/api-v3-pubChalsMinPrize-rename
[API v3] rename and reword pubChalsMinPrize to reflect that it's only for the Tavern
2016-05-14 10:19:43 -05:00
Blade Barringer 9969aa667a fix: Remove requirement on message paramter in transfer-gems 2016-05-14 07:37:47 -05:00
Alys 44e9d8b09e fix tests for /members/transfer-gems 2016-05-14 07:18:00 -04:00
Alys 2e078f4776 allows players to send gems to each other; other minor related changes - fixes https://github.com/HabitRPG/habitrpg/issues/7227 2016-05-14 05:58:40 -04:00
Alys fd13c7aa60 rename and reword pubChalsMinPrize to reflect that it's only for Tavern challenges 2016-05-14 16:40:40 +10:00
Matteo Pagliazzi 468a312357 v3 fix GET /groups: return an error only if an invalid type is supplied not when there are 0 results (#7203) 2016-05-13 19:08:38 +02:00
Matteo Pagliazzi 199732539f chore(): rename website/src -> website/server and website/public -> website/client (#7199) 2016-05-13 15:35:12 +02:00
Matteo Pagliazzi 93336f3894 v3: misc fixes 2016-05-12 18:06:26 +02:00
Keith Holliday 01a8fde124 Fixed cron test 2016-05-11 23:40:20 -05:00
Matteo Pagliazzi a8f4731a0a Merge pull request #7091 from HabitRPG/api-v3-client
[API v3] Client
2016-05-11 16:36:22 +02:00
Matteo Pagliazzi 969459252b v3: do not await a non promise 2016-05-11 16:22:56 +02:00
Matteo Pagliazzi 8276ffcfe2 v3: fix tests 2016-05-11 16:21:22 +02:00
Matteo Pagliazzi 998c679e96 Merge branch 'api-v3' into api-v3-client 2016-05-11 16:01:54 +02:00
Matteo Pagliazzi 95aff08de3 v3 fix tests and use coroutines instead of regenerator 2016-05-11 15:59:18 +02:00
Matteo Pagliazzi 84b198f17f v3 fix tests with deferred 2016-05-11 14:55:51 +02:00
Matteo Pagliazzi cee7700a50 switch from Q to Bluebird 2016-05-11 14:34:01 +02:00
Keith Holliday 632a1ebbf3 Fixed linting and some tests 2016-05-10 15:15:55 -05:00
Keith Holliday a92359e119 Moved markPMSRead to common.ops. Added tests 2016-05-10 15:15:55 -05:00
Matteo Pagliazzi b3a78fba97 v3 payments: fix tests 2016-05-10 18:14:28 +02:00
Matteo Pagliazzi 1c887b18e1 v3 payments: fix urls in tests 2016-05-10 17:00:47 +02:00
Matteo Pagliazzi 03008c0d40 Merge branch 'api-v3' into sabrecat/v3-payments 2016-05-09 23:29:38 +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 e980b3ce0a Merge branch 'api-v3' into sabrecat/v3-payments 2016-05-08 19:19:20 +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 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 8391494b89 v3: fix tags tests 2016-05-01 14:15:26 +02:00
Matteo Pagliazzi a63d5ae97f v3: fix tags tests 2016-05-01 13:25:19 +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
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
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
Matteo Pagliazzi d6ea0a3b40 v3: fix setting challenge.official 2016-04-25 14:34:59 +02:00
Keith Holliday 050539d8f3 Added tests for cron (#7081)
* Added inital cron tests

* Added more subscribe tests and updated various tests for syntax and expectations
2016-04-24 00:54:50 +02:00
Matteo Pagliazzi c5aa15cf47 v3: fix ability to join public guild you were already a member of 2016-04-23 03:08:03 +02:00
Victor Piousbox cbf1a4c8d3 breaking changes promisifying amazon payments 2016-04-21 04:37:25 +00:00
Victor Piousbox 54a94db2de working on amazon payments 2016-04-21 03:52:29 +00:00
Victor Piousbox 612e3b725f little changes to lint 2016-04-21 00:25:43 +00:00