From 8ef30245c9923526b00c6ae8a11edafd0b726303 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Wed, 4 Dec 2019 12:00:44 +0000 Subject: [PATCH 01/20] js-sdk rc.1 --- package.json | 2 +- yarn.lock | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5b82d9b111..a1f6c5f71f 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "linkifyjs": "^2.1.6", "lodash": "^4.17.14", "lolex": "4.2", - "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop", + "matrix-js-sdk": "2.4.6-rc.1", "optimist": "^0.6.1", "pako": "^1.0.5", "png-chunks-extract": "^1.0.0", diff --git a/yarn.lock b/yarn.lock index 073fc95b37..1a28b3080f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5246,9 +5246,10 @@ mathml-tag-names@^2.0.1: resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.1.tgz#6dff66c99d55ecf739ca53c492e626f1d12a33cc" integrity sha512-pWB896KPGSGkp1XtyzRBftpTzwSOL0Gfk0wLvxt4f2mgzjY19o0LxJ3U25vNWTzsh7da+KTbuXQoQ3lOJZ8WHw== -"matrix-js-sdk@github:matrix-org/matrix-js-sdk#develop": - version "2.4.5" - resolved "https://codeload.github.com/matrix-org/matrix-js-sdk/tar.gz/6ea8003df23d55e2b84911c3204005c42a9ffa9c" +matrix-js-sdk@2.4.6-rc.1: + version "2.4.6-rc.1" + resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-2.4.6-rc.1.tgz#27524e3db8444f0c879aa1c532e7c8d02f31de60" + integrity sha512-0L37WWq0qqJKGt93/lS29dgKcVGZ6b7thbbcv1/5vXPfvr3BaLL3Hce/krMQfToWktaNCUvi0bzUshyRY3VWqQ== dependencies: another-json "^0.2.0" babel-runtime "^6.26.0" From 877209a5adfee51651993679a724f5c549f665e0 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Wed, 4 Dec 2019 12:03:50 +0000 Subject: [PATCH 02/20] Prepare changelog for v1.7.5-rc.1 --- CHANGELOG.md | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fe6f80e43..639b0cd545 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,111 @@ +Changes in [1.7.5-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.7.5-rc.1) (2019-12-04) +============================================================================================================= +[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.7.4...v1.7.5-rc.1) + + * Remove logs before running end-to-end tests + [\#3700](https://github.com/matrix-org/matrix-react-sdk/pull/3700) + * Update from Weblate + [\#3699](https://github.com/matrix-org/matrix-react-sdk/pull/3699) + * Match e2e icons on events to expectations + [\#3697](https://github.com/matrix-org/matrix-react-sdk/pull/3697) + * Match room upgrade warning to the new design + [\#3695](https://github.com/matrix-org/matrix-react-sdk/pull/3695) + * Remove unused translations + [\#3683](https://github.com/matrix-org/matrix-react-sdk/pull/3683) + * Remove broken velocity-ui animation + [\#3678](https://github.com/matrix-org/matrix-react-sdk/pull/3678) + * Update from Weblate + [\#3696](https://github.com/matrix-org/matrix-react-sdk/pull/3696) + * Hide Remove button in message editing history if you don't have permission + to redact + [\#3685](https://github.com/matrix-org/matrix-react-sdk/pull/3685) + * Add an option to invite users to upgraded private rooms + [\#3684](https://github.com/matrix-org/matrix-react-sdk/pull/3684) + * Do not trap Key ContextMenu into composer for keyboard a11y + [\#3689](https://github.com/matrix-org/matrix-react-sdk/pull/3689) + * Make EmojiPicker filtering case-insensitive + [\#3690](https://github.com/matrix-org/matrix-react-sdk/pull/3690) + * Ensure the settings page accurately represents theme choices + [\#3686](https://github.com/matrix-org/matrix-react-sdk/pull/3686) + * Ensure read receipts end up with a valid reference to checkUnmounting + [\#3688](https://github.com/matrix-org/matrix-react-sdk/pull/3688) + * Convert Velociraptor component to a class + [\#3687](https://github.com/matrix-org/matrix-react-sdk/pull/3687) + * Add a link to the labs feature documentation + [\#3675](https://github.com/matrix-org/matrix-react-sdk/pull/3675) + * Improve translatable strings for calls + [\#3682](https://github.com/matrix-org/matrix-react-sdk/pull/3682) + * Don't assume that diffs will have an appropriate child node + [\#3680](https://github.com/matrix-org/matrix-react-sdk/pull/3680) + * Fix persisted widgets getting stuck at loading screens + [\#3681](https://github.com/matrix-org/matrix-react-sdk/pull/3681) + * Add button to clear all notification counts, sometimes stuck in historical + [\#2959](https://github.com/matrix-org/matrix-react-sdk/pull/2959) + * Fix multi-invite error dialog messaging + [\#3679](https://github.com/matrix-org/matrix-react-sdk/pull/3679) + * Make the communities button behave more like a toggle + [\#3670](https://github.com/matrix-org/matrix-react-sdk/pull/3670) + * Change read markers to use CSS transitions + [\#3674](https://github.com/matrix-org/matrix-react-sdk/pull/3674) + * fix font smoothing to match figma + [\#3677](https://github.com/matrix-org/matrix-react-sdk/pull/3677) + * Update breadcrumbs when we do eventually see upgraded rooms + [\#3669](https://github.com/matrix-org/matrix-react-sdk/pull/3669) + * Fix override behaviour of system vs defined themes + [\#3673](https://github.com/matrix-org/matrix-react-sdk/pull/3673) + * console.log doesn't take %s substitutions + [\#3671](https://github.com/matrix-org/matrix-react-sdk/pull/3671) + * EventIndex: Move the checkpoint loading logic into the init method. + [\#3648](https://github.com/matrix-org/matrix-react-sdk/pull/3648) + * Clarify that cross-signing is in development + [\#3668](https://github.com/matrix-org/matrix-react-sdk/pull/3668) + * Hide tooltips with CSS when they aren't visible + [\#3665](https://github.com/matrix-org/matrix-react-sdk/pull/3665) + * a11y: adjustments for toasts + [\#3667](https://github.com/matrix-org/matrix-react-sdk/pull/3667) + * Update from Weblate + [\#3666](https://github.com/matrix-org/matrix-react-sdk/pull/3666) + * Null check on thumbnail_file + [\#3664](https://github.com/matrix-org/matrix-react-sdk/pull/3664) + * Fix double date separator for room upgrade tiles + [\#3662](https://github.com/matrix-org/matrix-react-sdk/pull/3662) + * Show incoming verification requests in in-app notifications + [\#3661](https://github.com/matrix-org/matrix-react-sdk/pull/3661) + * Show m.room.create event before the ELS on room upgrade + [\#3655](https://github.com/matrix-org/matrix-react-sdk/pull/3655) + * Convert MessagePanel to React class + [\#3656](https://github.com/matrix-org/matrix-react-sdk/pull/3656) + * Make addEventListener conditional + [\#3657](https://github.com/matrix-org/matrix-react-sdk/pull/3657) + * Fix e2e icons + [\#3653](https://github.com/matrix-org/matrix-react-sdk/pull/3653) + * Workaround for soft-crash with calls on startup + [\#3654](https://github.com/matrix-org/matrix-react-sdk/pull/3654) + * Catch exceptions when we can't play audio + [\#3652](https://github.com/matrix-org/matrix-react-sdk/pull/3652) + * Rename section heading for integrations in settings + [\#3650](https://github.com/matrix-org/matrix-react-sdk/pull/3650) + * Update copy for widgets not using message encryption + [\#3651](https://github.com/matrix-org/matrix-react-sdk/pull/3651) + * Ignore media actions + [\#3649](https://github.com/matrix-org/matrix-react-sdk/pull/3649) + * Add an option to disable the use of integration managers for provisioning + [\#3646](https://github.com/matrix-org/matrix-react-sdk/pull/3646) + * Move many widget options to a context menu + [\#3645](https://github.com/matrix-org/matrix-react-sdk/pull/3645) + * Re-add encryption warning to widget permission prompt + [\#3644](https://github.com/matrix-org/matrix-react-sdk/pull/3644) + * Update CIDER docs now that it is used for main composer as well + [\#3647](https://github.com/matrix-org/matrix-react-sdk/pull/3647) + * get rid of bluebird + [\#3593](https://github.com/matrix-org/matrix-react-sdk/pull/3593) + * Remove getBaseTheme + [\#3638](https://github.com/matrix-org/matrix-react-sdk/pull/3638) + * ReactionsRowButtonTooltip: fix null dereference if emoji owner left room + [\#3643](https://github.com/matrix-org/matrix-react-sdk/pull/3643) + * Add eslint-plugin-jest because we inherit js-sdk's eslintrc and it wants + [\#3642](https://github.com/matrix-org/matrix-react-sdk/pull/3642) + Changes in [1.7.4](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.7.4) (2019-11-27) =================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.7.3...v1.7.4) From 9072a47f9df87e8defead29c96a8d84d3058429d Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Wed, 4 Dec 2019 12:03:50 +0000 Subject: [PATCH 03/20] v1.7.5-rc.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a1f6c5f71f..cf1f92ac24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matrix-react-sdk", - "version": "1.7.4", + "version": "1.7.5-rc.1", "description": "SDK for matrix.org using React", "author": "matrix.org", "repository": { From 87fc35ffd58bd1eec5c678b2e91703b96d022e87 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Wed, 4 Dec 2019 13:34:56 +0000 Subject: [PATCH 04/20] Translated using Weblate (Chinese (Traditional)) Currently translated at 99.6% (1922 of 1929 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/ --- src/i18n/strings/zh_Hant.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/zh_Hant.json b/src/i18n/strings/zh_Hant.json index d722ce9f5b..ebeb7d8b16 100644 --- a/src/i18n/strings/zh_Hant.json +++ b/src/i18n/strings/zh_Hant.json @@ -1923,5 +1923,9 @@ "%(senderName)s placed a video call.": "%(senderName)s 撥打了視訊通話。", "%(senderName)s placed a video call. (not supported by this browser)": "%(senderName)s 撥打了視訊通話。(不被此瀏覽器支援)", "Clear notifications": "清除通知", - "Customise your experience with experimental labs features. Learn more.": "使用實驗室功能來自訂您的體驗。了解更多。" + "Customise your experience with experimental labs features. Learn more.": "使用實驗室功能來自訂您的體驗。了解更多。", + "Error upgrading room": "升級聊天室時遇到錯誤", + "Double check that your server supports the room version chosen and try again.": "仔細檢查您的伺服器是否支援選定的聊天室版本,然後再試一次。", + "This message cannot be decrypted": "此訊息無法解密", + "Unencrypted": "未加密" } From 4a73f1d7f93f808e29f4bc1cb8150307626ccc1e Mon Sep 17 00:00:00 2001 From: Szimszon Date: Wed, 4 Dec 2019 10:54:55 +0000 Subject: [PATCH 05/20] Translated using Weblate (Hungarian) Currently translated at 99.6% (1922 of 1929 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/ --- src/i18n/strings/hu.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json index 3fb00cfcd7..0691ee0fff 100644 --- a/src/i18n/strings/hu.json +++ b/src/i18n/strings/hu.json @@ -1926,5 +1926,7 @@ "Customise your experience with experimental labs features. Learn more.": "Kísérleti labor tulajdonságokkal egyénre szabhatod az élményt. Tudj meg többet.", "Error upgrading room": "A szoba verziófrissítésénél hiba történt", "Double check that your server supports the room version chosen and try again.": "Ellenőrizd még egyszer, hogy a szervered támogatja-e a szoba verzióját és próbáld újra.", - "Invite joined members to the new room automatically": "Tagok meghívása automatikusan az új szobába" + "Invite joined members to the new room automatically": "Tagok meghívása automatikusan az új szobába", + "This message cannot be decrypted": "Ezt az üzenetet nem lehet visszafejteni", + "Unencrypted": "Titkosítatlan" } From 1240580863b6238b1d72f6810d29a15dab3e9457 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Thu, 5 Dec 2019 03:11:43 +0000 Subject: [PATCH 06/20] Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (1931 of 1931 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/ --- src/i18n/strings/zh_Hant.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/zh_Hant.json b/src/i18n/strings/zh_Hant.json index ebeb7d8b16..130ee456da 100644 --- a/src/i18n/strings/zh_Hant.json +++ b/src/i18n/strings/zh_Hant.json @@ -1927,5 +1927,14 @@ "Error upgrading room": "升級聊天室時遇到錯誤", "Double check that your server supports the room version chosen and try again.": "仔細檢查您的伺服器是否支援選定的聊天室版本,然後再試一次。", "This message cannot be decrypted": "此訊息無法解密", - "Unencrypted": "未加密" + "Unencrypted": "未加密", + "Automatically invite users": "自動邀請使用者", + "Upgrade private room": "升級私密聊天室", + "Upgrade public room": "升級公開聊天室", + "Upgrading a room is an advanced action and is usually recommended when a room is unstable due to bugs, missing features or security vulnerabilities.": "升級聊天室為進階動作,通常建議在聊天室因為臭蟲而不穩定、缺少功能或安全漏洞等才升級。", + "This usually only affects how the room is processed on the server. If you're having problems with your Riot, please report a bug.": "這通常僅影響如何在伺服器上處理聊天室的方式。如果您遇到與 Riot 相關的問題,請回報臭蟲。", + "You'll upgrade this room from to .": "您將要把此聊天室從 升級到 。", + "Upgrade": "升級", + "Notification settings": "通知設定", + "User Status": "使用者狀態" } From 38612e49912bc18d106e7225ca14284eaeef1d39 Mon Sep 17 00:00:00 2001 From: Szimszon Date: Wed, 4 Dec 2019 20:40:23 +0000 Subject: [PATCH 07/20] Translated using Weblate (Hungarian) Currently translated at 100.0% (1931 of 1931 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/ --- src/i18n/strings/hu.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json index 0691ee0fff..4b0b70a22f 100644 --- a/src/i18n/strings/hu.json +++ b/src/i18n/strings/hu.json @@ -1928,5 +1928,14 @@ "Double check that your server supports the room version chosen and try again.": "Ellenőrizd még egyszer, hogy a szervered támogatja-e a szoba verzióját és próbáld újra.", "Invite joined members to the new room automatically": "Tagok meghívása automatikusan az új szobába", "This message cannot be decrypted": "Ezt az üzenetet nem lehet visszafejteni", - "Unencrypted": "Titkosítatlan" + "Unencrypted": "Titkosítatlan", + "Automatically invite users": "Felhasználók automatikus meghívása", + "Upgrade private room": "Privát szoba frissítése", + "Upgrade public room": "Nyilvános szoba frissítése", + "Upgrading a room is an advanced action and is usually recommended when a room is unstable due to bugs, missing features or security vulnerabilities.": "A szoba frissítése nem egyszerű művelet, általában a szoba hibás működése, hiányzó funkció vagy biztonsági sérülékenység esetén javasolt.", + "This usually only affects how the room is processed on the server. If you're having problems with your Riot, please report a bug.": "Ez általában a szoba szerver oldali kezelésében jelent változást. Ha a Riotban van problémád, kérlek küldj egy hibajelentést.", + "You'll upgrade this room from to .": " verzióról verzióra frissíted a szobát.", + "Upgrade": "Frissítés", + "Notification settings": "Értesítések beállítása", + "User Status": "Felhasználó állapota" } From af31844a9d6421841e4d638ff666c7b283cbc8da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20C?= Date: Fri, 6 Dec 2019 09:22:03 +0000 Subject: [PATCH 08/20] Translated using Weblate (French) Currently translated at 100.0% (1931 of 1931 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/ --- src/i18n/strings/fr.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/fr.json b/src/i18n/strings/fr.json index ba924b3636..447f6da861 100644 --- a/src/i18n/strings/fr.json +++ b/src/i18n/strings/fr.json @@ -1923,5 +1923,18 @@ "%(senderName)s placed a video call.": "%(senderName)s a passé un appel vidéo.", "%(senderName)s placed a video call. (not supported by this browser)": "%(senderName)s a passé un appel vidéo. (pas pris en charge par ce navigateur)", "Clear notifications": "Vider les notifications", - "Customise your experience with experimental labs features. Learn more.": "Personnalisez votre expérience avec des fonctionnalités expérimentales du labo. En savoir plus." + "Customise your experience with experimental labs features. Learn more.": "Personnalisez votre expérience avec des fonctionnalités expérimentales du labo. En savoir plus.", + "Error upgrading room": "Erreur lors de la mise à niveau du salon", + "Double check that your server supports the room version chosen and try again.": "Vérifiez que votre serveur prend en charge la version de salon choisie et réessayez.", + "This message cannot be decrypted": "Ce message ne peut pas être déchiffré", + "Unencrypted": "Non chiffré", + "Automatically invite users": "Inviter automatiquement les utilisateurs", + "Upgrade private room": "Mettre à niveau le salon privé", + "Upgrade public room": "Mettre à niveau le salon public", + "Upgrading a room is an advanced action and is usually recommended when a room is unstable due to bugs, missing features or security vulnerabilities.": "La mise à niveau d’un salon est une action avancée et qui est généralement recommandée quand un salon est instable à cause d’anomalies, de fonctionnalités manquantes ou de failles de sécurité.", + "This usually only affects how the room is processed on the server. If you're having problems with your Riot, please report a bug.": "Cela n’affecte généralement que la façon dont le salon est traité sur le serveur. Si vous avez des problèmes avec votre Riot, signalez une anomalie.", + "You'll upgrade this room from to .": "Vous allez mettre à niveau ce salon de vers .", + "Upgrade": "Mettre à niveau", + "Notification settings": "Paramètres de notification", + "User Status": "Statut de l’utilisateur" } From e641a7445217eae053cd7bc3b55ee961f3fbc4be Mon Sep 17 00:00:00 2001 From: David Prieto Date: Thu, 5 Dec 2019 15:41:32 +0000 Subject: [PATCH 09/20] Translated using Weblate (Spanish) Currently translated at 70.6% (1363 of 1931 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/ --- src/i18n/strings/es.json | 42 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/es.json b/src/i18n/strings/es.json index 2474d9a233..2925dc5536 100644 --- a/src/i18n/strings/es.json +++ b/src/i18n/strings/es.json @@ -1330,5 +1330,45 @@ "You cannot modify widgets in this room.": "No puedes modificar widgets en esta sala.", "Displays list of commands with usages and descriptions": "Muestra lista de comandos con usos y descripciones", "Multiple integration managers": "Administradores de integración múltiples", - "Room upgrade confirmation": "Confirmación de actualización de sala" + "Room upgrade confirmation": "Confirmación de actualización de sala", + "Add Email Address": "Añadir dirección de correo", + "Add Phone Number": "Añadir número de teléfono", + "Identity server has no terms of service": "El servidor de identidad no tiene términos de servicio", + "This action requires accessing the default identity server to validate an email address or phone number, but the server does not have any terms of service.": "Esta acción necesita acceder al servidor de identidad por defecto para validar un correo o un teléfono, pero el servidor no tiene términos de servicio.", + "Only continue if you trust the owner of the server.": "Continúe solamente si confía en el propietario del servidor.", + "Trust": "Confianza", + "Custom (%(level)s)": "Personalizado (%(level)s)", + "Error upgrading room": "Fallo al mejorar la sala", + "Double check that your server supports the room version chosen and try again.": "Asegúrese de que su servidor soporta la versión de sala elegida y pruebe otra vez.", + "%(senderName)s placed a voice call.": "%(senderName)s hizo una llamada de voz.", + "%(senderName)s placed a voice call. (not supported by this browser)": "%(senderName)s hizo una llamada de voz. (no soportada por este navegador)", + "%(senderName)s placed a video call.": "%(senderName)s hizo una llamada de vídeo.", + "%(senderName)s placed a video call. (not supported by this browser)": "%(senderName)s hizo una llamada de vídeo (no soportada por este navegador)", + "%(name)s (%(userId)s)": "%(name)s (%(userId)s)", + "Try out new ways to ignore people (experimental)": "Pruebe nuevas formas de ignorar a usuarios (experimental)", + "Send verification requests in direct message, including a new verification UX in the member panel.": "Envíe solicitudes de verificación por mensaje directo, con una nueva interfaz de verificación en el panel de miembros.", + "Enable cross-signing to verify per-user instead of per-device (in development)": "Active la firma cruzada para verificar usuarios en vez de dispositivos (en desarrollo)", + "Enable local event indexing and E2EE search (requires restart)": "Active el indexado de eventos locales y la búsqueda E2EE (necesita reiniciar)", + "Use the new, faster, composer for writing messages": "Escriba mensajes con el nuevo y mejorado compositor", + "Match system theme": "Usar el tema del sistema", + "Show previews/thumbnails for images": "Mostrar vistas previas para las imágenes", + "When rooms are upgraded": "Cuando se mejoran las salas", + "My Ban List": "Mi lista de baneos", + "This is your list of users/servers you have blocked - don't leave the room!": "Esta es la lista de usuarios y servidores que ha bloqueado - ¡No deje la sala!", + "Decline (%(counter)s)": "Declinar (%(counter)s)", + "Accept to continue:": "Aceptar para continuar:", + "ID": "Identificación", + "Public Name": "Nombre Público", + "Connecting to integration manager...": "Conectando al gestor de integraciones...", + "Cannot connect to integration manager": "No se puede conectar al gestor de integraciones", + "The integration manager is offline or it cannot reach your homeserver.": "El gestor de integraciones está desconectado o no puede conectar con su servidor.", + "%(count)s unread messages including mentions.|other": "%(count)s mensajes sin leer incluyendo menciones.", + "%(count)s unread messages including mentions.|one": "1 mención sin leer.", + "%(count)s unread messages.|other": "%(count)s mensajes sin leer.", + "%(count)s unread messages.|one": "1 mensaje sin leer.", + "Unread mentions.": "Menciones sin leer.", + "Unread messages.": "Mensajes sin leer.", + "Jump to first unread room.": "Saltar a la primera sala sin leer.", + "You have %(count)s unread notifications in a prior version of this room.|other": "Tiene %(count)s notificaciones sin leer en una versión anterior de esta sala.", + "You have %(count)s unread notifications in a prior version of this room.|one": "Tiene %(count)s notificaciones sin leer en una versión anterior de esta sala." } From 836fdb4a57a13bc9c19a54d26279eaa3306f8d4a Mon Sep 17 00:00:00 2001 From: Szimszon Date: Fri, 6 Dec 2019 16:15:27 +0000 Subject: [PATCH 10/20] Translated using Weblate (Hungarian) Currently translated at 100.0% (1933 of 1933 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/ --- src/i18n/strings/hu.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json index 4b0b70a22f..04b5b993ee 100644 --- a/src/i18n/strings/hu.json +++ b/src/i18n/strings/hu.json @@ -1937,5 +1937,7 @@ "You'll upgrade this room from to .": " verzióról verzióra frissíted a szobát.", "Upgrade": "Frissítés", "Notification settings": "Értesítések beállítása", - "User Status": "Felhasználó állapota" + "User Status": "Felhasználó állapota", + "Reactions": "Reakciók", + " reacted with %(content)s": " ezzel reagáltak: %(content)s" } From 680c5c2b27e1d931ad8ac32a2d95844d22c8561e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 7 Dec 2019 12:20:06 +0000 Subject: [PATCH 11/20] Switch ReactionsRowButton to an AccessibleButton for space/enter handling Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/messages/ReactionsRowButton.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/views/messages/ReactionsRowButton.js b/src/components/views/messages/ReactionsRowButton.js index 10dea34809..89bd6e7938 100644 --- a/src/components/views/messages/ReactionsRowButton.js +++ b/src/components/views/messages/ReactionsRowButton.js @@ -126,10 +126,9 @@ export default class ReactionsRowButton extends React.PureComponent { ); } - return {tooltip} - ; + ; } } From 86e52d1ef334d7b9333f965d3b34fc17808e38b0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 7 Dec 2019 12:45:28 +0000 Subject: [PATCH 12/20] Mark the This/All Rooms scope buttons as radios for a11y Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/views/rooms/_SearchBar.scss | 4 ++++ src/components/views/rooms/SearchBar.js | 26 ++++++++++++++++++------- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/res/css/views/rooms/_SearchBar.scss b/res/css/views/rooms/_SearchBar.scss index 894473a5fe..b6748e5ad2 100644 --- a/res/css/views/rooms/_SearchBar.scss +++ b/res/css/views/rooms/_SearchBar.scss @@ -37,6 +37,10 @@ limitations under the License. mask-position: center; } + .mx_SearchBar_buttons { + display: inherit; + } + .mx_SearchBar_button { border: 0; margin: 0 0 0 22px; diff --git a/src/components/views/rooms/SearchBar.js b/src/components/views/rooms/SearchBar.js index 5e0ac9a953..08cb9bbee0 100644 --- a/src/components/views/rooms/SearchBar.js +++ b/src/components/views/rooms/SearchBar.js @@ -57,19 +57,31 @@ module.exports = createReactClass({ }, render: function() { - const searchButtonClasses = classNames({ mx_SearchBar_searchButton: true, mx_SearchBar_searching: this.props.searchInProgress }); - const thisRoomClasses = classNames({ mx_SearchBar_button: true, mx_SearchBar_unselected: this.state.scope !== 'Room' }); - const allRoomsClasses = classNames({ mx_SearchBar_button: true, mx_SearchBar_unselected: this.state.scope !== 'All' }); + const searchButtonClasses = classNames("mx_SearchBar_searchButton", { + mx_SearchBar_searching: this.props.searchInProgress, + }); + const thisRoomClasses = classNames("mx_SearchBar_button", { + mx_SearchBar_unselected: this.state.scope !== 'Room', + }); + const allRoomsClasses = classNames("mx_SearchBar_button", { + mx_SearchBar_unselected: this.state.scope !== 'All', + }); return (
- {_t("This Room")} - {_t("All Rooms")} +
+ + {_t("This Room")} + + + {_t("All Rooms")} + +
- +
- +
); }, From 4be8b878692e20aee94bd0487e9a7cb073f00a9b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 7 Dec 2019 13:07:52 +0000 Subject: [PATCH 13/20] Add what-input to allow different scoping to focus-visible for MessageActionBar keyboard a11y Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- package.json | 1 + res/css/views/rooms/_EventTile.scss | 1 + src/components/structures/MatrixChat.js | 2 ++ yarn.lock | 5 +++++ 4 files changed, 9 insertions(+) diff --git a/package.json b/package.json index 5b82d9b111..58216f0181 100644 --- a/package.json +++ b/package.json @@ -110,6 +110,7 @@ "text-encoding-utf-8": "^1.0.1", "url": "^0.11.0", "velocity-animate": "^1.5.2", + "what-input": "^5.2.6", "whatwg-fetch": "^1.1.1", "zxcvbn": "^4.4.2" }, diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 43aed34a23..5359992f84 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -169,6 +169,7 @@ limitations under the License. .mx_EventTile:hover .mx_MessageActionBar, .mx_EventTile.mx_EventTile_actionBarFocused .mx_MessageActionBar, +[data-whatinput='keyboard'] .mx_EventTile:focus-within .mx_MessageActionBar, .mx_EventTile.focus-visible:focus-within .mx_MessageActionBar { visibility: visible; } diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 585499ddeb..1ea7243303 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -24,6 +24,8 @@ import Matrix from "matrix-js-sdk"; // focus-visible is a Polyfill for the :focus-visible CSS pseudo-attribute used by _AccessibleButton.scss import 'focus-visible'; +// what-input helps improve keyboard accessibility +import 'what-input'; import Analytics from "../../Analytics"; import { DecryptionFailureTracker } from "../../DecryptionFailureTracker"; diff --git a/yarn.lock b/yarn.lock index 883a1ee90c..f5f291d15d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8646,6 +8646,11 @@ webpack@^4.20.2: watchpack "^1.6.0" webpack-sources "^1.4.1" +what-input@^5.2.6: + version "5.2.6" + resolved "https://registry.yarnpkg.com/what-input/-/what-input-5.2.6.tgz#ac6f003bf8d3592a0031dea7a03565469b00020b" + integrity sha512-a0BcI5YR7xp87vSzGcbN0IszJKpUQuTmrZaTSQBl7TLDIdKj6rDhluQ7b/7lYGG81gWDvkySsEvwv4BW5an9kg== + whatwg-fetch@>=0.10.0: version "3.0.0" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb" From 33eff43313ce363b48e034e8c91476876efab3df Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 7 Dec 2019 21:01:21 +0000 Subject: [PATCH 14/20] Change the (edited) link to an AccessibleButton for a11y Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/messages/TextualBody.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index 2680c13512..6e06a6e7b5 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -401,13 +401,18 @@ module.exports = createReactClass({ label={_t("Edited at %(date)s. Click to view edits.", {date: dateString})} />; } + + const AccessibleButton = sdk.getComponent('elements.AccessibleButton'); return ( -
{editedTooltip}{`(${_t("edited")})`}
+ > + { editedTooltip }{`(${_t("edited")})`} + ); }, From 170a7a6908aa794ccbba083d0f5ccb06c0dd5f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20C?= Date: Sat, 7 Dec 2019 08:56:51 +0000 Subject: [PATCH 15/20] Translated using Weblate (French) Currently translated at 100.0% (1933 of 1933 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/ --- src/i18n/strings/fr.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/fr.json b/src/i18n/strings/fr.json index 447f6da861..bed99fed86 100644 --- a/src/i18n/strings/fr.json +++ b/src/i18n/strings/fr.json @@ -1936,5 +1936,7 @@ "You'll upgrade this room from to .": "Vous allez mettre à niveau ce salon de vers .", "Upgrade": "Mettre à niveau", "Notification settings": "Paramètres de notification", - "User Status": "Statut de l’utilisateur" + "User Status": "Statut de l’utilisateur", + "Reactions": "Réactions", + " reacted with %(content)s": " ont réagi avec %(content)s" } From 2b0d534f7656d27114c70e45d708180857cd2108 Mon Sep 17 00:00:00 2001 From: David Prieto Date: Sun, 8 Dec 2019 08:53:33 +0000 Subject: [PATCH 16/20] Translated using Weblate (Spanish) Currently translated at 70.5% (1363 of 1933 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/ --- src/i18n/strings/es.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/strings/es.json b/src/i18n/strings/es.json index 2925dc5536..958203a020 100644 --- a/src/i18n/strings/es.json +++ b/src/i18n/strings/es.json @@ -663,7 +663,7 @@ "Jump to read receipt": "Saltar a recibo leído", "Mention": "Mencionar", "Invite": "Invitar", - "Share Link to User": "Compartir Enlace con Usuario", + "Share Link to User": "Compartir Enlace al Usuario", "User Options": "Opciones de Usuario", "Make Moderator": "Convertir a Moderador", "bold": "negrita", From f10e5c8660e1d75064810ea599ef2f338b14cdfe Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Mon, 9 Dec 2019 03:06:36 +0000 Subject: [PATCH 17/20] Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (1933 of 1933 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/ --- src/i18n/strings/zh_Hant.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/zh_Hant.json b/src/i18n/strings/zh_Hant.json index 130ee456da..0c230734e0 100644 --- a/src/i18n/strings/zh_Hant.json +++ b/src/i18n/strings/zh_Hant.json @@ -1936,5 +1936,7 @@ "You'll upgrade this room from to .": "您將要把此聊天室從 升級到 。", "Upgrade": "升級", "Notification settings": "通知設定", - "User Status": "使用者狀態" + "User Status": "使用者狀態", + "Reactions": "反應", + " reacted with %(content)s": " 反應了 %(content)s" } From 36a3fe7ecf544bd0226950693ccd175cbdf54db7 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 9 Dec 2019 11:29:39 +0000 Subject: [PATCH 18/20] released js-sdk --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index cf1f92ac24..251252a7ce 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "linkifyjs": "^2.1.6", "lodash": "^4.17.14", "lolex": "4.2", - "matrix-js-sdk": "2.4.6-rc.1", + "matrix-js-sdk": "2.4.6", "optimist": "^0.6.1", "pako": "^1.0.5", "png-chunks-extract": "^1.0.0", diff --git a/yarn.lock b/yarn.lock index 1a28b3080f..ca8541ee7f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5246,10 +5246,10 @@ mathml-tag-names@^2.0.1: resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.1.tgz#6dff66c99d55ecf739ca53c492e626f1d12a33cc" integrity sha512-pWB896KPGSGkp1XtyzRBftpTzwSOL0Gfk0wLvxt4f2mgzjY19o0LxJ3U25vNWTzsh7da+KTbuXQoQ3lOJZ8WHw== -matrix-js-sdk@2.4.6-rc.1: - version "2.4.6-rc.1" - resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-2.4.6-rc.1.tgz#27524e3db8444f0c879aa1c532e7c8d02f31de60" - integrity sha512-0L37WWq0qqJKGt93/lS29dgKcVGZ6b7thbbcv1/5vXPfvr3BaLL3Hce/krMQfToWktaNCUvi0bzUshyRY3VWqQ== +matrix-js-sdk@2.4.6: + version "2.4.6" + resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-2.4.6.tgz#162e46dccc880889312b056e4a7b4b91c17a5842" + integrity sha512-ydU64WwAYFjaTJ7JTv/JM3HmSY7leHWm3x3j0J4KWVhDDxsLoQ/v8Tc6FwlVom9/B9VvGTk+AG3aY0zgNk8LQg== dependencies: another-json "^0.2.0" babel-runtime "^6.26.0" From 264f24dfc8fc5bdb066c101d75168dd617f088b2 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 9 Dec 2019 11:34:41 +0000 Subject: [PATCH 19/20] Prepare changelog for v1.7.5 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 639b0cd545..5390cad319 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Changes in [1.7.5](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.7.5) (2019-12-09) +=================================================================================================== +[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.7.5-rc.1...v1.7.5) + + * No changes since rc.1 + Changes in [1.7.5-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.7.5-rc.1) (2019-12-04) ============================================================================================================= [Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.7.4...v1.7.5-rc.1) From 0ac4e6f5a0e5822553fb40e31fc63413154bec3b Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 9 Dec 2019 11:34:42 +0000 Subject: [PATCH 20/20] v1.7.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 251252a7ce..1c37c057f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matrix-react-sdk", - "version": "1.7.5-rc.1", + "version": "1.7.5", "description": "SDK for matrix.org using React", "author": "matrix.org", "repository": {