Commit Graph

34 Commits

Author SHA1 Message Date
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
Victor Piousbox
62b059d4d8 little changes, no console.log 2016-04-20 22:27:37 +00:00
Victor Piousbox
3cba6d934b resolving conflicts 2016-04-20 22:04:31 +00:00
Matteo Pagliazzi
b271520c53 v3: general cleanup 2016-04-17 01:17:22 +02:00
Victor Piousbox
4a45fc1c37 working on amazon payment promisification 2016-04-15 16:46:50 +00:00
Blade Barringer
33c0cdd569 chore(lint): lint files in preparation for eslint v2 2016-04-15 08:37:05 -05:00
Matteo Pagliazzi
7562a589c5 apidoc: update urls and add notice about private api 2016-04-14 16:02:28 +02:00
Matteo Pagliazzi
bc9f2b81e7 refactor getUserLanguage, automatically apply getUserLanguage and cron middlewares where needed 2016-04-14 13:30:58 +02:00
Matteo Pagliazzi
99e201fc07 v3: move tavern to valid UUID and set Leslie as the leader 2016-04-13 21:52:53 +02:00
Blade Barringer
1ab78f1c9a refactor: Port v2 flag report change to v3 2016-04-08 21:49:16 -05:00
Blade Barringer
b97511db31 fix: Use module.exports instead of export default 2016-03-04 13:29:51 -06:00
Matteo Pagliazzi
8b7719d25e fix apidoc comments 2016-02-14 12:56:40 +01:00
Matteo Pagliazzi
1daf87531a add population to join and update routes of challenges and groups, remove chat flags info everywhere 2016-02-03 11:29:19 +01:00
Blade Barringer
e5f1c44a3e feat: Add removeFromArray function 2016-01-25 18:08:01 -06:00
Matteo Pagliazzi
198d2e6ab5 misc fixes and run gulp lint when testing 2016-01-24 12:38:20 +01:00
Matteo Pagliazzi
e8c2d16f2c Merge branch 'api-v3-groups-chat-clear-flags' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-groups-chat-clear-flagss 2016-01-24 12:27:23 +01:00
Matteo Pagliazzi
9e1f23edbd Merge branch 'api-v3-chat-delete' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-chat-delete 2016-01-24 12:23:51 +01:00
Keith Holliday
e8c13d3117 Added initial clear chat flags tests 2016-01-23 23:11:57 -06:00
Keith Holliday
c498eef21c Added initial chat delete tests 2016-01-23 23:09:22 -06:00
Keith Holliday
9405d4b054 Fixed send message and added intiial seen chat tests 2016-01-23 14:32:24 -06:00
Matteo Pagliazzi
d7d63ad229 populate group.leader 2016-01-16 15:10:18 +01:00
Matteo Pagliazzi
55db0a4a4b add routes to get a single user, get members for a group, get members invited to a group 2016-01-12 17:27:06 +01:00
Matteo Pagliazzi
aebe2fa400 finish porting to async/away syntax 2015-12-31 11:46:21 +01:00
Keith Holliday
2750446e7b Updated POST like route to persist data between updates 2015-12-28 18:45:34 -06:00
Keith Holliday
cb388eea40 Ensured that only one like or flag is updated during query 2015-12-28 14:08:10 -06:00
Keith Holliday
b3feb997d3 Change group save to Group update, added flags route and tests, and made eslint edits 2015-12-28 08:09:17 -06:00
Keith Holliday
54109f0e62 Removed redundant code and changed like route to return only altered message 2015-12-27 00:27:06 -06:00
Keith Holliday
dff464489a Added chat like route and tests 2015-12-24 18:52:14 -06:00
Keith Holliday
77414ca49a Added chat post route and initial tests 2015-12-22 08:48:47 -06:00
Matteo Pagliazzi
83364c1d56 add leaveGroup, joinGroup and remove member from group methods 2015-12-21 11:53:47 +01:00
Matteo Pagliazzi
6b430e6866 add getGroup static method and refactor controllers to use it 2015-12-18 16:38:10 +01:00
Matteo Pagliazzi
7adc060312 add GET group 2015-12-18 16:32:37 +01:00
Matteo Pagliazzi
e53bd5079a adapt chat routes to groups saved on user model 2015-12-18 16:29:57 +01:00
Sabe Jones
21f93c9399 WIP(chat): v3 controller 2015-12-17 14:49:14 -05:00