Merge branch 'develop' into hairlessbear-quest_invite_modal_on_user_sync
3
.gitignore
vendored
@@ -23,7 +23,8 @@ test/*.js
|
|||||||
test/*.map
|
test/*.map
|
||||||
website/public/docs
|
website/public/docs
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
|
coverage
|
||||||
coverage.html
|
coverage.html
|
||||||
common/dist/scripts/habitrpg-shared.js
|
common/dist/scripts/habitrpg-shared.js
|
||||||
|
|
||||||
test/spec/translations.js
|
test/spec/mocks/translations.js
|
||||||
|
|||||||
@@ -11,3 +11,5 @@ before_script:
|
|||||||
- cp config.json.example config.json
|
- cp config.json.example config.json
|
||||||
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
|
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
|
||||||
- "export DISPLAY=:99"
|
- "export DISPLAY=:99"
|
||||||
|
after_script:
|
||||||
|
- "./node_modules/.bin/lcov-result-merger 'coverage/**/*.info' | ./node_modules/coveralls/bin/coveralls.js"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ module.exports = function(grunt) {
|
|||||||
// For hair, skins, beards, etc. we want to output a '.customize-options.WHATEVER' class, which works as a
|
// For hair, skins, beards, etc. we want to output a '.customize-options.WHATEVER' class, which works as a
|
||||||
// 60x60 image pointing at the proper part of the 90x90 sprite.
|
// 60x60 image pointing at the proper part of the 90x90 sprite.
|
||||||
// We set up the custom info here, and the template makes use of it.
|
// We set up the custom info here, and the template makes use of it.
|
||||||
if (sprite.name.match(/hair|skin|beard|mustach|shirt|flower/) || sprite.name=='head_0') {
|
if (sprite.name.match(/hair|skin|beard|mustach|shirt|flower|^headAccessory_special_\w+Ears/) || sprite.name=='head_0') {
|
||||||
sprite.custom = {
|
sprite.custom = {
|
||||||
px: {
|
px: {
|
||||||
offset_x: "-" + (sprite.x + 25) + "px",
|
offset_x: "-" + (sprite.x + 25) + "px",
|
||||||
@@ -220,7 +220,7 @@ module.exports = function(grunt) {
|
|||||||
require('coffee-script');
|
require('coffee-script');
|
||||||
var i18n = require('./website/src/i18n'),
|
var i18n = require('./website/src/i18n'),
|
||||||
fs = require('fs');
|
fs = require('fs');
|
||||||
fs.writeFileSync('test/spec/translations.js',
|
fs.writeFileSync('test/spec/mocks/translations.js',
|
||||||
"if(!window.env) window.env = {};\n" +
|
"if(!window.env) window.env = {};\n" +
|
||||||
"window.env.translations = " + JSON.stringify(i18n.translations['en']) + ';');
|
"window.env.translations = " + JSON.stringify(i18n.translations['en']) + ';');
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
HabitRPG [](https://travis-ci.org/HabitRPG/habitrpg) [](https://codeclimate.com/github/HabitRPG/habitrpg) [](https://www.bountysource.com/trackers/68393-habitrpg?utm_source=68393&utm_medium=shield&utm_campaign=TRACKER_BADGE) [](https://gemnasium.com/HabitRPG/habitrpg)
|
HabitRPG [](https://travis-ci.org/HabitRPG/habitrpg) [](https://codeclimate.com/github/HabitRPG/habitrpg) [](https://coveralls.io/r/HabitRPG/habitrpg?branch=develop) [](https://www.bountysource.com/trackers/68393-habitrpg?utm_source=68393&utm_medium=shield&utm_campaign=TRACKER_BADGE) [](https://gemnasium.com/HabitRPG/habitrpg)
|
||||||
===============
|
===============
|
||||||
|
|
||||||
[HabitRPG](https://habitrpg.com) 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.
|
[HabitRPG](https://habitrpg.com) 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.
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
"Angular-At-Directive": "git://github.com/snicker/Angular-At-Directive#master",
|
"Angular-At-Directive": "git://github.com/snicker/Angular-At-Directive#master",
|
||||||
"js-emoji": "git://github.com/snicker/js-emoji#master",
|
"js-emoji": "git://github.com/snicker/js-emoji#master",
|
||||||
"sticky": "*",
|
"sticky": "*",
|
||||||
"swagger-ui": "git://github.com/wordnik/swagger-ui.git",
|
"swagger-ui": "git://github.com/wordnik/swagger-ui.git#v2.0.24",
|
||||||
"ngInfiniteScroll": "1.0.0",
|
"ngInfiniteScroll": "1.0.0",
|
||||||
"jquery-colorbox": "~1.4.36",
|
"jquery-colorbox": "~1.4.36",
|
||||||
"pnotify": "~1.3.1",
|
"pnotify": "~1.3.1",
|
||||||
|
|||||||
@@ -37,6 +37,12 @@
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.multi-achievement {
|
||||||
|
margin: auto;
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
[class*="Mount_Head_"], [class*="Mount_Body_"]{
|
[class*="Mount_Head_"], [class*="Mount_Body_"]{
|
||||||
margin-top:18px; /* Sprite accommodates 105x123 box */
|
margin-top:18px; /* Sprite accommodates 105x123 box */
|
||||||
}
|
}
|
||||||
|
|||||||
2
common/dist/sprites/habitrpg-shared.css
vendored
1454
common/dist/sprites/spritesmith0.css
vendored
BIN
common/dist/sprites/spritesmith0.png
vendored
|
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 304 KiB |
5440
common/dist/sprites/spritesmith1.css
vendored
BIN
common/dist/sprites/spritesmith1.png
vendored
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 77 KiB |
5266
common/dist/sprites/spritesmith2.css
vendored
BIN
common/dist/sprites/spritesmith2.png
vendored
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 144 KiB |
782
common/dist/sprites/spritesmith3.css
vendored
BIN
common/dist/sprites/spritesmith3.png
vendored
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 153 KiB |
982
common/dist/sprites/spritesmith4.css
vendored
BIN
common/dist/sprites/spritesmith4.png
vendored
|
Before Width: | Height: | Size: 557 KiB After Width: | Height: | Size: 681 KiB |
896
common/dist/sprites/spritesmith5.css
vendored
BIN
common/dist/sprites/spritesmith5.png
vendored
|
Before Width: | Height: | Size: 346 KiB After Width: | Height: | Size: 357 KiB |
824
common/dist/sprites/spritesmith6.css
vendored
BIN
common/dist/sprites/spritesmith6.png
vendored
|
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 300 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 664 B After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 705 B After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 693 B After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 542 B After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_01.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_02.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_03.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_04.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_05.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_06.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_07.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_08.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_09.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_10.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_11.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
common/img/sprites/spritesmith/misc/inventory_present_12.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
common/img/sprites/spritesmith/misc/shop_armoire.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
common/img/sprites/spritesmith/misc/welcome_to_Habit_1.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
common/img/sprites/spritesmith/misc/welcome_to_Habit_2.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
common/img/sprites/spritesmith/misc/welcome_to_Habit_3.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
common/img/sprites/spritesmith/misc/welcome_to_Habit_4.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
common/img/sprites/spritesmith/promo/promo_enchanted_armoire.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 923 B |
|
Before Width: | Height: | Size: 963 B After Width: | Height: | Size: 820 B |