diff --git a/.circleci/config.yml b/.circleci/config.yml
index a47db9b5ed10..55c71b9fd7eb 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -276,7 +276,6 @@ jobs:
name: Build Docker image
command: |
cd /tmp/build
- cp ~/repo/.docker/Dockerfile .
tar xzf Rocket.Chat.tar.gz
rm Rocket.Chat.tar.gz
@@ -284,15 +283,29 @@ jobs:
if [[ $CIRCLE_TAG ]]; then
docker login -u $DOCKER_USER -p $DOCKER_PASS
+ echo "Build official Docker image"
+ cp ~/repo/.docker/Dockerfile .
docker build -t rocketchat/rocket.chat:$CIRCLE_TAG .
docker push rocketchat/rocket.chat:$CIRCLE_TAG
- if [[ $CIRCLE_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
+ echo "Build preview Docker image"
+ cp ~/repo/.docker-mongo/Dockerfile .
+ cp ~/repo/.docker-mongo/entrypoint.sh .
+ docker build -t rocketchat/rocket.chat.preview:$CIRCLE_TAG .
+ docker push rocketchat/rocket.chat.preview:$CIRCLE_TAG
+
+ if echo "$CIRCLE_TAG" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$' ; then
docker tag rocketchat/rocket.chat:$CIRCLE_TAG rocketchat/rocket.chat:latest
docker push rocketchat/rocket.chat:latest
- else
+
+ docker tag rocketchat/rocket.chat.preview:$CIRCLE_TAG rocketchat/rocket.chat.preview:latest
+ docker push rocketchat/rocket.chat.preview:latest
+ elif echo "$CIRCLE_TAG" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$' ; then
docker tag rocketchat/rocket.chat:$CIRCLE_TAG rocketchat/rocket.chat:release-candidate
docker push rocketchat/rocket.chat:release-candidate
+
+ docker tag rocketchat/rocket.chat.preview:$CIRCLE_TAG rocketchat/rocket.chat.preview:release-candidate
+ docker push rocketchat/rocket.chat.preview:release-candidate
fi
exit 0
@@ -301,9 +314,17 @@ jobs:
if [[ $CIRCLE_BRANCH == 'develop' ]]; then
docker login -u $DOCKER_USER -p $DOCKER_PASS
+ echo "Build official Docker image"
+ cp ~/repo/.docker/Dockerfile .
docker build -t rocketchat/rocket.chat:develop .
docker push rocketchat/rocket.chat:develop
+ echo "Build preview Docker image"
+ cp ~/repo/.docker-mongo/Dockerfile .
+ cp ~/repo/.docker-mongo/entrypoint.sh .
+ docker build -t rocketchat/rocket.chat.preview:develop .
+ docker push rocketchat/rocket.chat.preview:develop
+
exit 0
fi;
@@ -330,15 +351,22 @@ jobs:
fi;
cd /tmp/build
- cp ~/repo/.docker/Dockerfile .
tar xzf Rocket.Chat.tar.gz
rm Rocket.Chat.tar.gz
docker login -u $DOCKER_USER -p $DOCKER_PASS
+ echo "Build official Docker image"
+ cp ~/repo/.docker/Dockerfile .
docker build -t rocketchat/rocket.chat:pr-$CIRCLE_PR_NUMBER .
docker push rocketchat/rocket.chat:pr-$CIRCLE_PR_NUMBER
+ echo "Build preview Docker image"
+ cp ~/repo/.docker-mongo/Dockerfile .
+ cp ~/repo/.docker-mongo/entrypoint.sh .
+ docker build -t rocketchat/rocket.chat.preview:pr-$CIRCLE_PR_NUMBER .
+ docker push rocketchat/rocket.chat.preview:pr-$CIRCLE_PR_NUMBER
+
workflows:
version: 2
build-and-test:
diff --git a/.docker-mongo/Dockerfile b/.docker-mongo/Dockerfile
new file mode 100644
index 000000000000..8a5faf28da37
--- /dev/null
+++ b/.docker-mongo/Dockerfile
@@ -0,0 +1,40 @@
+FROM rocketchat/base:8
+
+ADD . /app
+ADD entrypoint.sh /app/bundle/
+
+MAINTAINER buildmaster@rocket.chat
+
+RUN set -x \
+ && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 \
+ && echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main" | tee /etc/apt/sources.list.d/mongodb-org-3.6.list \
+ && apt-get update \
+ && apt-get install -y --force-yes pwgen mongodb-org \
+ && echo "mongodb-org hold" | dpkg --set-selections \
+ && echo "mongodb-org-server hold" | dpkg --set-selections \
+ && echo "mongodb-org-shell hold" | dpkg --set-selections \
+ && echo "mongodb-org-mongos hold" | dpkg --set-selections \
+ && echo "mongodb-org-tools hold" | dpkg --set-selections \
+ && cd /app/bundle/programs/server \
+ && npm install \
+ && npm cache clear --force \
+ && rm -rf /var/lib/apt/lists/*
+
+VOLUME /app/uploads
+
+WORKDIR /app/bundle
+
+# needs a mongoinstance - defaults to container linking with alias 'mongo'
+ENV DEPLOY_METHOD=docker-preview \
+ NODE_ENV=production \
+ MONGO_URL=mongodb://localhost:27017/rocketchat \
+ HOME=/tmp \
+ PORT=3000 \
+ ROOT_URL=http://localhost:3000 \
+ Accounts_AvatarStorePath=/app/uploads
+
+EXPOSE 3000
+
+RUN chmod +x /app/bundle/entrypoint.sh
+
+ENTRYPOINT /app/bundle/entrypoint.sh
diff --git a/.docker-mongo/entrypoint.sh b/.docker-mongo/entrypoint.sh
new file mode 100644
index 000000000000..89a347637ac1
--- /dev/null
+++ b/.docker-mongo/entrypoint.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+echo """
+██████╗ ██████╗ ██████╗██╗ ██╗███████╗████████╗ ██████╗██╗ ██╗ █████╗ ████████╗ ██████╗ ██████╗ ███████╗██╗ ██╗██╗███████╗██╗ ██╗
+██╔══██╗██╔═══██╗██╔════╝██║ ██╔╝██╔════╝╚══██╔══╝██╔════╝██║ ██║██╔══██╗╚══██╔══╝ ██╔══██╗██╔══██╗██╔════╝██║ ██║██║██╔════╝██║ ██║
+██████╔╝██║ ██║██║ █████╔╝ █████╗ ██║ ██║ ███████║███████║ ██║ ██████╔╝██████╔╝█████╗ ██║ ██║██║█████╗ ██║ █╗ ██║
+██╔══██╗██║ ██║██║ ██╔═██╗ ██╔══╝ ██║ ██║ ██╔══██║██╔══██║ ██║ ██╔═══╝ ██╔══██╗██╔══╝ ╚██╗ ██╔╝██║██╔══╝ ██║███╗██║
+██║ ██║╚██████╔╝╚██████╗██║ ██╗███████╗ ██║██╗╚██████╗██║ ██║██║ ██║ ██║ ██║ ██║ ██║███████╗ ╚████╔╝ ██║███████╗╚███╔███╔╝
+╚═╝ ╚═╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝ ╚═╝╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═══╝ ╚═╝╚══════╝ ╚══╝╚══╝
+"""
+
+mongod --smallfiles --storageEngine=mmapv1 --fork --config /etc/mongod.conf
+
+until mongo --eval "db" &> /dev/null; do
+ echo "MongoDB still not ready, sleeping"
+ sleep 1
+done
+
+node main.js
diff --git a/.docker-mongo/licenses/LICENSE b/.docker-mongo/licenses/LICENSE
new file mode 100644
index 000000000000..b3435a104885
--- /dev/null
+++ b/.docker-mongo/licenses/LICENSE
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2015-2017 Rocket.Chat Technologies Corp.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
diff --git a/.docker/Dockerfile.rhel b/.docker/Dockerfile.rhel
index 4b6c8b3e1cc6..3cdb4e368b78 100644
--- a/.docker/Dockerfile.rhel
+++ b/.docker/Dockerfile.rhel
@@ -1,6 +1,6 @@
FROM registry.access.redhat.com/rhscl/nodejs-8-rhel7
-ENV RC_VERSION 0.66.0-develop
+ENV RC_VERSION 0.67.0-develop
MAINTAINER buildmaster@rocket.chat
diff --git a/.github/history.json b/.github/history.json
index b1c3bd04b42a..21cfa973438b 100644
--- a/.github/history.json
+++ b/.github/history.json
@@ -15363,9 +15363,1370 @@
]
},
"HEAD": {
+ "pull_requests": []
+ },
+ "0.66.0-rc.0": {
+ "node_version": "8.11.1",
+ "npm_version": "5.6.0",
+ "pull_requests": [
+ {
+ "pr": "11166",
+ "title": "[IMPROVE] Listing of apps in the admin page",
+ "userLogin": "gdelavald",
+ "milestone": "0.66.0",
+ "contributors": [
+ "karlprieb",
+ "web-flow",
+ "gdelavald",
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11206",
+ "title": "Regression: Directory css",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "karlprieb",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11208",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "10127",
+ "title": "[NEW] Youtube Broadcasting",
+ "userLogin": "gdelavald",
+ "milestone": "0.66.0",
+ "contributors": [
+ "gdelavald",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11187",
+ "title": "[FIX] Wordpress oauth configuration not loading properly",
+ "userLogin": "Hudell",
+ "milestone": "0.66.0",
+ "contributors": [
+ "Hudell",
+ "geekgonecrazy",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10975",
+ "title": "[NEW] REST API endpoints `permissions.list` and `permissions.update`. Deprecated endpoint `permissions`",
+ "userLogin": "vynmera",
+ "milestone": "0.66.0",
+ "contributors": [
+ "vynmera",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10941",
+ "title": "[NEW] REST API endpoint `channels.setDefault`",
+ "userLogin": "vynmera",
+ "milestone": "0.66.0",
+ "contributors": [
+ "vynmera",
+ "web-flow",
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "10113",
+ "title": "IRC Federation: RFC2813 implementation (ngIRCd)",
+ "userLogin": "alansikora",
+ "milestone": "0.66.0",
+ "contributors": [
+ "cpitman",
+ "lindoelio",
+ "alansikora",
+ "Hudell",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10999",
+ "title": "[FIX] REST API: Add more test cases for `/login`",
+ "userLogin": "MarcosSpessatto",
+ "milestone": "0.66.0",
+ "contributors": [
+ "MarcosSpessatto"
+ ]
+ },
+ {
+ "pr": "11191",
+ "title": "[FIX] Wrong font-family order",
+ "userLogin": "Hudell",
+ "milestone": "0.66.0",
+ "contributors": [
+ "myfonj",
+ "web-flow",
+ "engelgabriel",
+ "Hudell"
+ ]
+ },
+ {
+ "pr": "11008",
+ "title": "Add verification to make sure the user exists in REST insert object helper",
+ "userLogin": "MarcosSpessatto",
+ "milestone": "0.66.0",
+ "contributors": [
+ "MarcosSpessatto"
+ ]
+ },
+ {
+ "pr": "10799",
+ "title": "[BREAK] Always remove the field `services` from user data responses in REST API",
+ "userLogin": "MarcosSpessatto",
+ "milestone": "0.66.0",
+ "contributors": [
+ "MarcosSpessatto"
+ ]
+ },
+ {
+ "pr": "11204",
+ "title": "[FIX] REST endpoint `users.updateOwnBasicInfo` was not returning errors for invalid names and trying to save custom fields when empty",
+ "userLogin": "MarcosSpessatto",
+ "milestone": "0.66.0",
+ "contributors": [
+ "MarcosSpessatto"
+ ]
+ },
+ {
+ "pr": "9751",
+ "title": "[NEW] Set Document Domain property in IFrame",
+ "userLogin": "kb0304",
+ "milestone": "0.66.0",
+ "contributors": [
+ "kb0304",
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10767",
+ "title": "[FIX] Livechat visitor not being prompted for transcript when himself is closing the chat",
+ "userLogin": "renatobecker",
+ "milestone": "0.66.0",
+ "contributors": [
+ "renatobecker",
+ "sampaiodiego",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11188",
+ "title": "[FIX] HipChat Cloud import fails to import rooms",
+ "userLogin": "Hudell",
+ "milestone": "0.66.0",
+ "contributors": [
+ "Hudell"
+ ]
+ },
+ {
+ "pr": "11190",
+ "title": "[FIX] Failure to download user data",
+ "userLogin": "Hudell",
+ "milestone": "0.66.0",
+ "contributors": [
+ "Hudell"
+ ]
+ },
+ {
+ "pr": "10447",
+ "title": "[FIX] Add parameter to REST chat.react endpoint, to make it work like a setter",
+ "userLogin": "MarcosSpessatto",
+ "contributors": [
+ "MarcosSpessatto",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11025",
+ "title": "[NEW] Custom login wallpapers",
+ "userLogin": "vynmera",
+ "milestone": "0.66.0",
+ "contributors": [
+ "vynmera",
+ "web-flow",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11200",
+ "title": "Regression: Directory user table infinite scroll doesn't working",
+ "userLogin": "karlprieb",
+ "milestone": "0.66.0",
+ "contributors": [
+ "karlprieb"
+ ]
+ },
+ {
+ "pr": "10205",
+ "title": "[NEW] Support for dynamic slack and rocket.chat channels",
+ "userLogin": "Hudell",
+ "milestone": "0.66.0",
+ "contributors": [
+ "kable-wilmoth",
+ "Hudell",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11150",
+ "title": "[FIX] Default selected language",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11026",
+ "title": "[IMPROVE] UI design for Tables and tabs component on Directory",
+ "userLogin": "karlprieb",
+ "milestone": "0.66.0",
+ "contributors": [
+ "karlprieb",
+ "web-flow",
+ "engelgabriel",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11165",
+ "title": "[FIX] Rendering of emails and mentions in messages",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11177",
+ "title": "[FIX] Livechat icon with status",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "ggazzo",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11183",
+ "title": "[FIX] remove sidebar on embedded view",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11173",
+ "title": "[FIX]Missing language constants",
+ "userLogin": "rw4lll",
+ "contributors": [
+ "rw4lll",
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11181",
+ "title": "[FIX Readme] Nodejs + Python version spicifications",
+ "userLogin": "mahdiyari",
+ "contributors": [
+ "mahdiyari",
+ "web-flow",
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11178",
+ "title": "[FIX] Room creation error due absence of subscriptions",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11132",
+ "title": "[FIX] Remove failed upload messages when switching rooms",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "web-flow",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11152",
+ "title": "[FIX] Wordpress OAuth not providing enough info to log in ",
+ "userLogin": "Hudell",
+ "contributors": [
+ "Hudell",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "11010",
+ "title": "[FIX] /groups.invite not allow a user to invite even with permission",
+ "userLogin": "MarcosSpessatto",
+ "milestone": "0.66.0",
+ "contributors": [
+ "MarcosSpessatto",
+ "Hudell",
+ "web-flow",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11115",
+ "title": "[NEW] Add prometheus port config",
+ "userLogin": "thaiphv",
+ "contributors": [
+ "brylie",
+ "web-flow",
+ "stuartpb",
+ "engelgabriel",
+ "thaiphv"
+ ]
+ },
+ {
+ "pr": "10095",
+ "title": "[FIX] Various lang fixes [RU]",
+ "userLogin": "rw4lll",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rw4lll",
+ "web-flow",
+ "engelgabriel",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11109",
+ "title": "[FIX] set-toolbar-items postMessage",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo",
+ "web-flow",
+ "tassoevan"
+ ]
+ },
+ {
+ "pr": "11021",
+ "title": "[FIX] title and value attachments are optionals on sendMessage method",
+ "userLogin": "MarcosSpessatto",
+ "milestone": "0.66.0",
+ "contributors": [
+ "MarcosSpessatto"
+ ]
+ },
+ {
+ "pr": "10301",
+ "title": "[NEW] Button to remove closed LiveChat rooms",
+ "userLogin": "renatobecker",
+ "milestone": "0.66.0",
+ "contributors": [
+ "renatobecker"
+ ]
+ },
+ {
+ "pr": "11136",
+ "title": "[FIX] Some typos in the error message names",
+ "userLogin": "vynmera",
+ "contributors": [
+ "vynmera"
+ ]
+ },
+ {
+ "pr": "11050",
+ "title": "[FIX] open conversation from room info",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo",
+ "web-flow",
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11129",
+ "title": "[FIX] Users model was not receiving options",
+ "userLogin": "sampaiodiego",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "11113",
+ "title": "[FIX] Popover position",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11096",
+ "title": "[FIX] Generated random password visible to the user",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11111",
+ "title": "[FIX] LiveChat appearance changes not being saved",
+ "userLogin": "renatobecker",
+ "milestone": "0.66.0",
+ "contributors": [
+ "renatobecker",
+ "ggazzo",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11095",
+ "title": "[FIX] Confirm password on set new password user profile",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11090",
+ "title": "Regression: sorting direct message by asc on favorites group",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "10431",
+ "title": "[FIX] Message_AllowedMaxSize fails for emoji sequences",
+ "userLogin": "c0dzilla",
+ "milestone": "0.66.0",
+ "contributors": [
+ "c0dzilla",
+ "web-flow",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11001",
+ "title": "[IMPROVE] User mentions",
+ "userLogin": "vynmera",
+ "milestone": "0.66.0",
+ "contributors": [
+ "vynmera",
+ "web-flow",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11107",
+ "title": "Fix PR Docker image creation by splitting in two build jobs",
+ "userLogin": "sampaiodiego",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "8402",
+ "title": "[NEW] Update katex to v0.9.0",
+ "userLogin": "pitamar",
+ "milestone": "0.66.0",
+ "contributors": [
+ "pitamar"
+ ]
+ },
+ {
+ "pr": "11027",
+ "title": "[NEW] WebDAV(Nextcloud/ownCloud) Storage Server Option",
+ "userLogin": "karakayasemi",
+ "milestone": "0.66.0",
+ "contributors": [
+ "karakayasemi",
+ "web-flow",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11103",
+ "title": "Update v126.js",
+ "userLogin": "ggazzo",
+ "contributors": [
+ "ggazzo",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10973",
+ "title": "[NEW] Don't ask me again checkbox on hide room modal",
+ "userLogin": "karlprieb",
+ "milestone": "0.66.0",
+ "contributors": [
+ "karlprieb",
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11097",
+ "title": "Speed up the build time by removing JSON Minify from i18n package",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "10958",
+ "title": "[NEW] Add input to set time for avatar cache control",
+ "userLogin": "MarcosSpessatto",
+ "milestone": "0.66.0",
+ "contributors": [
+ "MarcosSpessatto"
+ ]
+ },
+ {
+ "pr": "10727",
+ "title": "[NEW] Command /hide to hide channels",
+ "userLogin": "mikaelmello",
+ "milestone": "0.66.0",
+ "contributors": [
+ "mikaelmello",
+ "ggazzo",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11089",
+ "title": "[FIX] Can't access the `/account/profile`",
+ "userLogin": "tassoevan",
+ "milestone": "0.66.0",
+ "contributors": [
+ "tassoevan",
+ "ggazzo",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11087",
+ "title": "[NEW] Do not wait method calls response on websocket before next method call",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11086",
+ "title": "[NEW] Disconnect users from websocket when away from the login screen for 10min",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11083",
+ "title": "[NEW] Reduce the amount of DDP API calls on login screen",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11093",
+ "title": "Fix Docker image for develop commits",
+ "userLogin": "sampaiodiego",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "11085",
+ "title": "[NEW] Option to trace Methods and Subscription calls",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11084",
+ "title": "[FIX] Idle time limit wasn’t working as expected",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11076",
+ "title": "Build Docker image on CI",
+ "userLogin": "sampaiodiego",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "9959",
+ "title": "[FIX] Rooms list sorting by activity multiple re-renders and case sensitive sorting alphabetically",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo",
+ "sampaiodiego",
+ "web-flow",
+ "karlprieb",
+ "JoseRenan"
+ ]
+ },
+ {
+ "pr": "11024",
+ "title": "[FIX] Notification not working for group mentions and not respecting ignored users",
+ "userLogin": "sampaiodiego",
+ "milestone": "0.66.0",
+ "contributors": [
+ "sampaiodiego",
+ "web-flow",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "10294",
+ "title": "[FIX] Overlapping of search text and cancel search icon (X)",
+ "userLogin": "taeven",
+ "milestone": "0.66.0",
+ "contributors": [
+ "taeven",
+ "rodrigok",
+ "web-flow",
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11063",
+ "title": "[FIX] Link previews not being removed from messages after removed on editing",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11074",
+ "title": "[FIX] avoid send presence without login",
+ "userLogin": "ggazzo",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11072",
+ "title": "[FIX] Exception in metrics generation",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11070",
+ "title": "Update issue templates",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11062",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11056",
+ "title": "[FIX] Build for Sandstorm missing dependence for capnp",
+ "userLogin": "peterlee0127",
+ "contributors": [
+ "peterlee0127"
+ ]
+ },
+ {
+ "pr": "11049",
+ "title": "[FIX] flex-tab icons missing",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11054",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11053",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11051",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11045",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11044",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11043",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11042",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "9969",
+ "title": "Changed 'confirm password' placeholder text on user registration form",
+ "userLogin": "kumarnitj",
+ "milestone": "0.66.0",
+ "contributors": [
+ null,
+ "kumarnitj",
+ "web-flow",
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11020",
+ "title": "[FIX] Update ja.i18n.json",
+ "userLogin": "noobbbbb",
+ "contributors": [
+ "noobbbbb",
+ "web-flow",
+ "Hudell"
+ ]
+ },
+ {
+ "pr": "11039",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ null,
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11035",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "contributors": [
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "10954",
+ "title": "[NEW] Replace variable 'mergeChannels' with 'groupByType'.",
+ "userLogin": "mikaelmello",
+ "milestone": "0.66.0",
+ "contributors": [
+ "mikaelmello",
+ "rodrigok",
+ "web-flow",
+ "ggazzo",
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "11012",
+ "title": "[FIX] Strange msg when setting room announcement, topic or description to be empty",
+ "userLogin": "vynmera",
+ "milestone": "0.66.0",
+ "contributors": [
+ "vynmera",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11009",
+ "title": "[FIX] Exception thrown on avatar validation",
+ "userLogin": "Hudell",
+ "contributors": [
+ "Hudell"
+ ]
+ },
+ {
+ "pr": "10091",
+ "title": "[NEW] Send LiveChat visitor navigation history as messages",
+ "userLogin": "renatobecker",
+ "milestone": "0.66.0",
+ "contributors": [
+ "renatobecker",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "10673",
+ "title": "[NEW] Make supplying an AWS access key and secret optional for S3 uploads",
+ "userLogin": "saplla",
+ "milestone": "0.66.0",
+ "contributors": [
+ "saplla",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10207",
+ "title": "Update Documentation: README.md",
+ "userLogin": "rakhi2104",
+ "contributors": [
+ "rakhi2104",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10998",
+ "title": "[FIX] Preview of large images not resizing to fit the area and having scrollbars",
+ "userLogin": "vynmera",
+ "milestone": "0.66.0",
+ "contributors": [
+ "vynmera",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10956",
+ "title": "[FIX] Allow inviting livechat managers to the same LiveChat room",
+ "userLogin": "renatobecker",
+ "milestone": "0.66.0",
+ "contributors": [
+ "renatobecker",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "10913",
+ "title": "NPM Dependencies Update",
+ "userLogin": "engelgabriel",
+ "milestone": "0.66.0",
+ "contributors": [
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10805",
+ "title": "[FIX] Cannot read property 'debug' of undefined when trying to use REST API",
+ "userLogin": "haffla",
+ "milestone": "0.66.0",
+ "contributors": [
+ "haffla",
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10131",
+ "title": "update meteor to 1.6.1 for sandstorm build",
+ "userLogin": "peterlee0127",
+ "contributors": [
+ "peterlee0127",
+ "web-flow",
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "10986",
+ "title": "Renaming username.username to username.value for clarity",
+ "userLogin": "engelgabriel",
+ "milestone": "0.66.0",
+ "contributors": [
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10988",
+ "title": "[NEW] Direct Reply: separate Reply-To email from account username field",
+ "userLogin": "engelgabriel",
+ "milestone": "0.66.0",
+ "contributors": [
+ "pkgodara",
+ "web-flow",
+ "engelgabriel"
+ ]
+ },
+ {
+ "pr": "5",
+ "title": "Fix readme typo",
+ "userLogin": "filipealva",
+ "contributors": [
+ "filipealva"
+ ]
+ },
+ {
+ "pr": "10055",
+ "title": "[NEW] Changes all 'mergeChannels' to 'groupByType'.",
+ "userLogin": "mikaelmello",
+ "milestone": "0.66.0",
+ "contributors": [
+ "mikaelmello",
+ "rodrigok",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10771",
+ "title": "[FIX] Icons svg xml structure",
+ "userLogin": "timkinnane",
+ "contributors": [
+ "timkinnane"
+ ]
+ },
+ {
+ "pr": "10851",
+ "title": "[FIX] Leave room wasn't working as expected",
+ "userLogin": "ggazzo",
+ "milestone": "0.65.1",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "10807",
+ "title": "Remove wrong and not needed time unit",
+ "userLogin": "cliffparnitzky",
+ "contributors": [
+ "cliffparnitzky"
+ ]
+ },
+ {
+ "pr": "10934",
+ "title": "[FIX] Application crashing on startup when trying to log errors to `exceptions` channel",
+ "userLogin": "sampaiodiego",
+ "milestone": "0.65.1",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "10904",
+ "title": "[FIX] Image lazy load was breaking attachments",
+ "userLogin": "ggazzo",
+ "milestone": "0.65.1",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "10928",
+ "title": "[FIX] Incomplete email notification link",
+ "userLogin": "sampaiodiego",
+ "milestone": "0.65.1",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "10916",
+ "title": "[FIX] Remove outdated 2FA warning for mobile clients",
+ "userLogin": "cardoso",
+ "contributors": [
+ "cardoso"
+ ]
+ },
+ {
+ "pr": "10841",
+ "title": "[NEW] Update WeDeploy deployment",
+ "userLogin": "jonnilundy",
+ "contributors": [
+ "jonnilundy",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10867",
+ "title": "[FIX] Update Sandstorm build config",
+ "userLogin": "ocdtrekkie",
+ "contributors": [
+ "ocdtrekkie",
+ "engelgabriel",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "10909",
+ "title": "Develop sync commits",
+ "userLogin": "rodrigok",
+ "contributors": [
+ "geekgonecrazy",
+ "web-flow",
+ "graywolf336",
+ "nsuchy",
+ "rodrigok",
+ "rafaelks",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "10908",
+ "title": "Develop sync2",
+ "userLogin": "rodrigok",
+ "contributors": [
+ "geekgonecrazy",
+ "web-flow",
+ "graywolf336",
+ "nsuchy",
+ "rodrigok",
+ "rafaelks",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "10903",
+ "title": "Merge master into develop & Set version to 0.66.0-develop",
+ "userLogin": "rodrigok",
+ "contributors": [
+ "geekgonecrazy",
+ "web-flow",
+ "graywolf336",
+ "nsuchy",
+ "rodrigok",
+ "rafaelks",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "9534",
+ "title": "[FIX] i18n - add semantic markup",
+ "userLogin": "brylie",
+ "contributors": [
+ "brylie",
+ "web-flow",
+ "engelgabriel"
+ ]
+ }
+ ]
+ },
+ "0.66.0-rc.1": {
"node_version": "8.11.1",
"npm_version": "5.6.0",
- "pull_requests": []
+ "pull_requests": [
+ {
+ "pr": "11223",
+ "title": "Regression: Fix directory table loading",
+ "userLogin": "karlprieb",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo",
+ "karlprieb"
+ ]
+ },
+ {
+ "pr": "11221",
+ "title": "[FIX] \"blank messages\" on iOS < 11",
+ "userLogin": "ggazzo",
+ "contributors": [
+ "ggazzo",
+ "web-flow",
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11215",
+ "title": "Regression: Fix latest and release-candidate docker images building",
+ "userLogin": "sampaiodiego",
+ "milestone": "0.66.0",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "11199",
+ "title": "[FIX] \"blank\" screen on iOS < 11",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo",
+ "web-flow",
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11216",
+ "title": "Regression: check username or usersCount on browseChannels",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11211",
+ "title": "Regression: Sending message with a mention is not showing to sender",
+ "userLogin": "sampaiodiego",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ }
+ ]
+ },
+ "0.66.0-rc.2": {
+ "node_version": "8.11.3",
+ "npm_version": "5.6.0",
+ "pull_requests": [
+ {
+ "pr": "11249",
+ "title": "Regression: Prometheus was not being enabled in some cases",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11232",
+ "title": "Regression: Skip operations if no actions on livechat migration",
+ "userLogin": "sampaiodiego",
+ "milestone": "0.66.0",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "11224",
+ "title": "Regression: Directory sort users, fix null results, text for empty results",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo"
+ ]
+ },
+ {
+ "pr": "11246",
+ "title": "LingoHub based on develop",
+ "userLogin": "engelgabriel",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11247",
+ "title": "Update Meteor to 1.6.1.3",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11237",
+ "title": "New history source format & add Node and NPM versions",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ }
+ ]
+ },
+ "0.66.0-rc.3": {
+ "node_version": "8.11.3",
+ "npm_version": "5.6.0",
+ "pull_requests": [
+ {
+ "pr": "10971",
+ "title": "Add Dockerfile with MongoDB",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok",
+ "engelgabriel",
+ "web-flow",
+ "sampaiodiego"
+ ]
+ },
+ {
+ "pr": "11253",
+ "title": "[FIX] The process was freezing in some cases when HTTP calls exceeds timeout on integrations",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok",
+ "sampaiodiego",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11264",
+ "title": "[FIX] LDAP was accepting login with empty passwords for certain AD configurations",
+ "userLogin": "rodrigok",
+ "milestone": "0.66.0",
+ "contributors": [
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11263",
+ "title": "[FIX] Update capnproto dependence for Sandstorm Build",
+ "userLogin": "peterlee0127",
+ "contributors": [
+ "peterlee0127"
+ ]
+ },
+ {
+ "pr": "11257",
+ "title": "[FIX] Internal Server Error on first login with CAS integration",
+ "userLogin": "Hudell",
+ "milestone": "0.66.0",
+ "contributors": [
+ "Hudell"
+ ]
+ }
+ ]
+ },
+ "0.66.0-rc.4": {
+ "node_version": "8.11.3",
+ "npm_version": "5.6.0",
+ "pull_requests": [
+ {
+ "pr": "11268",
+ "title": "[FIX] Armhf snap build",
+ "userLogin": "geekgonecrazy",
+ "contributors": [
+ "geekgonecrazy",
+ "web-flow",
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "11273",
+ "title": "Regression: sidebar sorting was being wrong in some cases where the rooms records were returned before the subscriptions",
+ "userLogin": "ggazzo",
+ "milestone": "0.66.0",
+ "contributors": [
+ "ggazzo",
+ "web-flow"
+ ]
+ },
+ {
+ "pr": "11276",
+ "title": "[FIX] Reaction Toggle was not working when omitting the last parameter from the API (DDP and REST)",
+ "userLogin": "Hudell",
+ "milestone": "0.66.0",
+ "contributors": [
+ "Hudell"
+ ]
+ },
+ {
+ "pr": "11271",
+ "title": "Fix Docker image build on tags",
+ "userLogin": "sampaiodiego",
+ "milestone": "0.66.0",
+ "contributors": [
+ "sampaiodiego"
+ ]
+ }
+ ]
+ },
+ "0.66.0": {
+ "node_version": "8.11.3",
+ "npm_version": "5.6.0",
+ "pull_requests": [
+ {
+ "pr": "11277",
+ "title": "Merge master into develop & Set version to 0.66.0-develop",
+ "userLogin": "rodrigok",
+ "contributors": [
+ "brylie",
+ "web-flow",
+ "stuartpb",
+ "engelgabriel",
+ "Hudell",
+ "sampaiodiego",
+ "rodrigok"
+ ]
+ },
+ {
+ "pr": "9534",
+ "title": "[FIX] i18n - add semantic markup",
+ "userLogin": "brylie",
+ "contributors": [
+ "brylie",
+ "web-flow",
+ "engelgabriel"
+ ]
+ }
+ ]
}
}
-}
+}
\ No newline at end of file
diff --git a/.sandstorm/sandstorm-pkgdef.capnp b/.sandstorm/sandstorm-pkgdef.capnp
index 1ccd77554696..b8b8cabc1b77 100644
--- a/.sandstorm/sandstorm-pkgdef.capnp
+++ b/.sandstorm/sandstorm-pkgdef.capnp
@@ -19,9 +19,9 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Rocket.Chat"),
- appVersion = 71, # Increment this for every release.
+ appVersion = 78, # Increment this for every release.
- appMarketingVersion = (defaultText = "0.66.0-develop"),
+ appMarketingVersion = (defaultText = "0.67.0-develop"),
# Human-readable representation of appVersion. Should match the way you
# identify versions of your app in documentation and marketing.
diff --git a/.snapcraft/README.md b/.snapcraft/README.md
deleted file mode 100644
index f0197f2dc65b..000000000000
--- a/.snapcraft/README.md
+++ /dev/null
@@ -1,61 +0,0 @@
-![Rocket.Chat logo](https://rocket.chat/images/logo/logo-dark.svg?v3)
-
-# rocketchat-server snap for Ubuntu Core (all arch)
-
-Features:
-* bundles ubuntu distribution specific and RC compatible mongodb version
-* oplog tailing for mongo by default
-* mongodb backup command
-* mongodb restore command
-* caddy reverse proxy built-in - capable of handling free lestencrypt ssl
-
-Note:
-
-Currently, this repository is mirrored on launchpad, and used to build latest ARMHF and i386 snaps.
-
-You can download recent builds here:
-https://code.launchpad.net/~sing-li/+snap/rocketchat-server
-
-Due an issue with the existing installed base of amd64 users (existing snap always installed mongodb 3.2 [#issue](https://github.com/RocketChat/rocketchat-server-snap/issues/3)), this snap is not currently used for amd64 builds.
-
-### Test installation
-
-Download the latest snap file of the corresponding architecture to your Ubuntu Core 16 or 16.04LTS server.
-
-`sudo snap install ./rocketchat-server-xxxxxxxx.snap --dangerous`
-
-
-### Development or compile your own snap
-
-Make sure you have `snapcraft` installed.
-
-```
-git clone https://github.com/RocketChat/rocketchat-server-snap
-cd rocketchat-server-snap
-snapcraft snap
-```
-
-### Regression tests (run for amd64, i386 and armhf):
-- snapcraft runs properly
-- snap installs properly
-- all services start automatically
-- rc service shows a 5-second restart delay while waiting for mongo
- - to test manually, stop rc, stop mongo, start rc, wait 20s or so, start mongo
-- rc can be successfully restarted via the "Restart the server" button under Admin > Settings > General
-- rc service shows a 5-second delay when restarted via this button
-- all commands execute successfully:
- - initcaddy
- - modify the Caddyfile to test:
- - self-signed TLS certificate (use the "tls self_signed" caddy directive)
- - changing ports (with and without TLS)
- - using IP address (only works without TLS)
- - successfully acquiring a Let's Encrypt certificate (requires a registered domain)
- - backupdb
- - should run only with sudo
- - restoredb
- - ideally, stop rc service prior to running this (mongo must be running)
- - should run only with sudo
- - use any file outside of $snap_common (should fail)
- - use the file created with backupdb
- - use a dummy .tgz file without actual data
- - with and without a "parties" directory in the archive
diff --git a/.snapcraft/resources/prepareRocketChat b/.snapcraft/resources/prepareRocketChat
index 882998b9f82a..2251551e6d0b 100755
--- a/.snapcraft/resources/prepareRocketChat
+++ b/.snapcraft/resources/prepareRocketChat
@@ -2,11 +2,18 @@
curl -SLf "https://releases.rocket.chat/#{RC_VERSION}/download/" -o rocket.chat.tgz
-tar xvf rocket.chat.tgz --strip 1
+tar xf rocket.chat.tgz --strip 1
cd programs/server
+rm -rf npm/node_modules/meteor/emojione_emojione/node_modules/grunt-contrib-qunit
-npm install
+if [[ $(uname -m) == *armv6l* ]] || [[ $(uname -m) == *armv7l* ]]
+then
+ rm -rf npm/node_modules/sharp/vendor
+fi
+
+export NODE_ENV=production
+npm i
# Ideally this will go away. For some reason on install its installing node-v57-linux-x64-glibc but when actually running it is looking for node-v57-linux-x64-unknown
if [[ $(uname -m) == "x86_64" ]]
@@ -15,4 +22,5 @@ then
fi
# sharp needs execution stack removed - https://forum.snapcraft.io/t/snap-and-executable-stacks/1812
-execstack --clear-execstack npm/node_modules/sharp/vendor/lib/librsvg-2.so.2.42.0
+ls -l npm/node_modules/sharp/vendor
+execstack --clear-execstack npm/node_modules/sharp/vendor/lib/librsvg-2.so*
diff --git a/.snapcraft/resources/preparenode b/.snapcraft/resources/preparenode
new file mode 100755
index 000000000000..f6e0c58d3cc5
--- /dev/null
+++ b/.snapcraft/resources/preparenode
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+node_version="v8.11.3"
+
+unamem="$(uname -m)"
+if [[ $unamem == *aarch64* ]]; then
+ node_arch="arm64"
+elif [[ $unamem == *64* ]]; then
+ node_arch="x64"
+elif [[ $unamem == *86* ]]; then
+ node_arch="x86"
+elif [[ $unamem == *armv6l* ]]; then
+ node_arch="armv6l"
+elif [[ $unamem == *armv7l* ]]; then
+ node_arch="armv7l"
+else
+ echo "Aborted, unsupported or unknown architecture: $unamem"
+ return 2
+fi
+
+
+wget https://nodejs.org/dist/$node_version/node-$node_version-linux-$node_arch.tar.xz
+tar xf node-$node_version-linux-$node_arch.tar.xz --strip 1
diff --git a/.snapcraft/snapcraft.yaml b/.snapcraft/snapcraft.yaml
index 48378873580c..77bd479d66e9 100644
--- a/.snapcraft/snapcraft.yaml
+++ b/.snapcraft/snapcraft.yaml
@@ -39,7 +39,7 @@ apps:
parts:
node:
plugin: dump
- prepare: wget https://nodejs.org/dist/v8.11.2/node-v8.11.2-linux-x64.tar.xz; tar xvf node-v8.11.2-linux-x64.tar.xz --strip 1;
+ prepare: ./resources/preparenode
build-packages:
# For fibers
- python
diff --git a/.travis/snap.sh b/.travis/snap.sh
index 3a2254b83a4f..6e54bc03d119 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.66.0-develop
+ RC_VERSION=0.67.0-develop
fi
echo "Preparing to trigger a snap release for $CHANNEL channel"
diff --git a/HISTORY.md b/HISTORY.md
index 324bde0e944a..f7da984a470e 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,4 +1,212 @@
+# 0.66.0
+`2018-06-27 · 1 ️️️⚠️ · 23 🎉 · 61 🐛 · 50 🔍 · 45 👩💻👨💻`
+
+### Engine versions
+- Node: `8.11.3`
+- NPM: `5.6.0`
+
+### ⚠️ BREAKING CHANGES
+
+- Always remove the field `services` from user data responses in REST API ([#10799](https://github.com/RocketChat/Rocket.Chat/pull/10799))
+
+### 🎉 New features
+
+- Youtube Broadcasting ([#10127](https://github.com/RocketChat/Rocket.Chat/pull/10127))
+- REST API endpoints `permissions.list` and `permissions.update`. Deprecated endpoint `permissions` ([#10975](https://github.com/RocketChat/Rocket.Chat/pull/10975) by [@vynmera](https://github.com/vynmera))
+- REST API endpoint `channels.setDefault` ([#10941](https://github.com/RocketChat/Rocket.Chat/pull/10941) by [@vynmera](https://github.com/vynmera))
+- Set Document Domain property in IFrame ([#9751](https://github.com/RocketChat/Rocket.Chat/pull/9751) by [@kb0304](https://github.com/kb0304))
+- Custom login wallpapers ([#11025](https://github.com/RocketChat/Rocket.Chat/pull/11025) by [@vynmera](https://github.com/vynmera))
+- Support for dynamic slack and rocket.chat channels ([#10205](https://github.com/RocketChat/Rocket.Chat/pull/10205) by [@kable-wilmoth](https://github.com/kable-wilmoth))
+- Add prometheus port config ([#11115](https://github.com/RocketChat/Rocket.Chat/pull/11115) by [@brylie](https://github.com/brylie) & [@stuartpb](https://github.com/stuartpb) & [@thaiphv](https://github.com/thaiphv))
+- Button to remove closed LiveChat rooms ([#10301](https://github.com/RocketChat/Rocket.Chat/pull/10301))
+- Update katex to v0.9.0 ([#8402](https://github.com/RocketChat/Rocket.Chat/pull/8402) by [@pitamar](https://github.com/pitamar))
+- WebDAV(Nextcloud/ownCloud) Storage Server Option ([#11027](https://github.com/RocketChat/Rocket.Chat/pull/11027) by [@karakayasemi](https://github.com/karakayasemi))
+- Don't ask me again checkbox on hide room modal ([#10973](https://github.com/RocketChat/Rocket.Chat/pull/10973))
+- Add input to set time for avatar cache control ([#10958](https://github.com/RocketChat/Rocket.Chat/pull/10958))
+- Command /hide to hide channels ([#10727](https://github.com/RocketChat/Rocket.Chat/pull/10727) by [@mikaelmello](https://github.com/mikaelmello))
+- Do not wait method calls response on websocket before next method call ([#11087](https://github.com/RocketChat/Rocket.Chat/pull/11087))
+- Disconnect users from websocket when away from the login screen for 10min ([#11086](https://github.com/RocketChat/Rocket.Chat/pull/11086))
+- Reduce the amount of DDP API calls on login screen ([#11083](https://github.com/RocketChat/Rocket.Chat/pull/11083))
+- Option to trace Methods and Subscription calls ([#11085](https://github.com/RocketChat/Rocket.Chat/pull/11085))
+- Replace variable 'mergeChannels' with 'groupByType'. ([#10954](https://github.com/RocketChat/Rocket.Chat/pull/10954) by [@mikaelmello](https://github.com/mikaelmello))
+- Send LiveChat visitor navigation history as messages ([#10091](https://github.com/RocketChat/Rocket.Chat/pull/10091))
+- Make supplying an AWS access key and secret optional for S3 uploads ([#10673](https://github.com/RocketChat/Rocket.Chat/pull/10673) by [@saplla](https://github.com/saplla))
+- Direct Reply: separate Reply-To email from account username field ([#10988](https://github.com/RocketChat/Rocket.Chat/pull/10988) by [@pkgodara](https://github.com/pkgodara))
+- Changes all 'mergeChannels' to 'groupByType'. ([#10055](https://github.com/RocketChat/Rocket.Chat/pull/10055) by [@mikaelmello](https://github.com/mikaelmello))
+- Update WeDeploy deployment ([#10841](https://github.com/RocketChat/Rocket.Chat/pull/10841) by [@jonnilundy](https://github.com/jonnilundy))
+
+### 🐛 Bug fixes
+
+- i18n - add semantic markup ([#9534](https://github.com/RocketChat/Rocket.Chat/pull/9534) by [@brylie](https://github.com/brylie))
+- Wordpress oauth configuration not loading properly ([#11187](https://github.com/RocketChat/Rocket.Chat/pull/11187))
+- REST API: Add more test cases for `/login` ([#10999](https://github.com/RocketChat/Rocket.Chat/pull/10999))
+- Wrong font-family order ([#11191](https://github.com/RocketChat/Rocket.Chat/pull/11191) by [@myfonj](https://github.com/myfonj))
+- REST endpoint `users.updateOwnBasicInfo` was not returning errors for invalid names and trying to save custom fields when empty ([#11204](https://github.com/RocketChat/Rocket.Chat/pull/11204))
+- Livechat visitor not being prompted for transcript when himself is closing the chat ([#10767](https://github.com/RocketChat/Rocket.Chat/pull/10767))
+- HipChat Cloud import fails to import rooms ([#11188](https://github.com/RocketChat/Rocket.Chat/pull/11188))
+- Failure to download user data ([#11190](https://github.com/RocketChat/Rocket.Chat/pull/11190))
+- Add parameter to REST chat.react endpoint, to make it work like a setter ([#10447](https://github.com/RocketChat/Rocket.Chat/pull/10447))
+- Default selected language ([#11150](https://github.com/RocketChat/Rocket.Chat/pull/11150))
+- Rendering of emails and mentions in messages ([#11165](https://github.com/RocketChat/Rocket.Chat/pull/11165))
+- Livechat icon with status ([#11177](https://github.com/RocketChat/Rocket.Chat/pull/11177))
+- remove sidebar on embedded view ([#11183](https://github.com/RocketChat/Rocket.Chat/pull/11183))
+- Missing language constants ([#11173](https://github.com/RocketChat/Rocket.Chat/pull/11173) by [@rw4lll](https://github.com/rw4lll))
+- Room creation error due absence of subscriptions ([#11178](https://github.com/RocketChat/Rocket.Chat/pull/11178))
+- Remove failed upload messages when switching rooms ([#11132](https://github.com/RocketChat/Rocket.Chat/pull/11132))
+- Wordpress OAuth not providing enough info to log in ([#11152](https://github.com/RocketChat/Rocket.Chat/pull/11152))
+- /groups.invite not allow a user to invite even with permission ([#11010](https://github.com/RocketChat/Rocket.Chat/pull/11010))
+- Various lang fixes [RU] ([#10095](https://github.com/RocketChat/Rocket.Chat/pull/10095) by [@rw4lll](https://github.com/rw4lll))
+- set-toolbar-items postMessage ([#11109](https://github.com/RocketChat/Rocket.Chat/pull/11109))
+- title and value attachments are optionals on sendMessage method ([#11021](https://github.com/RocketChat/Rocket.Chat/pull/11021))
+- Some typos in the error message names ([#11136](https://github.com/RocketChat/Rocket.Chat/pull/11136) by [@vynmera](https://github.com/vynmera))
+- open conversation from room info ([#11050](https://github.com/RocketChat/Rocket.Chat/pull/11050))
+- Users model was not receiving options ([#11129](https://github.com/RocketChat/Rocket.Chat/pull/11129))
+- Popover position ([#11113](https://github.com/RocketChat/Rocket.Chat/pull/11113))
+- Generated random password visible to the user ([#11096](https://github.com/RocketChat/Rocket.Chat/pull/11096))
+- LiveChat appearance changes not being saved ([#11111](https://github.com/RocketChat/Rocket.Chat/pull/11111))
+- Confirm password on set new password user profile ([#11095](https://github.com/RocketChat/Rocket.Chat/pull/11095))
+- Message_AllowedMaxSize fails for emoji sequences ([#10431](https://github.com/RocketChat/Rocket.Chat/pull/10431) by [@c0dzilla](https://github.com/c0dzilla))
+- Can't access the `/account/profile` ([#11089](https://github.com/RocketChat/Rocket.Chat/pull/11089))
+- Idle time limit wasn’t working as expected ([#11084](https://github.com/RocketChat/Rocket.Chat/pull/11084))
+- Rooms list sorting by activity multiple re-renders and case sensitive sorting alphabetically ([#9959](https://github.com/RocketChat/Rocket.Chat/pull/9959) by [@JoseRenan](https://github.com/JoseRenan))
+- Notification not working for group mentions and not respecting ignored users ([#11024](https://github.com/RocketChat/Rocket.Chat/pull/11024))
+- Overlapping of search text and cancel search icon (X) ([#10294](https://github.com/RocketChat/Rocket.Chat/pull/10294) by [@taeven](https://github.com/taeven))
+- Link previews not being removed from messages after removed on editing ([#11063](https://github.com/RocketChat/Rocket.Chat/pull/11063))
+- avoid send presence without login ([#11074](https://github.com/RocketChat/Rocket.Chat/pull/11074))
+- Exception in metrics generation ([#11072](https://github.com/RocketChat/Rocket.Chat/pull/11072))
+- Build for Sandstorm missing dependence for capnp ([#11056](https://github.com/RocketChat/Rocket.Chat/pull/11056) by [@peterlee0127](https://github.com/peterlee0127))
+- flex-tab icons missing ([#11049](https://github.com/RocketChat/Rocket.Chat/pull/11049))
+- Update ja.i18n.json ([#11020](https://github.com/RocketChat/Rocket.Chat/pull/11020) by [@noobbbbb](https://github.com/noobbbbb))
+- Strange msg when setting room announcement, topic or description to be empty ([#11012](https://github.com/RocketChat/Rocket.Chat/pull/11012) by [@vynmera](https://github.com/vynmera))
+- Exception thrown on avatar validation ([#11009](https://github.com/RocketChat/Rocket.Chat/pull/11009))
+- Preview of large images not resizing to fit the area and having scrollbars ([#10998](https://github.com/RocketChat/Rocket.Chat/pull/10998) by [@vynmera](https://github.com/vynmera))
+- Allow inviting livechat managers to the same LiveChat room ([#10956](https://github.com/RocketChat/Rocket.Chat/pull/10956))
+- Cannot read property 'debug' of undefined when trying to use REST API ([#10805](https://github.com/RocketChat/Rocket.Chat/pull/10805) by [@haffla](https://github.com/haffla))
+- Icons svg xml structure ([#10771](https://github.com/RocketChat/Rocket.Chat/pull/10771))
+- Leave room wasn't working as expected ([#10851](https://github.com/RocketChat/Rocket.Chat/pull/10851))
+- Application crashing on startup when trying to log errors to `exceptions` channel ([#10934](https://github.com/RocketChat/Rocket.Chat/pull/10934))
+- Image lazy load was breaking attachments ([#10904](https://github.com/RocketChat/Rocket.Chat/pull/10904))
+- Incomplete email notification link ([#10928](https://github.com/RocketChat/Rocket.Chat/pull/10928))
+- Remove outdated 2FA warning for mobile clients ([#10916](https://github.com/RocketChat/Rocket.Chat/pull/10916))
+- Update Sandstorm build config ([#10867](https://github.com/RocketChat/Rocket.Chat/pull/10867) by [@ocdtrekkie](https://github.com/ocdtrekkie))
+- i18n - add semantic markup ([#9534](https://github.com/RocketChat/Rocket.Chat/pull/9534) by [@brylie](https://github.com/brylie))
+- "blank messages" on iOS < 11 ([#11221](https://github.com/RocketChat/Rocket.Chat/pull/11221))
+- "blank" screen on iOS < 11 ([#11199](https://github.com/RocketChat/Rocket.Chat/pull/11199))
+- The process was freezing in some cases when HTTP calls exceeds timeout on integrations ([#11253](https://github.com/RocketChat/Rocket.Chat/pull/11253))
+- LDAP was accepting login with empty passwords for certain AD configurations ([#11264](https://github.com/RocketChat/Rocket.Chat/pull/11264))
+- Update capnproto dependence for Sandstorm Build ([#11263](https://github.com/RocketChat/Rocket.Chat/pull/11263) by [@peterlee0127](https://github.com/peterlee0127))
+- Internal Server Error on first login with CAS integration ([#11257](https://github.com/RocketChat/Rocket.Chat/pull/11257))
+- Armhf snap build ([#11268](https://github.com/RocketChat/Rocket.Chat/pull/11268))
+- Reaction Toggle was not working when omitting the last parameter from the API (DDP and REST) ([#11276](https://github.com/RocketChat/Rocket.Chat/pull/11276))
+
+🔍 Minor changes
+
+- Merge master into develop & Set version to 0.66.0-develop ([#11277](https://github.com/RocketChat/Rocket.Chat/pull/11277) by [@brylie](https://github.com/brylie) & [@stuartpb](https://github.com/stuartpb))
+- [IMPROVE] Listing of apps in the admin page ([#11166](https://github.com/RocketChat/Rocket.Chat/pull/11166))
+- Regression: Directory css ([#11206](https://github.com/RocketChat/Rocket.Chat/pull/11206))
+- LingoHub based on develop ([#11208](https://github.com/RocketChat/Rocket.Chat/pull/11208))
+- IRC Federation: RFC2813 implementation (ngIRCd) ([#10113](https://github.com/RocketChat/Rocket.Chat/pull/10113) by [@cpitman](https://github.com/cpitman) & [@lindoelio](https://github.com/lindoelio))
+- Add verification to make sure the user exists in REST insert object helper ([#11008](https://github.com/RocketChat/Rocket.Chat/pull/11008))
+- Regression: Directory user table infinite scroll doesn't working ([#11200](https://github.com/RocketChat/Rocket.Chat/pull/11200))
+- [IMPROVE] UI design for Tables and tabs component on Directory ([#11026](https://github.com/RocketChat/Rocket.Chat/pull/11026))
+- [FIX Readme] Nodejs + Python version spicifications ([#11181](https://github.com/RocketChat/Rocket.Chat/pull/11181) by [@mahdiyari](https://github.com/mahdiyari))
+- Regression: sorting direct message by asc on favorites group ([#11090](https://github.com/RocketChat/Rocket.Chat/pull/11090))
+- [IMPROVE] User mentions ([#11001](https://github.com/RocketChat/Rocket.Chat/pull/11001) by [@vynmera](https://github.com/vynmera))
+- Fix PR Docker image creation by splitting in two build jobs ([#11107](https://github.com/RocketChat/Rocket.Chat/pull/11107))
+- Update v126.js ([#11103](https://github.com/RocketChat/Rocket.Chat/pull/11103))
+- Speed up the build time by removing JSON Minify from i18n package ([#11097](https://github.com/RocketChat/Rocket.Chat/pull/11097))
+- Fix Docker image for develop commits ([#11093](https://github.com/RocketChat/Rocket.Chat/pull/11093))
+- Build Docker image on CI ([#11076](https://github.com/RocketChat/Rocket.Chat/pull/11076))
+- Update issue templates ([#11070](https://github.com/RocketChat/Rocket.Chat/pull/11070))
+- LingoHub based on develop ([#11062](https://github.com/RocketChat/Rocket.Chat/pull/11062))
+- LingoHub based on develop ([#11054](https://github.com/RocketChat/Rocket.Chat/pull/11054))
+- LingoHub based on develop ([#11053](https://github.com/RocketChat/Rocket.Chat/pull/11053))
+- LingoHub based on develop ([#11051](https://github.com/RocketChat/Rocket.Chat/pull/11051))
+- LingoHub based on develop ([#11045](https://github.com/RocketChat/Rocket.Chat/pull/11045))
+- LingoHub based on develop ([#11044](https://github.com/RocketChat/Rocket.Chat/pull/11044))
+- LingoHub based on develop ([#11043](https://github.com/RocketChat/Rocket.Chat/pull/11043))
+- LingoHub based on develop ([#11042](https://github.com/RocketChat/Rocket.Chat/pull/11042))
+- Changed 'confirm password' placeholder text on user registration form ([#9969](https://github.com/RocketChat/Rocket.Chat/pull/9969) by [@kumarnitj](https://github.com/kumarnitj))
+- LingoHub based on develop ([#11039](https://github.com/RocketChat/Rocket.Chat/pull/11039))
+- LingoHub based on develop ([#11035](https://github.com/RocketChat/Rocket.Chat/pull/11035))
+- Update Documentation: README.md ([#10207](https://github.com/RocketChat/Rocket.Chat/pull/10207) by [@rakhi2104](https://github.com/rakhi2104))
+- NPM Dependencies Update ([#10913](https://github.com/RocketChat/Rocket.Chat/pull/10913))
+- update meteor to 1.6.1 for sandstorm build ([#10131](https://github.com/RocketChat/Rocket.Chat/pull/10131) by [@peterlee0127](https://github.com/peterlee0127))
+- Renaming username.username to username.value for clarity ([#10986](https://github.com/RocketChat/Rocket.Chat/pull/10986))
+- Fix readme typo ([#5](https://github.com/RocketChat/Rocket.Chat/pull/5))
+- Remove wrong and not needed time unit ([#10807](https://github.com/RocketChat/Rocket.Chat/pull/10807) by [@cliffparnitzky](https://github.com/cliffparnitzky))
+- Develop sync commits ([#10909](https://github.com/RocketChat/Rocket.Chat/pull/10909) by [@nsuchy](https://github.com/nsuchy))
+- Develop sync2 ([#10908](https://github.com/RocketChat/Rocket.Chat/pull/10908) by [@nsuchy](https://github.com/nsuchy))
+- Merge master into develop & Set version to 0.66.0-develop ([#10903](https://github.com/RocketChat/Rocket.Chat/pull/10903) by [@nsuchy](https://github.com/nsuchy))
+- Regression: Fix directory table loading ([#11223](https://github.com/RocketChat/Rocket.Chat/pull/11223))
+- Regression: Fix latest and release-candidate docker images building ([#11215](https://github.com/RocketChat/Rocket.Chat/pull/11215))
+- Regression: check username or usersCount on browseChannels ([#11216](https://github.com/RocketChat/Rocket.Chat/pull/11216))
+- Regression: Sending message with a mention is not showing to sender ([#11211](https://github.com/RocketChat/Rocket.Chat/pull/11211))
+- Regression: Prometheus was not being enabled in some cases ([#11249](https://github.com/RocketChat/Rocket.Chat/pull/11249))
+- Regression: Skip operations if no actions on livechat migration ([#11232](https://github.com/RocketChat/Rocket.Chat/pull/11232))
+- Regression: Directory sort users, fix null results, text for empty results ([#11224](https://github.com/RocketChat/Rocket.Chat/pull/11224))
+- LingoHub based on develop ([#11246](https://github.com/RocketChat/Rocket.Chat/pull/11246))
+- Update Meteor to 1.6.1.3 ([#11247](https://github.com/RocketChat/Rocket.Chat/pull/11247))
+- New history source format & add Node and NPM versions ([#11237](https://github.com/RocketChat/Rocket.Chat/pull/11237))
+- Add Dockerfile with MongoDB ([#10971](https://github.com/RocketChat/Rocket.Chat/pull/10971))
+- Regression: sidebar sorting was being wrong in some cases where the rooms records were returned before the subscriptions ([#11273](https://github.com/RocketChat/Rocket.Chat/pull/11273))
+- Fix Docker image build on tags ([#11271](https://github.com/RocketChat/Rocket.Chat/pull/11271))
+
+