Commit Graph

2799 Commits

Author SHA1 Message Date
Matteo Pagliazzi bbf5791aa0 v3: fix _tmp for crit and streakBonus 2016-05-15 10:45:12 +02: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 50d7345832 feat: Add make admin button to debug menu 2016-05-14 22:37:26 -05:00
Blade Barringer bc58bd97bb fix: Correct set cron debug function 2016-05-14 22:33:02 -05:00
Blade Barringer 3b8ce8451b feat: Create debug update user route 2016-05-14 22:30:18 -05:00
Blade Barringer ac87366f20 Merge pull request #7261 from crookedneighbor/fix_drops
fix: Alert user that drops were recieved
2016-05-14 21:51:05 -05:00
Blade Barringer 44102f6b46 fix: Alert user that drops were recieved 2016-05-14 18:45:36 -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
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 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
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 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 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
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
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
Keith Holliday 5b490116db Changed id param for registration response 2016-05-11 10:40:40 -05:00