Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
103d44eeec | ||
|
|
33196c6771 | ||
|
|
80dc862047 | ||
|
|
314da14ad1 | ||
|
|
e5dbe81ac1 | ||
|
|
7e68ef64cc | ||
|
|
c9d71cad52 |
@@ -42,3 +42,5 @@ spacebars
|
|||||||
check
|
check
|
||||||
useraccounts:iron-routing
|
useraccounts:iron-routing
|
||||||
wizonesolutions:canonical
|
wizonesolutions:canonical
|
||||||
|
meteorhacks:fast-render
|
||||||
|
appcache
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ accounts-ui@1.1.6
|
|||||||
accounts-ui-unstyled@1.1.8
|
accounts-ui-unstyled@1.1.8
|
||||||
aldeed:collection2@2.5.0
|
aldeed:collection2@2.5.0
|
||||||
aldeed:simple-schema@1.3.3
|
aldeed:simple-schema@1.3.3
|
||||||
|
appcache@1.0.6
|
||||||
autoupdate@1.2.3
|
autoupdate@1.2.3
|
||||||
babel-compiler@5.8.24_1
|
babel-compiler@5.8.24_1
|
||||||
babel-runtime@0.1.4
|
babel-runtime@0.1.4
|
||||||
@@ -19,6 +20,7 @@ caching-compiler@1.0.0
|
|||||||
caching-html-compiler@1.0.2
|
caching-html-compiler@1.0.2
|
||||||
callback-hook@1.0.4
|
callback-hook@1.0.4
|
||||||
check@1.0.6
|
check@1.0.6
|
||||||
|
chuangbo:cookie@1.1.0
|
||||||
chuangbo:marked@0.3.5_1
|
chuangbo:marked@0.3.5_1
|
||||||
coffeescript@1.0.10
|
coffeescript@1.0.10
|
||||||
dburles:collection-helpers@1.0.3
|
dburles:collection-helpers@1.0.3
|
||||||
@@ -62,8 +64,11 @@ logging@1.0.8
|
|||||||
matb33:collection-hooks@0.8.1
|
matb33:collection-hooks@0.8.1
|
||||||
meteor@1.1.9
|
meteor@1.1.9
|
||||||
meteor-base@1.0.1
|
meteor-base@1.0.1
|
||||||
|
meteorhacks:fast-render@2.10.0
|
||||||
|
meteorhacks:inject-data@1.4.1
|
||||||
meteorhacks:kadira@2.23.4
|
meteorhacks:kadira@2.23.4
|
||||||
meteorhacks:meteorx@1.3.1
|
meteorhacks:meteorx@1.3.1
|
||||||
|
meteorhacks:picker@1.0.3
|
||||||
meteorhacks:subs-manager@1.6.2
|
meteorhacks:subs-manager@1.6.2
|
||||||
minifiers@1.1.7
|
minifiers@1.1.7
|
||||||
minimongo@1.0.10
|
minimongo@1.0.10
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ Schemas.Action = new SimpleSchema({
|
|||||||
charId: {
|
charId: {
|
||||||
type: String,
|
type: String,
|
||||||
regEx: SimpleSchema.RegEx.Id,
|
regEx: SimpleSchema.RegEx.Id,
|
||||||
|
index: 1,
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ Schemas.Attack = new SimpleSchema({
|
|||||||
charId: {
|
charId: {
|
||||||
type: String,
|
type: String,
|
||||||
regEx: SimpleSchema.RegEx.Id,
|
regEx: SimpleSchema.RegEx.Id,
|
||||||
|
index: 1,
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Schemas.Buff = new SimpleSchema({
|
|||||||
charId: {
|
charId: {
|
||||||
type: String,
|
type: String,
|
||||||
regEx: SimpleSchema.RegEx.Id,
|
regEx: SimpleSchema.RegEx.Id,
|
||||||
|
index: 1,
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Classes = new Mongo.Collection("classes");
|
Classes = new Mongo.Collection("classes");
|
||||||
|
|
||||||
Schemas.Class = new SimpleSchema({
|
Schemas.Class = new SimpleSchema({
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
|
||||||
name: {type: String, trim: false},
|
name: {type: String, trim: false},
|
||||||
level: {type: Number},
|
level: {type: Number},
|
||||||
createdAt: {
|
createdAt: {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ Schemas.Effect = new SimpleSchema({
|
|||||||
charId: {
|
charId: {
|
||||||
type: String,
|
type: String,
|
||||||
regEx: SimpleSchema.RegEx.Id,
|
regEx: SimpleSchema.RegEx.Id,
|
||||||
|
index: 1,
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Experiences = new Mongo.Collection("experience");
|
Experiences = new Mongo.Collection("experience");
|
||||||
|
|
||||||
Schemas.Experience = new SimpleSchema({
|
Schemas.Experience = new SimpleSchema({
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
|
||||||
name: {type: String, defaultValue: "New Experience", trim: false},
|
name: {type: String, defaultValue: "New Experience", trim: false},
|
||||||
description: {type: String, optional: true, trim: false},
|
description: {type: String, optional: true, trim: false},
|
||||||
value: {type: Number, defaultValue: 0},
|
value: {type: Number, defaultValue: 0},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Features = new Mongo.Collection("features");
|
Features = new Mongo.Collection("features");
|
||||||
|
|
||||||
Schemas.Feature = new SimpleSchema({
|
Schemas.Feature = new SimpleSchema({
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
|
||||||
name: {type: String, trim: false},
|
name: {type: String, trim: false},
|
||||||
description: {type: String, optional: true, trim: false},
|
description: {type: String, optional: true, trim: false},
|
||||||
uses: {type: String, optional: true, trim: false},
|
uses: {type: String, optional: true, trim: false},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Notes = new Mongo.Collection("notes");
|
Notes = new Mongo.Collection("notes");
|
||||||
|
|
||||||
Schemas.Note = new SimpleSchema({
|
Schemas.Note = new SimpleSchema({
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
|
||||||
name: {type: String, trim: false},
|
name: {type: String, trim: false},
|
||||||
description: {type: String, optional: true, trim: false},
|
description: {type: String, optional: true, trim: false},
|
||||||
color: {
|
color: {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Schemas.Proficiency = new SimpleSchema({
|
|||||||
charId: {
|
charId: {
|
||||||
type: String,
|
type: String,
|
||||||
regEx: SimpleSchema.RegEx.Id,
|
regEx: SimpleSchema.RegEx.Id,
|
||||||
|
index: 1,
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
SpellLists = new Mongo.Collection("spellLists");
|
SpellLists = new Mongo.Collection("spellLists");
|
||||||
|
|
||||||
Schemas.SpellLists = new SimpleSchema({
|
Schemas.SpellLists = new SimpleSchema({
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
|
||||||
name: {type: String, trim: false},
|
name: {type: String, trim: false},
|
||||||
description: {type: String, optional: true, trim: false},
|
description: {type: String, optional: true, trim: false},
|
||||||
saveDC: {type: String, optional: true, trim: false},
|
saveDC: {type: String, optional: true, trim: false},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Spells = new Mongo.Collection("spells");
|
Spells = new Mongo.Collection("spells");
|
||||||
|
|
||||||
Schemas.Spell = new SimpleSchema({
|
Schemas.Spell = new SimpleSchema({
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
|
||||||
prepared: {
|
prepared: {
|
||||||
type: String,
|
type: String,
|
||||||
defaultValue: "prepared",
|
defaultValue: "prepared",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
TemporaryHitPoints = new Mongo.Collection("temporaryHitPoints");
|
TemporaryHitPoints = new Mongo.Collection("temporaryHitPoints");
|
||||||
|
|
||||||
Schemas.TemporaryHitPoints = new SimpleSchema({
|
Schemas.TemporaryHitPoints = new SimpleSchema({
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
|
||||||
name: {type: String, optional: true},
|
name: {type: String, optional: true},
|
||||||
maximum: {type: Number, defaultValue: 0, min: 0, max: 500},
|
maximum: {type: Number, defaultValue: 0, min: 0, max: 500},
|
||||||
used: {type: Number, defaultValue: 0, min: 0, max: 500},
|
used: {type: Number, defaultValue: 0, min: 0, max: 500},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Containers = new Mongo.Collection("containers");
|
|||||||
|
|
||||||
Schemas.Container = new SimpleSchema({
|
Schemas.Container = new SimpleSchema({
|
||||||
name: {type: String, trim: false},
|
name: {type: String, trim: false},
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1},
|
||||||
isCarried: {type: Boolean},
|
isCarried: {type: Boolean},
|
||||||
weight: {type: Number, min: 0, defaultValue: 0, decimal: true},
|
weight: {type: Number, min: 0, defaultValue: 0, decimal: true},
|
||||||
value: {type: Number, min: 0, defaultValue: 0, decimal: true},
|
value: {type: Number, min: 0, defaultValue: 0, decimal: true},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Schemas.Item = new SimpleSchema({
|
|||||||
name: {type: String, defaultValue: "New Item", trim: false},
|
name: {type: String, defaultValue: "New Item", trim: false},
|
||||||
plural: {type: String, optional: true, trim: false},
|
plural: {type: String, optional: true, trim: false},
|
||||||
description:{type: String, optional: true, trim: false},
|
description:{type: String, optional: true, trim: false},
|
||||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id}, //id of owner
|
charId: {type: String, regEx: SimpleSchema.RegEx.Id, index: 1}, //id of owner
|
||||||
quantity: {type: Number, min: 0, defaultValue: 1},
|
quantity: {type: Number, min: 0, defaultValue: 1},
|
||||||
weight: {type: Number, min: 0, defaultValue: 0, decimal: true},
|
weight: {type: Number, min: 0, defaultValue: 0, decimal: true},
|
||||||
value: {type: Number, min: 0, defaultValue: 0, decimal: true},
|
value: {type: Number, min: 0, defaultValue: 0, decimal: true},
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ Router.map(function() {
|
|||||||
onAfterAction: function() {
|
onAfterAction: function() {
|
||||||
document.title = appName;
|
document.title = appName;
|
||||||
},
|
},
|
||||||
|
fastRender: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.route("characterSheet", {
|
this.route("characterSheet", {
|
||||||
@@ -63,6 +64,7 @@ Router.map(function() {
|
|||||||
window.ga && window.ga("send", "pageview", "/character");
|
window.ga && window.ga("send", "pageview", "/character");
|
||||||
this.next();
|
this.next();
|
||||||
},
|
},
|
||||||
|
fastRender: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.route("loading", {
|
this.route("loading", {
|
||||||
@@ -91,6 +93,7 @@ Router.map(function() {
|
|||||||
onAfterAction: function() {
|
onAfterAction: function() {
|
||||||
document.title = appName;
|
document.title = appName;
|
||||||
},
|
},
|
||||||
|
fastRender: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.route("/guide", {
|
this.route("/guide", {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ Template.carryCapacityBar.onCreated(function() {
|
|||||||
var self = this;
|
var self = this;
|
||||||
self.carriedFraction = new ReactiveVar(0);
|
self.carriedFraction = new ReactiveVar(0);
|
||||||
self.autorun(function() {
|
self.autorun(function() {
|
||||||
self.carriedFraction.set(getFractionCarried(self.data));
|
self.carriedFraction.set(getFractionCarried(Template.currentData()));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -286,3 +286,12 @@ ChangeLogs.insert({
|
|||||||
"Fixed errors loggin in with Google",
|
"Fixed errors loggin in with Google",
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ChangeLogs.insert({
|
||||||
|
version: "0.9.0",
|
||||||
|
changes: [
|
||||||
|
"Added fast render support, direct links to characters should load instantly",
|
||||||
|
"Added extra indexes to the database to improve performance",
|
||||||
|
"Added appcache support to improve load times on return visits",
|
||||||
|
],
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user