From 3100b6f0e82da9373d69710b7ee76429c24686ee Mon Sep 17 00:00:00 2001 From: Susan Lunn Date: Wed, 16 Aug 2017 16:27:23 -0400 Subject: [PATCH 1/4] Fixed function closure syntax allowing validation emails to be sent. --- packages/rocketchat-ui-account/client/accountProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rocketchat-ui-account/client/accountProfile.js b/packages/rocketchat-ui-account/client/accountProfile.js index 2038b340d2de0..8e2b0d16841f0 100644 --- a/packages/rocketchat-ui-account/client/accountProfile.js +++ b/packages/rocketchat-ui-account/client/accountProfile.js @@ -220,7 +220,7 @@ Template.accountProfile.events({ e.preventDefault(); e.currentTarget.innerHTML = `${ e.currentTarget.innerHTML } ...`; e.currentTarget.disabled = true; - Meteor.call('sendConfirmationEmail', user.emails && user.emails[0] && user.emails[0].address((error, results) => { + Meteor.call('sendConfirmationEmail', user.emails && user.emails[0] && user.emails[0].address, (error, results) => { if (results) { toastr.success(t('Verification_email_sent')); } else if (error) { From d8d386b1a0ef7a0b2312d7e926cdb34b6fbc31ee Mon Sep 17 00:00:00 2001 From: Susan Lunn Date: Wed, 16 Aug 2017 16:27:23 -0400 Subject: [PATCH 2/4] [FIX] Fixed function closure syntax allowing validation emails to be sent. --- packages/rocketchat-ui-account/client/accountProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rocketchat-ui-account/client/accountProfile.js b/packages/rocketchat-ui-account/client/accountProfile.js index 2038b340d2de0..8e2b0d16841f0 100644 --- a/packages/rocketchat-ui-account/client/accountProfile.js +++ b/packages/rocketchat-ui-account/client/accountProfile.js @@ -220,7 +220,7 @@ Template.accountProfile.events({ e.preventDefault(); e.currentTarget.innerHTML = `${ e.currentTarget.innerHTML } ...`; e.currentTarget.disabled = true; - Meteor.call('sendConfirmationEmail', user.emails && user.emails[0] && user.emails[0].address((error, results) => { + Meteor.call('sendConfirmationEmail', user.emails && user.emails[0] && user.emails[0].address, (error, results) => { if (results) { toastr.success(t('Verification_email_sent')); } else if (error) { From a1da0bde148a61f593399a7ddb039412a69c26b7 Mon Sep 17 00:00:00 2001 From: Aaron Ogle Date: Tue, 22 Aug 2017 20:24:45 -0500 Subject: [PATCH 3/4] Bump version 0.58.2 --- .docker/Dockerfile | 2 +- .sandstorm/sandstorm-pkgdef.capnp | 2 +- .travis/snap.sh | 2 +- HISTORY.md | 5 +++++ package.json | 2 +- packages/rocketchat-lib/rocketchat.info | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 458846f120c21..41eaa6350129a 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -1,6 +1,6 @@ FROM rocketchat/base:4 -ENV RC_VERSION 0.58.1 +ENV RC_VERSION 0.58.2 MAINTAINER buildmaster@rocket.chat diff --git a/.sandstorm/sandstorm-pkgdef.capnp b/.sandstorm/sandstorm-pkgdef.capnp index 1e78d7b313fb6..61a74fd70dc2e 100644 --- a/.sandstorm/sandstorm-pkgdef.capnp +++ b/.sandstorm/sandstorm-pkgdef.capnp @@ -21,7 +21,7 @@ const pkgdef :Spk.PackageDefinition = ( appVersion = 62, # Increment this for every release. - appMarketingVersion = (defaultText = "0.58.1"), + appMarketingVersion = (defaultText = "0.58.2"), # Human-readable representation of appVersion. Should match the way you # identify versions of your app in documentation and marketing. diff --git a/.travis/snap.sh b/.travis/snap.sh index e1d3de9f97b23..fa0a814d2fa97 100755 --- a/.travis/snap.sh +++ b/.travis/snap.sh @@ -17,7 +17,7 @@ elif [[ $TRAVIS_TAG ]]; then RC_VERSION=$TRAVIS_TAG else CHANNEL=edge - RC_VERSION=0.58.1 + RC_VERSION=0.58.2 fi echo "Preparing to trigger a snap release for $CHANNEL channel" diff --git a/HISTORY.md b/HISTORY.md index d169140c2a8ef..ec0413dc676c8 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,8 @@ + +## 0.58.2 (2017-08-23) + + + ## 0.58.1 (2017-08-17) diff --git a/package.json b/package.json index 44dc47b9085ea..a76fde173de72 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Rocket.Chat", "description": "The Ultimate Open Source WebChat Platform", - "version": "0.58.1", + "version": "0.58.2", "author": { "name": "Rocket.Chat", "url": "https://rocket.chat/" diff --git a/packages/rocketchat-lib/rocketchat.info b/packages/rocketchat-lib/rocketchat.info index ba9f2429d11c1..4d1504916bfa9 100644 --- a/packages/rocketchat-lib/rocketchat.info +++ b/packages/rocketchat-lib/rocketchat.info @@ -1,3 +1,3 @@ { - "version": "0.58.1" + "version": "0.58.2" } From cbaf9c1ebbb7ce345a373ed06908e703ea504e5b Mon Sep 17 00:00:00 2001 From: Aaron Ogle Date: Tue, 22 Aug 2017 20:32:00 -0500 Subject: [PATCH 4/4] Add history --- HISTORY.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index ec0413dc676c8..8863fd21a081c 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,10 @@ ## 0.58.2 (2017-08-23) +### Bug Fixes + +- [#7758](https://github.com/RocketChat/Rocket.Chat/pull/7758) Fixed bug preventing validation emails to be sent +