Commit Graph

13509 Commits

Author SHA1 Message Date
Keith Holliday 439d20c82e Fixed start party by invites 2016-05-14 11:05:31 -05:00
Blade Barringer 769d9e5148 Merge branch 'Alys-api-v3-apidoc-url' into api-v3 2016-05-14 10:21:04 -05:00
Alys e4b17d2d04 update apidoc URL in package.json
Closes #7222
2016-05-14 10:20:43 -05: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 a697d028b7 fix: Correct client request from habitrpg -> tavern 2016-05-14 09:37:21 -05:00
Blade Barringer e654b47537 Merge branch 'Alys-api-v3-cron-comments-etc' into api-v3 2016-05-14 09:21:55 -05:00
Blade Barringer 56dccf016e chore: clarify comments on cron code 2016-05-14 09:20:57 -05:00
Alys 210d01ddae add a missing variable declaration 2016-05-14 23:01:45 +10:00
Blade Barringer 9969aa667a fix: Remove requirement on message paramter in transfer-gems 2016-05-14 07:37:47 -05:00
Blade Barringer 25f0819f1e chore: Remove unusued variable 2016-05-14 06:59:11 -05:00
Blade Barringer 3e57620666 fix: Set gems sent notification as translatable string 2016-05-14 06:54:44 -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
Blade Barringer 4dd7c29baf fix: Add missing type param to equip call
closes #7212
2016-05-13 22:49:05 -05:00
Blade Barringer 38f09c7766 Merge pull request #7215 from crookedneighbor/fix_checklist
[API v3] Correct checklist on v3 client
2016-05-13 22:38:50 -05:00
Alys 6acaef50e6 minor improvements to cron code for clarity; fix inaccurate comments; add TODOs for rest-in-inn actions 2016-05-14 13:26:26 +10:00
Blade Barringer e19146d6be fix: Pin eslint to 2.9 2016-05-13 22:17:19 -05:00
Blade Barringer 0a8b8236c1 fix: Correct checklist on client
Closes #7207
2016-05-13 22:05:00 -05:00
Keith Holliday 1fd7df7521 Api v3 fixes continued (#7205)
* Added timzeone offset back

* Added APIToken back to settings page

* Fixed fetch recent messages for party

* Fixed returning group description

* Fixed check if user is member of challenge

* Fixed party members appearing in header

* Updated get myGroups param to include public groups. Fixed isMemberOf group

* Fixed hourglass purchase

* Fixed challenge addding tasks on first creating

* Updated tests to accomidate new changes
2016-05-13 23:36:25 +02:00
Matteo Pagliazzi cc20812674 [API v3] Fix calls to user.ops and deleting tags (#7204)
* v3: fixes calls to user.ops from views and deleting tags

* v3: fix tests that use user._statsComputed
2016-05-13 19:45:16 +02: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 486b93a3c9 mongoose: use options 2016-05-13 10:42:48 +02:00
Matteo Pagliazzi 9514e9c5a8 v3: fix reminders with no startDate 2016-05-13 10:34:09 +02:00
Matteo Pagliazzi 8183b0d084 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2016-05-13 10:31:49 +02:00
Blade Barringer afc51cbdc4 Merge pull request #7198 from crookedneighbor/capture_stack_trace
fix: Only apply captureStackTrace if it exists on the error object
2016-05-12 19:25:44 -05:00
Blade Barringer de1f2c2788 fix: Only apply captureStackTrace if it exists on the error object 2016-05-12 18:57:49 -05:00
Matteo Pagliazzi b5a7f8e3a1 test mongoose fix 2016-05-12 23:12:11 +02:00
Matteo Pagliazzi e47ae45f9f mongoose: increase keepAlive 2016-05-12 22:43:38 +02:00
Matteo Pagliazzi c7fb69b530 revert changes to mongoose config 2016-05-12 21:44:57 +02:00
Matteo Pagliazzi f1f18859de v3: fix todo scoring and try to fix production testing problem 2016-05-12 21:29:53 +02:00
Keith Holliday ca6dca5fd0 Fixed test broken by part sync change (#7195) 2016-05-12 19:55:34 +02:00
Matteo Pagliazzi bb1cb3397e v3 client: saving after syncing is complete 2016-05-12 18:18:24 +02:00
Keith Holliday 781f0bf1ab Api v3 task fixes (#7193)
* Update task view to use _id

* Added try catch to user service ops calls
2016-05-12 18:07:17 +02:00
Matteo Pagliazzi 93336f3894 v3: misc fixes 2016-05-12 18:06:26 +02:00
Keith Holliday c9b7aa8342 Api v3 party tavern fixes (#7191)
* Added check if user is in party before query

* Cached party query. Prevented party request when user is not in party. Updated Party create with no invites

* Update tavern ctrl to use new promise
2016-05-12 16:45:53 +02:00
Matteo Pagliazzi 7fea1d3a98 disable redirects 2016-05-12 14:07:05 +02:00
Matteo Pagliazzi 3f555b012d fix trailing spaces 2016-05-12 09:53:32 +02:00
Matteo Pagliazzi 8c351b6c56 return user.id and send analytics event before changing page 2016-05-12 09:40:21 +02:00
Matteo Pagliazzi 1dbd866ca1 Merge pull request #7189 from TheHollidayInn/api-v3-fixes
Api v3 fixes
2016-05-12 09:37:22 +02:00
Keith Holliday 01a8fde124 Fixed cron test 2016-05-11 23:40:20 -05:00
Keith Holliday 5d7ebd82a4 Updated party and group tests 2016-05-11 17:06:16 -05:00
Keith Holliday eff2f04b45 Add challenges to groups. Fixed isMemberOfGuild check 2016-05-11 14:34:36 -05:00
Keith Holliday 12eba7bbe9 Ensured login callback happens after user sync 2016-05-11 14:18:32 -05:00
Keith Holliday ee948f2447 Updated party query and create 2016-05-11 14:17:11 -05:00
Matteo Pagliazzi 679d56bc5c Merge pull request #7186 from TheHollidayInn/api-v3-registration-fix
Changed id param for registration response
2016-05-11 20:35:32 +02:00
Keith Holliday 5b490116db Changed id param for registration response 2016-05-11 10:40:40 -05:00
Matteo Pagliazzi bf2c69aaca v3: q -> bluebird 2016-05-11 16:57:43 +02:00
Matteo Pagliazzi a8f4731a0a Merge pull request #7091 from HabitRPG/api-v3-client
[API v3] Client
2016-05-11 16:36:22 +02:00