From 40892ad087127dfbbf54550a8fc600235f4ecfa5 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 22 Nov 2021 14:42:52 +0000 Subject: [PATCH 01/16] Reset matrix-js-sdk back to develop branch --- package.json | 2 +- yarn.lock | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a45e2e1d377..bf2756bafc8 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "gfm.css": "^1.1.2", "jsrsasign": "^10.2.0", "katex": "^0.12.0", - "matrix-js-sdk": "15.1.1", + "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop", "matrix-react-sdk": "3.35.1", "matrix-widget-api": "^0.1.0-beta.17", "prop-types": "^15.7.2", diff --git a/yarn.lock b/yarn.lock index b673a4fba48..b72a5bd98a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7870,6 +7870,21 @@ matrix-js-sdk@15.1.1: request "^2.88.2" unhomoglyph "^1.0.6" +"matrix-js-sdk@github:matrix-org/matrix-js-sdk#develop": + version "15.1.1" + resolved "https://codeload.github.com/matrix-org/matrix-js-sdk/tar.gz/55b489b17a519bc0d557c47ac9fe7ce54690b602" + dependencies: + "@babel/runtime" "^7.12.5" + another-json "^0.2.0" + browser-request "^0.3.3" + bs58 "^4.0.1" + content-type "^1.0.4" + loglevel "^1.7.1" + p-retry "^4.5.0" + qs "^6.9.6" + request "^2.88.2" + unhomoglyph "^1.0.6" + 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" From 9746517ef734eec94c31a07d73c7c1bc7d30e932 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 22 Nov 2021 14:43:05 +0000 Subject: [PATCH 02/16] Reset matrix-react-sdk back to develop branch --- package.json | 2 +- yarn.lock | 23 +++-------------------- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index bf2756bafc8..369af5a8be7 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "jsrsasign": "^10.2.0", "katex": "^0.12.0", "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop", - "matrix-react-sdk": "3.35.1", + "matrix-react-sdk": "github:matrix-org/matrix-react-sdk#develop", "matrix-widget-api": "^0.1.0-beta.17", "prop-types": "^15.7.2", "react": "17.0.2", diff --git a/yarn.lock b/yarn.lock index b72a5bd98a6..b2da237fcee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7854,22 +7854,6 @@ mathml-tag-names@^2.1.3: resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg== -matrix-js-sdk@15.1.1: - version "15.1.1" - resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-15.1.1.tgz#791aefb2c68e1e8d398beee3eedcb6c23b63315d" - integrity sha512-tKZQLFwYMQk2G4nmLNR0cDDXcfDkdzJGyg2S15HooB2aI7/Ev9PhCczkw+xzwhJusxzfa8j+yx52KjMXUb81WQ== - dependencies: - "@babel/runtime" "^7.12.5" - another-json "^0.2.0" - browser-request "^0.3.3" - bs58 "^4.0.1" - content-type "^1.0.4" - loglevel "^1.7.1" - p-retry "^4.5.0" - qs "^6.9.6" - request "^2.88.2" - unhomoglyph "^1.0.6" - "matrix-js-sdk@github:matrix-org/matrix-js-sdk#develop": version "15.1.1" resolved "https://codeload.github.com/matrix-org/matrix-js-sdk/tar.gz/55b489b17a519bc0d557c47ac9fe7ce54690b602" @@ -7893,10 +7877,9 @@ matrix-mock-request@^1.2.3: bluebird "^3.5.0" expect "^1.20.2" -matrix-react-sdk@3.35.1: +"matrix-react-sdk@github:matrix-org/matrix-react-sdk#develop": version "3.35.1" - resolved "https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-3.35.1.tgz#e5773633d26d83dfbb839ad29f83c06abd70752f" - integrity sha512-pX7sZ4LNWznYQ3eCfXXWQWcUSQy3pjxQ03VAiTxpJcXhSvHuK2iCtxMXCUObhr9vO1YqaiyJS5UMnT7+n1Q7gw== + resolved "https://codeload.github.com/matrix-org/matrix-react-sdk/tar.gz/ea25f74714ef8e603ccf1e1a7b302671a570213b" dependencies: "@babel/runtime" "^7.12.5" "@sentry/browser" "^6.11.0" @@ -7927,7 +7910,7 @@ matrix-react-sdk@3.35.1: katex "^0.12.0" linkifyjs "^2.1.9" lodash "^4.17.20" - matrix-js-sdk "15.1.1" + matrix-js-sdk "github:matrix-org/matrix-js-sdk#develop" matrix-widget-api "^0.1.0-beta.17" minimist "^1.2.5" opus-recorder "^8.0.3" From 194aeac19e2da1a9680dc3e480e9b611c3f7c754 Mon Sep 17 00:00:00 2001 From: James Salter Date: Tue, 23 Nov 2021 18:42:24 +1100 Subject: [PATCH 03/16] Get version from build VERSION variable (#19857) * Fetch version from VERSION set during build * When polling for new versions, compare to VERSION set during build * Strip leading v from version, matching package.sh --- src/vector/platform/WebPlatform.ts | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/vector/platform/WebPlatform.ts b/src/vector/platform/WebPlatform.ts index bb2a52f243d..b7b59826b40 100644 --- a/src/vector/platform/WebPlatform.ts +++ b/src/vector/platform/WebPlatform.ts @@ -33,8 +33,6 @@ import { logger } from "matrix-js-sdk/src/logger"; const POKE_RATE_MS = 10 * 60 * 1000; // 10 min export default class WebPlatform extends VectorBasePlatform { - private runningVersion: string = null; - constructor() { super(); // Register service worker if available on this platform @@ -102,7 +100,7 @@ export default class WebPlatform extends VectorBasePlatform { return notification; } - private getVersion(): Promise { + private getMostRecentVersion(): Promise { // We add a cachebuster to the request to make sure that we know about // the most recent version on the origin server. That might not // actually be the version we'd get on a reload (particularly in the @@ -131,10 +129,15 @@ export default class WebPlatform extends VectorBasePlatform { } getAppVersion(): Promise { - if (this.runningVersion !== null) { - return Promise.resolve(this.runningVersion); + let ver = process.env.VERSION; + + // if version looks like semver with leading v, strip it + // (matches scripts/package.sh) + const semVerRegex = new RegExp("^v[0-9]+.[0-9]+.[0-9]+(-.+)?$"); + if (semVerRegex.test(process.env.VERSION)) { + ver = process.env.VERSION.substr(1); } - return this.getVersion(); + return Promise.resolve(ver); } startUpdater() { @@ -147,12 +150,10 @@ export default class WebPlatform extends VectorBasePlatform { } pollForUpdate = () => { - return this.getVersion().then((ver) => { - if (this.runningVersion === null) { - this.runningVersion = ver; - } else if (this.runningVersion !== ver) { - if (this.shouldShowUpdate(ver)) { - showUpdateToast(this.runningVersion, ver); + return this.getMostRecentVersion().then((mostRecentVersion) => { + if (process.env.VERSION !== mostRecentVersion) { + if (this.shouldShowUpdate(mostRecentVersion)) { + showUpdateToast(process.env.VERSION, mostRecentVersion); } return { status: UpdateCheckStatus.Ready }; } else { From 10e121a5143f6c12bd633b082fa9cfac95ded937 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Fri, 26 Nov 2021 16:23:07 +0000 Subject: [PATCH 04/16] Review requests workflow (#19911) * Review requests workflow * Move env section up * Use jq instead of sed to process JSON --- .../workflows/triage-move-review-requests.yml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .github/workflows/triage-move-review-requests.yml diff --git a/.github/workflows/triage-move-review-requests.yml b/.github/workflows/triage-move-review-requests.yml new file mode 100644 index 00000000000..657c07670ea --- /dev/null +++ b/.github/workflows/triage-move-review-requests.yml @@ -0,0 +1,58 @@ +name: Move pull requests asking for review to the relevant project +on: + pull_request: + types: [review_requested] +env: + PROJECT_ID: "PN_kwDOAM0swc0sUA" # ID of the project + TEAM: "design" # The team of reviewers + GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} +jobs: + add_design_pr_to_project: + name: Move PRs asking for design review to the design board + runs-on: ubuntu-latest + steps: + - uses: octokit/graphql-action@v2.x + id: find_team_members + with: + headers: '{"GraphQL-Features": "projects_next_graphql"}' + query: | + query find_team_members($team: String!) { + organization(login: "vector-im") { + team(slug: $team) { + members { + nodes { + login + } + } + } + } + } + team: ${{ env.TEAM }} + - id: any_reviewers_in_the_team + run: | + echo '${{ tojson(fromjson(steps.find_team_members.outputs.data).organization.team.members.nodes[*].login) }}' | tee /tmp/team_members.json + echo '${{ tojson(github.event.pull_request.requested_reviewers[*].login) }}' | tee /tmp/reviewers.json + jq --raw-output .[] < /tmp/team_members.json | sort | tee /tmp/team_members.txt + jq --raw-output .[] < /tmp/reviewers.json | sort | tee /tmp/reviewers.txt + if [ $(join /tmp/team_members.txt /tmp/reviewers.txt | wc -l) = 0 ]; then + echo "::set-output name=match::false" + else + echo "::set-output name=match::true" + fi + - uses: octokit/graphql-action@v2.x + id: add_to_project + if: > + (steps.any_reviewers_in_the_team.outputs.match == 'true') || + (github.event.pull_request.requested_teams.slug == env.TEAM) + with: + headers: '{"GraphQL-Features": "projects_next_graphql"}' + query: | + mutation add_to_project($projectid:String!, $contentid:String!) { + addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { + projectNextItem { + id + } + } + } + projectid: ${{ env.PROJECT_ID }} + contentid: ${{ github.event.pull_request.node_id }} From 090fc808bbc902cde35aac3531373eea11e2602e Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Mon, 29 Nov 2021 17:22:53 +0000 Subject: [PATCH 05/16] Move workflow env sections into steps for PR workflow (#19926) --- .github/workflows/triage-move-review-requests.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/triage-move-review-requests.yml b/.github/workflows/triage-move-review-requests.yml index 657c07670ea..f323d49b9ea 100644 --- a/.github/workflows/triage-move-review-requests.yml +++ b/.github/workflows/triage-move-review-requests.yml @@ -2,10 +2,6 @@ name: Move pull requests asking for review to the relevant project on: pull_request: types: [review_requested] -env: - PROJECT_ID: "PN_kwDOAM0swc0sUA" # ID of the project - TEAM: "design" # The team of reviewers - GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} jobs: add_design_pr_to_project: name: Move PRs asking for design review to the design board @@ -28,6 +24,9 @@ jobs: } } team: ${{ env.TEAM }} + env: + TEAM: "design" + GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} - id: any_reviewers_in_the_team run: | echo '${{ tojson(fromjson(steps.find_team_members.outputs.data).organization.team.members.nodes[*].login) }}' | tee /tmp/team_members.json @@ -56,3 +55,7 @@ jobs: } projectid: ${{ env.PROJECT_ID }} contentid: ${{ github.event.pull_request.node_id }} + env: + PROJECT_ID: "PN_kwDOAM0swc0sUA" + TEAM: "design" + GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} From ae048025e4fca8fa53f14119547aeaeca88e8619 Mon Sep 17 00:00:00 2001 From: Element Translate Bot Date: Tue, 30 Nov 2021 18:47:04 +0100 Subject: [PATCH 06/16] Translations update from Weblate (#19966) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Translated using Weblate (Indonesian) Currently translated at 100.0% (34 of 34 strings) Translation: Element Web/element-web Translate-URL: https://translate.element.io/projects/element-web/element-web/id/ * Translated using Weblate (Indonesian) Currently translated at 100.0% (34 of 34 strings) Translation: Element Web/element-web Translate-URL: https://translate.element.io/projects/element-web/element-web/id/ * Translated using Weblate (Vietnamese) Currently translated at 100.0% (34 of 34 strings) Translation: Element Web/element-web Translate-URL: https://translate.element.io/projects/element-web/element-web/vi/ * Translated using Weblate (Turkish) Currently translated at 100.0% (34 of 34 strings) Translation: Element Web/element-web Translate-URL: https://translate.element.io/projects/element-web/element-web/tr/ * Translated using Weblate (Frisian) Currently translated at 100.0% (34 of 34 strings) Translation: Element Web/element-web Translate-URL: https://translate.element.io/projects/element-web/element-web/fy/ * Translated using Weblate (Polish) Currently translated at 100.0% (34 of 34 strings) Translation: Element Web/element-web Translate-URL: https://translate.element.io/projects/element-web/element-web/pl/ * Translated using Weblate (Indonesian) Currently translated at 100.0% (34 of 34 strings) Translation: Element Web/element-web Translate-URL: https://translate.element.io/projects/element-web/element-web/id/ * Translated using Weblate (Dutch) Currently translated at 100.0% (34 of 34 strings) Translation: Element Web/element-web Translate-URL: https://translate.element.io/projects/element-web/element-web/nl/ Co-authored-by: Linerly Co-authored-by: Weblate Co-authored-by: Dinh Quang Tuyen Co-authored-by: Ege Co-authored-by: Fjoerfoks Co-authored-by: Adrian Środoń Co-authored-by: jelv --- src/i18n/strings/fy.json | 36 ++++++++++++++++++------------------ src/i18n/strings/id.json | 6 +++--- src/i18n/strings/nl.json | 2 +- src/i18n/strings/pl.json | 3 ++- 4 files changed, 24 insertions(+), 23 deletions(-) diff --git a/src/i18n/strings/fy.json b/src/i18n/strings/fy.json index fa55c9dc5d5..79f118cb5d9 100644 --- a/src/i18n/strings/fy.json +++ b/src/i18n/strings/fy.json @@ -1,36 +1,36 @@ { - "Sign In": "Ynskriuwe", - "Failed to start": "Iepenjen mislearre", - "You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.": "Jo kinne fierder gean mei jo eigen browser, mar guon funksjes kinne net wurkje en uterlik kin de applikaasje der ôfwikend út sjen.", - "Please install Chrome, Firefox, or Safari for the best experience.": "Graach Chrome, Firefox, ofSafari ynstallearre foar de beste ûnderfining.", - "%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s brûkt avansearre browser funksjes dy net stipe wurde troch de browser dy jo no brûke.", - "Powered by Matrix": "Fersoarge troch Matrix", + "Sign In": "Oanmelde", + "Failed to start": "Opstarten mislearre", + "You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.": "Jo kinne fierder gean mei jo eigen browser, mar guon funksjes kinne net wurkje en uterlik kin de applikaasje der ôfwikend útsjen.", + "Please install Chrome, Firefox, or Safari for the best experience.": "Graach Chrome, Firefox, ofSafari ynstallearje foar de beste ûnderfining.", + "%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s brûkt avansearre browserfunksjes dy’t net stipe wurde troch de browser dy’t jo no brûke.", + "Powered by Matrix": "Mooglik makke troch Matrix", "%(brand)s Desktop (%(platformName)s)": "%(brand)s Desktop (%(platformName)s)", "Previous/next recently visited room or community": "Foarige/Folgjende resintlik besochte keamer as mienskip", "Switch to space by number": "Wikselje fan romte mei nûmer", - "Unexpected error preparing the app. See console for details.": "Ûnferwachte flater by it klearmeitsjen fan de applikaasje. Sjoch yn'e konsole foar details.", + "Unexpected error preparing the app. See console for details.": "Unferwachte flater by it klearmeitsjen fan de applikaasje. Sjoch yn de console foar details.", "The message from the parser is: %(message)s": "It berjocht fan de ferwurker is: %(message)s", - "Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Jo Element konfiguraasje hat ûnjildige JSON. Nei dat jo dit oplost ha kin dizze side ferfarske wurde.", + "Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Jo Element-konfiguraasje hat ûnjildige JSON. Nei dat jo dit oplost ha, kin dizze side ferfarske wurde.", "Use %(brand)s on mobile": "Brûk %(brand)s op mobyl", "Decentralised, encrypted chat & collaboration powered by [matrix]": "Desintralisearre, fersifere chat & gearwurking fersoarge troch [matrix]", - "You need to be using HTTPS to place a screen-sharing call.": "Jo moatte HTTPS brûke om te skiljen en jo skermynhâld te dielen.", + "You need to be using HTTPS to place a screen-sharing call.": "Oproppen mei skerm dielen fereasket HTTPS.", "%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)", - "Go to your browser to complete Sign In": "Gean nei jo browser om it ynskriuwen ôf te rûnen", - "Download Completed": "Klear mei Delheljen", - "Unable to load config file: please refresh the page to try again.": "Kin konfiguraasje bestân net lade: ferfarskje de side en probearje it noch ris.", + "Go to your browser to complete Sign In": "Gean nei jo browser om it ynskriuwen te foltôgjen", + "Download Completed": "Download foltôge", + "Unable to load config file: please refresh the page to try again.": "Kin konfiguraasjebestân net lade: ferfarskje de side en probearje it nochris.", "Open user settings": "Brûkersynstellingen iepenje", - "Dismiss": "Negearre", + "Dismiss": "Slute", "Explore rooms": "Keamers ûntdekke", - "Create Account": "Account Meitsje", + "Create Account": "Registrearje", "Welcome to Element": "Wolkom by Element", "I understand the risks and wish to continue": "Ik begryp de risiko's en wol graach fierder gean", "Go to element.io": "Gean nei element.io", "Your browser can't run %(brand)s": "Jo browser kin %(brand)s net útfiere", "Unsupported browser": "Net stipe browser", - "Unknown device": "Ûnbekend apparaat", + "Unknown device": "Unbekend apparaat", "Open": "Iepenje", - "Invalid JSON": "Ûnjildiche JSON", + "Invalid JSON": "Unjildige JSON", "Your Element is misconfigured": "Jo Element is net goed konfigurearre", - "Invalid configuration: no default server specified.": "Ûnjildiche konfiguraasje: gjin standert tsjinner selektearre.", - "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Ûnjildige konfiguraasje: kin allinnich kieze út default_server_config, default_server_name, as default_hs_url." + "Invalid configuration: no default server specified.": "Unjildiche konfiguraasje: gjin standertserver selektearre.", + "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Unjildige konfiguraasje: kin allinnich kieze út default_server_config, default_server_name, as default_hs_url." } diff --git a/src/i18n/strings/id.json b/src/i18n/strings/id.json index 9412a62c121..e5d36938657 100644 --- a/src/i18n/strings/id.json +++ b/src/i18n/strings/id.json @@ -4,13 +4,13 @@ "Unknown device": "Perangkat tidak dikenal", "You need to be using HTTPS to place a screen-sharing call.": "Anda perlu menggunakan HTTPS untuk melakukan panggilan berbagi layar.", "Welcome to Element": "Selamat datang di Element", - "Decentralised, encrypted chat & collaboration powered by [matrix]": "Obrolan terenkripsi, terdesentralisasi & kolaborasi diberdayakan oleh [matrix]", + "Decentralised, encrypted chat & collaboration powered by [matrix]": "Obrolan & kolaborasi terenkripsi dan terdesentralisasi diberdayakan oleh [matrix]", "Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Konfigurasi Element Anda berisi JSON yang tidak valid. Mohon perbaiki masalahnya dan muat ulang halamannya.", "Invalid configuration: no default server specified.": "Konfigurasi tidak valid: server bawaan belum ditentukan.", "Missing indexeddb worker script!": "Tidak ada script worker indexeddb!", "Explore rooms": "Jelajahi ruangan", "Create Account": "Buat Akun", - "Switch to space by number": "Beralih ke space dengan nomor", + "Switch to space by number": "Beralih ke space bedasarkan angka", "Go to your browser to complete Sign In": "Buka browser Anda untuk menyelesaikan Sign In", "Sign In": "Masuk", "Failed to start": "Gagal untuk memulai", @@ -28,7 +28,7 @@ "Previous/next recently visited room or community": "Ruangan atau komunitas yang baru saja dikunjungi sebelumnya/berikutnya", "Open user settings": "Buka pengaturan pengguna", "Open": "Buka", - "Download Completed": "Unduh Selesai", + "Download Completed": "Unduhan Selesai", "Unexpected error preparing the app. See console for details.": "Kesalahan tak terduga saat menyiapkan aplikasi. Lihat konsol untuk detail.", "Unable to load config file: please refresh the page to try again.": "Tidak dapat memuat file konfigurasi: mohon muat ulang halaman ini untuk mencoba lagi.", "Invalid JSON": "JSON tidak valid", diff --git a/src/i18n/strings/nl.json b/src/i18n/strings/nl.json index 8376ab5e2b0..95b7dbe7566 100644 --- a/src/i18n/strings/nl.json +++ b/src/i18n/strings/nl.json @@ -34,5 +34,5 @@ "%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s gebruikt geavanceerde functies die niet ondersteund worden in uw huidige browser.", "Powered by Matrix": "Mogelijk gemaakt door Matrix", "Use %(brand)s on mobile": "Gebruik %(brand)s op uw mobiel", - "Switch to space by number": "Wissel naar ruimte met nummer" + "Switch to space by number": "Wissel naar Space met nummer" } diff --git a/src/i18n/strings/pl.json b/src/i18n/strings/pl.json index 19f5e8e4554..d6456146b8c 100644 --- a/src/i18n/strings/pl.json +++ b/src/i18n/strings/pl.json @@ -33,5 +33,6 @@ "Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Konfiguracja Elementa zawiera niepoprawny JSON. Popraw konfiguracje i odśwież stronę.", "Your Element is misconfigured": "Element jest nieprawidłowo skonfigurowany", "Powered by Matrix": "Zasilane przez Matrix", - "Use %(brand)s on mobile": "Użyj %(brand)s w telefonie" + "Use %(brand)s on mobile": "Użyj %(brand)s w telefonie", + "Switch to space by number": "Przełącz na przestrzeń według numeru" } From f496d6d5bf31b24bccd09448be6611bb14e690af Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Tue, 30 Nov 2021 17:56:04 +0000 Subject: [PATCH 07/16] Upgrade allchange to 1.0.6 (#19969) --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 369af5a8be7..7cf8bc0499e 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "@types/sanitize-html": "^2.3.1", "@typescript-eslint/eslint-plugin": "^4.17.0", "@typescript-eslint/parser": "^4.17.0", - "allchange": "^1.0.5", + "allchange": "^1.0.6", "autoprefixer": "^9.8.6", "babel-jest": "^26.6.3", "babel-loader": "^8.2.2", diff --git a/yarn.lock b/yarn.lock index b2da237fcee..d0bb8c6699f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2185,10 +2185,10 @@ ajv@^8.0.1: require-from-string "^2.0.2" uri-js "^4.2.2" -allchange@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/allchange/-/allchange-1.0.5.tgz#9496425eea8ff1a2e57b37d059333df6c3d37382" - integrity sha512-g3VYQfhvc42L0Mr9JTsZlVSrms4TbvqrvONj13M8NHKvp25XR9d5xS05wXqh9+mh0tYcAWDrOvAoceCzSzijBA== +allchange@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/allchange/-/allchange-1.0.6.tgz#f905918255541dc92d6a1f5cdf758db4597f569c" + integrity sha512-37a4J55oSxhLmlS/DeBOKjKn5dbjkyR4qMJ9is8+CKLPTe7NybcWBYvrPLr9kVLBa6aigWrdovRHrQj/4v6k4w== dependencies: "@actions/core" "^1.4.0" "@actions/github" "^5.0.0" From 87882dd6a3918e86e0da301c5f78b44a878a3d6a Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Wed, 1 Dec 2021 11:44:55 +0000 Subject: [PATCH 08/16] Upgrade matrix-js-sdk to 15.2.0-rc.1 --- package.json | 2 +- yarn.lock | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7cf8bc0499e..b243a78ad36 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "gfm.css": "^1.1.2", "jsrsasign": "^10.2.0", "katex": "^0.12.0", - "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop", + "matrix-js-sdk": "15.2.0-rc.1", "matrix-react-sdk": "github:matrix-org/matrix-react-sdk#develop", "matrix-widget-api": "^0.1.0-beta.17", "prop-types": "^15.7.2", diff --git a/yarn.lock b/yarn.lock index d0bb8c6699f..7d3f3e73107 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7854,6 +7854,22 @@ mathml-tag-names@^2.1.3: resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg== +matrix-js-sdk@15.2.0-rc.1: + version "15.2.0-rc.1" + resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-15.2.0-rc.1.tgz#f88a75d547105e6e2ca82da245ed8ea647b3b755" + integrity sha512-4Jcm/CwYZST0nW6+yX+Xm8zb5IKoeTt/3Ek6As92SNN96Oz8jJcwrgg7XBslOTIEuKAokYIBYzcDfksz9HyslA== + dependencies: + "@babel/runtime" "^7.12.5" + another-json "^0.2.0" + browser-request "^0.3.3" + bs58 "^4.0.1" + content-type "^1.0.4" + loglevel "^1.7.1" + p-retry "^4.5.0" + qs "^6.9.6" + request "^2.88.2" + unhomoglyph "^1.0.6" + "matrix-js-sdk@github:matrix-org/matrix-js-sdk#develop": version "15.1.1" resolved "https://codeload.github.com/matrix-org/matrix-js-sdk/tar.gz/55b489b17a519bc0d557c47ac9fe7ce54690b602" From a799672bd368acde28b35f3cbff94d06c781efda Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Wed, 1 Dec 2021 11:45:17 +0000 Subject: [PATCH 09/16] Upgrade matrix-react-sdk to 3.36.0-rc.1 --- package.json | 2 +- yarn.lock | 24 +++++------------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index b243a78ad36..8a467ec059f 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "jsrsasign": "^10.2.0", "katex": "^0.12.0", "matrix-js-sdk": "15.2.0-rc.1", - "matrix-react-sdk": "github:matrix-org/matrix-react-sdk#develop", + "matrix-react-sdk": "3.36.0-rc.1", "matrix-widget-api": "^0.1.0-beta.17", "prop-types": "^15.7.2", "react": "17.0.2", diff --git a/yarn.lock b/yarn.lock index 7d3f3e73107..f759958be8f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7870,21 +7870,6 @@ matrix-js-sdk@15.2.0-rc.1: request "^2.88.2" unhomoglyph "^1.0.6" -"matrix-js-sdk@github:matrix-org/matrix-js-sdk#develop": - version "15.1.1" - resolved "https://codeload.github.com/matrix-org/matrix-js-sdk/tar.gz/55b489b17a519bc0d557c47ac9fe7ce54690b602" - dependencies: - "@babel/runtime" "^7.12.5" - another-json "^0.2.0" - browser-request "^0.3.3" - bs58 "^4.0.1" - content-type "^1.0.4" - loglevel "^1.7.1" - p-retry "^4.5.0" - qs "^6.9.6" - request "^2.88.2" - unhomoglyph "^1.0.6" - 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" @@ -7893,9 +7878,10 @@ matrix-mock-request@^1.2.3: bluebird "^3.5.0" expect "^1.20.2" -"matrix-react-sdk@github:matrix-org/matrix-react-sdk#develop": - version "3.35.1" - resolved "https://codeload.github.com/matrix-org/matrix-react-sdk/tar.gz/ea25f74714ef8e603ccf1e1a7b302671a570213b" +matrix-react-sdk@3.36.0-rc.1: + version "3.36.0-rc.1" + resolved "https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-3.36.0-rc.1.tgz#2cad5df7c9c06b2bdab1ed8cf5cfee9d970135dc" + integrity sha512-/9c/ENDoo6XbI7YAd4pmt8LJ4UCHLLKwe/TYWj0aCWzF/QUTaRYT9NvOzbCKaYmB2F+bgRgMhIuXGjbixxGtPg== dependencies: "@babel/runtime" "^7.12.5" "@sentry/browser" "^6.11.0" @@ -7926,7 +7912,7 @@ matrix-mock-request@^1.2.3: katex "^0.12.0" linkifyjs "^2.1.9" lodash "^4.17.20" - matrix-js-sdk "github:matrix-org/matrix-js-sdk#develop" + matrix-js-sdk "15.2.0-rc.1" matrix-widget-api "^0.1.0-beta.17" minimist "^1.2.5" opus-recorder "^8.0.3" From bacddc5dfcd16e8948b52d7b2e0d43d2ca3318ea Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Wed, 1 Dec 2021 11:50:27 +0000 Subject: [PATCH 10/16] Prepare changelog for v1.9.6-rc.2 --- CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc04c09570f..2a97d1c8e84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,53 @@ +Changes in [1.9.6-rc.2](https://github.com/vector-im/element-web/releases/tag/v1.9.6-rc.2) (2021-12-01) +======================================================================================================= + + * Fixed release from correct branch + +Changes in [1.9.6-rc.1](https://github.com/vector-im/element-web/releases/tag/v1.9.6-rc.1) (2021-11-30) +======================================================================================================= + +## ✨ Features + * Tweaks to informational architecture 1.1 ([\#7052](https://github.com/matrix-org/matrix-react-sdk/pull/7052)). Fixes #19526, #19379, #17792, #16450, #19881, #19892, #19300, #19324, #17307, #17468, #19932 #19956 and #19526. + * Add unread indicator to the timelineCard header icon ([\#7156](https://github.com/matrix-org/matrix-react-sdk/pull/7156)). Fixes #19635 and #19635. + * Only show core navigation elements (call/chat/notification/info) when a widget is maximised ([\#7114](https://github.com/matrix-org/matrix-react-sdk/pull/7114)). Fixes #19632 and #19632. + * Improve ThreadPanel ctx menu accessibility ([\#7217](https://github.com/matrix-org/matrix-react-sdk/pull/7217)). Fixes #19885 and #19885. + * Allow filtering room list during treeview navigation ([\#7219](https://github.com/matrix-org/matrix-react-sdk/pull/7219)). Fixes #14702 and #14702. + * Add right panel chat timeline ([\#7112](https://github.com/matrix-org/matrix-react-sdk/pull/7112)). Fixes #19633 and #19633. + * Hide server options hint when disable_custom_urls is true ([\#7215](https://github.com/matrix-org/matrix-react-sdk/pull/7215)). Fixes #19919 and #19919. + * Improve right panel resize handle usability ([\#7204](https://github.com/matrix-org/matrix-react-sdk/pull/7204)). Fixes #15145 and #15145. Contributed by @weeman1337. + * Spaces quick settings ([\#7196](https://github.com/matrix-org/matrix-react-sdk/pull/7196)). + * Maximised widgets always force a call to be shown in PIP mode ([\#7163](https://github.com/matrix-org/matrix-react-sdk/pull/7163)). Fixes #19637 and #19637. + * Group Labs flags ([\#7190](https://github.com/matrix-org/matrix-react-sdk/pull/7190)). + * Show room context details in forward dialog ([\#7162](https://github.com/matrix-org/matrix-react-sdk/pull/7162)). Fixes #19793 and #19793. + * Remove chevrons from RoomSummaryCard_Button ([\#7137](https://github.com/matrix-org/matrix-react-sdk/pull/7137)). Fixes #19644 and #19644. + * Disable op/deop commands where user has no permissions ([\#7161](https://github.com/matrix-org/matrix-react-sdk/pull/7161)). Fixes #15390 and #15390. + * Add option to change the size of images/videos in the timeline ([\#7017](https://github.com/matrix-org/matrix-react-sdk/pull/7017)). Fixes vector-im/element-meta#49, #1520 #19498 and vector-im/element-meta#49. + +## 🐛 Bug Fixes + * Fix links being parsed as markdown links improperly ([\#7200](https://github.com/matrix-org/matrix-react-sdk/pull/7200)). + * Fix left panel glow in Safari ([\#7236](https://github.com/matrix-org/matrix-react-sdk/pull/7236)). Fixes #19863 and #19863. + * Fix newline on edit messages with quotes ([\#7227](https://github.com/matrix-org/matrix-react-sdk/pull/7227)). Fixes #12535 and #12535. Contributed by @renancleyson-dev. + * Guard against null refs in findSiblingElement ([\#7228](https://github.com/matrix-org/matrix-react-sdk/pull/7228)). + * Tweak bottom of space panel buttons in expanded state ([\#7213](https://github.com/matrix-org/matrix-react-sdk/pull/7213)). Fixes #19921 and #19921. + * Fix multiline paragraph rendering as single line ([\#7210](https://github.com/matrix-org/matrix-react-sdk/pull/7210)). Fixes #8786 and #8786. Contributed by @renancleyson-dev. + * Improve room list message previews ([\#7224](https://github.com/matrix-org/matrix-react-sdk/pull/7224)). Fixes #17101 #16169 and #17101. + * Fix EmojiPicker lazy loaded rendering bug ([\#7225](https://github.com/matrix-org/matrix-react-sdk/pull/7225)). Fixes #15341 and #15341. + * Prevent default avatar in UserInfo having pointer cursor ([\#7218](https://github.com/matrix-org/matrix-react-sdk/pull/7218)). Fixes #13872 and #13872. + * Prevent duplicate avatars in Event List Summaries ([\#7222](https://github.com/matrix-org/matrix-react-sdk/pull/7222)). Fixes #17706 and #17706. + * Respect the home page as a context for the Home space ([\#7216](https://github.com/matrix-org/matrix-react-sdk/pull/7216)). Fixes #19554 and #19554. + * Fix RoomUpgradeWarningBar exploding ([\#7214](https://github.com/matrix-org/matrix-react-sdk/pull/7214)). Fixes #19920 and #19920. + * Polish threads misalignments and UI diversion ([\#7209](https://github.com/matrix-org/matrix-react-sdk/pull/7209)). Fixes #19772, #19710, #19629 #19711 and #19772. + * Fix Manage Restricted Join Rule Dialog for Spaces ([\#7208](https://github.com/matrix-org/matrix-react-sdk/pull/7208)). Fixes #19610 and #19610. + * Fix wrongly showing unpin in pinned messages tile with no perms ([\#7197](https://github.com/matrix-org/matrix-react-sdk/pull/7197)). Fixes #19886 and #19886. + * Make image size constrained by height when using the ImageSize.Large option ([\#7171](https://github.com/matrix-org/matrix-react-sdk/pull/7171)). Fixes #19788 and #19788. + * Prevent programmatic scrolling within truncated room sublists ([\#7191](https://github.com/matrix-org/matrix-react-sdk/pull/7191)). + * Remove leading slash from /addwidget Jitsi confs ([\#7175](https://github.com/matrix-org/matrix-react-sdk/pull/7175)). Fixes #19839 and #19839. Contributed by @AndrewFerr. + * Fix automatic composer focus, regressed by threads work ([\#7167](https://github.com/matrix-org/matrix-react-sdk/pull/7167)). Fixes #19479 and #19479. + * Show space members when not invited even if summary didn't fail ([\#7153](https://github.com/matrix-org/matrix-react-sdk/pull/7153)). Fixes #19781 and #19781. + * Prevent custom power levels from breaking roles & permissions tab ([\#7160](https://github.com/matrix-org/matrix-react-sdk/pull/7160)). Fixes #19812 and #19812. + * Room Context Menu should respond to tag changes ([\#7154](https://github.com/matrix-org/matrix-react-sdk/pull/7154)). Fixes #19776. + * Fix an edge case when trying to join an upgraded room ([\#7159](https://github.com/matrix-org/matrix-react-sdk/pull/7159)). + Changes in [1.9.5](https://github.com/vector-im/element-web/releases/tag/v1.9.5) (2021-11-22) ============================================================================================= From b14b2967ec06c27e43671a443125e212acba4c41 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Wed, 1 Dec 2021 11:50:27 +0000 Subject: [PATCH 11/16] v1.9.6-rc.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a467ec059f..df0a48651bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "element-web", - "version": "1.9.5", + "version": "1.9.6-rc.2", "description": "A feature-rich client for Matrix.org", "author": "New Vector Ltd.", "repository": { From 39901b8d72f0fba6fa83eb522556528c3ad003cd Mon Sep 17 00:00:00 2001 From: James Salter Date: Tue, 7 Dec 2021 02:09:23 +1100 Subject: [PATCH 12/16] Normalize the local app version (#20062) We need to strip the leading v from the local app version as well as the one fetched from the server --- src/vector/platform/WebPlatform.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/vector/platform/WebPlatform.ts b/src/vector/platform/WebPlatform.ts index b7b59826b40..f3f3d55ac96 100644 --- a/src/vector/platform/WebPlatform.ts +++ b/src/vector/platform/WebPlatform.ts @@ -128,7 +128,7 @@ export default class WebPlatform extends VectorBasePlatform { }); } - getAppVersion(): Promise { + getNormalizedAppVersion(): string { let ver = process.env.VERSION; // if version looks like semver with leading v, strip it @@ -137,7 +137,11 @@ export default class WebPlatform extends VectorBasePlatform { if (semVerRegex.test(process.env.VERSION)) { ver = process.env.VERSION.substr(1); } - return Promise.resolve(ver); + return ver; + } + + getAppVersion(): Promise { + return Promise.resolve(this.getNormalizedAppVersion()); } startUpdater() { @@ -151,9 +155,11 @@ export default class WebPlatform extends VectorBasePlatform { pollForUpdate = () => { return this.getMostRecentVersion().then((mostRecentVersion) => { - if (process.env.VERSION !== mostRecentVersion) { + const currentVersion = this.getNormalizedAppVersion(); + + if (currentVersion !== mostRecentVersion) { if (this.shouldShowUpdate(mostRecentVersion)) { - showUpdateToast(process.env.VERSION, mostRecentVersion); + showUpdateToast(currentVersion, mostRecentVersion); } return { status: UpdateCheckStatus.Ready }; } else { From 4bb310ad3dcc95954a2c55e96628e0c8d9df10bf Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 6 Dec 2021 15:36:55 +0000 Subject: [PATCH 13/16] Upgrade matrix-js-sdk to 15.2.0 --- package.json | 2 +- yarn.lock | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index df0a48651bb..75741bbfb7d 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "gfm.css": "^1.1.2", "jsrsasign": "^10.2.0", "katex": "^0.12.0", - "matrix-js-sdk": "15.2.0-rc.1", + "matrix-js-sdk": "15.2.0", "matrix-react-sdk": "3.36.0-rc.1", "matrix-widget-api": "^0.1.0-beta.17", "prop-types": "^15.7.2", diff --git a/yarn.lock b/yarn.lock index f759958be8f..5114d1a348f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7854,6 +7854,22 @@ mathml-tag-names@^2.1.3: resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg== +matrix-js-sdk@15.2.0: + version "15.2.0" + resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-15.2.0.tgz#1f04fe938f951af8af4b78dff8ff697db5981428" + integrity sha512-jZOM8Fn86oNvU3zVQcc+JTKKrtYq4ADN6rPZs4Mwxj/X/GDP+2YIP5176GtviF0GM6VO1dcnPZY73ykl8DayjA== + dependencies: + "@babel/runtime" "^7.12.5" + another-json "^0.2.0" + browser-request "^0.3.3" + bs58 "^4.0.1" + content-type "^1.0.4" + loglevel "^1.7.1" + p-retry "^4.5.0" + qs "^6.9.6" + request "^2.88.2" + unhomoglyph "^1.0.6" + matrix-js-sdk@15.2.0-rc.1: version "15.2.0-rc.1" resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-15.2.0-rc.1.tgz#f88a75d547105e6e2ca82da245ed8ea647b3b755" From 8247318399e0154e8df6ccea37cd471340b4f8b8 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 6 Dec 2021 15:37:34 +0000 Subject: [PATCH 14/16] Upgrade matrix-react-sdk to 3.36.0 --- package.json | 2 +- yarn.lock | 26 +++++--------------------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 75741bbfb7d..f1b4cb4a9e3 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "jsrsasign": "^10.2.0", "katex": "^0.12.0", "matrix-js-sdk": "15.2.0", - "matrix-react-sdk": "3.36.0-rc.1", + "matrix-react-sdk": "3.36.0", "matrix-widget-api": "^0.1.0-beta.17", "prop-types": "^15.7.2", "react": "17.0.2", diff --git a/yarn.lock b/yarn.lock index 5114d1a348f..6af1d4aec09 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7870,22 +7870,6 @@ matrix-js-sdk@15.2.0: request "^2.88.2" unhomoglyph "^1.0.6" -matrix-js-sdk@15.2.0-rc.1: - version "15.2.0-rc.1" - resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-15.2.0-rc.1.tgz#f88a75d547105e6e2ca82da245ed8ea647b3b755" - integrity sha512-4Jcm/CwYZST0nW6+yX+Xm8zb5IKoeTt/3Ek6As92SNN96Oz8jJcwrgg7XBslOTIEuKAokYIBYzcDfksz9HyslA== - dependencies: - "@babel/runtime" "^7.12.5" - another-json "^0.2.0" - browser-request "^0.3.3" - bs58 "^4.0.1" - content-type "^1.0.4" - loglevel "^1.7.1" - p-retry "^4.5.0" - qs "^6.9.6" - request "^2.88.2" - unhomoglyph "^1.0.6" - 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" @@ -7894,10 +7878,10 @@ matrix-mock-request@^1.2.3: bluebird "^3.5.0" expect "^1.20.2" -matrix-react-sdk@3.36.0-rc.1: - version "3.36.0-rc.1" - resolved "https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-3.36.0-rc.1.tgz#2cad5df7c9c06b2bdab1ed8cf5cfee9d970135dc" - integrity sha512-/9c/ENDoo6XbI7YAd4pmt8LJ4UCHLLKwe/TYWj0aCWzF/QUTaRYT9NvOzbCKaYmB2F+bgRgMhIuXGjbixxGtPg== +matrix-react-sdk@3.36.0: + version "3.36.0" + resolved "https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-3.36.0.tgz#70a07944bd217e8d52e7b818d215d6d7e1b9c3f2" + integrity sha512-/Mc+4PrySGs2LHN15LQk9bUauAHk2dW7SrG04wEnjNSA+yudH5wiHYZ/4p1ZHjOLW/NsDoGpIYN+Yqkr9aKuHA== dependencies: "@babel/runtime" "^7.12.5" "@sentry/browser" "^6.11.0" @@ -7928,7 +7912,7 @@ matrix-react-sdk@3.36.0-rc.1: katex "^0.12.0" linkifyjs "^2.1.9" lodash "^4.17.20" - matrix-js-sdk "15.2.0-rc.1" + matrix-js-sdk "15.2.0" matrix-widget-api "^0.1.0-beta.17" minimist "^1.2.5" opus-recorder "^8.0.3" From 15df3bc816279d922cafe277290177635da9dc85 Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 6 Dec 2021 15:38:51 +0000 Subject: [PATCH 15/16] Prepare changelog for v1.9.6 --- CHANGELOG.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a97d1c8e84..5b7093bc1eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,46 @@ +Changes in [1.9.6](https://github.com/vector-im/element-web/releases/tag/v1.9.6) (2021-12-06) +============================================================================================= + +## ✨ Features + * Add unread indicator to the timelineCard header icon ([\#7156](https://github.com/matrix-org/matrix-react-sdk/pull/7156)). Fixes #19635. + * Only show core navigation elements (call/chat/notification/info) when a widget is maximised ([\#7114](https://github.com/matrix-org/matrix-react-sdk/pull/7114)). Fixes #19632. + * Improve ThreadPanel ctx menu accessibility ([\#7217](https://github.com/matrix-org/matrix-react-sdk/pull/7217)). Fixes #19885. + * Allow filtering room list during treeview navigation ([\#7219](https://github.com/matrix-org/matrix-react-sdk/pull/7219)). Fixes #14702. + * Add right panel chat timeline ([\#7112](https://github.com/matrix-org/matrix-react-sdk/pull/7112)). Fixes #19633. + * Hide server options hint when disable_custom_urls is true ([\#7215](https://github.com/matrix-org/matrix-react-sdk/pull/7215)). Fixes #19919. + * Improve right panel resize handle usability ([\#7204](https://github.com/matrix-org/matrix-react-sdk/pull/7204)). Fixes #15145. Contributed by @weeman1337. + * Spaces quick settings ([\#7196](https://github.com/matrix-org/matrix-react-sdk/pull/7196)). + * Maximised widgets always force a call to be shown in PIP mode ([\#7163](https://github.com/matrix-org/matrix-react-sdk/pull/7163)). Fixes #19637. + * Group Labs flags ([\#7190](https://github.com/matrix-org/matrix-react-sdk/pull/7190)). + * Show room context details in forward dialog ([\#7162](https://github.com/matrix-org/matrix-react-sdk/pull/7162)). Fixes #19793. + * Remove chevrons from RoomSummaryCard_Button ([\#7137](https://github.com/matrix-org/matrix-react-sdk/pull/7137)). Fixes #19644. + * Disable op/deop commands where user has no permissions ([\#7161](https://github.com/matrix-org/matrix-react-sdk/pull/7161)). Fixes #15390. + * Add option to change the size of images/videos in the timeline ([\#7017](https://github.com/matrix-org/matrix-react-sdk/pull/7017)). Fixes vector-im/element-meta#49 #1520 and #19498. + +## 🐛 Bug Fixes + * Fix left panel glow in Safari ([\#7236](https://github.com/matrix-org/matrix-react-sdk/pull/7236)). Fixes #19863. + * Fix newline on edit messages with quotes ([\#7227](https://github.com/matrix-org/matrix-react-sdk/pull/7227)). Fixes #12535. Contributed by @renancleyson-dev. + * Guard against null refs in findSiblingElement ([\#7228](https://github.com/matrix-org/matrix-react-sdk/pull/7228)). + * Tweak bottom of space panel buttons in expanded state ([\#7213](https://github.com/matrix-org/matrix-react-sdk/pull/7213)). Fixes #19921. + * Fix multiline paragraph rendering as single line ([\#7210](https://github.com/matrix-org/matrix-react-sdk/pull/7210)). Fixes #8786. Contributed by @renancleyson-dev. + * Improve room list message previews ([\#7224](https://github.com/matrix-org/matrix-react-sdk/pull/7224)). Fixes #17101 and #16169. + * Fix EmojiPicker lazy loaded rendering bug ([\#7225](https://github.com/matrix-org/matrix-react-sdk/pull/7225)). Fixes #15341. + * Prevent default avatar in UserInfo having pointer cursor ([\#7218](https://github.com/matrix-org/matrix-react-sdk/pull/7218)). Fixes #13872. + * Prevent duplicate avatars in Event List Summaries ([\#7222](https://github.com/matrix-org/matrix-react-sdk/pull/7222)). Fixes #17706. + * Respect the home page as a context for the Home space ([\#7216](https://github.com/matrix-org/matrix-react-sdk/pull/7216)). Fixes #19554. + * Fix RoomUpgradeWarningBar exploding ([\#7214](https://github.com/matrix-org/matrix-react-sdk/pull/7214)). Fixes #19920. + * Polish threads misalignments and UI diversion ([\#7209](https://github.com/matrix-org/matrix-react-sdk/pull/7209)). Fixes #19772, #19710 #19629 and #19711. + * Fix Manage Restricted Join Rule Dialog for Spaces ([\#7208](https://github.com/matrix-org/matrix-react-sdk/pull/7208)). Fixes #19610. + * Fix wrongly showing unpin in pinned messages tile with no perms ([\#7197](https://github.com/matrix-org/matrix-react-sdk/pull/7197)). Fixes #19886. + * Make image size constrained by height when using the ImageSize.Large option ([\#7171](https://github.com/matrix-org/matrix-react-sdk/pull/7171)). Fixes #19788. + * Prevent programmatic scrolling within truncated room sublists ([\#7191](https://github.com/matrix-org/matrix-react-sdk/pull/7191)). + * Remove leading slash from /addwidget Jitsi confs ([\#7175](https://github.com/matrix-org/matrix-react-sdk/pull/7175)). Fixes #19839. Contributed by @AndrewFerr. + * Fix automatic composer focus, regressed by threads work ([\#7167](https://github.com/matrix-org/matrix-react-sdk/pull/7167)). Fixes #19479. + * Show space members when not invited even if summary didn't fail ([\#7153](https://github.com/matrix-org/matrix-react-sdk/pull/7153)). Fixes #19781. + * Prevent custom power levels from breaking roles & permissions tab ([\#7160](https://github.com/matrix-org/matrix-react-sdk/pull/7160)). Fixes #19812. + * Room Context Menu should respond to tag changes ([\#7154](https://github.com/matrix-org/matrix-react-sdk/pull/7154)). Fixes #19776. + * Fix an edge case when trying to join an upgraded room ([\#7159](https://github.com/matrix-org/matrix-react-sdk/pull/7159)). + Changes in [1.9.6-rc.2](https://github.com/vector-im/element-web/releases/tag/v1.9.6-rc.2) (2021-12-01) ======================================================================================================= From 996d79847ab6f2dcc1e060cc249c9739c1cf21dc Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 6 Dec 2021 15:38:51 +0000 Subject: [PATCH 16/16] v1.9.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f1b4cb4a9e3..078c7721ecc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "element-web", - "version": "1.9.6-rc.2", + "version": "1.9.6", "description": "A feature-rich client for Matrix.org", "author": "New Vector Ltd.", "repository": {