habitica-self-host/website/server/models
Travis cd545e08d5 Implementing retries on failed user updates when finishing a quest (#8251)
* Implementing retries on failed user updates when finishing a quest. fixes #8035

* Refactoring mongo db retries to use the same as code path as original call and moving retries to count based over time based.

* Adding tests for retry logic and updating retries to happen recursively

* Moving callbacks to promises and other tweaks according to pr.

* Chaging mongoose promise to use .catch() functionality

* If all retries fail, the system will now throw an error instead of returning an error message.
2016-12-09 11:30:17 -08:00
..
user make default profile name more descriptive (ref dca958f2e2) 2016-12-04 13:43:49 +10:00
challenge.js Added note sync when user adds task to challenge, tests, and fixed challenge tests (#8200) 2016-11-12 23:48:22 +01:00
coupon.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
emailUnsubscription.js Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802) 2016-08-01 22:36:10 +02:00
group.js Implementing retries on failed user updates when finishing a quest (#8251) 2016-12-09 11:30:17 -08:00
iapPurchaseReceipt.js Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802) 2016-08-01 22:36:10 +02:00
pushDevice.js Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802) 2016-08-01 22:36:10 +02:00
subscriptionPlan.js do not give _id to purchased.plan 2016-11-16 21:44:47 +01:00
tag.js Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802) 2016-08-01 22:36:10 +02:00
task.js Moved approval to subdoc 2016-10-29 14:19:16 -05:00
userNotification.js New feature that notifies a user when their group invite is accepted. (#8244) 2016-12-01 19:04:57 +01:00
webhook.js Webhook improvements (#7879) 2016-10-02 09:16:22 -05:00