Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit f3e6bf1

Browse files
Merge branch 'develop' into Centralize_read_me_content_to_docs.human_connection.org
2 parents e89c47d + 7c90c7a commit f3e6bf1

File tree

5 files changed

+102
-34
lines changed

5 files changed

+102
-34
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ node_modules
3434
.classpath
3535
.c9/
3636
.vscode
37+
/.vs
3738
*.launch
3839
.settings/
3940
*.sublime-workspace
@@ -123,3 +124,4 @@ rethinkdb_data
123124
.env
124125
/config/local.json
125126
package-lock.json
127+
/.github

docker-compose.override.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ services:
1111
- .:/API
1212
- /API/node_modules
1313
command: yarn run dev
14+
tty: true

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@
6363
"crypto-js": "^3.1.9-1",
6464
"dauria": "~2.0.0",
6565
"email-templates": "2.6.0",
66-
"feathers-authentication-hooks": "~0.3.0",
66+
"feathers-authentication-hooks": "~0.3.1",
6767
"feathers-authentication-management": "~2.0.1",
6868
"feathers-blob": "~2.0.1",
6969
"feathers-hooks-common": "~4.14.3",
7070
"feathers-logger": "0.3.2",
7171
"feathers-mailer": "~2.0.0",
7272
"feathers-memory": "~2.1.3",
73-
"feathers-mongodb": "~3.2.0",
73+
"feathers-mongodb": "~3.3.0",
7474
"feathers-mongodb-fuzzy-search": "~1.1.1",
7575
"feathers-mongoose": "~6.1.2",
7676
"feathers-profiler": "^0.1.5",
@@ -103,7 +103,7 @@
103103
"babel-eslint": "~8.2.6",
104104
"chai": "^4.1.2",
105105
"cucumber": "^4.2.1",
106-
"concurrently": "~3.6.1",
106+
"concurrently": "~4.0.1",
107107
"cross-env": "^5.2.0",
108108
"eslint": "~4.19.1",
109109
"istanbul": "1.1.0-alpha.1",

