From 9f675dda2ad0d10a6699e5a1f9327d2ef0de9705 Mon Sep 17 00:00:00 2001 From: Alexey Murz Korepov Date: Thu, 1 Aug 2019 06:46:11 +0000 Subject: [PATCH 01/20] Translated using Weblate (Russian) Currently translated at 100.0% (24 of 24 strings) Translation: Riot Web/riot-web Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ru/ --- src/i18n/strings/ru.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/ru.json b/src/i18n/strings/ru.json index 37d2e073..125a2240 100644 --- a/src/i18n/strings/ru.json +++ b/src/i18n/strings/ru.json @@ -47,5 +47,8 @@ "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Неверная конфигурация: может указывать только один из следующих параметров: default_server_config, default_server_name или default_hs_url.", "Invalid configuration: no default server specified.": "Неверная конфигурация: сервер по умолчанию не указан.", "This installation of Riot seems to have an invalid server configuration. If you are the administrator, please correct the error below": "Эта установка Riot, кажется, имеет неверную конфигурацию сервера. Если вы являетесь администратором, пожалуйста, исправьте ошибку ниже", - "Your Riot is misconfigured": "Ваш Riot неправильно настроен" + "Your Riot is misconfigured": "Ваш Riot неправильно настроен", + "Your Riot configuration contains invalid JSON. Please correct the problem and reload the page.": "Ваша конфигурация Riot содержит нерабочий JSON. Пожалуйста исправьте проблему и перезагрузите страницу.", + "The message from the parser is: %(message)s": "Сообщение из парсера: %(message)s", + "Invalid JSON": "Нерабочий JSON" } From 773dd0805bb1b05c5c397fcf7e064050655a73ab Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 12 Aug 2019 17:41:51 +0100 Subject: [PATCH 02/20] Bump matrix-react-test-utils for React 16 compatibility Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- package.json | 2 +- yarn.lock | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 8ea68b02..b46a7190 100644 --- a/package.json +++ b/package.json @@ -132,7 +132,7 @@ "karma-webpack": "4.0.0-beta.0", "loader-utils": "^1.2.3", "matrix-mock-request": "^1.2.3", - "matrix-react-test-utils": "^0.2.0", + "matrix-react-test-utils": "^0.2.2", "minimist": "^1.2.0", "mkdirp": "^0.5.1", "mocha": "^5.2.0", diff --git a/yarn.lock b/yarn.lock index 58226dee..a50fa33e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5953,13 +5953,10 @@ matrix-react-sdk@1.5.0: whatwg-fetch "^1.1.1" zxcvbn "^4.4.2" -matrix-react-test-utils@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/matrix-react-test-utils/-/matrix-react-test-utils-0.2.1.tgz#8b6c510332b9e0af97c02ba29e731b29d0b117bb" - integrity sha1-i2xRAzK54K+XwCuinnMbKdCxF7s= - dependencies: - react "^15.6.1" - react-dom "^15.6.1" +matrix-react-test-utils@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/matrix-react-test-utils/-/matrix-react-test-utils-0.2.2.tgz#c87144d3b910c7edc544a6699d13c7c2bf02f853" + integrity sha512-49+7gfV6smvBIVbeloql+37IeWMTD+fiywalwCqk8Dnz53zAFjKSltB3rmWHso1uecLtQEcPtCijfhzcLXAxTQ== md5.js@^1.3.4: version "1.3.5" @@ -7454,7 +7451,7 @@ react-beautiful-dnd@^4.0.1: redux-thunk "^2.2.0" reselect "^3.0.1" -react-dom@^15.6.0, react-dom@^15.6.1: +react-dom@^15.6.0: version "15.6.2" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.6.2.tgz#41cfadf693b757faf2708443a1d1fd5a02bef730" integrity sha1-Qc+t9pO3V/rycIRDodH9WgK+9zA= @@ -7517,7 +7514,7 @@ react-redux@^5.0.6: react-is "^16.6.0" react-lifecycles-compat "^3.0.0" -react@^15.6.0, react@^15.6.1: +react@^15.6.0: version "15.6.2" resolved "https://registry.yarnpkg.com/react/-/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72" integrity sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI= From 46dac869d55ac5a162a079b4297b9a83b2f5a7bc Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 14 Aug 2019 12:29:25 +0100 Subject: [PATCH 03/20] Load config.json before loading language so default can apply --- src/vector/index.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/vector/index.js b/src/vector/index.js index 52379257..f02313e0 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -195,11 +195,6 @@ async function loadApp() { await loadOlm(); - await loadLanguage(); - - const fragparts = parseQsFromFragment(window.location); - const params = parseQs(window.location); - // set the platform for react sdk if (window.ipcRenderer) { console.log("Using Electron platform"); @@ -239,6 +234,12 @@ async function loadApp() { // granular settings are loaded correctly and to avoid duplicating the override logic for the theme. SdkConfig.put(configJson); + // Load language after loading config.json so that settingsDefaults.language can be applied + await loadLanguage(); + + const fragparts = parseQsFromFragment(window.location); + const params = parseQs(window.location); + // don't try to redirect to the native apps if we're // verifying a 3pid (but after we've loaded the config) // or if the user is following a deep link @@ -430,6 +431,7 @@ function loadOlm() { async function loadLanguage() { const prefLang = SettingsStore.getValue("language", null, /*excludeDefault=*/true); + console.log("DEBUG", prefLang); let langs = []; if (!prefLang) { @@ -439,6 +441,7 @@ async function loadLanguage() { } else { langs = [prefLang]; } + console.log("DEBUG1", langs); try { await languageHandler.setLanguage(langs); document.documentElement.setAttribute("lang", languageHandler.getCurrentLanguage()); From 9ed647d280a38d9cc155f8283ba7cef58dc1d1d5 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 14 Aug 2019 09:28:35 -0600 Subject: [PATCH 04/20] Remove t3chguy's debug lines --- src/vector/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vector/index.js b/src/vector/index.js index f02313e0..15e4c8b8 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -431,7 +431,6 @@ function loadOlm() { async function loadLanguage() { const prefLang = SettingsStore.getValue("language", null, /*excludeDefault=*/true); - console.log("DEBUG", prefLang); let langs = []; if (!prefLang) { @@ -441,7 +440,6 @@ async function loadLanguage() { } else { langs = [prefLang]; } - console.log("DEBUG1", langs); try { await languageHandler.setLanguage(langs); document.documentElement.setAttribute("lang", languageHandler.getCurrentLanguage()); From 0b5e79ed23c1dacd339b14aa4171556ff314ef91 Mon Sep 17 00:00:00 2001 From: Nathan Follens Date: Thu, 15 Aug 2019 09:37:24 +0000 Subject: [PATCH 05/20] Translated using Weblate (West Flemish) Currently translated at 100.0% (24 of 24 strings) Translation: Riot Web/riot-web Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/vls/ --- src/i18n/strings/vls.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/i18n/strings/vls.json b/src/i18n/strings/vls.json index e16302a1..5749e322 100644 --- a/src/i18n/strings/vls.json +++ b/src/i18n/strings/vls.json @@ -1,15 +1,15 @@ { "Unexpected error preparing the app. See console for details.": "’t Is een onverwachte foute ipgetreedn by ’t voorbereidn van den app. Bekykt de console vo details.", "This installation of Riot seems to have an invalid server configuration. If you are the administrator, please correct the error below": "De serverconfiguroatie van deze Riot-instantie lykt oungeldig. A je gy den beheerder zyt, gelieve ton de foute hierounder te corrigeern", - "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Oungeldige configuroatie: ku moar één van default_server_config, default_server_name, of default_hs_url ipgeevn.", - "Invalid configuration: no default server specified.": "Oungeldige configuroatie: geen standoardserver ipgegeevn.", + "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Oungeldige configuroasje: ku moar één van default_server_config, default_server_name, of default_hs_url ingeevn.", + "Invalid configuration: no default server specified.": "Oungeldige configuroasje: geen standoardserver ingegeevn.", "Riot Desktop on %(platformName)s": "Riot Desktop ip %(platformName)s", "Unknown device": "Ounbekend toestel", "%(appName)s via %(browserName)s on %(osName)s": "%(appName)s via %(browserName)s ip %(osName)s", "You need to be using HTTPS to place a screen-sharing call.": "Je moet HTTPS gebruukn vo een iproep me schermdeeln te kunn startn.", "powered by Matrix": "meuglik gemakt deur Matrix", "Custom Server Options": "Angepaste serverinstelliengn", - "You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver.": "Je kut d’angepaste serverinstelliengn gebruukn vo jen eigen an te melden by andere Matrix-servers, deur een andere thuusserver-URL in te geevn. Dit lat je toe van Riot te gebruukn met e bestoande Matrix-account by een andere thuusserver.", + "You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver.": "Je kut d’angepaste serverinstelliengn gebruukn vo jen eigen an te meldn by andere Matrix-servers, deur een andere thuusserver-URL in te geevn. Da lat je toe van Riot te gebruukn met e bestoande Matrix-account by een andere thuusserver.", "You can also set a custom identity server, but you won't be able to invite users by email address, or be invited by email address yourself.": "Je kut ook een angepasten identiteitsserver instelln, ma je goa geen gebruukers kunn uutnodign via e-mail, of zelve via e-mail uutgenodigd wirden.", "Dismiss": "Afwyzn", "Welcome to Riot.im": "Welgekommn by Riot.im", @@ -21,7 +21,7 @@ "Explore rooms": "Gesprekkn ountdekkn", "Room Directory": "Gesprekscataloog", "Your Riot is misconfigured": "Je Riot is verkeerd geconfigureerd gewist", - "Your Riot configuration contains invalid JSON. Please correct the problem and reload the page.": "Je Riot-configuroatie bevat oungeldigen JSON. Corrigeer ’t probleem en herload ’t blad.", + "Your Riot configuration contains invalid JSON. Please correct the problem and reload the page.": "Je Riot-configuroasje bevat oungeldigen JSON. Corrigeer ’t probleem en herload ’t blad.", "The message from the parser is: %(message)s": "’t Bericht van de verwerker is: %(message)s", "Invalid JSON": "Oungeldigen JSON" } From 24e59cceddea5b5a2fb36f844259c9b2e8965610 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 16 Aug 2019 11:52:07 +0100 Subject: [PATCH 06/20] Upgrade electron-builder to 21.2.0 This is meant to help with: * macOS packaging for Electron 6 (https://github.com/vector-im/riot-web/issues/10473) * Linux desktop file should not have quotes (https://github.com/vector-im/riot-web/issues/6421) It did not help with: * Linux sandbox for Electron 5 (https://github.com/vector-im/riot-web/issues/10509) Fixes https://github.com/vector-im/riot-web/issues/6421 Part of https://github.com/vector-im/riot-web/issues/10473 --- package.json | 4 +- yarn.lock | 327 ++++++++++++++++++--------------------------------- 2 files changed, 118 insertions(+), 213 deletions(-) diff --git a/package.json b/package.json index b46a7190..4d26c41f 100644 --- a/package.json +++ b/package.json @@ -108,8 +108,8 @@ "cpx": "^1.3.2", "cross-env": "^4.0.0", "css-loader": "^2.1.0", - "electron-builder": "^20.44.4", - "electron-builder-squirrel-windows": "^21.0.6", + "electron-builder": "^21.2.0", + "electron-builder-squirrel-windows": "^21.2.0", "electron-devtools-installer": "^2.2.4", "eslint": "^5.8.0", "eslint-config-google": "^0.7.1", diff --git a/yarn.lock b/yarn.lock index a50fa33e..a825cec7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,11 +7,6 @@ resolved "https://registry.yarnpkg.com/7zip-bin/-/7zip-bin-4.0.2.tgz#6abbdc22f33cab742053777a26db2e25ca527179" integrity sha512-XtGk+IF57pr852UK1AhQJXqmm1WmSgS5uISL+LPs0z/iAxXouMvdlLJrHPeukP6gd7yR2rDTMSMkHNODgwIq7A== -"7zip-bin@~4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/7zip-bin/-/7zip-bin-4.1.0.tgz#33eff662a5c39c0c2061170cc003c5120743fff0" - integrity sha512-AsnBZN3a8/JcNt+KPkGGODaA4c7l3W5+WpeKgGSbstSLxqWtTXqd1ieJGBQ8IFCtRg8DmmKUcSkIkUc0A4p3YA== - "7zip-bin@~5.0.3": version "5.0.3" resolved "https://registry.yarnpkg.com/7zip-bin/-/7zip-bin-5.0.3.tgz#bc5b5532ecafd923a61f2fb097e3b108c0106a3f" @@ -130,6 +125,14 @@ lodash "^4.2.0" to-fast-properties "^2.0.0" +"@develar/schema-utils@~2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@develar/schema-utils/-/schema-utils-2.1.0.tgz#eceb1695bfbed6f6bb84666d5d3abe5e1fd54e17" + integrity sha512-qjCqB4ctMig9Gz5bd6lkdFr3bO6arOdQqptdBSpF1ZpCnjofieCciEzkoS9ujY9cMGyllYSCSmBJ3x9OKHXzoA== + dependencies: + ajv "^6.1.0" + ajv-keywords "^3.1.0" + "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" @@ -373,12 +376,12 @@ ajv-errors@^1.0.0: resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== -ajv-keywords@^3.1.0, ajv-keywords@^3.4.0: +ajv-keywords@^3.1.0: version "3.4.1" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.1.tgz#ef916e271c64ac12171fd8384eaae6b2345854da" integrity sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ== -ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5, ajv@^6.9.1, ajv@^6.9.2: +ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5, ajv@^6.9.1: version "6.10.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== @@ -458,45 +461,38 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -app-builder-bin@2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-2.7.1.tgz#9f690af65093821b8a6149aa29ce9f8c81fc554c" - integrity sha512-ubIBeiL9XysjMW4HETBKxj3DC8ika6dGyC0vftPc0kZwGh1iXQ5bycsjoAqY/3t3BBEEIg0VruicvBaUl1pOSQ== - app-builder-bin@3.4.3: version "3.4.3" resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-3.4.3.tgz#58a74193eb882f029be6b7f0cd3f0c6805927a6b" integrity sha512-qMhayIwi3juerQEVJMQ76trObEbfQT0nhUdxZz9a26/3NLT3pE6awmQ8S1cEnrGugaaM5gYqR8OElcDezfmEsg== -app-builder-lib@20.44.4, app-builder-lib@~20.44.4: - version "20.44.4" - resolved "https://registry.yarnpkg.com/app-builder-lib/-/app-builder-lib-20.44.4.tgz#39ac20b3155e1b0c2499862bcdea879b50389573" - integrity sha512-1K1xfrhyqDgnibwyuYMgvfwGilGLMF31YwOUJ8IXreyjRef9lUjWW+BZuBXqk4Uqd0C0EYPjhofgpuN0WoAQ+A== +app-builder-lib@21.2.0, app-builder-lib@~21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/app-builder-lib/-/app-builder-lib-21.2.0.tgz#fa1d1604601431e2c3476857e9b9b61d33ad26cc" + integrity sha512-aOX/nv77/Bti6NymJDg7p9T067xD8m1ipIEJR7B4Mm1GsJWpMm9PZdXtCRiMNRjHtQS5KIljT0g17781y6qn5A== dependencies: - "7zip-bin" "~4.1.0" - app-builder-bin "2.7.1" + "7zip-bin" "~5.0.3" + "@develar/schema-utils" "~2.1.0" async-exit-hook "^2.0.1" bluebird-lst "^1.0.9" - builder-util "10.1.2" - builder-util-runtime "8.2.5" + builder-util "21.2.0" + builder-util-runtime "8.3.0" chromium-pickle-js "^0.2.0" debug "^4.1.1" ejs "^2.6.2" - electron-osx-sign "0.4.11" - electron-publish "20.44.4" - fs-extra-p "^8.0.2" + electron-publish "21.2.0" + fs-extra "^8.1.0" hosted-git-info "^2.7.1" is-ci "^2.0.0" - isbinaryfile "^4.0.1" + isbinaryfile "^4.0.2" js-yaml "^3.13.1" lazy-val "^1.0.4" minimatch "^3.0.4" normalize-package-data "^2.5.0" - plist "^3.0.1" - read-config-file "3.2.2" - sanitize-filename "^1.6.1" - semver "^6.1.1" - temp-file "^3.3.3" + read-config-file "5.0.0" + sanitize-filename "^1.6.2" + semver "^6.3.0" + temp-file "^3.3.4" aproba@^1.0.3, aproba@^1.1.1: version "1.2.0" @@ -1552,7 +1548,7 @@ base64-arraybuffer@0.1.5: resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8" integrity sha1-c5JncZI7Whl0etZmqlzUv5xunOg= -base64-js@^1.0.2, base64-js@^1.2.3: +base64-js@^1.0.2: version "1.3.0" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.0.tgz#cab1e6118f051095e58b5281aea8c1cd22bfc0e3" integrity sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw== @@ -1621,7 +1617,7 @@ blob@0.0.5: resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683" integrity sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig== -bluebird-lst@^1.0.7, bluebird-lst@^1.0.9: +bluebird-lst@^1.0.9: version "1.0.9" resolved "https://registry.yarnpkg.com/bluebird-lst/-/bluebird-lst-1.0.9.tgz#a64a0e4365658b9ab5fe875eb9dfb694189bb41c" integrity sha512-7B1Rtx82hjnSD4PGLAjVWeYH3tHAcVUmChh85a3lltKQm6FresXh9ErQo6oAv6CqxttczC3/kEg8SY5NluPuUw== @@ -1879,17 +1875,7 @@ buffer@^5.1.0: base64-js "^1.0.2" ieee754 "^1.1.4" -builder-util-runtime@8.2.5: - version "8.2.5" - resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-8.2.5.tgz#6f19330178345f8ce2c65842b0a9cf6a187d5946" - integrity sha512-YILT+YUlxrE3yNB6mDC1tF+Q24mr1LSYdjP5U861jbBeDZfvy1/VPDzW3boMVrDtzYnDnvkYrzLJnoh6TXA75w== - dependencies: - bluebird-lst "^1.0.9" - debug "^4.1.1" - fs-extra-p "^8.0.2" - sax "^1.2.4" - -builder-util-runtime@8.3.0, builder-util-runtime@^8.2.5: +builder-util-runtime@8.3.0: version "8.3.0" resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-8.3.0.tgz#f5fac9139af6facf42a21fbe4d3aebed88fda33e" integrity sha512-CSOdsYqf4RXIHh1HANPbrZHlZ9JQJXSuDDloblZPcWQVN62inyYoTQuSmY3KrgefME2Sv3Kn2MxHvbGQHRf8Iw== @@ -1897,26 +1883,7 @@ builder-util-runtime@8.3.0, builder-util-runtime@^8.2.5: debug "^4.1.1" sax "^1.2.4" -builder-util@10.1.2, builder-util@~10.1.2: - version "10.1.2" - resolved "https://registry.yarnpkg.com/builder-util/-/builder-util-10.1.2.tgz#29e631025aa4c837411d5e4ef425d14e320eb2d0" - integrity sha512-LQMh36Cg0r4ZfKqNlaUclndS/IXxZ3OdCgmXvw1vdP3QwYT2NkyE7LfMikAFIHpXOs6zsVH+iW+Fe/AX1jfFag== - dependencies: - "7zip-bin" "~4.1.0" - "@types/debug" "^4.1.4" - app-builder-bin "2.7.1" - bluebird-lst "^1.0.9" - builder-util-runtime "^8.2.5" - chalk "^2.4.2" - debug "^4.1.1" - fs-extra-p "^8.0.2" - is-ci "^2.0.0" - js-yaml "^3.13.1" - source-map-support "^0.5.12" - stat-mode "^0.3.0" - temp-file "^3.3.3" - -builder-util@~21.2.0: +builder-util@21.2.0, builder-util@~21.2.0: version "21.2.0" resolved "https://registry.yarnpkg.com/builder-util/-/builder-util-21.2.0.tgz#aba721190e4e841009d9fb4b88f1130ed616522f" integrity sha512-Nd6CUb6YgDY8EXAXEIegx+1kzKqyFQ5ZM5BoYkeunAlwz/zDJoH1UCyULjoS5wQe5czNClFQy07zz2bzYD0Z4A== @@ -2240,11 +2207,6 @@ color-convert@^1.9.0: dependencies: color-name "1.1.3" -color-convert@~0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-0.5.3.tgz#bdb6c69ce660fadffe0b0007cc447e1b9f7282bd" - integrity sha1-vbbGnOZg+t/+CwAHzER+G59ygr0= - color-name@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" @@ -2304,11 +2266,6 @@ commonmark@^0.28.1: minimist "~ 1.2.0" string.prototype.repeat "^0.2.0" -compare-version@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/compare-version/-/compare-version-0.1.2.tgz#0162ec2d9351f5ddd59a9202cba935366a725080" - integrity sha1-AWLsLZNR9d3VmpICy6k1NmpyUIA= - component-bind@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1" @@ -2935,19 +2892,18 @@ direction@^0.1.5: resolved "https://registry.yarnpkg.com/direction/-/direction-0.1.5.tgz#ce5d797f97e26f8be7beff53f7dc40e1c1a9ec4c" integrity sha1-zl15f5fib4vnvv9T99xA4cGp7Ew= -dmg-builder@6.7.2: - version "6.7.2" - resolved "https://registry.yarnpkg.com/dmg-builder/-/dmg-builder-6.7.2.tgz#4ba4955e7f35f159ce53c68d74d3ea74875f9afd" - integrity sha512-xfYOwhHjOSOIqkk8A0h8zcaio/WyzrAWpMTu9hzV3Z5PI4tOG0Pq6a9Lh/mHr1r3bydif8R21qGvKU1Re9CpUg== +dmg-builder@21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/dmg-builder/-/dmg-builder-21.2.0.tgz#a9c883557cacb9abdb66c7133b30fe921c1a3ba7" + integrity sha512-9cJEclnGy7EyKFCoHDYDf54pub/t92CQapyiUxU0w9Bj2vUvfoDagP1PMiX4XD5rPp96141h9A+QN0OB4VgvQg== dependencies: - app-builder-lib "~20.44.4" + app-builder-lib "~21.2.0" bluebird-lst "^1.0.9" - builder-util "~10.1.2" - fs-extra-p "^8.0.2" - iconv-lite "^0.4.24" + builder-util "~21.2.0" + fs-extra "^8.1.0" + iconv-lite "^0.5.0" js-yaml "^3.13.1" - parse-color "^1.0.0" - sanitize-filename "^1.6.1" + sanitize-filename "^1.6.2" dns-equal@^1.0.0: version "1.0.0" @@ -3048,15 +3004,15 @@ dot-prop@^4.1.0, dot-prop@^4.1.1: dependencies: is-obj "^1.0.0" -dotenv-expand@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-4.2.0.tgz#def1f1ca5d6059d24a766e587942c21106ce1275" - integrity sha1-3vHxyl1gWdJKdm5YeULCEQbOEnU= +dotenv-expand@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" + integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== -dotenv@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-6.2.0.tgz#941c0410535d942c8becf28d3f357dbd9d476064" - integrity sha512-HygQCKUBSFl8wKQZBSemMywRWcEDNidvNbjGVyZu3nbZ8qq9ubiPoGLMdRDpfSrpkkm9BXYFkpKxxFX38o/76w== +dotenv@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.0.0.tgz#ed310c165b4e8a97bb745b0a9d99c31bda566440" + integrity sha512-30xVGqjLjiUOArT4+M5q9sYdvuR4riM6yK9wMcas9Vbp6zZa+ocC9dp6QoftuhTPhFAiLK/0C5Ni2nou/Bk8lg== draft-js@^0.11.0-alpha: version "0.11.0" @@ -3105,7 +3061,7 @@ ejs@^2.6.2: resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.6.2.tgz#3a32c63d1cd16d11266cd4703b14fec4e74ab4f6" integrity sha512-PcW2a0tyTuPHz3tWyYqtK6r1fZ3gp+3Sop8Ph+ZYN81Ob5rwmbHEzaqs10N3BEsaGTkh/ooniXK+WwszGlc2+Q== -electron-builder-squirrel-windows@^21.0.6: +electron-builder-squirrel-windows@^21.2.0: version "21.2.0" resolved "https://registry.yarnpkg.com/electron-builder-squirrel-windows/-/electron-builder-squirrel-windows-21.2.0.tgz#e47038df55914312d84a3fcb9c9c4f9accdf70ab" integrity sha512-y3ynky29vm/CmcHI6rLKU4S5pzeag/PHgl/9+rP35lZzgCIC7sMX5ugEtzpnhoJUVqojvo5cUD4erMw8JenILw== @@ -3118,24 +3074,24 @@ electron-builder-squirrel-windows@^21.0.6: optionalDependencies: "7zip-bin" "~4.0.2" -electron-builder@^20.44.4: - version "20.44.4" - resolved "https://registry.yarnpkg.com/electron-builder/-/electron-builder-20.44.4.tgz#c47981ddf486d582c0ae0f4d530c831010aacad7" - integrity sha512-H8zzP01albkKh2Ec1zc0A7RGriUkHb5M99NJskaYtgKtGATTAGH+r9OIWVk5Hk9c1dLMVudbqEeaSlygMF2asw== +electron-builder@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/electron-builder/-/electron-builder-21.2.0.tgz#b68ec4def713fc0b8602654ce842f972432f50c5" + integrity sha512-x8EXrqFbAb2L3N22YlGar3dGh8vwptbB3ovo3OF6K7NTpcsmM2zEoJv7GhFyX73rNzSG2HaWpXwGAtOp2JWiEw== dependencies: - app-builder-lib "20.44.4" + app-builder-lib "21.2.0" bluebird-lst "^1.0.9" - builder-util "10.1.2" - builder-util-runtime "8.2.5" + builder-util "21.2.0" + builder-util-runtime "8.3.0" chalk "^2.4.2" - dmg-builder "6.7.2" - fs-extra-p "^8.0.2" + dmg-builder "21.2.0" + fs-extra "^8.1.0" is-ci "^2.0.0" lazy-val "^1.0.4" - read-config-file "3.2.2" - sanitize-filename "^1.6.1" - update-notifier "^3.0.0" - yargs "^13.2.4" + read-config-file "5.0.0" + sanitize-filename "^1.6.2" + update-notifier "^3.0.1" + yargs "^13.3.0" electron-devtools-installer@^2.2.4: version "2.2.4" @@ -3147,28 +3103,16 @@ electron-devtools-installer@^2.2.4: rimraf "^2.5.2" semver "^5.3.0" -electron-osx-sign@0.4.11: - version "0.4.11" - resolved "https://registry.yarnpkg.com/electron-osx-sign/-/electron-osx-sign-0.4.11.tgz#8377732fe7b207969f264b67582ee47029ce092f" - integrity sha512-VVd40nrnVqymvFrY9ZkOYgHJOvexHHYTR3di/SN+mjJ0OWhR1I8BRVj3U+Yamw6hnkZZNKZp52rqL5EFAAPFkQ== - dependencies: - bluebird "^3.5.0" - compare-version "^0.1.2" - debug "^2.6.8" - isbinaryfile "^3.0.2" - minimist "^1.2.0" - plist "^3.0.1" - -electron-publish@20.44.4: - version "20.44.4" - resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-20.44.4.tgz#f826de3788c4e3848b7f6ebd2c3acb910a1d66cc" - integrity sha512-50NzsKOnNqOpGJzPl04vMyitdguUvp15FWKWtu4KISsHfgdLMWGgxHGZwfMphc/vf364zXvPHsYQza3MASgaEQ== +electron-publish@21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-21.2.0.tgz#cc225cb46aa62e74b899f2f7299b396c9802387d" + integrity sha512-mWavuoWJe87iaeKd0I24dNWIaR+0yRzshjNVqGyK019H766fsPWl3caQJnVKFaEyrZRP397v4JZVG0e7s16AxA== dependencies: bluebird-lst "^1.0.9" - builder-util "~10.1.2" - builder-util-runtime "^8.2.5" + builder-util "~21.2.0" + builder-util-runtime "8.3.0" chalk "^2.4.2" - fs-extra-p "^8.0.2" + fs-extra "^8.1.0" lazy-val "^1.0.4" mime "^2.4.4" @@ -4048,22 +3992,6 @@ fs-constants@^1.0.0: resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra-p@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra-p/-/fs-extra-p-7.0.1.tgz#4eec0b6dfa150fa90f6ddd773b4fb1d55cad54e3" - integrity sha512-yhd2OV0HnHt2oitlp+X9hl2ReX4X/7kQeL7/72qzPHTZj5eUPGzAKOvEglU02Fa1OeG2rSy/aKB4WGVaLiF8tw== - dependencies: - bluebird-lst "^1.0.7" - fs-extra "^7.0.1" - -fs-extra-p@^8.0.2: - version "8.1.0" - resolved "https://registry.yarnpkg.com/fs-extra-p/-/fs-extra-p-8.1.0.tgz#781b7105e96cf3c1d3c8a88a83215c8a31c52bae" - integrity sha512-sCLpU5kk5CvrWZvFM9dUlqPgHrE02AEt6XYzF7kDscr5COc7DHfhNfODTXt0bkVNmt5DkvU2uJSYjorxY3bRKA== - dependencies: - bluebird-lst "^1.0.9" - fs-extra "^8.1.0" - fs-extra@^0.30.0: version "0.30.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0" @@ -4075,15 +4003,6 @@ fs-extra@^0.30.0: path-is-absolute "^1.0.0" rimraf "^2.2.8" -fs-extra@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs-extra@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" @@ -4705,6 +4624,13 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13: dependencies: safer-buffer ">= 2.1.2 < 3" +iconv-lite@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.5.0.tgz#59cdde0a2a297cc2aeb0c6445a195ee89f127550" + integrity sha512-NnEhI9hIEKHOzJ4f697DMz9IQEXr/MMJ5w64vN2/4Ai+wRnvV7SBrL0KLoRlwaKVghOc7LQ5YkPLuX146b6Ydw== + dependencies: + safer-buffer ">= 2.1.2 < 3" + icss-replace-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" @@ -5273,14 +5199,14 @@ isarray@2.0.1: resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e" integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4= -isbinaryfile@^3.0.0, isbinaryfile@^3.0.2: +isbinaryfile@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-3.0.3.tgz#5d6def3edebf6e8ca8cae9c30183a804b5f8be80" integrity sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw== dependencies: buffer-alloc "^1.2.0" -isbinaryfile@^4.0.1: +isbinaryfile@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.2.tgz#bfc45642da645681c610cca831022e30af426488" integrity sha512-C3FSxJdNrEr2F4z6uFtNzECDM5hXk+46fxaa+cwBe5/XrWSmzdG8DDgyjfX6/NRdBB21q2JXuRAzPCUs+fclnQ== @@ -5348,7 +5274,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@^3.12.1, js-yaml@^3.13.0, js-yaml@^3.13.1: +js-yaml@^3.13.0, js-yaml@^3.13.1: version "3.13.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -5888,6 +5814,22 @@ matrix-js-sdk@2.3.0: request "^2.88.0" unhomoglyph "^1.0.2" +matrix-js-sdk@2.3.0-rc.1: + version "2.3.0-rc.1" + resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-2.3.0-rc.1.tgz#fe90e3c60f17dacea6454786269a1ba497d8d401" + integrity sha512-lxk/aBNrTklG5Ya8vhc8kbBL2jrPU1vvDZ87GXVMGL3L1Cg3oNnClJXqyf/MwnY8egfqHWLrMsQRSerOPVgnEQ== + dependencies: + another-json "^0.2.0" + babel-runtime "^6.26.0" + bluebird "^3.5.0" + browser-request "^0.3.3" + bs58 "^4.0.1" + content-type "^1.0.2" + loglevel "1.6.1" + qs "^6.5.2" + request "^2.88.0" + unhomoglyph "^1.0.2" + matrix-mock-request@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/matrix-mock-request/-/matrix-mock-request-1.2.3.tgz#56b15d86e2601a9b48a854844396d18caab649c8" @@ -5896,10 +5838,10 @@ matrix-mock-request@^1.2.3: bluebird "^3.5.0" expect "^1.20.2" -matrix-react-sdk@1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-1.5.0.tgz#4db5dacd8b7db54b6abcdb115466944f525a7943" - integrity sha512-qhQRXCOCYfsqvASVlqhGNLwJWTEWUWh6igSFvMH/0XvurMQukEASzSKTvEeyrI4m+xXCwaA6u4Psd9nSLWwSUQ== +matrix-react-sdk@1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-1.5.1.tgz#3b822891dd297533e4ab0b562eff5e9d8bd12ab0" + integrity sha512-LeB1ZR6pqGAjQ8ODzyhejs4DnYKiiUDmekLSWpJiz30tJrDwXCFM5nUC8CUj4b9xbExrwTn7HP/RZO/CLS8MlA== dependencies: babel-plugin-syntax-dynamic-import "^6.18.0" babel-runtime "^6.26.0" @@ -5928,7 +5870,7 @@ matrix-react-sdk@1.5.0: linkifyjs "^2.1.6" lodash "^4.17.14" lolex "2.3.2" - matrix-js-sdk "2.3.0" + matrix-js-sdk "2.3.0-rc.1" optimist "^0.6.1" pako "^1.0.5" png-chunks-extract "^1.0.0" @@ -6804,13 +6746,6 @@ parse-asn1@^5.0.0: pbkdf2 "^3.0.3" safe-buffer "^5.1.1" -parse-color@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-color/-/parse-color-1.0.0.tgz#7b748b95a83f03f16a94f535e52d7f3d94658619" - integrity sha1-e3SLlag/A/FqlPU15S1/PZRlhhk= - dependencies: - color-convert "~0.5.0" - parse-glob@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" @@ -6967,15 +6902,6 @@ pkg-dir@^3.0.0: dependencies: find-up "^3.0.0" -plist@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/plist/-/plist-3.0.1.tgz#a9b931d17c304e8912ef0ba3bdd6182baf2e1f8c" - integrity sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ== - dependencies: - base64-js "^1.2.3" - xmlbuilder "^9.0.7" - xmldom "0.1.x" - pluralizers@^0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/pluralizers/-/pluralizers-0.1.7.tgz#8d38dd0a1b660e739b10ab2eab10b684c9d50142" @@ -7542,18 +7468,15 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -read-config-file@3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/read-config-file/-/read-config-file-3.2.2.tgz#57bbff7dd97caf237d0d625bd541c6d0efb4d067" - integrity sha512-PuFpMgZF01VB0ydH1dfitAxCP/fh+qnfbA9cYNIPoxPbz0SMngsrafCtaHDWfER7MwlDz4fmrNBhPkakxxFpTg== +read-config-file@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/read-config-file/-/read-config-file-5.0.0.tgz#1487c983fae9c1b672d3acda5cac899a2d451f02" + integrity sha512-jIKUu+C84bfnKxyJ5j30CxCqgXWYjZLXuVE/NYlMEpeni+dhESgAeZOZd0JZbg1xTkMmnCdxksDoarkOyfEsOg== dependencies: - ajv "^6.9.2" - ajv-keywords "^3.4.0" - bluebird-lst "^1.0.7" - dotenv "^6.2.0" - dotenv-expand "^4.2.0" - fs-extra-p "^7.0.1" - js-yaml "^3.12.1" + dotenv "^8.0.0" + dotenv-expand "^5.1.0" + fs-extra "^8.1.0" + js-yaml "^3.13.1" json5 "^2.1.0" lazy-val "^1.0.4" @@ -7936,7 +7859,7 @@ safe-regex@^1.1.0: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sanitize-filename@^1.6.1, sanitize-filename@^1.6.2: +sanitize-filename@^1.6.2: version "1.6.2" resolved "https://registry.yarnpkg.com/sanitize-filename/-/sanitize-filename-1.6.2.tgz#01b4fc8809f14e9d22761fe70380fe7f3f902185" integrity sha512-cmTzND7RMxUB+f7gI+4+KAVHWEg0lfXvQJdko+FXDP5bNbGIdx4KMP5pX6lv5jfT9jSf6OBbjyxjFtZQwYA/ig== @@ -8018,7 +7941,7 @@ semver-diff@^2.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== -semver@^6.1.1, semver@^6.2.0: +semver@^6.1.1, semver@^6.2.0, semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== @@ -8363,15 +8286,7 @@ source-map-support@^0.4.15: dependencies: source-map "^0.5.6" -source-map-support@^0.5.12, source-map-support@^0.5.13, source-map-support@~0.5.12: - version "0.5.13" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" - integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-support@~0.5.10: +source-map-support@^0.5.13, source-map-support@~0.5.10, source-map-support@~0.5.12: version "0.5.13" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== @@ -8734,7 +8649,7 @@ tar@^4: safe-buffer "^5.1.2" yallist "^3.0.3" -temp-file@^3.3.3, temp-file@^3.3.4: +temp-file@^3.3.4: version "3.3.4" resolved "https://registry.yarnpkg.com/temp-file/-/temp-file-3.3.4.tgz#73af868cd7cb7400a44e4bb03e653b2280ce2878" integrity sha512-qSZ5W5q54iyGnP8cNl49RE0jTJc5CrzNocux5APD5yIxcgonoMuMSbsZfaZy8rTGCYo0Xz6ySVv3adagZ8gffg== @@ -8773,10 +8688,10 @@ terser@^3.14.1: source-map "~0.6.1" source-map-support "~0.5.10" -terser@^4.0.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.1.2.tgz#b2656c8a506f7ce805a3f300a2ff48db022fa391" - integrity sha512-jvNoEQSPXJdssFwqPSgWjsOrb+ELoE+ILpHPKXC83tIxOlh2U75F1KuB2luLD/3a6/7K3Vw5pDn+hvu0C4AzSw== +terser@^4.1.2: + version "4.1.4" + resolved "https://registry.yarnpkg.com/terser/-/terser-4.1.4.tgz#4478b6a08bb096a61e793fea1a4434408bab936c" + integrity sha512-+ZwXJvdSwbd60jG0Illav0F06GDJF0R4ydZ21Q3wGAFKoBGyJGo34F63vzJHgvYxc1ukOtIjvwEvl9MkjzM6Pg== dependencies: commander "^2.20.0" source-map "~0.6.1" @@ -9053,7 +8968,7 @@ upath@^1.1.1: resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.2.tgz#3db658600edaeeccbe6db5e684d67ee8c2acd068" integrity sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q== -update-notifier@^3.0.0: +update-notifier@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-3.0.1.tgz#78ecb68b915e2fd1be9f767f6e298ce87b736250" integrity sha512-grrmrB6Zb8DUiyDIaeRTBCkgISYUgETNe7NglEbVsrLWXeESnlCSP50WfRSj/GmzMPl6Uchj24S/p80nP/ZQrQ== @@ -9474,16 +9389,6 @@ xdg-basedir@^3.0.0: resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ= -xmlbuilder@^9.0.7: - version "9.0.7" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" - integrity sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0= - -xmldom@0.1.x: - version "0.1.27" - resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.27.tgz#d501f97b3bdb403af8ef9ecc20573187aadac0e9" - integrity sha1-1QH5ezvbQDr4757MIFcxh6rawOk= - xmlhttprequest-ssl@~1.5.4: version "1.5.5" resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" @@ -9560,7 +9465,7 @@ yargs@13.2.4: y18n "^4.0.0" yargs-parser "^13.1.0" -yargs@^13.2.1, yargs@^13.2.4: +yargs@^13.2.1, yargs@^13.3.0: version "13.3.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA== From 56674ea70849b3a793fa7b862945163aa10b36b8 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 16 Aug 2019 13:34:12 +0100 Subject: [PATCH 07/20] Set SUID bit on chrome-sandbox for Debian This tweaks Linux packages for Riot to SUID `chrome-sandbox` after install. This is required as of Electron 5 for certain distros, such as Debian. This change has also been provided to `electron-builder` upstream, so ideally they'll include it in the future and this becomes redundant. Fixes https://github.com/vector-im/riot-web/issues/10509 --- electron_app/build/linux/after-install.tpl | 12 ++++++++++++ package.json | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 electron_app/build/linux/after-install.tpl diff --git a/electron_app/build/linux/after-install.tpl b/electron_app/build/linux/after-install.tpl new file mode 100644 index 00000000..13f14ef1 --- /dev/null +++ b/electron_app/build/linux/after-install.tpl @@ -0,0 +1,12 @@ +#!/bin/bash + +# Link to the binary +ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}' + +# SUID chrome-sandbox for Electron 5+ +# Remove this custom after-install.tpl once this change has been upstreamed +# https://github.com/electron-userland/electron-builder/pull/4163 +chmod 4755 '/opt/${productFilename}/chrome-sandbox' || true + +update-mime-database /usr/share/mime || true +update-desktop-database /usr/share/applications || true diff --git a/package.json b/package.json index b46a7190..b06c716d 100644 --- a/package.json +++ b/package.json @@ -175,6 +175,9 @@ "StartupWMClass": "riot" } }, + "deb": { + "afterInstall": "electron_app/build/linux/after-install.tpl" + }, "mac": { "category": "public.app-category.social-networking" }, From 0617c1cd134e3d0b9b49a7f5d6508b110f5aec7c Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 16 Aug 2019 14:30:47 +0100 Subject: [PATCH 08/20] Tweak comment about upstream --- electron_app/build/linux/after-install.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/electron_app/build/linux/after-install.tpl b/electron_app/build/linux/after-install.tpl index 13f14ef1..6ee772d2 100644 --- a/electron_app/build/linux/after-install.tpl +++ b/electron_app/build/linux/after-install.tpl @@ -4,7 +4,9 @@ ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}' # SUID chrome-sandbox for Electron 5+ -# Remove this custom after-install.tpl once this change has been upstreamed +# Remove this entire file (after-install.tpl) and remove the reference in +# package.json once this change has been upstreamed so we go back to the copy +# from upstream. # https://github.com/electron-userland/electron-builder/pull/4163 chmod 4755 '/opt/${productFilename}/chrome-sandbox' || true From 26d70b1bd4f09c9ac27052d3603409991bf53efe Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 16 Aug 2019 13:34:12 +0100 Subject: [PATCH 09/20] Set SUID bit on chrome-sandbox for Debian This tweaks Linux packages for Riot to SUID `chrome-sandbox` after install. This is required as of Electron 5 for certain distros, such as Debian. This change has also been provided to `electron-builder` upstream, so ideally they'll include it in the future and this becomes redundant. Fixes https://github.com/vector-im/riot-web/issues/10509 --- electron_app/build/linux/after-install.tpl | 12 ++++++++++++ package.json | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 electron_app/build/linux/after-install.tpl diff --git a/electron_app/build/linux/after-install.tpl b/electron_app/build/linux/after-install.tpl new file mode 100644 index 00000000..13f14ef1 --- /dev/null +++ b/electron_app/build/linux/after-install.tpl @@ -0,0 +1,12 @@ +#!/bin/bash + +# Link to the binary +ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}' + +# SUID chrome-sandbox for Electron 5+ +# Remove this custom after-install.tpl once this change has been upstreamed +# https://github.com/electron-userland/electron-builder/pull/4163 +chmod 4755 '/opt/${productFilename}/chrome-sandbox' || true + +update-mime-database /usr/share/mime || true +update-desktop-database /usr/share/applications || true diff --git a/package.json b/package.json index 8ea68b02..99d1ac03 100644 --- a/package.json +++ b/package.json @@ -175,6 +175,9 @@ "StartupWMClass": "riot" } }, + "deb": { + "afterInstall": "electron_app/build/linux/after-install.tpl" + }, "mac": { "category": "public.app-category.social-networking" }, From aa67a3ba2aa5e8ba402816892ea7bd813422977e Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 16 Aug 2019 14:30:47 +0100 Subject: [PATCH 10/20] Tweak comment about upstream --- electron_app/build/linux/after-install.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/electron_app/build/linux/after-install.tpl b/electron_app/build/linux/after-install.tpl index 13f14ef1..6ee772d2 100644 --- a/electron_app/build/linux/after-install.tpl +++ b/electron_app/build/linux/after-install.tpl @@ -4,7 +4,9 @@ ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}' # SUID chrome-sandbox for Electron 5+ -# Remove this custom after-install.tpl once this change has been upstreamed +# Remove this entire file (after-install.tpl) and remove the reference in +# package.json once this change has been upstreamed so we go back to the copy +# from upstream. # https://github.com/electron-userland/electron-builder/pull/4163 chmod 4755 '/opt/${productFilename}/chrome-sandbox' || true From 8a58ba237416cba9332aea70e318a169043ff36d Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Fri, 16 Aug 2019 15:23:11 +0100 Subject: [PATCH 11/20] v1.3.3 --- electron_app/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron_app/package.json b/electron_app/package.json index c4fe2954..2e960245 100644 --- a/electron_app/package.json +++ b/electron_app/package.json @@ -2,7 +2,7 @@ "name": "riot-web", "productName": "Riot", "main": "src/electron-main.js", - "version": "1.3.2", + "version": "1.3.3", "description": "A feature-rich client for Matrix.org", "author": "New Vector Ltd.", "dependencies": { From 7a998e7ed722731d07a9bb752746acb6255930cd Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Fri, 16 Aug 2019 15:26:02 +0100 Subject: [PATCH 12/20] Prepare changelog for v1.3.3 --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36ab269c..4494b11b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Changes in [1.3.3](https://github.com/vector-im/riot-web/releases/tag/v1.3.3) (2019-08-16) +========================================================================================== +[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.3.2...v1.3.3) + + * Linux-only release to fix sandboxing with Electron 5 on Debian + [\#10580](https://github.com/vector-im/riot-web/pull/10580) + Changes in [1.3.2](https://github.com/vector-im/riot-web/releases/tag/v1.3.2) (2019-08-05) ========================================================================================== [Full Changelog](https://github.com/vector-im/riot-web/compare/v1.3.1...v1.3.2) From 4299cdfeacea649c67be85b8c50ccaeb9e414ba0 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Fri, 16 Aug 2019 15:26:03 +0100 Subject: [PATCH 13/20] v1.3.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 99d1ac03..86a216f3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "riot-web", "productName": "Riot", "main": "electron_app/src/electron-main.js", - "version": "1.3.2", + "version": "1.3.3", "description": "A feature-rich client for Matrix.org", "author": "New Vector Ltd.", "repository": { From 72c6707bdb68dd2234978c22564d4505b2e7b8ea Mon Sep 17 00:00:00 2001 From: MorbidMind Date: Sat, 17 Aug 2019 12:16:02 +0000 Subject: [PATCH 14/20] Translated using Weblate (Polish) Currently translated at 100.0% (24 of 24 strings) Translation: Riot Web/riot-web Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/pl/ --- src/i18n/strings/pl.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/pl.json b/src/i18n/strings/pl.json index dd087c6e..fab590a5 100644 --- a/src/i18n/strings/pl.json +++ b/src/i18n/strings/pl.json @@ -40,5 +40,14 @@ "Sign In": "Zaloguj", "Need help?": "Potrzebujesz pomocy?", "Room Directory": "Katalog pokojów", - "Explore rooms": "Przeglądaj pokoje" + "Explore rooms": "Przeglądaj pokoje", + "Your Riot configuration contains invalid JSON. Please correct the problem and reload the page.": "Konfiguracja Twojego Riot zawiera błędny plik JSON. Popraw swoją konfigurację i odśwież stronę.", + "The message from the parser is: %(message)s": "Wiadomość od parsera to: %(message)s", + "Invalid JSON": "Błędny JSON", + "Your Riot is misconfigured": "Twój Riot jest źle skonfigurowany", + "Unexpected error preparing the app. See console for details.": "Niespodziewany błąd podczas przygotowywania aplikacji. Otwórz konsolę po szczegóły.", + "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Błędna konfiguracja. Można sprecyzować tylko jedno z: default_server_config, default_server_name, lub default_hs_url.", + "Invalid configuration: no default server specified.": "Błędna konfiguracja: nie wybrano domyślnego serwera.", + "You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver.": "Możesz użyć Niestandardowych Opcji Serwera by zalogować się do innych serwerów Matrix poprzez podanie URL innego serwera głównego. Dzięki temu możesz używać Riot z istniejącym kontem z innego serwera głównego.", + "You can also set a custom identity server, but you won't be able to invite users by email address, or be invited by email address yourself.": "Możesz również ustawić niestandardowy serwer tożsamości, lecz nie będziesz móc zapraszać użytkowników i otrzymywać zaproszeń poprzez podanie adresu email." } From a438efa4becb3aaa2e9c394441b7eca9fe67e947 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 31 Jul 2019 15:50:54 +0100 Subject: [PATCH 15/20] Upgrade to Electron 6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 09a5c783..b9a68440 100644 --- a/package.json +++ b/package.json @@ -154,7 +154,7 @@ }, "build": { "appId": "im.riot.app", - "electronVersion": "5.0.7", + "electronVersion": "6.0.0", "files": [ "node_modules/**", "src/**" From d12f94888a67489a801249cb3d4677157ae34a2f Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 31 Jul 2019 15:51:30 +0100 Subject: [PATCH 16/20] Use modern command name for electron-builder `electron-builder` now recommends you invoke it via that name instead of `build` as was previously supported. --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b9a68440..a1026444 100644 --- a/package.json +++ b/package.json @@ -36,10 +36,10 @@ "build:compile": "yarn reskindex && babel --source-maps -d lib src", "build:bundle": "cross-env NODE_ENV=production webpack -p --progress --bail --mode production", "build:bundle:dev": "webpack --progress --bail --mode development", - "build:electron": "yarn clean && yarn build && yarn install:electron && build -wml --ia32 --x64", - "build:electron:linux": "yarn build && build -l --x64", - "build:electron:macos": "yarn build && build -m --x64", - "build:electron:windows": "yarn build && build -w --ia32 --x64", + "build:electron": "yarn clean && yarn build && yarn install:electron && electron-builder -wml --ia32 --x64", + "build:electron:linux": "yarn build && electron-builder -l --x64", + "build:electron:macos": "yarn build && electron-builder -m --x64", + "build:electron:windows": "yarn build && electron-builder -w --ia32 --x64", "build:react-sdk": "node scripts/yarn-sub.js matrix-react-sdk build", "build:js-sdk": "node scripts/yarn-sub.js matrix-js-sdk start:init", "build": "yarn build:js-sdk && yarn build:react-sdk && yarn reskindex && yarn build:res && yarn build:bundle", From 0800faf057c14df21a874995c8e1f69f8141bbfc Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Tue, 20 Aug 2019 10:36:06 +0100 Subject: [PATCH 17/20] Upgrade to Electron 6.0.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a1026444..79c8f6d0 100644 --- a/package.json +++ b/package.json @@ -154,7 +154,7 @@ }, "build": { "appId": "im.riot.app", - "electronVersion": "6.0.0", + "electronVersion": "6.0.2", "files": [ "node_modules/**", "src/**" From 961369f48d554af0d632d0d973c7b91acb7506a8 Mon Sep 17 00:00:00 2001 From: liberodark Date: Wed, 21 Aug 2019 13:32:42 +0200 Subject: [PATCH 18/20] Upgrade to Electron 6.0.3 Upgrade to last Electron 6.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 79c8f6d0..16ac6c6f 100644 --- a/package.json +++ b/package.json @@ -154,7 +154,7 @@ }, "build": { "appId": "im.riot.app", - "electronVersion": "6.0.2", + "electronVersion": "6.0.3", "files": [ "node_modules/**", "src/**" From b3a660959ee7a1fed2a7a5b928ef8e3913b71e3b Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 23 Aug 2019 10:23:09 +0100 Subject: [PATCH 19/20] add cider composer labs flag --- riot.im/develop/config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/riot.im/develop/config.json b/riot.im/develop/config.json index 2c295053..69f42dd6 100644 --- a/riot.im/develop/config.json +++ b/riot.im/develop/config.json @@ -25,7 +25,8 @@ "feature_tabbed_settings": "labs", "feature_sas": "labs", "feature_room_breadcrumbs": "labs", - "feature_state_counters": "labs" + "feature_state_counters": "labs", + "feature_cider_composer": "labs" }, "welcomeUserId": "@riot-bot:matrix.org", "piwik": { From 3f70c0d66d461fa788aafbefb59b8e87dad5e281 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 23 Aug 2019 08:28:47 -0600 Subject: [PATCH 20/20] Add docs for the CIDER composer flag --- docs/labs.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/labs.md b/docs/labs.md index ff53e1a7..4399d362 100644 --- a/docs/labs.md +++ b/docs/labs.md @@ -45,3 +45,8 @@ Once enabled, send a custom state event to a room to set values: ``` That's it. Now should see your new counter under the header. + +## New simple composer (`feature_cider_composer`) + +An experimental, faster, message composer which should be more reliable and less prone to problems when +using your chosen input method.