Commit Graph

38 Commits

Author SHA1 Message Date
Matteo Pagliazzi 793ce38f6b v3: review some more files, add logging for unhandled promises 2016-04-12 20:14:36 +02:00
Matteo Pagliazzi 6458796a36 v3: first review of common code and task models 2016-04-12 19:30:39 +02:00
Matteo Pagliazzi 020b7c5464 v3 adapt v2: fix tasks creation 2016-04-11 17:54:37 +02:00
Matteo Pagliazzi ad3c8f0ad2 fix(lint): missing semicolon 2016-04-10 19:18:46 +02:00
Matteo Pagliazzi 8ea05c3c46 v3 adapt v2: fix a few bugs with batchUpdate and tasks 2016-04-10 19:09:53 +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 c3945de098 fix tasks updating and reminders tests 2016-04-04 17:18:42 +02:00
Matteo Pagliazzi 382e391fd0 port updateTask, addTask, clearCompleted, taskDefaults, uuid 2016-04-04 17:18:42 +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
Keith Holliday b46219adc5 Added tests for challenge task scoring and moved scoring code to model 2016-03-18 14:00:14 -05:00
Matteo Pagliazzi 29b6e958c6 fix failing tests 2016-03-11 09:51:59 +01:00
Matteo Pagliazzi fbdbd8e006 Merge branch 'develop' into api-v3 2016-03-10 18:30:09 +01:00
Phillip Thelen 86181253c6 store reminders for tasks 2016-02-18 20:30:02 +01:00
Matteo Pagliazzi d5751837ed add clearCompletedTodos route with tests, add test for getting completed todos, misc fixes 2016-01-25 17:23:01 +01:00
Matteo Pagliazzi a5b1dfd32d finish implementing tasks syncing for challenges 2016-01-05 20:19:55 +01:00
Matteo Pagliazzi 61fc490f84 port challenges\' tasks scoring 2015-12-29 18:35:34 +01:00
Matteo Pagliazzi 20092f3ddb port challenge model 2015-12-28 10:46:34 +01:00
Matteo Pagliazzi d9e786ebaa checklists tests 2015-12-16 12:29:03 +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 955b0f042b fix tests 2015-12-06 17:07:29 +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 427c805ea5 fix user tests and misc changes 2015-12-02 11:22:53 +01: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 90d7f1f6a8 improve tasks models, fix a part of user pre save, rename auth controller 2015-11-28 13:46:53 +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
Blade Barringer 0c9576733e Use moment to set startDate 2015-05-23 15:39:18 -05:00
Blade Barringer 3a8715f0a9 Set default startDate to today if task does not already have them 2015-05-23 15:29:36 -05:00
Blade Barringer 664bf491d2 Adjust fallenPanda's PR
* Use enum for frequency in task model
* Adjust ui of task selection
* Correct check for hasStarted
* Remove semicolons
* Set default start day to today
* Correct perfect day and resting in inn tests to have dailies with start dates of a week ago
* Add tests for dailies/weeklies functionality
2015-05-22 22:14:58 -07:00
Allen Pan e7cd3ff533 Set DailySchema’s ‘frequency’ default to weekly to maintain backwards compatibility. 2015-05-15 20:24:47 -07:00
Allen Pan 1ecf608408 Added support in daily tasks for specifying ’every X days’ and ‘every X weeks on specific days of the week’.
- shouldDo() now takes the entire task as an input instead of just the ‘repeat’ (days of the week) dictionary.
- the ‘start’ date for a task can be specified (and can also be in the future, in which case it will be greyed out until then.) ‘start’ date also affects ‘every X days’ and ‘every X weeks’.
- no migration code yet.
2015-05-15 20:24:46 -07:00
Blade Barringer 17032a4f13 Reverted changes back into website/src 2015-02-10 16:06:32 -06:00
Blade Barringer bf4f2299e2 Moved src to website/src (again) 2015-02-10 16:04:17 -06:00
Blade Barringer e243887563 Deleted website/src 2015-02-10 16:03:11 -06:00
Blade Barringer 220942fb9d Corrected path to common files 2015-02-03 14:17:21 -06:00
Blade Barringer 8a8ce8d80d Moved folders to website directory 2015-02-03 14:10:55 -06:00