Skip to content

Commit

Permalink
Merge branch 'goalify'
Browse files Browse the repository at this point in the history
* goalify: (42 commits)
  Add Reload as global object
  update setup script domain to subdomain to setup S3 bucket
  [OTHER] Post to redhat registries api when tagging new release (RocketChat#10414)
  add setting Goalify API Gateway and Goalify API Token
  update initialSetting script to seed 1 time only
  Fix and improve vietnamese translation (RocketChat#10397)
  Don't expose the 'settings' property on users to regular users via the rest api (RocketChat#10411)
  [FIX] Updated OpenShift Template to take an Image as a Param (RocketChat#9946)
  Use Node 8.9 for CI build
  Fix incoming integrations being able to trigger a new message with a GET if there is no script enabled (RocketChat#9576)
  Update allowed labels by the rocket.cat gh bot (RocketChat#10360)
  [FIX] Snaps installations are breaking on avatar requests
  Update PULL_REQUEST_TEMPLATE.md
  Bump version to 0.64.0-develop
  Bump version to 0.63.1
  update dev apn key and cert
  Lower cased the first letter and removed unnecessary minus
  Fix: Incorrect French language usage for Disabled
  snap revert to 8.9.4
  Update saml_utils.js
  ...
  • Loading branch information
trongthanh committed Apr 16, 2018
2 parents 22d3926 + 86f24fd commit b476d9a
Show file tree
Hide file tree
Showing 31 changed files with 745 additions and 518 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
<<: *defaults
docker:
- image: circleci/node:8
- image: circleci/node:8.9

steps:
- checkout
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
test-with-oplog:
<<: *defaults
docker:
- image: circleci/node:8-browsers
- image: circleci/node:8.9-browsers
- image: mongo:3.4
command: [mongod, --nojournal, --noprealloc, --smallfiles, --replSet=rs0]

Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
test-without-oplog:
<<: *defaults
docker:
- image: circleci/node:8-browsers
- image: circleci/node:8.9-browsers
- image: circleci/mongo:3.4

environment:
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
deploy:
<<: *defaults
docker:
- image: circleci/node:4.8
- image: circleci/node:8.9

steps:
- attach_workspace:
Expand Down Expand Up @@ -247,6 +247,7 @@ jobs:
bash .circleci/update-releases.sh
bash .circleci/docker.sh
bash .circleci/snap.sh
bash .circleci/redhat-registry.sh
workflows:
version: 2
Expand Down
12 changes: 12 additions & 0 deletions .circleci/redhat-registry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -euvo pipefail
IFS=$'\n\t'

if [[ $CIRCLE_TAG ]]; then
curl -X POST \
https://connect.redhat.com/api/v2/projects/$REDHAT_REGISTRY_PID/build \
-H "Authorization: Bearer $REDHAT_REGISTRY_KEY" \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-d '{"tag":"'$CIRCLE_TAG'"}'
fi
2 changes: 1 addition & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM rocketchat/base:8

ENV RC_VERSION 0.63.0-develop
ENV RC_VERSION 0.64.0-develop

MAINTAINER buildmaster@rocket.chat

Expand Down
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
"Promise" : false,
"Random" : false,
"ReactiveVar" : false,
"Reload" : false,
"RocketChat" : true,
"RocketChatFile" : false,
"RoomHistoryManager" : false,
Expand Down
3 changes: 0 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
<!-- [FIX] For bug fixes -->
<!-- [BREAK] For pull requests including breaking changes -->

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/core

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes #ISSUE_NUMBER

Expand Down
7 changes: 6 additions & 1 deletion .github/bot-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ whitelist:
- theorenck
- JSzaszvari
labels:
- "Contributions: welcome"
- "Contributions: only core team"
- "Feature: Request"
- "Feature: Planned"
- "type: bug"
- "help wanted"
- duplicate
- enhancement
- "help wanted"
- invalid
- question
- wontfix
82 changes: 81 additions & 1 deletion .github/history.json
Original file line number Diff line number Diff line change
Expand Up @@ -12107,7 +12107,36 @@
]
}
],
"HEAD": [
"HEAD": [],
"0.63.0": [
{
"pr": "10303",
"title": "[FIX] Audio Message UI fixes",
"userLogin": "kb0304",
"contributors": [
"kb0304",
"ggazzo",
"web-flow"
]
},
{
"pr": "10319",
"title": "[NEW] Improve history generation",
"userLogin": "rodrigok",
"milestone": "0.63.0",
"contributors": [
"rodrigok"
]
},
{
"pr": "10323",
"title": "Fix: Reaction endpoint/api only working with regular emojis",
"userLogin": "graywolf336",
"milestone": "0.63.0",
"contributors": [
"graywolf336"
]
},
{
"pr": "10313",
"title": "Bump snap version to include security fix",
Expand All @@ -12127,5 +12156,56 @@
"rodrigok"
]
}
],
"0.63.1": [
{
"pr": "10348",
"title": "[FIX] Change deprecated Meteor._reload.reload method in favor of Reload._reload",
"userLogin": "tttt-conan",
"milestone": "0.63.1",
"contributors": [
"tttt-conan"
]
},
{
"pr": "10351",
"title": "[FIX] Snaps crashing due to Node v8.11.1 Segfault",
"userLogin": "geekgonecrazy",
"milestone": "0.63.1",
"contributors": [
"geekgonecrazy",
"web-flow"
]
},
{
"pr": "10084",
"title": "[FIX] Add '.value' in the SAML package to fix TypeErrors on SAML token validation",
"userLogin": "TechyPeople",
"milestone": "0.63.1",
"contributors": [
"TechyPeople",
"web-flow",
"rodrigok"
]
},
{
"pr": "10356",
"title": "[FIX] Incorrect german translation of user online status",
"userLogin": "kaiiiiiiiii",
"milestone": "0.63.1",
"contributors": [
"kaiiiiiiiii"
]
},
{
"pr": "10355",
"title": "[FIX] Incorrect French language usage for Disabled",
"userLogin": "graywolf336",
"milestone": "0.63.1",
"contributors": [
"graywolf336",
"web-flow"
]
}
]
}
59 changes: 59 additions & 0 deletions .github/issue-templates/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Release {version}
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).

