Commit Graph

340 Commits

Author SHA1 Message Date
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
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
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
Sabe Jones 21f93c9399 WIP(chat): v3 controller 2015-12-17 14:49:14 -05: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 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 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 9864b8a1cb tests for tags 2015-12-14 21:56:09 +01:00
Blade Barringer 3857316a1e fix(api): Correct sendTaskWebhook call 2015-12-14 12:23:13 -06:00
Blade Barringer 65bb655a10 Merge branch 'develop' into api-v3 2015-12-13 16:39:59 -06:00
Matteo Pagliazzi 9394fb0d94 use res.respond 2015-12-13 20:12:04 +01:00
Matteo Pagliazzi a34f41f0f7 misc fixes, GET user (with tests), more comments for preenHistory 2015-12-13 20:08:14 +01:00
Matteo Pagliazzi e6d9c978f7 change score task route 2015-12-11 11:41:46 +01:00
Alys cf01376f7d adjust forgot password text to specify that you must use the website - fixes https://github.com/HabitRPG/habitrpg-android/issues/170 2015-12-11 06:39:03 +10:00
Matteo Pagliazzi 6a0f9564e0 begins testing score task route 2015-12-09 10:40:40 +01:00
Matteo Pagliazzi 0f3b307f40 port tests for score and randomDrop 2015-12-09 10:21:15 +01:00
Matteo Pagliazzi 72b2791bc4 refactor scoreTask 2015-12-08 14:41:42 +01:00
Matteo Pagliazzi 3c4491606b finish PUT-tasks_id tests and fix some edge bugs 2015-12-07 21:00:15 +01:00
Matteo Pagliazzi af1946dd7c starts implementing scoreTask 2015-12-06 18:03:51 +01:00
Matteo Pagliazzi 66a675c5b0 simplify some tests, replace tags when updating tags (like for checklist) 2015-12-06 17:29:14 +01:00
Matteo Pagliazzi 582aeafb4b Merge branch 'develop' into api-v3 2015-12-06 17:17:20 +01:00