Commit Graph

189 Commits

Author SHA1 Message Date
Matteo Pagliazzi cee7700a50 switch from Q to Bluebird 2016-05-11 14:34:01 +02:00
Matteo Pagliazzi afb7d1d627 v3: start cleaning up TODO comemnts 2016-05-06 20:24:53 +02:00
Matteo Pagliazzi bb2dd8ca08 v3: remove trimming and lowercase from fields that must be unique 2016-05-04 23:43:04 +02:00
Matteo Pagliazzi f5144fddaa v3 adapt v2: fix tags _id, stickyHeader and unlocking 2016-05-01 12:51:32 +02:00
Matteo Pagliazzi 12b05b9492 v3: define migration spec and misc fixes 2016-04-25 13:51:08 +02:00
Matteo Pagliazzi 2d87cb0d87 Merge branch 'develop' into api-v3 2016-04-22 17:43:48 +02:00
Phillip Thelen a5fbc08016 Set timezoneOffset to 0 as default
Fixes an issue with the iOS app not setting the offset, when no initial value exists.
2016-04-21 19:41:39 +02:00
Matteo Pagliazzi b271520c53 v3: general cleanup 2016-04-17 01:17:22 +02:00
Blade Barringer 33c0cdd569 chore(lint): lint files in preparation for eslint v2 2016-04-15 08:37:05 -05:00
Matteo Pagliazzi 99e201fc07 v3: move tavern to valid UUID and set Leslie as the leader 2016-04-13 21:52:53 +02:00
Matteo Pagliazzi 793ce38f6b v3: review some more files, add logging for unhandled promises 2016-04-12 20:14:36 +02:00
Keith Holliday 3970064fe5 Ported reset. Added unit tests. Added reset route. Added integration tests 2016-04-12 11:19:36 -05:00
Matteo Pagliazzi 40c9366a47 v3 adapt v2: misc fixes 2016-04-12 12:59:30 +02:00
Matteo Pagliazzi 2f4f62f342 return filters only for api v2 2016-04-10 19:51:05 +02:00
Matteo Pagliazzi 01a2afc12f v3 adapt v2: fix updating and deleting tags 2016-04-10 19:26:32 +02:00
Matteo Pagliazzi b431b02012 v3 adapt v2: port tags, cast, cron, deletUser and removeMember. Fix a few bugs in v3 2016-04-06 19:28:43 +02:00
Matteo Pagliazzi cc65bb1ed7 adapt v2: getTask, getTasks, clearCompleted, addTask, deleteTask, getUser, getUserAnonymized, scoreTask (challenge part missing) 2016-04-04 17:16:57 +02:00
Matteo Pagliazzi 58c20c2a64 v2 port: enable integration tests, port register route 2016-04-04 17:16:57 +02:00
Matteo Pagliazzi 68ff26e6d6 v3: check that tasks are deleted when the user deletes the acocunt and misc fixes 2016-04-04 17:16:36 +02:00
Matteo Pagliazzi 3089658cc7 Merge branch 'develop' into api-v3 2016-03-30 23:40:00 +02:00
Sabe Jones 95fa91522a Merge pull request #6955 from HabitRPG/wheelchair
Wheelchair
2016-03-30 14:25:12 -05:00
Matteo Pagliazzi bf93275693 v3: port updateUser 2016-03-30 16:18:22 +02:00
Alys ae9e6fbe30 allow cron to record user's current timezone offset in preferences.timezoneOffsetAtLastCron (initial stage of cron timezone fix for https://github.com/HabitRPG/habitrpg/issues/3806 ) 2016-03-29 22:34:23 +10:00
Keith Holliday 19a63e8128 Ported sendGift route and renamed it to transferGems. Refactored user.sendMessage logic. 2016-03-25 08:33:54 -05:00
Keith Holliday 95ea73d440 Fixed route namespace and added translation strings 2016-03-25 08:33:54 -05:00
Keith Holliday e9a9079c46 Ported sendPrivateMessage route and added initial tests 2016-03-25 08:33:54 -05:00
Nick Bunn 0f9cf57613 feat: Add wheelchair to avatar customization 2016-03-24 07:57:13 -05:00
Matteo Pagliazzi 0bde9e2df2 Merge branch 'develop' into api-v3 2016-03-21 23:03:28 +01:00
Matteo Pagliazzi 657f19af0d add tests for shared.ops.buySpecialSpell and partially fix shared.ops.buy 2016-03-20 13:46:56 +01:00
Matteo Pagliazzi 957e1d26d6 add tests for fns/ultimateGear, fns/handleTwoHanded, fns/randomVal, fns/predictableRandom and partial tests for ops/buy 2016-03-19 18:05:02 +01:00
Matteo Pagliazzi ff72706cae wip(shared): port buy ops and linked fns 2016-03-19 16:04:27 +01:00
Sabe Jones beb86ea4bd Merge branch 'khipkin/party-badges' into develop
Conflicts:
	common/dist/sprites/spritesmith-main-10.png
	common/dist/sprites/spritesmith-main-11.png
	common/dist/sprites/spritesmith-main-5.css
	common/dist/sprites/spritesmith-main-5.png
	common/dist/sprites/spritesmith-main-6.png
	common/dist/sprites/spritesmith-main-7.png
	common/dist/sprites/spritesmith-main-8.png
	common/dist/sprites/spritesmith-main-9.png
