Skip to content

Commit

Permalink
Release 1.0.3 (#14446)
Browse files Browse the repository at this point in the history
* [FIX] New day separator overlapping above system message (#14362)

* Improve German translations (#14351)

* Use the plural for discussions-section in side panel

* Formal and informal translations for 1.0

* fix german typos

* [FIX] Main thread title on replies (#14372)

* fix

* fix test

* fix setting

* Update tests/pageobjects/main-content.page.js

Co-Authored-By: ggazzo <guilhermegazzo@gmail.com>

* Update app/ui-utils/client/lib/RoomHistoryManager.js

Co-Authored-By: ggazzo <guilhermegazzo@gmail.com>

* [FIX] Bell was too small on threads (#14394)

* [FIX] Messages on threads disappearing (#14393)

* fix subscription-changed updating all messages(#14391)

* Fix: Message body was not being updated when user disabled nrr message (#14390)

* [NEW] Allow change Discussion's properties (#14389)

* [FIX] Unnecessary meteor.defer on openRoom (#14396)

* [FIX] more message actions to threads context(follow, unfollow, copy, delete) (#14387)

* added more message actions to threads context

* more actions

* change token name (#14379)

* [FIX] Pressing Enter in User Search field at channel causes reload (#14388)

* Prevent default on enter in User search

* Prevent form submission in membersList

* If using subpath make sure streams use that also for multi-instance.  Fixes #13200 (#14376)

* Revert "[IMPROVE] Use SessionId for credential token in SAML request (#13791)" (#14345)

This reverts commit 3967a74.

* Add fallback to mongo version that doesn't require clusterMonitor role (#14403)

* [FIX] Users actions in administration were returning error (#14400)

* Fix actions collapse into popup in userInfo

* Refactor userActions

* [FIX] Error 400 on send a reply to an old thread (#14402)

* fix error 400 on send a reply to an old thread

* ignoring properly hidden messages

* [FIX] Messages on thread panel were receiving wrong context/subscription  (#14404)

* [FIX] preview pdf its not working (#14419)

* [FIX] renderMessageBody was caching messages in wrong scenarios #14420

* LingoHub Update 🚀 (#14426)

Manual push by LingoHub User: Diego Sampaio.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [FIX] Mentions message missing 'jump to message' action (#14430)

* fixed context

* threads context

* [FIX] Escape unrecognized slash command message (#14432)

* Add missing german translations (#14386)

* [FIX] IE11 support (#14422)

* Add symlinks to ES6 node_modules imports

* Add URL polyfill for IE11

* Fix thread replies for IE11

* [IMPROVE] allow users to skip activeUsers to be ready (#14431)

* allow users to skip activeUsers to be ready

* Update main.js

* Update app/ui-master/client/main.js

Co-Authored-By: ggazzo <guilhermegazzo@gmail.com>

* [IMPROVE] Don't use regex to find users (#14397)

* Don't use regex to find users

* Invert logic on model methods

* Escape username regex

* Find users in batch

* Use only normalizeMessagesForUser

* Don't ignore username case to get owners on graphql

* Fixes on DAU and MAU aggregations (#14418)

* Fixes on SAU and MAU aggregations

* Report new data from DAU/MAU

* Run tests agains a mongodb container in CI

* Try to run CI correctly

* Fix drop database

* Parse desktop app User Agent correctly

* Fix aggregation of past sessions

* Return past month today

* Fix bug

* Add migration

* Fixed migration

* Migration improvements

* Fix crowd sync by using correct logging method (#14405)

* Fix room names in user info dialogs (#14415)

* Fix discussion name being invalid (#14442)

Closes #14378

* Fix i18n files keys sort (#14433)

* Add script to normalize i18n files

* Fix i18n files

* Set as official script

* Update package-lock.json

* fix (#14443)

* Update threads.css

* Bump version to 1.0.3

* regen changelog
  • Loading branch information
rodrigok authored May 10, 2019
1 parent abf67ce commit f19473c
Show file tree
Hide file tree
Showing 218 changed files with 4,045 additions and 1,811 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
<<: *defaults
docker:
- image: circleci/node:8.11-stretch
- image: mongo:3.2

steps:
- checkout
Expand Down Expand Up @@ -129,7 +130,7 @@ jobs:
- run:
name: Unit Test
command: |
meteor npm run testunit
MONGO_URL=mongodb://localhost:27017 meteor npm run testunit
- restore_cache:
keys:
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile.rhel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM registry.access.redhat.com/rhscl/nodejs-8-rhel7

ENV RC_VERSION 1.0.2
ENV RC_VERSION 1.0.3

MAINTAINER buildmaster@rocket.chat

Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ public/livechat/
!.scripts
!packages/rocketchat-livechat/.app
public/pdf.worker.min.js
imports/client/
308 changes: 304 additions & 4 deletions .github/history.json
Original file line number Diff line number Diff line change
Expand Up @@ -15362,9 +15362,6 @@
}
]
},
"HEAD": {
"pull_requests": []
},
"0.66.0-rc.0": {
"node_version": "8.11.1",
"npm_version": "5.6.0",
Expand Down Expand Up @@ -30124,6 +30121,309 @@
]
}
]
},
"1.0.3": {
"node_version": "8.11.4",
"npm_version": "6.4.1",
"mongo_versions": [
"3.2",
"3.4",
"3.6",
"4.0"
],
"pull_requests": [
{
"pr": "14443",
"title": "[FIX] Channel Leader Bar is in the way of Thread Header ",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14433",
"title": "Fix i18n files keys sort",
"userLogin": "sampaiodiego",
"milestone": "1.0.3",
"contributors": [
"sampaiodiego",
"web-flow"
]
},
{
"pr": "14442",
"title": "[FIX] Discussion name being invalid",
"userLogin": "sampaiodiego",
"milestone": "1.0.3",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "14415",
"title": "[FIX] Room name was undefined in some info dialogs",
"userLogin": "MarcosSpessatto",
"milestone": "1.0.3",
"contributors": [
"MarcosSpessatto"
]
},
{
"pr": "14405",
"title": "[FIX] Exception on crowd sync due to a wrong logging method",
"userLogin": "rodrigok",
"milestone": "1.0.3",
"contributors": [
"rodrigok"
]
},
{
"pr": "14418",
"title": "Fixes on DAU and MAU aggregations",
"userLogin": "rodrigok",
"milestone": "1.0.3",
"contributors": [
"rodrigok",
"web-flow"
]
},
{
"pr": "14397",
"title": "[IMPROVE] Don't use regex to find users",
"userLogin": "sampaiodiego",
"milestone": "1.0.3",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "14431",
"title": "[IMPROVE] Added flag `skipActiveUsersToBeReady` to not wait the load of `active users` to present the Web interface",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo",
"web-flow",
"tassoevan"
]
},
{
"pr": "14422",
"title": "[FIX] IE11 support",
"userLogin": "tassoevan",
"milestone": "1.0.3",
"contributors": [
"tassoevan",
"web-flow"
]
},
{
"pr": "14386",
"title": "Add missing german translations",
"userLogin": "mrsimpson",
"milestone": "1.0.3",
"contributors": [
"mrsimpson",
"sampaiodiego",
"web-flow"
]
},
{
"pr": "14432",
"title": "[FIX] Escape unrecognized slash command message",
"userLogin": "tassoevan",
"milestone": "1.0.3",
"contributors": [
"tassoevan"
]
},
{
"pr": "14430",
"title": "[FIX] Mentions message missing 'jump to message' action",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14426",
"title": "LingoHub based on develop",
"userLogin": "engelgabriel",
"milestone": "1.0.3",
"contributors": [
"sampaiodiego"
]
},
{
"pr": "14419",
"title": "[FIX] preview pdf its not working",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14404",
"title": "[FIX] Messages on thread panel were receiving wrong context/subscription",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo",
"web-flow"
]
},
{
"pr": "14402",
"title": "[FIX] Error 400 on send a reply to an old thread",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14400",
"title": "[FIX] Users actions in administration were returning error",
"userLogin": "tassoevan",
"milestone": "1.0.3",
"contributors": [
"tassoevan"
]
},
{
"pr": "14403",
"title": "[FIX] Fallback to mongo version that doesn't require clusterMonitor role",
"userLogin": "geekgonecrazy",
"milestone": "1.0.3",
"contributors": [
"geekgonecrazy"
]
},
{
"pr": "14345",
"title": "[FIX] SAML credentialToken removal was preventing mobile from being able to authenticate",
"userLogin": "geekgonecrazy",
"milestone": "1.0.3",
"contributors": [
"geekgonecrazy",
"web-flow"
]
},
{
"pr": "14376",
"title": "[FIX] Stream not connecting connect when using subdir and multi-instance",
"userLogin": "geekgonecrazy",
"milestone": "1.0.3",
"contributors": [
"geekgonecrazy"
]
},
{
"pr": "14388",
"title": "[FIX] Pressing Enter in User Search field at channel causes reload",
"userLogin": "MarcosSpessatto",
"milestone": "1.0.3",
"contributors": [
"MarcosSpessatto",
"tassoevan"
]
},
{
"pr": "14379",
"title": "[FIX] Wrong token name was generating error on Gitlab OAuth login",
"userLogin": "MarcosSpessatto",
"milestone": "1.0.3",
"contributors": [
"MarcosSpessatto"
]
},
{
"pr": "14387",
"title": "[FIX] more message actions to threads context(follow, unfollow, copy, delete)",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14396",
"title": "[FIX] Unnecessary meteor.defer on openRoom",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14389",
"title": "[IMPROVE] Allow change Discussion's properties",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14390",
"title": "Fix: Message body was not being updated when user disabled nrr message",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14393",
"title": "[FIX] Messages on threads disappearing",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14394",
"title": "[FIX] Bell was too small on threads",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo"
]
},
{
"pr": "14372",
"title": "[FIX] Main thread title on replies",
"userLogin": "ggazzo",
"milestone": "1.0.3",
"contributors": [
"ggazzo",
"sampaiodiego",
"web-flow"
]
},
{
"pr": "14351",
"title": "Improve German translations",
"userLogin": "mrsimpson",
"milestone": "1.0.3",
"contributors": [
"mrsimpson"
]
},
{
"pr": "14362",
"title": "[FIX] New day separator overlapping above system message",
"userLogin": "rodrigok",
"milestone": "1.0.3",
"contributors": [
"rodrigok"
]
}
]
}
}
}
}
28 changes: 28 additions & 0 deletions .scripts/fix-i18n.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* This script will:
*
* - remove any duplicated i18n key on the same file;
* - re-order all keys based on source i18n file (en.i18n.json)
* - remove all keys not present in source i18n file
*/

const fg = require('fast-glob');
const fs = require('fs');

const fixFiles = (path, source, newlineAtEnd = false) => {
const sourceFile = JSON.parse(fs.readFileSync(`${ path }${ source }`, 'utf8'));
const sourceKeys = Object.keys(sourceFile);

fg([`${ path }/**/*.i18n.json`]).then((entries) => {
entries.forEach((file) => {
console.log(file);

const json = JSON.parse(fs.readFileSync(file, 'utf8'));

fs.writeFileSync(file, `${ JSON.stringify(json, sourceKeys, 2) }${ newlineAtEnd ? '\n' : '' }`);
});
});
};

fixFiles('./packages/rocketchat-i18n', '/i18n/en.i18n.json');
fixFiles('./packages/rocketchat-livechat/.app/i18n', '/en.i18n.json');
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=1.0.2
RC_VERSION=1.0.3
fi

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

0 comments on commit f19473c

Please sign in to comment.