diff --git a/app/Model/Creature/CharacterComputation.js b/app/Model/Creature/CharacterComputation.js
index 254ef7a2..a01f3165 100644
--- a/app/Model/Creature/CharacterComputation.js
+++ b/app/Model/Creature/CharacterComputation.js
@@ -1,3 +1,6 @@
+// TODO allow abilities to get disadvantage, making all skills that are based
+// on them disadvantaged as well
+
import { ValidatedMethod } from 'meteor/mdg:validated-method';
const recomputeCharacter = new ValidatedMethod({
diff --git a/app/Model/Users/Users.js b/app/Model/Users/Users.js
index bdbbdda4..a54d3f7d 100644
--- a/app/Model/Users/Users.js
+++ b/app/Model/Users/Users.js
@@ -102,4 +102,10 @@ if (Meteor.isServer) Meteor.methods({
var apiKey = Random.id(30);
Meteor.users.update(this.userId, {$set: {apiKey}});
},
+ sendVerificationEmail(address) {
+ var user = Meteor.users.findOne(this.userId);
+ if (!user) return;
+ if (!_.some(user.emails, email => email.address === address)) return;
+ Accounts.sendVerificationEmail(this.userId, address);
+ },
});
diff --git a/app/imports/ui/pages/Account.vue b/app/imports/ui/pages/Account.vue
new file mode 100644
index 00000000..614302a4
--- /dev/null
+++ b/app/imports/ui/pages/Account.vue
@@ -0,0 +1,162 @@
+
+
+
+ Account
+
+
+
+
+
+ Username
+
+
+
+ {{user.username}}
+
+
+
+ Change Username
+
+ create
+
+
+
+
+
+ Email
+
+
+
+ {{email.address}}
+
+
+
+ Verified
+
+ assignment_turned_in
+
+
+
+ Verify Account
+
+
+ assignment_late
+
+
+
+
+
+
+
+
+ Add email address
+
+
+ add
+
+
+
+
+
+
+ API Key
+
+
+
+ {{user.apiKey}}
+
+
+ {{"•".repeat(user.apiKey.length)}}
+
+
+
+ {{showApiKey ? 'visibility_off' : 'visibility'}}
+
+
+
+
+
+ Generate API Key
+
+
+
+ Google Account
+
+
+
+
+
+
+
+ {{googleAccount.name}}
+
+
+ {{googleAccount.email}}
+
+
+
+
+
+ Connect Google
+
+
+
+
+
+
+ Sign Out
+
+
+
+
+
+
+
+
diff --git a/app/imports/ui/pages/CharacterList.vue b/app/imports/ui/pages/CharacterList.vue
index c2bfa1c1..15208235 100644
--- a/app/imports/ui/pages/CharacterList.vue
+++ b/app/imports/ui/pages/CharacterList.vue
@@ -1,12 +1,12 @@
-
+
Characters
-
- {{character.name}}
-
+
+
+ {{character.name}}
+
+
+ {{character.alignment}} {{character.gender}} {{character.race}}
+
+
@@ -63,7 +68,7 @@
-
+