No description
Find a file
joe-salomon cdbbf93b74 Weekly/Monthly Habit reset counters resetting early - fixes #8570 (#8749)
* For habit reset logic, changed day check calculation to use user’s timezone instead of server time.
Added unit tests to check following cases:
- Weekly habit reset: Server tz is Sunday, User tz is Monday
- Weekly habit reset: Server tz is Monday, User tz is Sunday
- Monthly habit reset: Server tz is 1st of month, User tz is 2nd of month
- Monthly habit reset: Server tz is end of prev month, User tz is 1st of month

* use moment().zone() instead of utcOffset()

* typo

* Fixed check for daysMissed, added logic for CDS
Added test for CDS, fixed previous tests
2017-07-18 12:53:39 -07:00
.ebextensions Node 6 and NPM 4 (#8081) 2016-12-12 21:51:53 +01:00
.github Clean up references to repo as HabitRPG/habitrpg (#8742) 2017-06-06 18:51:54 -07:00
database_reports Clean up references to repo as HabitRPG/habitrpg (#8742) 2017-06-06 18:51:54 -07:00
gulp Client Tasks v1 / Bootstrap configurable (#8822) 2017-06-16 18:58:34 +02:00
keys/google change Google iap-live for Android mobile app gem purchases, at negue's request 2015-12-03 06:22:59 +10:00
kubernetes Kubernetes support for dev environments (#8753) 2017-07-01 09:30:08 -07:00
migrations feat(content): Orca Pets and Splashy Pals 2017-07-11 21:31:26 +00:00
scripts Added new web profile for checkout (#8699) 2017-07-06 15:16:54 -07:00
test Weekly/Monthly Habit reset counters resetting early - fixes #8570 (#8749) 2017-07-18 12:53:39 -07:00
vagrant_scripts Updated vagrant script to fix bcrypt missing error (#8670) 2017-05-07 07:57:50 +10:00
webpack client: fix production path for chunks 2017-06-08 19:17:35 -07:00
website Weekly/Monthly Habit reset counters resetting early - fixes #8570 (#8749) 2017-07-18 12:53:39 -07:00
.babelrc API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
.bowerrc rename website/client to website/client-old 2016-09-14 15:06:32 +02:00
.buildpacks refactor(tasks) improve UI consistency 2014-11-27 10:32:57 +00:00
.codeclimate.yml Only list javascript in .codeclimate.yml 2015-08-02 17:54:05 +02:00
.dockerignore Docker improvements (#8297) 2016-12-28 09:33:24 +01:00
.editorconfig Create .editorconfig 2016-09-07 08:44:57 -05:00
.eslintignore Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
.eslintrc fix: eslint: re-order packages 2016-12-26 16:04:36 +01:00
.gitignore Vue Store (#8071) 2016-09-29 13:32:36 +02:00
.nodemonignore Vue Project Setup (#8018) 2016-09-18 21:51:20 +02:00
.nvmrc Node 6 and NPM 4 (#8081) 2016-12-12 21:51:53 +01:00
.travis.yml Include apidoc in test script (#8797) 2017-06-08 10:40:10 -07:00
apidoc.json chore: Remove versioning from apidoc 2016-05-25 11:11:39 -05:00
bower.json upgrade hello.js to use Facebook API v2.7 2017-03-11 12:25:38 +01:00
config.json.example Added new web profile for checkout (#8699) 2017-07-06 15:16:54 -07:00
docker-compose.dev.yml Docker improvements (#8297) 2016-12-28 09:33:24 +01:00
docker-compose.yml Docker improvements (#8297) 2016-12-28 09:33:24 +01:00
Dockerfile Renamed production docker file (#8850) 2017-07-05 13:29:25 -07:00
Dockerfile-Production Merge branch 'release' into develop 2017-07-13 22:29:35 +00:00
Gruntfile.js New Client: working navigation (#8131) 2016-11-18 19:20:25 +01:00
gulpfile.js fix gulp in production 2017-06-17 19:02:03 +02:00
LICENSE Fix grammar mistakes in license file 2016-06-21 06:42:20 -05:00
npm-shrinkwrap.json 3.101.2 2017-07-10 20:07:46 +00:00
package.json 3.103.0 2017-07-16 16:25:07 +00:00
Procfile API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md update / delete outdated README.md files (#8719) 2017-05-14 14:40:13 +10:00
VAGRANT.md HabitRPG -> Habitica text changes 2015-07-31 18:05:10 +10:00
Vagrantfile.example Change install_node.sh to install npm 3 instead. Default RAM for vagrant box is now 4 GB. (#7478) 2016-05-28 11:53:39 +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 Guidance for Blacksmiths.

To set up a local install of Habitica for development and testing on various platforms, see Setting up Habitica Locally.