2016-03-15 14:57:38 -04:00
Matteo Pagliazzi c6e5e3eb1f Merge pull request #6787 from TheHollidayInn/api-v3-challenge-model-tests
Added initial challenge model tests
2016-03-11 19:17:09 +01:00
Kaitlin Hipkin 792e8d8094 fix awarding of party {up,on} achievs to update server 2016-03-10 20:38:53 -05:00
Matteo Pagliazzi fbdbd8e006 Merge branch 'develop' into api-v3 2016-03-10 18:30:09 +01:00
Kaitlin Hipkin d2d3b9deab award party {up,on} achiev when party reaches {2,4} members 2016-03-08 20:55:18 -05:00
Phillip Thelen 36790592c6 add tests for improvement categories 2016-03-06 17:56:51 +01:00
Keith Holliday bcc4d568df Moved unlinkChallengeTasks to challenge model and added tests 2016-03-04 11:45:21 -06:00
Phillip Thelen a1e1ac211f improve improvement category validation 2016-03-04 14:00:26 +01:00
Matteo Pagliazzi 80f791c86b add tests, move CustomError to common, fix casting 2016-03-03 00:16:28 +01:00
Matteo Pagliazzi e5224a7b2a add support for user._tmp, disable user.filters since it is not used 2016-02-29 23:20:13 +01:00
Matteo Pagliazzi 6c8da9a53a fix user schema definition and add missing schema 2016-02-27 17:46:00 +01:00
Matteo Pagliazzi 432d27fab2 better default values for user schema 2016-02-27 12:40:24 +01:00
Phillip Thelen 668ad6ff45 change imrovementCategories to array; 2016-02-24 15:57:08 +01:00
Phillip Thelen c751ee74c0 store which areas the user wants to improve in 2016-02-18 20:30:14 +01:00
Matteo Pagliazzi 28c6c27b78 Merge branch 'develop' into api-v3 2016-02-14 13:03:29 +01:00
Matteo Pagliazzi 7a5aa731db add population to challenge.group, challenge.leader and group.leader 2016-02-02 21:47:12 +01:00
Sabe Jones 91c6ce27c5 feat(event): Habit Birthday 2016
Also adds AWS Elastic Beanstalk local config file to .gitignore.
2016-01-28 17:16:01 -05:00
Matteo Pagliazzi f16b605c37 add update challenge with tests 2016-01-27 12:22:24 +01:00
Blade Barringer e5f1c44a3e feat: Add removeFromArray function 2016-01-25 18:08:01 -06:00