Commit Graph

12139 Commits

Author SHA1 Message Date
Kristian Tashkov 411bfe1bb6 Fix GET chat tests stopping execution of other tests 2015-12-29 20:51:16 +02:00
Matteo Pagliazzi 71a910ccfb temporary fix for eslint 2015-12-29 14:45:29 +01: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 20092f3ddb port challenge model 2015-12-28 10:46:34 +01:00
Matteo Pagliazzi 831c8c4165 Merge branch 'api-v3-groups' of github.com:HabitRPG/habitrpg into api-v3-groups 2015-12-27 17:26:01 +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
Sabe Jones a48ece7a34 fix(test): return functions 2015-12-21 18:45:24 -05:00
Sabe Jones 67da5a977a test(chat): user not member of group
Currently failing because group is not getting defined correctly?
2015-12-21 17:33:16 -05: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 ba22575e1a Merge pull request #6380 from TheHollidayInn/thehollidayinn/api-v3-groups
Added initial group POST tests
2015-12-19 17:40:26 +01:00
Keith Holliday 33525b105f Added initial group POST tests 2015-12-18 23:43:57 -06:00
Matteo Pagliazzi d8fae3a067 add sanitization to group creation 2015-12-18 17:45:56 +01:00
Matteo Pagliazzi c4ea3efb2e initial implementation for POST group 2015-12-18 17:37:26 +01:00
Matteo Pagliazzi 1132e3971d initial implementation for GET groups 2015-12-18 17:26:49 +01:00
Matteo Pagliazzi 6b430e6866 add getGroup static method and refactor controllers to use it 2015-12-18 16:38:10 +01:00
Matteo Pagliazzi 7adc060312 add GET group 2015-12-18 16:32:37 +01:00
Matteo Pagliazzi e53bd5079a adapt chat routes to groups saved on user model 2015-12-18 16:29:57 +01:00
Matteo Pagliazzi ddf77e0e35 add cliff for completed todos and PMs 2015-12-18 16:00:49 +01:00
Matteo Pagliazzi c1daada82c do not store members or invitations on group doc 2015-12-18 15:10:37 +01:00
Sabe Jones c7b3e3c3e1 fix(test): Remove only 2015-12-17 18:50:26 -05:00
Sabe Jones c3b981dc91 test(api): chat WIP 2015-12-17 18:48:10 -05:00
Sabe Jones 21f93c9399 WIP(chat): v3 controller 2015-12-17 14:49:14 -05:00
Matteo Pagliazzi 18c49493e0 fixes tests 2015-12-17 16:27:17 +01:00
Matteo Pagliazzi bbc47f5e00 finish porting group model 2015-12-17 16:11:45 +01:00
Matteo Pagliazzi 455eaf0932 add skeleton for groups controller 2015-12-16 20:41:54 +01:00
Matteo Pagliazzi bf7fc985d0 begins porting group model to es6 2015-12-16 20:00:10 +01:00
Matteo Pagliazzi 2e5c7df94f Merge pull request #6343 from HabitRPG/api-v3-tasks2
[API v3] Tasks 2
2015-12-16 13:18:05 +01:00
Matteo Pagliazzi 35316ebeb6 move completed todos outside of tasksOrder (and back) with tests 2015-12-16 12:57:19 +01:00
Matteo Pagliazzi d9e786ebaa checklists tests 2015-12-16 12:29:03 +01:00
Matteo Pagliazzi cc7bd1b5ac disable server_side (api v2) tests for api v3 2015-12-16 11:17:56 +01:00
Matteo Pagliazzi a46fa873a9 disable common tests for api v3 2015-12-16 11:16:30 +01:00
Matteo Pagliazzi 13cbf03759 use cron middleware 2015-12-15 12:11:32 +01:00
Matteo Pagliazzi e547eb2dde add tests for tags ops on tasks 2015-12-14 22:44:50 +01:00
Matteo Pagliazzi da154d3ea3 tests for tags (missed some files before) 2015-12-14 21:56:29 +01:00