mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-05 21:43:03 +00:00
* fix(subscriptions): round up months * fix(subscriptions): resub improvements Don't allow negative extraMonths; flatten new Dates to YYYYMMDD * fix(subscriptions): remove resub Gems exploit Also standardizes some uses of new Date() to remove potential race condition oddities. * fix(subscriptions): bump consecutive months... ...even if the user didn't log in then, if subscription has been continuous through that period * test(subscriptions): cover fix cases Also refactor: use constant for YYYY-MM format * refactor(subscriptions): don't stringify moments |
||
|---|---|---|
| .. | ||
| analyticsService.test.js | ||
| baseModel.test.js | ||
| buildManifest.test.js | ||
| collectionManipulators.test.js | ||
| cron.test.js | ||
| email.test.js | ||
| encryption.test.js | ||
| errors.test.js | ||
| i18n.test.js | ||
| logger.js | ||
| password.test.js | ||
| payments.test.js | ||
| preening.test.js | ||
| pushNotifications.js | ||
| setupNconf.test.js | ||
| slack.js | ||
| taskManager.js | ||
| webhooks.test.js | ||