After the 20th of each month we start the release process that ends 7 days after, during that period we enter a Feature Freeze. While in the Feature Freeze, we will only be merging bug fixes and not new features.

For any regression, open a new issue and link to this one.


## Before Release - Preparation - 1 business day before the day 20th
- [x] Create the issue to track the release progress
- [ ] Define the highlights from release PRs as suggestion to be included on Blog Post
- [ ] Talk to the Marketing Team about the Blog Post release
- [ ] Talk to the Documentation Team about the Docs release
- [ ] Sync translations from [LingoHub](https://translate.lingohub.com/rocketchat/rocket-dot-chat/dashboard)

## Release Candidate 1 - On the 20th
- [ ] Delete branch `release-candidate`
- [ ] Create branch `release-candidate` based on `develop`
- [ ] On branch `release-candidate` run `npm run release` and follow the steps
- [ ] Publish the branch and the generated tag
- [ ] Edit the tag on GitHub and paste the generated History removing the version from the first line and mark the checkbox **This is a pre-release**
- [ ] Ensure the build is passing on CircleCI
- [ ] Ensure the build is passing on Docker Hub

<!-- Copy following block for next release candidates
## Release Candidate {release-candidate-version}
- [ ] Merge `develop` into `release-candidate` branch
- [ ] On branch `release-candidate` run `npm run release` and follow the steps
- [ ] Publish the branch and the generated tag
- [ ] Edit the tag on GitHub and paste the generated History removing the version from the first line and mark the checkbox **This is a pre-release**
- [ ] Ensure the build is passing on CircleCI
- [ ] Ensure the build is passing on Docker Hub
-->

## Final Release - On the 27th
- [ ] Merge `develop` into `release-candidate` branch
- [ ] Create a new branch `release-{version}` based on `release-candidate`
- [ ] On branch `release-{version}` run `npm run release` and follow the steps **TODO: fix the history**
- [ ] Publish only the branch
- [ ] **Draft a new release** on GitHub
- [ ] Enter tag version as {version}
- [ ] Select target **master**
- [ ] Enter release title as {version}
- [ ] Paste the history removing the version from the first line
- [ ] Save as **draft**
- [ ] Create a PR from the branch `release-{version}` with the same history from the tag/release
- [ ] Ensure the build is passing on CircleCI
- [ ] Ensure the build is passing on Docker Hub
- [ ] When build is passing ask for approval
- [ ] When approved merge it!
- [ ] When merged edit the release/tag and publish it

## After Release - Conclusion - 1 business day after the 27th
- [ ] Check if related issues was closed
- [ ] Check if related issues was assigned to the correct milestone
- [ ] Check with the Marketing Team about the Blog Post release
- [ ] Check with the Documentation Team about the Docs release
- [ ] Create a Sync PR to merge back master to develop
- [ ] Merge Sync PR
11 changes: 9 additions & 2 deletions .openshift/rocket-chat-ephemeral.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"name": "rocketchat"
},
"spec": {
"dockerImageRepository": "registry.connect.redhat.com/rocketchat/rocketchat",
"dockerImageRepository": "${ROCKETCHAT_IMAGE}",
"tags": [
{
"name": "latest",
Expand Down Expand Up @@ -241,7 +241,7 @@
"containers": [
{
"name": "rocketchat",
"image": "registry.connect.redhat.com/rocketchat/rocketchat:latest",
"image": "${ROCKETCHAT_IMAGE}:latest",
"ports": [
{
"containerPort": 3000,
Expand Down Expand Up @@ -424,6 +424,13 @@
"value": "rocketchatdb",
"required": true
},
{
"name": "ROCKETCHAT_IMAGE",
"displayName": "RocketChat Image",
"description": "The RocketChat image to use for this deployment",
"required": true,
"value": "rocketchat/rocket.chat"
},
{
"name": "MONGODB_ADMIN_PASSWORD",
"displayName": "MongoDB Admin Password",
Expand Down
11 changes: 9 additions & 2 deletions .openshift/rocket-chat-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"name": "rocketchat"
},
"spec": {
"dockerImageRepository": "registry.connect.redhat.com/rocketchat/rocketchat",
"dockerImageRepository": "${ROCKETCHAT_IMAGE}",
"tags": [
{
"name": "latest",
Expand Down Expand Up @@ -261,7 +261,7 @@
"containers": [
{
"name": "rocketchat",
"image": "registry.connect.redhat.com/rocketchat/rocketchat:latest",
"image": "${ROCKETCHAT_IMAGE}:latest",
"ports": [
{
"containerPort": 3000,
Expand Down Expand Up @@ -452,6 +452,13 @@
"from": "[a-zA-Z0-9]{16}",
"required": true
},
{
"name": "ROCKETCHAT_IMAGE",
"displayName": "RocketChat Image",
"description": "The RocketChat image to use for this deployment",
"required": true,
"value": "rocketchat/rocket.chat"
},
{
"name": "VOLUME_CAPACITY",
"displayName": "Volume Capacity",
Expand Down
2 changes: 1 addition & 1 deletion .sandstorm/sandstorm-pkgdef.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const pkgdef :Spk.PackageDefinition = (

appVersion = 62, # Increment this for every release.

appMarketingVersion = (defaultText = "0.63.0-develop"),
appMarketingVersion = (defaultText = "0.64.0-develop"),
# Human-readable representation of appVersion. Should match the way you
# identify versions of your app in documentation and marketing.

Expand Down
6 changes: 3 additions & 3 deletions .snapcraft/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apps:
rocketchat-server:
command: startRocketChat
daemon: simple
plugs: [network, network-bind]
plugs: [network, network-bind, desktop]
rocketchat-mongo:
command: startmongo
daemon: simple
Expand All @@ -38,8 +38,8 @@ apps:
command: env LC_ALL=c initcaddy
parts:
node:
plugin: nodejs
node-engine: 8.11.1
plugin: dump
prepare: wget https://nodejs.org/dist/v8.9.4/node-v8.9.4-linux-x64.tar.xz; tar xvf node-v8.9.4-linux-x64.tar.xz --strip 1;
build-packages:
# For fibers
- python
Expand Down
2 changes: 1 addition & 1 deletion .travis/snap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ elif [[ $TRAVIS_TAG ]]; then
RC_VERSION=$TRAVIS_TAG
else
CHANNEL=edge
RC_VERSION=0.63.0-develop
RC_VERSION=0.64.0-develop
fi

echo "Preparing to trigger a snap release for $CHANNEL channel"
Expand Down
Loading

0 comments on commit b476d9a

Please sign in to comment.