Commit graph

13518 commits

Author SHA1 Message Date
Blade Barringer
3b8ce8451b feat: Create debug update user route 2016-05-14 22:30:18 -05:00
Blade Barringer
8a72c91060 Merge branch 'TheHollidayInn-upstream/api-v3-fixes-2' into api-v3
Closes #7245
2016-05-14 12:00:53 -05:00
Keith Holliday
2d5bf9b1bc Fixed reload tests 2016-05-14 12:00:41 -05:00
Blade Barringer
2487ebac90 chore: Reinstate floating version number for eslint
babel-eslint regression fixed
2016-05-14 11:59:00 -05:00
Keith Holliday
72c1729d54 Loaded completed todos when done is clicked 2016-05-14 11:05:31 -05:00
Keith Holliday
0537ff3552 Fixed battle monsters with friends button 2016-05-14 11:05:31 -05:00
Keith Holliday
936ff1f200 Fixed page reload on settings change 2016-05-14 11:05:31 -05:00
Keith Holliday
409dfbb2b0 Fixed adding and removing tags on tasks 2016-05-14 11:05:31 -05:00
Keith Holliday
6222c23810 Updated spell casting to v3 2016-05-14 11:05:31 -05:00
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