Commit Graph

193 Commits

Author SHA1 Message Date
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
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 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 d9e786ebaa checklists tests 2015-12-16 12:29:03 +01:00
Matteo Pagliazzi 409102ae19 wip score tests 2015-12-13 23:51:06 +01:00
Blade Barringer 65bb655a10 Merge branch 'develop' into api-v3 2015-12-13 16:39:59 -06:00
Matteo Pagliazzi a34f41f0f7 misc fixes, GET user (with tests), more comments for preenHistory 2015-12-13 20:08:14 +01:00
Matteo Pagliazzi 9ffa0d5893 port cron and preening 2015-12-10 19:07:09 +01:00
Matteo Pagliazzi c5b7873406 add support for habitica-android in x-client header 2015-12-09 11:02:26 +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 955b0f042b fix tests 2015-12-06 17:07:29 +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 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
Sabe Jones a42c671f1f fix(model): Remove common.inviteParty
Per @vIiRuS
2015-11-30 15:48:46 -05:00
Matteo Pagliazzi 1bd794b5e3 simplify tasks naming 2015-11-30 19:38:53 +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 6c904330e7 misc fixes, add createTask route and ability to get tasks by type to getTasks route 2015-11-28 17:47:32 +01:00
Matteo Pagliazzi 786845effd fix tour/tutorial on signup 2015-11-28 14:07:33 +01:00
Matteo Pagliazzi 90d7f1f6a8 improve tasks models, fix a part of user pre save, rename auth controller 2015-11-28 13:46:53 +01:00
Matteo Pagliazzi 58d87887e6 fix linting 2015-11-27 21:28:49 +01:00
Matteo Pagliazzi cfa776fff3 starts fixing default tasks and use discriminator 2015-11-27 21:18:37 +01:00
Matteo Pagliazzi 7d53a4fd54 port task model to es6 and implement discriminators 2015-11-27 19:06:26 +01:00
Matteo Pagliazzi 9adfd6311f fix merge conflict 2015-11-27 17:09:01 +01:00
Matteo Pagliazzi 5fa514b6fa Merge branch 'develop' into api-v3 2015-11-27 17:05:29 +01:00
Matteo Pagliazzi d67836ee1f allow for additional transform functions for toJSON and sanitize 2015-11-25 15:42:29 +01:00
Matteo Pagliazzi 77d25ddc32 correctly add _id default 2015-11-25 13:43:34 +01:00
Matteo Pagliazzi 3f1faf113e add baseModel plugin with some tests 2015-11-24 18:51:48 +01:00
Phillip Thelen 743e7cbebd store inviteParty coachmark for iOS app 2015-11-23 16:24:46 +01:00
Blade Barringer d1839b816e chore(lint): Clean up user model and controller 2015-11-21 16:17:42 -06:00
Blade Barringer 75cea0c810 refactor(model): Remove password and passwordConfirmation from user model 2015-11-21 14:56:44 -06:00
Blade Barringer 43ef4e51b5 fix(model): Remove pre validation from user model 2015-11-21 14:56:20 -06:00
Matteo Pagliazzi afbfbdd01c fix mongoose promise, some user validation, tests urls 2015-11-21 14:27:24 +01:00
Matteo Pagliazzi 3608742e20 fix bugs on user controller 2015-11-21 12:26:48 +01:00
Matteo Pagliazzi 972cbbdaa6 try moving all the logic to the model 2015-11-19 21:09:39 +01:00
Matteo Pagliazzi 6451264572 start porting register local user handler, several bug fixes 2015-11-19 12:13:54 +01:00
Blade Barringer 05eb0ec782 Add missing comma. 2015-11-17 17:26:18 -06:00
Blade Barringer e6a5d08150 Merge branch 'develop' into api-v3 2015-11-16 17:34:30 -06:00