Commit Graph

323 Commits

Author SHA1 Message Date
Matteo Pagliazzi 6ae2c5fa89 wip on groups controller 2015-12-27 17:24:55 +01: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
Matteo Pagliazzi cb08c383b9 misc fixes, add tests for some tasks routes 2015-12-06 16:51:18 +01:00
Matteo Pagliazzi 1e9386f7b6 create model for tags, add routes 2015-12-04 14:47:02 +01:00
Matteo Pagliazzi a6648fc638 add tags routes, misc fixes 2015-12-03 19:19:53 +01:00
Matteo Pagliazzi c0a99eec8b fix user model, sanitize some fields on task creation, add some tests and comments 2015-12-03 18:15:22 +01:00
Matteo Pagliazzi 506609cc29 starts writing tests for tasks, fix errors in auth middleware and tasks methods 2015-12-03 17:48:32 +01:00
Negue b337efb01a raise android gem purchase: 21 instead 20 2015-12-02 20:13:33 +01:00
Matteo Pagliazzi 62708d4365 cleanup 2015-12-02 11:30:58 +01:00
Matteo Pagliazzi 427c805ea5 fix user tests and misc changes 2015-12-02 11:22:53 +01:00
Matteo Pagliazzi fde47bdc90 add ability to get completed todos (only 30 for now) 2015-11-30 21:00:09 +01:00
Matteo Pagliazzi 93fcc7957e fix trying to move completed todos 2015-11-30 20:22:22 +01:00
Matteo Pagliazzi 67bcfde6dc implement move task 2015-11-30 20:14:53 +01:00
Matteo Pagliazzi 1bd794b5e3 simplify tasks naming 2015-11-30 19:38:53 +01:00
Matteo Pagliazzi ebdfe4c49b add checklists routes 2015-11-30 17:25:40 +01:00
Matteo Pagliazzi 3002db3d75 add ability to update tasks, can pass additional fields to Model.sanitize at runtime 2015-11-29 19:05:24 +01:00
Matteo Pagliazzi 5291753841 prevent the deletion of challenge tasks 2015-11-29 18:29:35 +01:00
Matteo Pagliazzi 6849fd49be add ability to remove a task 2015-11-29 17:47:10 +01:00
Matteo Pagliazzi 454aa3731c add tasks to user.tasksOrder or creation 2015-11-28 18:18:28 +01:00