habitica-self-host/common
Alys 0ba47de43d adjust cron so that it prevents a double cron when timezone decreases (timezoneOffset increases)
* start to fix cron for when timezones change

* add some incomplete code

* change cron to identify when timezone changes and run only if both zones agree it should run - BAD - does cron an hour early one day later

* change timezone offset variable names

* improve handling of each individual timezone change possibility

* remove unnecessary casting to number

* remove duplicated code

* finish code for dangerous timezone change

* fix linting errors

* remove console.log lines and other testing code

* add a TODO comment for further actions for timezone changes in the "safe" direction
2016-04-02 11:42:15 +10:00
..
audio Rebalance audio themes 2015-12-04 13:39:29 -05:00
css fix(world-boss): add chat message, Bailey handling, animation 2016-03-31 19:38:43 -04:00
dist/sprites chore(gulp): compile sprites 2016-03-31 18:41:10 -05:00
img fix(world-boss): add chat message, Bailey handling, animation 2016-03-31 19:38:43 -04:00
locales fix(world-boss): Correct generic Tavern text 2016-03-31 23:45:34 -05:00
script adjust cron so that it prevents a double cron when timezone decreases (timezoneOffset increases) 2016-04-02 11:42:15 +10:00
browserify.js feat: pre-compile babel when used in production 2016-03-04 07:44:22 -06:00
index.js feat: pre-compile babel when used in production 2016-03-04 07:44:22 -06: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