No description
Find a file
Matteo Pagliazzi f7be7205e7 Remove localstorage and add notifications (#7588)
* move remaining files frm /common/script/public to website/public

* remove localstorage

* add back noscript template and put all javascript in the footer

* fixes client side tests

* remove double quotes where possible

* simplify jade code and add tests for buildManifest

* loading page with logo and spinner

* better loading screen in landscape mode

* icon on top of text logo

* wip: user.notifications

* notifications: simpler and working code

* finish implementing notifications

* correct loading screen css and re-inline images

* add tests for user notifications

* split User model in multiple files

* remove old comment about missing .catch()

* correctly setup hooks and methods for User model. Cleanup localstorage

* include UserNotificationsService in static page js and split loading-screen css in its own file

* add cron notification and misc fixes

* remove console.log

* fix tests

* fix multiple notifications
2016-06-07 16:14:19 +02:00
.ebextensions disable loggly config while testing 2016-05-27 17:17:00 +02:00
.github fix: correct link in issue template 2016-05-29 07:34:59 -05:00
common Remove localstorage and add notifications (#7588) 2016-06-07 16:14:19 +02:00
database_reports Merge remote-tracking branch 'remotes/Alys/eyewear1' into develop 2014-11-29 08:33:28 -07:00
debug-scripts feat: Add debug scripts to easilly get all pets/mounts/gear 2016-03-15 12:47:24 -05:00
dist Merge branch 'develop' of github.com:HabitRPG/habitrpg into rebalancing 2015-03-06 07:47:10 -06: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
migrations chore: Add migration file for bad quest data (#7611) 2016-06-06 10:28:51 +10:00
scripts API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
tasks API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
test Remove localstorage and add notifications (#7588) 2016-06-07 16:14:19 +02:00
vagrant_scripts 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
website Remove localstorage and add notifications (#7588) 2016-06-07 16:14:19 +02:00
.babelrc API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
.bowerrc API v3 [WIP] (#6144) 2016-05-23 13:58:31 +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
.eslintignore API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
.eslintrc API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
.gitignore API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
.nodemonignore API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
.nvmrc chore: Upgrade node 2016-03-05 09:17:31 -06:00
.travis.yml API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
apidoc.json chore: Remove versioning from apidoc 2016-05-25 11:11:39 -05:00
bower.json fix(bower): remove BrowserQuest dep (#7597) 2016-06-03 16:18:30 -05:00
config.json.example update elastic beanstalk config to install loggly 2016-05-27 17:01:25 +02:00
docker-compose.dev.yml docker maintenance 2016-01-11 05:04:22 +00:00
docker-compose.yml docker maintenance 2016-01-11 05:04:22 +00:00
Dockerfile Use npm 3 in Dockerfile (#7529) 2016-05-29 09:08:14 +10:00
Gruntfile.js API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
gulpfile.js API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
karma.conf.js API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
LICENSE chore(license): remove conflicting text (fixes #2596), and simply reference the GPLv3 file by URL. Assets & content designed by BQ are CC-BY-SA, for HabitRPG are CC-BY-NC-SA 2014-01-27 15:42:42 -08:00
package.json 3.7.3 2016-06-05 22:08:17 -05:00
Procfile API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md feat: Add debug scripts to easilly get all pets/mounts/gear 2016-03-15 12:47:24 -05: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 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.

Debug Scripts

In the ./debug-scripts/ folder, there are a few files. Here's a sample:

grant-all-equipment.js
grant-all-mounts.js
grant-all-pets.js

You can run them by doing:

node debug-scripts/name-of-script.js

If there are more arguments required to make the script work, it will print out the usage and an explanation of what the script does.