server/models/invites.model.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
module.exports = function (app) {
66
const mongooseClient = app.get('mongooseClient');
77
const invites = new mongooseClient.Schema({
8-
email: { type: String, required: true, unique: true },
9-
code: { type: String, required: true },
8+
email: { type: String, required: true, index: true, unique: true },
9+
code: { type: String, index: true, required: true },
1010
role: {
1111
type: String,
1212
enum: ['admin', 'moderator', 'manager', 'editor', 'user'],
@@ -15,7 +15,7 @@ module.exports = function (app) {
1515
invitedByUserId: { type: String },
1616
language: { type: String },
1717
badgeIds: [],
18-
wasUsed: { type: Boolean },
18+
wasUsed: { type: Boolean, index: true },
1919
createdAt: { type: Date, default: Date.now },
2020
wasSeeded: { type: Boolean }
2121
});

yarn.lock

Lines changed: 93 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@
217217
version "1.4.1"
218218
resolved "https://registry.yarnpkg.com/@feathersjs/commons/-/commons-1.4.1.tgz#81f19ffb83eac6afd33c629d4d0cad57441fbede"
219219

220+
"@feathersjs/commons@^1.4.4":
221+
version "1.4.4"
222+
resolved "https://registry.yarnpkg.com/@feathersjs/commons/-/commons-1.4.4.tgz#cd8c0a4dfc7ba1027d359ae80542381241564728"
223+
220224
"@feathersjs/configuration@^1.0.2":
221225
version "1.0.2"
222226
resolved "https://registry.yarnpkg.com/@feathersjs/configuration/-/configuration-1.0.2.tgz#18da733e908fc39726233dbae867c6b0eb3920cd"
@@ -1806,10 +1810,6 @@ [email protected]:
18061810
version "2.15.1"
18071811
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
18081812

1809-
1810-
version "2.6.0"
1811-
resolved "https://registry.yarnpkg.com/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d"
1812-
18131813
commander@^2.15.1, commander@^2.9.0:
18141814
version "2.16.0"
18151815
resolved "https://registry.yarnpkg.com/commander/-/commander-2.16.0.tgz#f16390593996ceb4f3eeb020b31d78528f7f8a50"
@@ -1865,19 +1865,19 @@ concat-stream@^1.5.2, concat-stream@^1.6.0, concat-stream@^1.6.2:
18651865
readable-stream "^2.2.2"
18661866
typedarray "^0.0.6"
18671867

1868-
concurrently@~3.6.1:
1869-
version "3.6.1"
1870-
resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-3.6.1.tgz#2f95baec5c4051294dfbb55b57a3b98a3e2b45ec"
1868+
concurrently@~4.0.1:
1869+
version "4.0.1"
1870+
resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-4.0.1.tgz#f6310fbadf2f476dd95df952edb5c0ab789f672c"
18711871
dependencies:
18721872
chalk "^2.4.1"
1873-
commander "2.6.0"
18741873
date-fns "^1.23.0"
1875-
lodash "^4.5.1"
1876-
read-pkg "^3.0.0"
1877-
rx "2.3.24"
1874+
lodash "^4.17.10"
1875+
read-pkg "^4.0.1"
1876+
rxjs "6.2.2"
18781877
spawn-command "^0.0.2-1"
1879-
supports-color "^3.2.3"
1878+
supports-color "^4.5.0"
18801879
tree-kill "^1.1.0"
1880+
yargs "^12.0.1"
18811881

18821882
config@^1.27.0:
18831883
version "1.30.0"
@@ -2151,6 +2151,12 @@ decamelize@^1.0.0, decamelize@^1.1.1, decamelize@^1.1.2:
21512151
version "1.2.0"
21522152
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
21532153

2154+
decamelize@^2.0.0:
2155+
version "2.0.0"
2156+
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-2.0.0.tgz#656d7bbc8094c4c788ea53c5840908c9c7d063c7"
2157+
dependencies:
2158+
xregexp "4.0.0"
2159+
21542160
decode-uri-component@^0.2.0:
21552161
version "0.2.0"
21562162
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
@@ -2821,9 +2827,9 @@ fast-safe-stringify@^2.0.4:
28212827
version "2.0.4"
28222828
resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.4.tgz#4fe828718aa61dbcf9119c3c24e79cc4dea973b2"
28232829

2824-
feathers-authentication-hooks@~0.3.0:
2825-
version "0.3.0"
2826-
resolved "https://registry.yarnpkg.com/feathers-authentication-hooks/-/feathers-authentication-hooks-0.3.0.tgz#6320633aaaaf046d3bc5f4ead541362095487d4e"
2830+
feathers-authentication-hooks@~0.3.1:
2831+
version "0.3.1"
2832+
resolved "https://registry.yarnpkg.com/feathers-authentication-hooks/-/feathers-authentication-hooks-0.3.1.tgz#a6c595ef626f5c289492d304ad6364ae547dae76"
28272833
dependencies:
28282834
"@feathersjs/errors" "^3.3.0"
28292835
debug "^3.1.0"
@@ -2905,14 +2911,14 @@ feathers-mongodb-fuzzy-search@~1.1.1:
29052911
feathers-commons "^0.8.7"
29062912
feathers-errors "^2.9.1"
29072913

2908-
feathers-mongodb@~3.2.0:
2909-
version "3.2.0"
2910-
resolved "https://registry.yarnpkg.com/feathers-mongodb/-/feathers-mongodb-3.2.0.tgz#6df807c36733e70a8c5f8a1e9cb9cd1074e14aa5"
2914+
feathers-mongodb@~3.3.0:
2915+
version "3.3.0"
2916+
resolved "https://registry.yarnpkg.com/feathers-mongodb/-/feathers-mongodb-3.3.0.tgz#5d24e285182bca03e1e994d17be5eb767588d962"
29112917
dependencies:
2912-
"@feathersjs/commons" "^1.3.0"
2913-
"@feathersjs/errors" "^3.2.0"
2914-
lodash.omit "^4.3.0"
2915-
uberproto "^2.0.0"
2918+
"@feathersjs/commons" "^1.4.4"
2919+
"@feathersjs/errors" "^3.3.0"
2920+
lodash.omit "^4.5.0"
2921+
uberproto "^2.0.4"
29162922

29172923
feathers-mongoose@~6.1.2:
29182924
version "6.1.2"
@@ -3480,6 +3486,10 @@ has-flag@^1.0.0:
34803486
version "1.0.0"
34813487
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
34823488

3489+
has-flag@^2.0.0:
3490+
version "2.0.0"
3491+
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
3492+
34833493
has-flag@^3.0.0:
34843494
version "3.0.0"
34853495
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
@@ -4575,7 +4585,7 @@ lodash.unescape@^4.0.1:
45754585
version "4.0.1"
45764586
resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c"
45774587

4578-
lodash@^4.0.0, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0, lodash@^4.5.1, lodash@~4.17.10:
4588+
lodash@^4.0.0, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0, lodash@~4.17.10:
45794589
version "4.17.10"
45804590
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
45814591

@@ -5884,6 +5894,14 @@ read-pkg@^3.0.0:
58845894
normalize-package-data "^2.3.2"
58855895
path-type "^3.0.0"
58865896

5897+
read-pkg@^4.0.1:
5898+
version "4.0.1"
5899+
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-4.0.1.tgz#963625378f3e1c4d48c85872b5a6ec7d5d093237"
5900+
dependencies:
5901+
normalize-package-data "^2.3.2"
5902+
parse-json "^4.0.0"
5903+
pify "^3.0.0"
5904+
58875905
58885906
version "1.1.13"
58895907
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.13.tgz#f6eef764f514c89e2b9e23146a75ba106756d23e"
@@ -6234,14 +6252,16 @@ rx-lite@*, rx-lite@^4.0.8:
62346252
version "4.0.8"
62356253
resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444"
62366254

6237-
6238-
version "2.3.24"
6239-
resolved "https://registry.yarnpkg.com/rx/-/rx-2.3.24.tgz#14f950a4217d7e35daa71bbcbe58eff68ea4b2b7"
6240-
62416255
rx@^4.1.0:
62426256
version "4.1.0"
62436257
resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782"
62446258

6259+
6260+
version "6.2.2"
6261+
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.2.2.tgz#eb75fa3c186ff5289907d06483a77884586e1cf9"
6262+
dependencies:
6263+
tslib "^1.9.0"
6264+
62456265
rxjs@^5.5.2:
62466266
version "5.5.11"
62476267
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.11.tgz#f733027ca43e3bec6b994473be4ab98ad43ced87"
@@ -6828,12 +6848,18 @@ supports-color@^2.0.0:
68286848
version "2.0.0"
68296849
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
68306850

6831-
supports-color@^3.1.2, supports-color@^3.2.3:
6851+
supports-color@^3.1.2:
68326852
version "3.2.3"
68336853
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6"
68346854
dependencies:
68356855
has-flag "^1.0.0"
68366856

6857+
supports-color@^4.5.0:
6858+
version "4.5.0"
6859+
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b"
6860+
dependencies:
6861+
has-flag "^2.0.0"
6862+
68376863
68386864
version "1.0.1"
68396865
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4"
@@ -7049,6 +7075,10 @@ [email protected]:
70497075
version "1.0.1"
70507076
resolved "https://registry.yarnpkg.com/trunc-text/-/trunc-text-1.0.1.tgz#58f876d8ac59b224b79834bb478b8656e69622b5"
70517077

7078+
tslib@^1.9.0:
7079+
version "1.9.3"
7080+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
7081+
70527082
tunnel-agent@^0.6.0:
70537083
version "0.6.0"
70547084
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
@@ -7092,6 +7122,10 @@ uberproto@^2.0.0, uberproto@^2.0.1, uberproto@^2.0.2:
70927122
version "2.0.3"
70937123
resolved "https://registry.yarnpkg.com/uberproto/-/uberproto-2.0.3.tgz#3414e4b63c1eafc65e2a21217b93ee553b2ca6e2"
70947124

7125+
uberproto@^2.0.4:
7126+
version "2.0.4"
7127+
resolved "https://registry.yarnpkg.com/uberproto/-/uberproto-2.0.4.tgz#f215bcc227c1b8fd8fccd8d701b9c96dd71ff85d"
7128+
70957129
uglify-js@^2.6:
70967130
version "2.8.29"
70977131
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
@@ -7434,6 +7468,10 @@ xmlhttprequest-ssl@~1.5.4:
74347468
version "1.5.5"
74357469
resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
74367470

7471+
7472+
version "4.0.0"
7473+
resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-4.0.0.tgz#e698189de49dd2a18cc5687b05e17c8e43943020"
7474+
74377475
xtend@^4.0.0, xtend@~4.0.0, xtend@~4.0.1:
74387476
version "4.0.1"
74397477
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
@@ -7442,6 +7480,10 @@ y18n@^3.2.1:
74427480
version "3.2.1"
74437481
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
74447482

7483+
"y18n@^3.2.1 || ^4.0.0":
7484+
version "4.0.0"
7485+
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
7486+
74457487
yallist@^2.1.2:
74467488
version "2.1.2"
74477489
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
@@ -7450,6 +7492,12 @@ yallist@^3.0.0, yallist@^3.0.2:
74507492
version "3.0.2"
74517493
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9"
74527494

7495+
yargs-parser@^10.1.0:
7496+
version "10.1.0"
7497+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8"
7498+
dependencies:
7499+
camelcase "^4.1.0"
7500+
74537501
yargs-parser@^5.0.0:
74547502
version "5.0.0"
74557503
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a"
@@ -7485,6 +7533,23 @@ [email protected]:
74857533
y18n "^3.2.1"
74867534
yargs-parser "^9.0.2"
74877535

7536+
yargs@^12.0.1:
7537+
version "12.0.1"
7538+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.1.tgz#6432e56123bb4e7c3562115401e98374060261c2"
7539+
dependencies:
7540+
cliui "^4.0.0"
7541+
decamelize "^2.0.0"
7542+
find-up "^3.0.0"
7543+
get-caller-file "^1.0.1"
7544+
os-locale "^2.0.0"
7545+
require-directory "^2.1.1"
7546+
require-main-filename "^1.0.1"
7547+
set-blocking "^2.0.0"
7548+
string-width "^2.0.0"
7549+
which-module "^2.0.0"
7550+
y18n "^3.2.1 || ^4.0.0"
7551+
yargs-parser "^10.1.0"
7552+
74887553
yargs@^7.0.0:
74897554
version "7.1.0"
74907555
resolved "https://registry.yarnpkg.com/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8"

0 commit comments

Comments
 (0)