Sabe Jones 826d7b85d7 Subscriptions Fixes (#8105)
* 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
2016-10-07 15:08:30 -05:00
2016-09-30 11:27:08 -05:00
2016-05-23 13:58:31 +02:00
2016-10-07 15:08:30 -05:00
2016-09-29 13:32:36 +02:00
2016-10-07 15:08:30 -05:00
2016-05-23 13:58:31 +02:00
2016-09-07 08:44:57 -05:00
2016-09-18 21:51:20 +02:00
2016-09-29 13:32:36 +02:00
2016-09-18 21:51:20 +02:00
2016-03-05 09:17:31 -06:00
2016-05-23 13:58:31 +02:00
2016-10-03 22:12:20 +02:00
2016-09-28 12:11:10 +02:00
2016-01-11 05:04:22 +00:00
2016-01-11 05:04:22 +00:00
2016-09-27 09:34:45 +02:00
2016-06-21 06:42:20 -05:00
2016-10-06 23:20:55 +00:00
2016-10-06 23:20:55 +00:00
2016-05-23 13:58:31 +02:00
2015-07-31 18:05:10 +10:00

Habitica Build Status Code Climate Coverage Status Bountysource

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.

We need more programmers! Your assistance will be greatly appreciated.

For an introduction to the technologies used and how the software is organized, refer to Contributing to Habitica - "Coders (Web & Mobile)" section.

To set up a local install of Habitica for development and testing, see Setting up Habitica Locally, which contains instructions for Windows, *nix / Mac OS, and Vagrant.

Then read Guidance for Blacksmiths for additional instructions and useful tips.

S
Description
A habit tracker app which treats your goals like a Role Playing Game.
Readme 1.8 GiB
Latest
2026-04-09 12:54:31 -05:00
Languages
JavaScript 51.7%
Vue 23.8%
CSS 23.7%
SCSS 0.7%