Commit Graph

367 Commits

Author SHA1 Message Date
Matteo Pagliazzi 4afad11067 Merge branch 'api-v3' into api-v3-groups 2016-01-13 18:41:27 +01:00
Matteo Pagliazzi 771bc0c5b5 put back acceptablePUTPaths variable deleted in merge 2016-01-13 18:41:09 +01:00
Matteo Pagliazzi e2edb974d7 Merge branch 'api-v3' into api-v3-groups 2016-01-13 18:40:04 +01:00
Matteo Pagliazzi 914b2eb008 Merge branch 'develop' into api-v3 2016-01-13 18:39:44 +01:00
Matteo Pagliazzi 6088b6da42 fix edge case where res.respond would not work, misc comments 2016-01-13 18:35:29 +01:00
Alys fc01104a0d change habitrpg to habitica for PayPal subscription config 2016-01-14 03:08:16 +10:00
Matteo Pagliazzi f83b271b30 rever new history preening 2016-01-13 11:07:52 +01:00
Matteo Pagliazzi 45aacc1e6f challenge.group -> challenge.groupId 2016-01-12 19:43:41 +01:00
Matteo Pagliazzi b102ff7cae Merge branch 'api-v3-groups-invites' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-groups-invites 2016-01-12 15:48:47 +01:00
Keith Holliday 1b395b39f8 Added invite limit and tests for when multiple users with an error 2016-01-12 08:43:11 -06:00
Keith Holliday 9141598a34 Updated invite route and function for new standards, and added tests. 2016-01-12 08:43:11 -06:00
Blade Barringer fffa95ca09 refactor: Test against party not being private, instead of public 2016-01-12 08:11:19 -06:00
Keith Holliday ffbd4696e3 Converted posts tests to async/await syntax and updated tests 2016-01-11 12:35:46 -06:00
Matteo Pagliazzi 5244702e48 perf improvements for challenges history and migration 2016-01-11 18:29:39 +01:00
Matteo Pagliazzi b1a7e44722 fixes for new history preening, allow only 1 history entry per day in challenges tasks 2016-01-09 21:02:40 +01:00
Matteo Pagliazzi ae852f9a2e complete preening and enable for challenges too 2016-01-08 17:47:08 +01:00
Matteo Pagliazzi f235010536 add getChallenge route and remove old code 2016-01-06 22:29:47 +01:00
Blade Barringer 874f319d95 fix: Corrects logic where it was possible to customize avatar
with gem purchasable items without purchasing them.

Closes #6427
Closes #6448

lint(common): Add unnecessary quotes to make object look less weird
2016-01-03 10:41:44 -06:00
Kristian Tashkov 5bcce0b86b Add tests for group join route 2016-01-03 18:09:17 +02:00
Matteo Pagliazzi 743f98d67d make sure user.tasksOrder is update only when necessary 2016-01-02 17:46:31 +01:00
Matteo Pagliazzi 775766b30f allow multiple tasks to be created at once 2016-01-02 15:43:33 +01:00
Kristian Tashkov 7025bbfa32 Fix basilist scroll giving logic when joining party
closes #6416
2015-12-31 12:32:52 -06:00
Matteo Pagliazzi aebe2fa400 finish porting to async/away syntax 2015-12-31 11:46:21 +01:00
Matteo Pagliazzi f76c9d025f remove comments 2015-12-30 23:00:54 +01:00
Matteo Pagliazzi 25b0c3be2b porh auth controller to es7 async functions 2015-12-30 22:59:36 +01:00
Matteo Pagliazzi a5aeb6917e allow getGroup to optionally work for groups where the user is not a member 2015-12-29 21:36:52 +01:00
Matteo Pagliazzi 6003dad24b misc fixes, port challenge task scoring, delete chal and select winner 2015-12-29 20:57:20 +01:00
Matteo Pagliazzi 61fc490f84 port challenges\' tasks scoring 2015-12-29 18:35:34 +01:00
Matteo Pagliazzi 71a910ccfb temporary fix for eslint 2015-12-29 14:45:29 +01:00
Blade Barringer b3050e5a67 chore(dependency): Upgrade lodash from v2 to v3 2015-12-29 07:45:03 -06:00
Matteo Pagliazzi 565d5f08dc Merge branch 'api-v3-groups' of github.com:HabitRPG/habitrpg into api-v3-groups 2015-12-29 14:43:40 +01:00
Matteo Pagliazzi 547e8a04f5 cleanup group model 2015-12-29 14:43:29 +01:00
Matteo Pagliazzi ad58a77b75 Merge pull request #6393 from TheHollidayInn/api-v3-chat-post
Added chat post route and initial tests
2015-12-29 13:57:47 +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
Matteo Pagliazzi 9748ffb0a6 add updateGroup route 2015-12-28 19:45:34 +01: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
Matteo Pagliazzi ceb20742dc fix an import 2015-12-28 12:21:15 +01:00
Matteo Pagliazzi 488685ceff typo 2015-12-28 12:15:28 +01:00
Matteo Pagliazzi ba0fb884dd port create challenge 2015-12-28 12:14:56 +01:00
Matteo Pagliazzi 01e2bb56df port getChallenges 2015-12-28 11:18:58 +01:00
Matteo Pagliazzi 6ae2c5fa89 wip on groups controller 2015-12-27 17:24:55 +01: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 99be74b6f7 misc fixes 2015-12-21 12:20:10 +01:00
Matteo Pagliazzi 83364c1d56 add leaveGroup, joinGroup and remove member from group methods 2015-12-21 11:53:47 +01:00
Matteo Pagliazzi 8b79f74e54 fix tests 2015-12-19 18:23:13 +01:00
Matteo Pagliazzi 3e87c8d3e9 fix some tests 2015-12-19 18:07:39 +01:00
Matteo Pagliazzi d8fae3a067 add sanitization to group creation 2015-12-18 17:45:56 +01:00