diff --git a/Dockerfile b/Dockerfile
index 7cd06e673..fc0b3aca2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,5 @@
FROM node:7.6
-# Add node-gyp for bcrypt build support
-RUN yarn global add node-gyp
-
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
diff --git a/app.js b/app.js
index c2601ad5a..c3f97f831 100644
--- a/app.js
+++ b/app.js
@@ -45,16 +45,15 @@ const session_opts = {
secret: process.env.TALK_SESSION_SECRET,
httpOnly: true,
rolling: true,
- saveUninitialized: false,
- resave: false,
+ saveUninitialized: true,
+ resave: true,
unset: 'destroy',
name: 'talk.sid',
cookie: {
secure: false,
- maxAge: 36000000, // 1 hour for expiry.
+ maxAge: 8.64e+7, // 24 hours for session token expiry
},
store: new RedisStore({
- ttl: 1800,
client: redis.createClient(),
})
};
diff --git a/client/coral-admin/src/components/ui/Header.js b/client/coral-admin/src/components/ui/Header.js
index 4a2314926..6425507d0 100644
--- a/client/coral-admin/src/components/ui/Header.js
+++ b/client/coral-admin/src/components/ui/Header.js
@@ -14,28 +14,35 @@ const CoralHeader = ({handleLogout, restricted = false}) => (
{lang.t('configure.dashboard')}
{lang.t('configure.moderate')}
-
{lang.t('configure.streams')}
-
{lang.t('configure.community')}
diff --git a/client/coral-embed-stream/src/Comment.css b/client/coral-embed-stream/src/Comment.css
index 09a94aa55..7bc1a21f4 100644
--- a/client/coral-embed-stream/src/Comment.css
+++ b/client/coral-embed-stream/src/Comment.css
@@ -1,3 +1,7 @@
.Reply {
position: relative;
}
+
+.Comment {
+
+}
diff --git a/client/coral-embed-stream/src/Stream.js b/client/coral-embed-stream/src/Stream.js
index b5f8c9042..7743f3f1c 100644
--- a/client/coral-embed-stream/src/Stream.js
+++ b/client/coral-embed-stream/src/Stream.js
@@ -64,7 +64,7 @@ class Stream extends React.Component {
} = this.props;
return (
-
+
{
comments.map(comment =>
{
@@ -102,6 +97,7 @@ module.exports = {
.click('.coral-plugin-commentbox-button')
// Post a reply
+
.waitForElementVisible('.embed__stream .coral-plugin-replies-reply-button', 5000)
.click('.embed__stream .coral-plugin-replies-reply-button')
.waitForElementVisible('#replyText')
@@ -171,7 +167,7 @@ module.exports = {
// Verify that comment count is correct
client.waitForElementVisible('.coral-plugin-comment-count-text', 2000)
- .assert.containsText('.coral-plugin-comment-count-text', '4 Comments');
+ .assert.containsText('.coral-plugin-comment-count-text', '5 Comments');
done();
});
},
diff --git a/yarn.lock b/yarn.lock
index 3a1d4a78b..82b5e92f3 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1087,12 +1087,13 @@ bcrypt-pbkdf@^1.0.0:
dependencies:
tweetnacl "^0.14.3"
-bcrypt@^0.8.7:
- version "0.8.7"
- resolved "https://registry.yarnpkg.com/bcrypt/-/bcrypt-0.8.7.tgz#bc3875a9afd0a7b2cd231a6a7f218a5ce156b093"
+bcrypt@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/bcrypt/-/bcrypt-1.0.2.tgz#d05fc5d223173e0e28ec381c0f00cc25ffaf2736"
dependencies:
bindings "1.2.1"
- nan "2.3.5"
+ nan "2.5.0"
+ node-pre-gyp "0.6.32"
big.js@^3.1.3:
version "3.1.3"
@@ -5014,9 +5015,9 @@ mute-stream@0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
-nan@^2.3.0, nan@2.3.5:
- version "2.3.5"
- resolved "https://registry.yarnpkg.com/nan/-/nan-2.3.5.tgz#822a0dc266290ce4cd3a12282ca3e7e364668a08"
+nan@2.5.0:
+ version "2.5.0"
+ resolved "https://registry.yarnpkg.com/nan/-/nan-2.5.0.tgz#aa8f1e34531d807e9e27755b234b4a6ec0c152a8"
natural-compare@^1.4.0:
version "1.4.0"
@@ -5119,7 +5120,7 @@ node-libs-browser@^2.0.0:
util "^0.10.3"
vm-browserify "0.0.4"
-node-pre-gyp@^0.6.29:
+node-pre-gyp@0.6.32, node-pre-gyp@^0.6.29:
version "0.6.32"
resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.32.tgz#fc452b376e7319b3d255f5f34853ef6fd8fe1fd5"
dependencies: