habitica-self-host/website/server/models/user
Matteo Pagliazzi c1bd7f5dc5
Habits: store one history entry per day (#10442)
* initial refactor

* add scoredUp and scoredDown values for habits history entries, one entry per habit per day

* fix lint and add initial migration

* update old test

* remove scoreNotes

* dry run for migration

* migration fixes

* update migration and remove old test

* fix

* add challenges migration (read only)

* fix challenges migration

* handle custom day start

* update tasks in migration

* scoring: support cds

* add new test
2018-06-21 21:25:19 +02:00
..
hooks.js only store necessary data for social login (continuation of 10352) (#10395) 2018-05-25 18:16:30 +02:00
index.js fix(members): include classSelected flag in public fields 2018-03-27 21:21:11 +00:00
methods.js fix(gems): use Promise array when gifting 2018-06-01 19:07:17 +00:00
schema.js Habits: store one history entry per day (#10442) 2018-06-21 21:25:19 +02:00