habitica/common
Camellia Peng 12f1aae2dd Update email check exist (#7899)
* throw a 401 error if user tries to update his/her email to an email that exists already

* Make error message generic so we don't violate users' privacy.  Added test case.

* Syntax fixes

* select only the _id field when searching for users with the same email.  Return found document as javascript object.
2016-08-15 07:52:53 -05:00
..
audio Add Dewin's new Theme (#7795) 2016-08-02 10:03:01 +10:00
css End Summer Splash 2016 (#7857) 2016-08-01 17:47:46 -05:00
dist/sprites chore(sprites): compile 2016-08-09 23:40:22 +00:00
img Thunderstorm Hatching Potions (#7885) 2016-08-09 17:37:39 -05:00
locales Update email check exist (#7899) 2016-08-15 07:52:53 -05:00
script add client and OS info to amplitude events 2016-08-11 08:58:13 -05:00
.eslintrc chore: merge in develop 2016-04-15 10:11:54 -05:00
browserify.js API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
index.js API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md chore(sprites): Update readme 2015-12-12 17:17:04 -06:00

Common

Shared resources useful for the multiple Habitica repositories, that way all the repositories remain in-sync with common characteristics. Includes things like:

  • Assets - sprites, images, etc
  • CSS - especially, esp. sprite-sheet mapping
  • Algorithms - level up algorithm, scoring functions, etc
  • View helper functions that may come in handy for multiple client MVCs
  • Item definitions - weapons, armor, pets

Compiling spritesheets

Because of some wonkiness with Heroku, the spritesheet compilation is not part of the production build process and must be done manually when new images are added by running:

npm run sprites