Skip to content

Commit 4a3fbe8

Browse files
authored
Merge branch 'develop' into dont-ask-me-again
2 parents a4084f3 + fc88f48 commit 4a3fbe8

File tree

241 files changed

+39586
-17194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+39586
-17194
lines changed

.circleci/config.yml

+87-2
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,12 @@ jobs:
152152
- run:
153153
name: Install dependencies
154154
command: |
155+
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
155156
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
157+
echo "deb [ arch=amd64 ] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google.list
156158
echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
157159
sudo apt-get update
158-
sudo apt-get install -y mongodb-org-shell
160+
sudo apt-get install -y mongodb-org-shell google-chrome-stable
159161
160162
- run:
161163
name: Configure Replica Set
@@ -192,6 +194,14 @@ jobs:
192194

193195
- checkout
194196

197+
- run:
198+
name: Install dependencies
199+
command: |
200+
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
201+
echo "deb [ arch=amd64 ] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google.list
202+
sudo apt-get update
203+
sudo apt-get install -y google-chrome-stable
204+
195205
- run:
196206
name: NPM install
197207
command: |
@@ -245,10 +255,60 @@ jobs:
245255
aws s3 cp $ROCKET_DEPLOY_DIR/ s3://download.rocket.chat/build/ --recursive
246256
247257
bash .circleci/update-releases.sh
248-
bash .circleci/docker.sh
249258
bash .circleci/snap.sh
250259
bash .circleci/redhat-registry.sh
251260
261+
image-build:
262+
<<: *defaults
263+
264+
docker:
265+
- image: docker:17.05.0-ce-git
266+
267+
steps:
268+
- attach_workspace:
269+
at: /tmp
270+
271+
- checkout
272+
273+
- setup_remote_docker
274+
275+
- run:
276+
name: Build Docker image
277+
command: |
278+
cd /tmp/build
279+
cp ~/repo/.docker/Dockerfile .
280+
tar xzf Rocket.Chat.tar.gz
281+
rm Rocket.Chat.tar.gz
282+
283+
export CIRCLE_TAG=${CIRCLE_TAG:=}
284+
export CIRCLE_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}"
285+
286+
docker login -u $DOCKER_USER -p $DOCKER_PASS
287+
288+
if [[ $CIRCLE_TAG ]]; then
289+
docker build -t rocketchat/rocket.chat:latest .
290+
docker push rocketchat/rocket.chat:latest
291+
292+
docker tag rocketchat/rocket.chat:latest rocketchat/rocket.chat:$CIRCLE_TAG
293+
docker push rocketchat/rocket.chat:$CIRCLE_TAG
294+
295+
exit 0
296+
fi;
297+
298+
if [[ $CIRCLE_PR_NUMBER ]]; then
299+
docker build -t rocketchat/rocket.chat:pr-$CIRCLE_PR_NUMBER .
300+
docker push rocketchat/rocket.chat:pr-$CIRCLE_PR_NUMBER
301+
302+
exit 0
303+
fi;
304+
305+
if [[ $CIRCLE_BRANCH == 'develop' ]]; then
306+
docker build -t rocketchat/rocket.chat:develop .
307+
docker push rocketchat/rocket.chat:develop
308+
309+
exit 0
310+
fi;
311+
252312
workflows:
253313
version: 2
254314
build-and-test:
@@ -278,4 +338,29 @@ workflows:
278338
only: develop
279339
tags:
280340
only: /^[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$/
341+
- image-build:
342+
requires:
343+
- deploy
344+
filters:
345+
branches:
346+
only: develop
347+
tags:
348+
only: /^[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$/
349+
- hold:
350+
type: approval
351+
requires:
352+
- build
353+
filters:
354+
branches:
355+
ignore: develop
356+
tags:
357+
only: /^[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$/
358+
- pr-image-build:
359+
requires:
360+
- hold
361+
filters:
362+
branches:
363+
ignore: develop
364+
tags:
365+
only: /^[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$/
281366

.circleci/setartname.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ elif [[ $CIRCLE_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
1515
else
1616
SNAP_CHANNEL=edge
1717
RC_RELEASE=develop
18-
RC_VERSION=0.60.0-develop
18+
RC_VERSION=0.66.0-develop
1919
fi
2020

2121
export SNAP_CHANNEL

.docker/Dockerfile

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
FROM rocketchat/base:8
22

3-
ENV RC_VERSION 0.66.0-develop
3+
ADD . /app
44

55
MAINTAINER buildmaster@rocket.chat
66

77
RUN set -x \
8-
&& curl -SLf "https://releases.rocket.chat/${RC_VERSION}/download/" -o rocket.chat.tgz \
9-
&& curl -SLf "https://releases.rocket.chat/${RC_VERSION}/asc" -o rocket.chat.tgz.asc \
10-
&& gpg --verify rocket.chat.tgz.asc \
11-
&& mkdir -p /app \
12-
&& tar -zxf rocket.chat.tgz -C /app \
13-
&& rm rocket.chat.tgz rocket.chat.tgz.asc \
148
&& cd /app/bundle/programs/server \
159
&& npm install \
1610
&& npm cache clear --force \

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ packages/rocketchat-ui/client/lib/recorderjs/recorder.js
1515
packages/rocketchat-ui/client/lib/textarea-autogrow.js
1616
packages/rocketchat-videobridge/client/public/external_api.js
1717
packages/rocketchat-theme/client/vendor/
18+
packages/tap-i18n/lib/tap_i18next/tap_i18next-1.7.3.js
1819
private/moment-locales/
1920
public/livechat/
2021
public/mp3-realtime-worker.js
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
17
<!--
28
39
Please see our guide for opening issues: https://rocket.chat/docs/contributing/reporting-issues
@@ -10,22 +16,12 @@ If you are experiencing a bug please search our issues to be sure it is not alre
1016

1117
### Description:
1218

13-
<!-- Description of the issue -->
14-
15-
### Server Setup Information:
16-
17-
* Version of Rocket.Chat Server:
18-
* Operating System:
19-
* Deployment Method(snap/docker/tar/etc):
20-
* Number of Running Instances:
21-
* DB Replicaset Oplog:
22-
* Node Version:
23-
* mongoDB Version:
19+
<!-- A clear and concise description of what the bug is. -->
2420

25-
### Steps to Reproduce:
21+
### Steps to reproduce:
2622

27-
1. <!-- First Step -->
28-
2. <!-- Second Step -->
23+
1. <!-- Go to '...' -->
24+
2. <!-- Click on '....' -->
2925
3. <!-- and so on... -->
3026

3127
### Expected behavior:
@@ -34,8 +30,23 @@ If you are experiencing a bug please search our issues to be sure it is not alre
3430

3531
### Actual behavior:
3632

37-
<!-- What actually happens -->
33+
<!-- What actually happens with SCREENSHOT, if applicable -->
34+
35+
### Server Setup Information:
36+
37+
- Version of Rocket.Chat Server:
38+
- Operating System:
39+
- Deployment Method: <!-- snap/docker/tar/etc -->
40+
- Number of Running Instances:
41+
- DB Replicaset Oplog:
42+
- NodeJS Version:
43+
- MongoDB Version:
44+
45+
### Additional context
46+
47+
<!-- Add any other context about the problem here. -->
3848

3949
### Relevant logs:
40-
<!-- Logs from both server and browser -->
50+
51+
<!-- Logs from both SERVER and BROWSER -->
4152
<!-- For more information about collecting logs please see: https://rocket.chat/docs/contributing/reporting-issues#gathering-logs -->

.github/ISSUE_TEMPLATE/custom.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Custom issue template
3+
about: Describe this issue template's purpose here.
4+
5+
---
6+
7+
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

.github/issue-templates/release.md .github/ISSUE_TEMPLATE/release.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
name: Release
3+
about: Internal release checklist template
4+
5+
---
6+
17
# Release {version}
28
We are releasing a new version, this issue will keep track of the progress between the first release candidate (20th of each month) to the final release (27th of each month).
39

.github/history.json

+48
Original file line numberDiff line numberDiff line change
@@ -14697,5 +14697,53 @@
1469714697
"geekgonecrazy"
1469814698
]
1469914699
}
14700+
],
14701+
"0.65.1": [
14702+
{
14703+
"pr": "10940",
14704+
"title": "[FIX] Livechat not loading",
14705+
"userLogin": "sampaiodiego",
14706+
"milestone": "0.65.1",
14707+
"contributors": [
14708+
"sampaiodiego",
14709+
"rodrigok"
14710+
]
14711+
},
14712+
{
14713+
"pr": "10934",
14714+
"title": "[FIX] Application crashing on startup when trying to log errors to `exceptions` channel",
14715+
"userLogin": "sampaiodiego",
14716+
"milestone": "0.65.1",
14717+
"contributors": [
14718+
"sampaiodiego"
14719+
]
14720+
},
14721+
{
14722+
"pr": "10928",
14723+
"title": "[FIX] Incomplete email notification link",
14724+
"userLogin": "sampaiodiego",
14725+
"milestone": "0.65.1",
14726+
"contributors": [
14727+
"sampaiodiego"
14728+
]
14729+
},
14730+
{
14731+
"pr": "10904",
14732+
"title": "[FIX] Image lazy load was breaking attachments",
14733+
"userLogin": "ggazzo",
14734+
"milestone": "0.65.1",
14735+
"contributors": [
14736+
"ggazzo"
14737+
]
14738+
},
14739+
{
14740+
"pr": "10851",
14741+
"title": "[FIX] Leave room wasn't working as expected",
14742+
"userLogin": "ggazzo",
14743+
"milestone": "0.65.1",
14744+
"contributors": [
14745+
"ggazzo"
14746+
]
14747+
}
1470014748
]
1470114749
}

.meteor/packages

+2
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ rocketchat:slashcommands-archive
118118
rocketchat:slashcommands-asciiarts
119119
rocketchat:slashcommands-create
120120
rocketchat:slashcommands-help
121+
rocketchat:slashcommands-hide
121122
rocketchat:slashcommands-invite
122123
rocketchat:slashcommands-invite-all
123124
rocketchat:slashcommands-join
@@ -191,3 +192,4 @@ rocketchat:version-check
191192
rocketchat:search
192193
chatpal:search
193194
rocketchat:lazy-load
195+
tap:i18n

.meteor/versions

+6-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ blaze@2.3.2
1717
blaze-html-templates@1.1.2
1818
blaze-tools@1.0.10
1919
boilerplate-generator@1.4.0
20-
caching-compiler@1.1.11
20+
caching-compiler@1.1.12
2121
caching-html-compiler@1.1.2
2222
callback-hook@1.1.0
2323
cfs:http-methods@0.0.32
@@ -70,7 +70,7 @@ konecty:change-case@2.3.0
7070
konecty:delayed-task@1.0.0
7171
konecty:mongo-counter@0.0.5_3
7272
konecty:multiple-instances-status@1.1.0
73-
konecty:user-presence@2.0.1
73+
konecty:user-presence@2.1.0
7474
launch-screen@1.1.1
7575
less@2.7.12
7676
livedata@1.0.18
@@ -85,7 +85,7 @@ meteorhacks:inject-initial@1.0.4
8585
meteorhacks:meteorx@1.4.1
8686
meteorspark:util@0.2.0
8787
minifier-css@1.3.1
88-
minifier-js@2.3.4
88+
minifier-js@2.3.5
8989
minimongo@1.4.4
9090
mizzao:autocomplete@0.5.1
9191
mizzao:timesync@0.3.4
@@ -209,6 +209,7 @@ rocketchat:slashcommands-archive@0.0.1
209209
rocketchat:slashcommands-asciiarts@0.0.1
210210
rocketchat:slashcommands-create@0.0.1
211211
rocketchat:slashcommands-help@0.0.1
212+
rocketchat:slashcommands-hide@0.0.1
212213
rocketchat:slashcommands-invite@0.0.1
213214
rocketchat:slashcommands-invite-all@0.0.1
214215
rocketchat:slashcommands-join@0.0.1
@@ -246,7 +247,7 @@ rocketchat:videobridge@0.2.0
246247
rocketchat:webrtc@0.0.1
247248
rocketchat:wordpress@0.0.1
248249
routepolicy@1.0.13
249-
server-render@0.3.0
250+
server-render@0.3.1
250251
service-configuration@1.0.11
251252
session@1.1.7
252253
sha@1.0.9
@@ -257,7 +258,7 @@ socket-stream-client@0.1.0
257258
spacebars@1.0.15
258259
spacebars-compiler@1.1.3
259260
srp@1.0.10
260-
standard-minifier-js@2.3.3
261+
standard-minifier-js@2.3.4
261262
steffo:meteor-accounts-saml@0.0.1
262263
swydo:graphql@0.0.3
263264
tap:i18n@1.8.2

.sandstorm/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -euvo pipefail
55
# Make meteor bundle
66
sudo chown vagrant:vagrant /home/vagrant -R
77
cd /opt/app
8+
meteor npm install capnp
89
meteor npm install
910
meteor build --directory /home/vagrant/
1011

0 commit comments

Comments
 (0)