Skip to content

Commit

Permalink
Merge pull request RocketChat#11650 from RocketChat/release-0.68.3
Browse files Browse the repository at this point in the history
Release 0.68.3
  • Loading branch information
sampaiodiego authored Aug 2, 2018
2 parents 960b893 + 6f8f90f commit 90be09e
Show file tree
Hide file tree
Showing 16 changed files with 138 additions and 57 deletions.
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 0.68.2
ENV RC_VERSION 0.68.3

MAINTAINER buildmaster@rocket.chat

Expand Down
58 changes: 58 additions & 0 deletions .github/history.json
Original file line number Diff line number Diff line change
Expand Up @@ -17692,6 +17692,64 @@
]
}
]
},
"0.68.3": {
"node_version": "8.11.3",
"npm_version": "5.6.0",
"pull_requests": [
{
"pr": "11639",
"title": "[FIX] Missing chat history for users without permission `preview-c-room`",
"userLogin": "Hudell",
"milestone": "0.68.3",
"contributors": [
"Hudell"
]
},
{
"pr": "11625",
"title": "[FIX] User info APIs not returning customFields correctly",
"userLogin": "MarcosSpessatto",
"milestone": "0.68.3",
"contributors": [
"MarcosSpessatto",
"sampaiodiego",
"web-flow"
]
},
{
"pr": "11631",
"title": "[FIX] Prune translations in German",
"userLogin": "rndmh3ro",
"milestone": "0.68.3",
"contributors": [
"rndmh3ro",
"sampaiodiego",
"web-flow"
]
},
{
"pr": "11635",
"title": "[FIX] Prune translation on room info panel",
"userLogin": "sampaiodiego",
"milestone": "0.68.3",
"contributors": [
"sampaiodiego",
"web-flow"
]
},
{
"pr": "11642",
"title": "[FIX] SAML login not working when user has multiple emails",
"userLogin": "Hudell",
"milestone": "0.68.3",
"contributors": [
"Hudell",
"sampaiodiego",
"web-flow"
]
}
]
}
}
}
4 changes: 2 additions & 2 deletions .sandstorm/sandstorm-pkgdef.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const pkgdef :Spk.PackageDefinition = (

appTitle = (defaultText = "Rocket.Chat"),

appVersion = 91, # Increment this for every release.
appVersion = 92, # Increment this for every release.

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

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.68.2
RC_VERSION=0.68.3
fi

echo "Preparing to trigger a snap release for $CHANNEL channel"
Expand Down
25 changes: 25 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@

# 0.68.3
`2018-08-01 · 5 🐛 · 4 👩‍💻👨‍💻`

### Engine versions
- Node: `8.11.3`
- NPM: `5.6.0`

### 🐛 Bug fixes

- Missing chat history for users without permission `preview-c-room` ([#11639](https://github.com/RocketChat/Rocket.Chat/pull/11639))
- User info APIs not returning customFields correctly ([#11625](https://github.com/RocketChat/Rocket.Chat/pull/11625))
- Prune translations in German ([#11631](https://github.com/RocketChat/Rocket.Chat/pull/11631) by [@rndmh3ro](https://github.com/rndmh3ro))
- Prune translation on room info panel ([#11635](https://github.com/RocketChat/Rocket.Chat/pull/11635))
- SAML login not working when user has multiple emails ([#11642](https://github.com/RocketChat/Rocket.Chat/pull/11642))

### 👩‍💻👨‍💻 Contributors 😍

- [@rndmh3ro](https://github.com/rndmh3ro)

### 👩‍💻👨‍💻 Core Team 🤓

- [@Hudell](https://github.com/Hudell)
- [@MarcosSpessatto](https://github.com/MarcosSpessatto)
- [@sampaiodiego](https://github.com/sampaiodiego)

# 0.68.2
`2018-07-31 · 1 🐛 · 2 👩‍💻👨‍💻`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Rocket.Chat",
"description": "The Ultimate Open Source WebChat Platform",
"version": "0.68.2",
"version": "0.68.3",
"author": {
"name": "Rocket.Chat",
"url": "https://rocket.chat/"
Expand Down
14 changes: 8 additions & 6 deletions packages/meteor-accounts-saml/saml_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ Accounts.registerLoginHandler(function(loginRequest) {
}

if (loginResult && loginResult.profile && loginResult.profile.email) {
const email = RegExp.escape(loginResult.profile.email);
const emailRegex = new RegExp(`^${ email }$`, 'i');
const emailList = Array.isArray(loginResult.profile.email) ? loginResult.profile.email : [loginResult.profile.email];
const emailRegex = new RegExp(emailList.map(email => `^${ RegExp.escape(email) }$`).join('|'), 'i');
let user = Meteor.users.findOne({
'emails.address': emailRegex
});
Expand All @@ -114,10 +114,12 @@ Accounts.registerLoginHandler(function(loginRequest) {
name: loginResult.profile.cn || loginResult.profile.username,
active: true,
globalRoles: ['user'],
emails: [{
address: loginResult.profile.email,
verified: true
}]
emails: emailList.map(email => {
return {
address: email,
verified: true
};
})
};

if (Accounts.saml.settings.generateUsername === true) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,15 @@ <h3 title="{{name}}" class="rc-user-info__name">{{> icon block="rc-header__icon"
<div class="mail-messages__instructions-text">
{{#unless filesOnly}}
{{#unless excludePinned}}
{{_ "RetentionPolicy_RoomWarning" purgeTimeout}}
{{_ "RetentionPolicy_RoomWarning" time=purgeTimeout}}
{{else}}
{{_ "RetentionPolicy_RoomWarning_Unpinned" purgeTimeout}}
{{_ "RetentionPolicy_RoomWarning_Unpinned" time=purgeTimeout}}
{{/unless}}
{{else}}
{{#unless excludePinned}}
{{_ "RetentionPolicy_RoomWarning_FilesOnly" purgeTimeout}}
{{_ "RetentionPolicy_RoomWarning_FilesOnly" time=purgeTimeout}}
{{else}}
{{_ "RetentionPolicy_RoomWarning_UnpinnedFilesOnly" purgeTimeout}}
{{_ "RetentionPolicy_RoomWarning_UnpinnedFilesOnly" time=purgeTimeout}}
{{/unless}}
{{/unless}}
</div>
Expand Down
6 changes: 3 additions & 3 deletions packages/rocketchat-i18n/i18n/de-AT.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@
"File_exceeds_allowed_size_of_bytes": "Die Datei ist größer als das erlaubte Maximum von __size__ Bytes",
"File_name_Placeholder": "Dateien suchen...",
"File_not_allowed_direct_messages": "Dateifreigabe in direkten Nachrichten nicht erlaubt.",
"File_removed_by_prune": "Die Datei wurde mit der Prune entfernt",
"File_removed_by_prune": "Die Datei wurde entfernt",
"File_removed_by_automatic_prune": "Datei wurde durch automatische Bereinigung entfernt",
"File_type_is_not_accepted": "Feldtyp nicht akzeptiert.",
"File_uploaded": "Datei hochgeladen",
Expand Down Expand Up @@ -2013,8 +2013,8 @@
"Profile_details": "Profildetails",
"Profile_picture": "Profilbild",
"Profile_saved_successfully": "Das Profil wurde erfolgreich gespeichert",
"Prune": "Pflaume",
"Prune_finished": "Prune beendet",
"Prune": "Löschen",
"Prune_finished": "Löschen beendet",
"Prune_Messages": "Nachrichten löschen",
"Prune_Modal": "Möchten Sie diese Nachrichten wirklich löschen? Bereinigte Nachrichten können nicht wiederhergestellt werden.",
"Prune_Warning_all": "Dadurch werden alle% s in% s gelöscht!",
Expand Down
6 changes: 3 additions & 3 deletions packages/rocketchat-i18n/i18n/de.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@
"File_exceeds_allowed_size_of_bytes": "Die Datei ist größer als das erlaubte Maximum von __size__ Bytes",
"File_name_Placeholder": "Dateien suchen...",
"File_not_allowed_direct_messages": "Dateiaustausch ist in direkten Nachrichten nicht möglich.",
"File_removed_by_prune": "Die Datei wurde mit der Prune entfernt",
"File_removed_by_prune": "Die Datei wurde entfernt",
"File_removed_by_automatic_prune": "Datei wurde durch automatische Bereinigung entfernt",
"File_type_is_not_accepted": "Dateityp wir nicht akzeptiert.",
"File_uploaded": "Datei hochgeladen",
Expand Down Expand Up @@ -2013,8 +2013,8 @@
"Profile_details": "Profildetails",
"Profile_picture": "Profilbild",
"Profile_saved_successfully": "Das Profil wurde erfolgreich gespeichert",
"Prune": "Pflaume",
"Prune_finished": "Prune beendet",
"Prune": "Löschen",
"Prune_finished": "Löschen beendet",
"Prune_Messages": "Nachrichten löschen",
"Prune_Modal": "Möchten Sie diese Nachrichten wirklich löschen? Bereinigte Nachrichten können nicht wiederhergestellt werden.",
"Prune_Warning_all": "Dadurch werden alle% s in% s gelöscht!",
Expand Down
1 change: 0 additions & 1 deletion packages/rocketchat-i18n/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,6 @@
"File_name_Placeholder": "Search files...",
"File_not_allowed_direct_messages": "File sharing not allowed in direct messages.",
"File_removed_by_prune": "File removed by prune",
"File_removed_by_automatic_prune": "File removed by automatic prune",
"File_type_is_not_accepted": "File type is not accepted.",
"File_uploaded": "File uploaded",
"FileUpload": "File Upload",
Expand Down
30 changes: 14 additions & 16 deletions packages/rocketchat-i18n/i18n/pt-BR.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"Accessing_permissions": "Acessando permissões",
"Account_SID": "SID da Conta",
"Accounts": "Contas",
"RetentionPolicy_RoomWarning": "lero __duration__ opa",
"Accounts_Admin_Email_Approval_Needed_Default": "<p>O usuário <b>[nome] ([email])</b>foi registrado.</p><p>Verifique \"Administração ->Usuários\" para ativá-lo ou excluí-lo.</p>",
"Accounts_Admin_Email_Approval_Needed_Subject_Default": "Um novo usuário se registrou e precisa de aprovação",
"Accounts_Admin_Email_Approval_Needed_With_Reason_Default": "<p>O usuário <b>[nome] ([email])</b>foi registrado.</p><p>Razão: <b>[razão]</b></p><p>Verifique \"Administração ->Usuários\" para ativá-lo ou excluí-lo.</p>",
Expand Down Expand Up @@ -1127,8 +1126,7 @@
"File_exceeds_allowed_size_of_bytes": "O arquivo excede o tamanho permitido de __size__ bytes",
"File_name_Placeholder": "Procurar arquivos...",
"File_not_allowed_direct_messages": "Compartilhamento de arquivos não está permitido em mensagens diretas.",
"File_removed_by_prune": "Arquivo removido por ameixa seca",
"File_removed_by_automatic_prune": "Arquivo removido por remoção automática",
"File_removed_by_prune": "Arquivo removido por remoção automática",
"File_type_is_not_accepted": "Tipo do arquivo não é aceito.",
"File_uploaded": "Arquivo carregado",
"FileUpload": "Upload de Arquivos",
Expand Down Expand Up @@ -2014,18 +2012,18 @@
"Profile_details": "Detalhes de perfil",
"Profile_picture": "Foto do perfil",
"Profile_saved_successfully": "Perfil salvo com sucesso",
"Prune": "Ameixa seca",
"Prune_finished": "Ameixa terminada",
"Prune_Messages": "Mensagens de poda",
"Prune": "Remoção em massa",
"Prune_finished": "Remoção terminada",
"Prune_Messages": "Remoção de Mensagens",
"Prune_Modal": "Tem certeza de que deseja remover essas mensagens? As mensagens limpas não podem ser recuperadas.",
"Prune_Warning_all": "Isso excluirá todos os% s em% s!",
"Prune_Warning_before": "Isso excluirá todos os% s em% s antes de% s.",
"Prune_Warning_after": "Isso excluirá todos os% s em% s depois de% s.",
"Prune_Warning_between": "Isso excluirá todos os% s em% s entre% s e% s.",
"Pruning_messages": "Podando mensagens ...",
"Prune_Warning_all": "Isso excluirá todos os %s em %s!",
"Prune_Warning_before": "Isso excluirá todos os %s em %s antes de %s.",
"Prune_Warning_after": "Isso excluirá todos os %s em %s depois de %s.",
"Prune_Warning_between": "Isso excluirá todos os %s em %s entre %s e %s.",
"Pruning_messages": "Removendo mensagens ...",
"Pruning_files": "Removendo arquivos ...",
"messages_pruned": "mensagens podadas",
"files_pruned": "arquivos podados",
"messages_pruned": "mensagens removidas",
"files_pruned": "arquivos removidos",
"Public": "Público",
"Public_Channel": "Canal público",
"Public_Community": "Comunidade",
Expand Down Expand Up @@ -2144,12 +2142,12 @@
"RetentionPolicy_MaxAge_Channels": "A idade máxima da mensagem nos canais",
"RetentionPolicy_MaxAge_Groups": "Duração máxima da mensagem em grupos privados",
"RetentionPolicy_MaxAge_DMs": "Duração máxima da mensagem em mensagens diretas",
"RetentionPolicy_MaxAge_Description": "Podar todas as mensagens mais antigas que esse valor, em dias",
"RetentionPolicy_MaxAge_Description": "Remover todas as mensagens mais antigas que esse valor, em dias",
"RetentionPolicy_Precision": "Precisão do temporizador",
"RetentionPolicy_Precision_Description": "Quantas vezes o temporizador de remoção deve ser executado. Configurar isso para um valor mais preciso faz com que os canais com temporizadores de retenção rápidos funcionem melhor, mas podem custar um poder de processamento extra em grandes comunidades.",
"RetentionPolicyRoom_Enabled": "Remover automaticamente mensagens antigas",
"RetentionPolicyRoom_ExcludePinned": "Excluir mensagens fixas",
"RetentionPolicyRoom_FilesOnly": "Apenas arquivos de poda, mantenha mensagens",
"RetentionPolicyRoom_FilesOnly": "Remover apenas arquivos, mantenha mensagens",
"RetentionPolicyRoom_MaxAge": "Idade máxima da mensagem em dias (padrão: __max__)",
"RetentionPolicyRoom_OverrideGlobal": "Substituir política de retenção global",
"RetentionPolicyRoom_ReadTheDocs": "Cuidado! Ajustar essas configurações sem o maior cuidado pode destruir todo o histórico de mensagens. Leia a documentação antes de ativar o recurso em <a href = 'https: //rocket.chat/docs/administrator-guides/retention-policies/'>aqui</a>.",
Expand Down Expand Up @@ -2781,7 +2779,7 @@
"Yes_hide_it": "Sim, esconder!",
"Yes_leave_it": "Sim, sair!",
"Yes_mute_user": "Sim, silenciar usuário!",
"Yes_prune_them": "Sim, poda-os!",
"Yes_prune_them": "Sim, remova-os!",
"Yes_remove_user": "Sim, remover usuário!",
"Yes_unarchive_it": "Sim, desquite!",
"yesterday": "ontem",
Expand Down
20 changes: 10 additions & 10 deletions packages/rocketchat-i18n/i18n/pt.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@
"File_exceeds_allowed_size_of_bytes": "O arquivo excede o tamanho permitido de __size__ bytes",
"File_name_Placeholder": "Procurar arquivos...",
"File_not_allowed_direct_messages": "O compartilhamento de arquivos não é permitido em mensagens diretas.",
"File_removed_by_prune": "Arquivo removido por ameixa seca",
"File_removed_by_prune": "Arquivo removido por remoção automática",
"File_removed_by_automatic_prune": "Arquivo removido por remoção automática",
"File_type_is_not_accepted": "O tipo de arquivo não é aceito.",
"File_uploaded": "Arquivo carregado",
Expand Down Expand Up @@ -2013,18 +2013,18 @@
"Profile_details": "Detalhes de perfil",
"Profile_picture": "Foto do perfil",
"Profile_saved_successfully": "Perfil salvo com sucesso",
"Prune": "Ameixa seca",
"Prune_finished": "Ameixa terminada",
"Prune_Messages": "Mensagens de poda",
"Prune": "Remoção em massa",
"Prune_finished": "Remoção terminada",
"Prune_Messages": "Remoção de Mensagens",
"Prune_Modal": "Tem certeza de que deseja remover essas mensagens? As mensagens limpas não podem ser recuperadas.",
"Prune_Warning_all": "Isto irá apagar todos os %s em %s!",
"Prune_Warning_before": "Isto irá apagar todos os %s em %s antes de %s.",
"Prune_Warning_after": "Isto irá apagar todos os %s em %s depois de %s.",
"Prune_Warning_between": "Isto irá apagar todos os %s em %s entre %s e %s.",
"Pruning_messages": "Podando mensagens ...",
"Pruning_messages": "Removendo mensagens ...",
"Pruning_files": "Removendo arquivos ...",
"messages_pruned": "mensagens podadas",
"files_pruned": "arquivos podados",
"messages_pruned": "mensagens removidas",
"files_pruned": "arquivos removidos",
"Public": "Público",
"Public_Channel": "Canal público",
"Public_Community": "Comunidade",
Expand Down Expand Up @@ -2143,12 +2143,12 @@
"RetentionPolicy_MaxAge_Channels": "A idade máxima da mensagem nos canais",
"RetentionPolicy_MaxAge_Groups": "Duração máxima da mensagem em grupos privados",
"RetentionPolicy_MaxAge_DMs": "Duração máxima da mensagem em mensagens diretas",
"RetentionPolicy_MaxAge_Description": "Podar todas as mensagens mais antigas que esse valor, em dias",
"RetentionPolicy_MaxAge_Description": "Remover todas as mensagens mais antigas que esse valor, em dias",
"RetentionPolicy_Precision": "Precisão do temporizador",
"RetentionPolicy_Precision_Description": "Quantas vezes o temporizador de remoção deve ser executado. Configurar isso para um valor mais preciso faz com que os canais com temporizadores de retenção rápidos funcionem melhor, mas podem custar um poder de processamento extra em grandes comunidades.",
"RetentionPolicyRoom_Enabled": "Remover automaticamente mensagens antigas",
"RetentionPolicyRoom_ExcludePinned": "Excluir mensagens fixas",
"RetentionPolicyRoom_FilesOnly": "Apenas arquivos de poda, mantenha mensagens",
"RetentionPolicyRoom_FilesOnly": "Remover apenas arquivos, mantenha mensagens",
"RetentionPolicyRoom_MaxAge": "Idade máxima da mensagem em dias (padrão: __max__)",
"RetentionPolicyRoom_OverrideGlobal": "Substituir política de retenção global",
"RetentionPolicyRoom_ReadTheDocs": "Cuidado! Ajustar estas configurações sem as devidas precauções, pode resultar na destruição de todo o histórico de mensagens. Leia a documentação antes de activar o recurso <a href=\"https://rocket.chat/docs/administrator-guides/retention-policies/\">aqui</a>.",
Expand Down Expand Up @@ -2780,7 +2780,7 @@
"Yes_hide_it": "Sim, esconda!",
"Yes_leave_it": "Sim, sair!",
"Yes_mute_user": "Sim, silenciar o utilizador!",
"Yes_prune_them": "Sim, poda-os!",
"Yes_prune_them": "Sim, remova-os!",
"Yes_remove_user": "Sim, remover utilizador!",
"Yes_unarchive_it": "Sim, desarquive!",
"yesterday": "ontem",
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-lib/rocketchat.info
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.68.2"
"version": "0.68.3"
}
Loading

0 comments on commit 90be09e

Please sign in to comment.