habitica/common
Matteo Pagliazzi 08d7727881 Push notifications (#7682)
* Fix Social Push notifications

* Fix code formatting issues

* Fix commented issues

* Fix Syntax errors

* update push notify dependency

* specify push-notify version

* change how apn key is loaded

* feat(push-notifications): improve logging

* feat(push-notifications): disable v2 push notifications

* test(push-notifications): add unit tests and improve integration ones

* fix(push-notifications): throw when required params are missing

* fix(tests): correct descriptions and remove wrong comment

* fix(push-notifications): trim APN key

* fix(apn): log feedback only if it has data

* fix(apn): load cert and key differently

* fix(tests): correctly load apn during tests

* download creds from S3 and create AWS lib

* convert s3 buffer to a string

* fix(apn): remove console.log and do not use cert twice

* invert key and cert, disable failing test

* invert key and cert
2016-06-23 00:19:37 +02:00
..
audio Rebalance audio themes 2015-12-04 13:39:29 -05:00
css feat(event): Summer Splash 2016 (#7705) 2016-06-21 19:22:50 -05:00
dist/sprites feat(event): Summer Splash 2016 (#7705) 2016-06-21 19:22:50 -05:00
img feat(event): Summer Splash 2016 (#7705) 2016-06-21 19:22:50 -05:00
locales Push notifications (#7682) 2016-06-23 00:19:37 +02:00
script Push notifications (#7682) 2016-06-23 00:19:37 +02: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