No description
Find a file
Matteo Pagliazzi 26c8323e70
Move inbox to its own model (#10428)
* shared model for chat and inbox

* disable inbox schema

* inbox: use separate model

* remove old code that used group.chat

* add back chat field (not used) and remove old tests

* remove inbox exclusions when loading user

* add GET /api/v3/inbox/messages

* add comment

* implement DELETE /inbox/messages/:messageid in v4

* implement GET /inbox/messages in v4 and update tests

* implement DELETE /api/v4/inbox/clear

* fix url

* fix doc

* update /export/inbox.html

* update other data exports

* add back messages in user schema

* add user.toJSONWithInbox

* add compativility until migration is done

* more compatibility

* fix tojson called twice

* add compatibility methods

* fix common tests

* fix v4 integration tests

* v3 get user -> with inbox

* start to fix tests

* fix v3 integration tests

* wip

* wip, client use new route

* update tests for members/send-private-message

* tests for get user in v4

* add tests for DELETE /inbox/messages/:messageId

* add tests for DELETE /inbox/clear in v4

* update docs

* fix tests

* initial migration

* fix migration

* fix migration

* migration fixes

* migrate api.enterCouponCode

* migrate api.castSpell

* migrate reset, reroll, rebirth

* add routes to v4 version

* fix tests

* fixes

* api.updateUser

* remove .only

* get user -> userLib

* refactor inbox.vue to work with new data model

* fix return message when messaging yourself

* wip fix bug with new conversation

* wip

* fix remaining ui issues

* move api.registerLocal, fixes

* keep only v3 version of GET /inbox/messages
2018-09-21 15:12:20 +02:00
.ebextensions Old Client Cleanup (#9141) 2017-10-12 16:44:28 +02:00
.github Update pull request template to mention issue number instead of url 2018-05-13 15:42:44 +02:00
database_reports Report: Subscriber Task Histories (#10439) 2018-06-14 05:37:29 -05:00
gulp API v4 (WIP) (#10453) 2018-06-18 14:40:25 +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 Move inbox to its own model (#10428) 2018-09-21 15:12:20 +02:00
scripts Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
test Move inbox to its own model (#10428) 2018-09-21 15:12:20 +02:00
vagrant_scripts Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
webpack fix xml export (#10505) 2018-07-12 15:49:22 -05:00
website Move inbox to its own model (#10428) 2018-09-21 15:12:20 +02:00
.babelrc Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01: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 tests tools and lint migrations and scripts (part 2) (#9998) 2018-02-17 18:11:24 +01:00
.eslintrc fix: eslint: re-order packages 2016-12-26 16:04:36 +01:00
.gitignore Fix drag scrolling tasks when character has abilities (#10552) 2018-07-30 16:00:55 +02:00
.nodemonignore add website/raw_sprites/** to list of files ignored by nodemon (#10274) 2018-04-26 10:46:49 +02:00
.nvmrc Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
.travis.yml API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
apidoc.json chore: Remove versioning from apidoc 2016-05-25 11:11:39 -05:00
config.json.example iOS push notifications, use node-apn (#10517) 2018-07-12 12:56:15 +02:00
docker-compose.dev.yml Fix path to detect when group is the tavern or the user's party and set paths appropriately (#10570) 2018-08-03 11:54:32 +02:00
docker-compose.yml pinning mongodb container to recommended, supported version (#10270) 2018-04-28 17:37:19 +02:00
Dockerfile Changed docker file names (#10489) 2018-07-01 18:23:40 -05:00
Dockerfile-Dev Changed docker file names (#10489) 2018-07-01 18:23:40 -05:00
gulpfile.js Upgrade gulp (and gulp deps) (#9950) 2018-02-04 18:18:10 +01:00
LICENSE Fix grammar mistakes in license file 2016-06-21 06:42:20 -05:00
package-lock.json Merge branch 'release' into develop 2018-09-20 21:24:30 +00:00
package.json Merge branch 'release' into develop 2018-09-20 21:24:30 +00:00
Procfile API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md Changed Member List number in Guilds (#10268) 2018-04-28 17:43:59 +02:00
VAGRANT.md HabitRPG -> Habitica text changes 2015-07-31 18:05:10 +10:00
Vagrantfile.example Update Vagrantfile.example to forward port 8080 (#9732) 2018-01-12 16:32:09 -06:00

Habitica Build Status Code Climate Coverage Status Bountysource Open Source Helpers

Greenkeeper badge

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.