Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package element-desktop for openSUSE:Factory
checked in at 2022-01-31 22:57:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/element-desktop (Old)
and /work/SRC/openSUSE:Factory/.element-desktop.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "element-desktop"
Mon Jan 31 22:57:28 2022 rev:9 rq:950244 version:1.9.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/element-desktop/element-desktop.changes
2022-01-08 23:24:03.914253488 +0100
+++
/work/SRC/openSUSE:Factory/.element-desktop.new.1898/element-desktop.changes
2022-01-31 22:58:20.945166614 +0100
@@ -1,0 +2,6 @@
+Mon Jan 31 15:12:30 UTC 2022 - Dominik Heidler <[email protected]>
+
+- Version 1.9.9
+ * Hardening for CVE-2022-23597
+
+-------------------------------------------------------------------
Old:
----
element-desktop-1.9.8.tar.gz
element-web-1.9.8.tar.gz
New:
----
element-desktop-1.9.9.tar.gz
element-web-1.9.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ element-desktop.spec ++++++
--- /var/tmp/diff_new_pack.JDP0CE/_old 2022-01-31 22:58:21.697161551 +0100
+++ /var/tmp/diff_new_pack.JDP0CE/_new 2022-01-31 22:58:21.701161524 +0100
@@ -1,7 +1,7 @@
#
# spec file for package element-desktop
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: element-desktop
-Version: 1.9.8
+Version: 1.9.9
Release: 0
Summary: A glossy Matrix collaboration client - desktop
License: Apache-2.0
++++++ dist.tar.gz ++++++
/work/SRC/openSUSE:Factory/element-desktop/dist.tar.gz
/work/SRC/openSUSE:Factory/.element-desktop.new.1898/dist.tar.gz differ: char
14, line 1
++++++ element-desktop-1.9.8.tar.gz -> element-desktop-1.9.9.tar.gz ++++++
++++ 3396 lines of diff (skipped)
++++++ element-web-1.9.8.tar.gz -> element-web-1.9.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/element-web-1.9.8/.github/workflows/triage-move-labelled.yml
new/element-web-1.9.9/.github/workflows/triage-move-labelled.yml
--- old/element-web-1.9.8/.github/workflows/triage-move-labelled.yml
2021-12-20 15:35:26.000000000 +0100
+++ new/element-web-1.9.9/.github/workflows/triage-move-labelled.yml
2022-01-17 15:30:03.000000000 +0100
@@ -5,6 +5,32 @@
types: [labeled]
jobs:
+ apply_Z-Labs_label:
+ name: Add Z-Labs label for features behind labs flags
+ runs-on: ubuntu-latest
+ if: >
+ contains(github.event.issue.labels.*.name, 'A-Maths') ||
+ contains(github.event.issue.labels.*.name, 'A-Message-Pinning') ||
+ contains(github.event.issue.labels.*.name, 'A-Threads') ||
+ contains(github.event.issue.labels.*.name, 'A-Polls') ||
+ contains(github.event.issue.labels.*.name, 'A-Location-Sharing') ||
+ contains(github.event.issue.labels.*.name, 'A-Message-Bubbles') ||
+ contains(github.event.issue.labels.*.name, 'Z-Maximised-Widgets') ||
+ contains(github.event.issue.labels.*.name, 'Z-IA') ||
+ contains(github.event.issue.labels.*.name, 'A-Themes-Custom') ||
+ contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') ||
+ contains(github.event.issue.labels.*.name, 'A-Tags')
+ steps:
+ - uses: actions/github-script@v5
+ with:
+ script: |
+ github.rest.issues.addLabels({
+ issue_number: context.issue.number,
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ labels: ['Z-Labs']
+ })
+
move_needs_info_issues:
name: X-Needs-Info issues to Need info column on triage board
runs-on: ubuntu-latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/element-web-1.9.8/.github/workflows/triage-move-review-requests.yml
new/element-web-1.9.9/.github/workflows/triage-move-review-requests.yml
--- old/element-web-1.9.8/.github/workflows/triage-move-review-requests.yml
2021-12-20 15:35:26.000000000 +0100
+++ new/element-web-1.9.9/.github/workflows/triage-move-review-requests.yml
2022-01-17 15:30:03.000000000 +0100
@@ -28,22 +28,32 @@
env:
TEAM: "design"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
- - id: any_reviewers_in_the_team
+ - id: any_matching_reviewers
run: |
+ # Fetch requested reviewers, and people who are on the team
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
+
+ # Fetch requested team reviewers, and the name of the team
+ echo '${{ tojson(github.event.pull_request.requested_teams[*].slug)
}}' | tee /tmp/team_reviewers.json
+ jq --raw-output .[] < /tmp/team_reviewers.json | sort | tee
/tmp/team_reviewers.txt
+ echo '${{ env.TEAM }}' | tee /tmp/team.txt
+
+ # If either a reviewer matches a team member, or a team matches our
team, say "true"
+ if [ $(join /tmp/team_members.txt /tmp/reviewers.txt | wc -l) != 0
]; then
echo "::set-output name=match::true"
+ elif [ $(join /tmp/team.txt /tmp/team_reviewers.txt | wc -l) != 0 ];
then
+ echo "::set-output name=match::true"
+ else
+ echo "::set-output name=match::false"
fi
+ env:
+ TEAM: "design"
- uses: octokit/[email protected]
id: add_to_project
- if: >
- (steps.any_reviewers_in_the_team.outputs.match == 'true') ||
- (github.event.pull_request.requested_teams.slug == env.TEAM)
+ if: steps.any_matching_reviewers.outputs.match == 'true'
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/element-web-1.9.8/.github/workflows/triage-move-unlabelled.yml
new/element-web-1.9.9/.github/workflows/triage-move-unlabelled.yml
--- old/element-web-1.9.8/.github/workflows/triage-move-unlabelled.yml
2021-12-20 15:35:26.000000000 +0100
+++ new/element-web-1.9.9/.github/workflows/triage-move-unlabelled.yml
2022-01-17 15:30:03.000000000 +0100
@@ -33,3 +33,29 @@
project: Issue triage
column: Triaged
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
+
+ remove_Z-Labs_label:
+ name: Remove Z-Labs label when features behind labs flags are removed
+ runs-on: ubuntu-latest
+ if: >
+ !(contains(github.event.issue.labels.*.name, 'A-Maths') ||
+ contains(github.event.issue.labels.*.name, 'A-Message-Pinning') ||
+ contains(github.event.issue.labels.*.name, 'A-Threads') ||
+ contains(github.event.issue.labels.*.name, 'A-Polls') ||
+ contains(github.event.issue.labels.*.name, 'A-Location-Sharing') ||
+ contains(github.event.issue.labels.*.name, 'A-Message-Bubbles') ||
+ contains(github.event.issue.labels.*.name, 'Z-Maximised-Widgets') ||
+ contains(github.event.issue.labels.*.name, 'Z-IA') ||
+ contains(github.event.issue.labels.*.name, 'A-Themes-Custom') ||
+ contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') ||
+ contains(github.event.issue.labels.*.name, 'A-Tags'))
+ steps:
+ - uses: actions/github-script@v5
+ with:
+ script: |
+ github.rest.issues.removeLabel({
+ issue_number: context.issue.number,
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ name: ['Z-Labs']
+ })
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/CHANGELOG.md
new/element-web-1.9.9/CHANGELOG.md
--- old/element-web-1.9.8/CHANGELOG.md 2021-12-20 15:35:26.000000000 +0100
+++ new/element-web-1.9.9/CHANGELOG.md 2022-01-17 15:30:03.000000000 +0100
@@ -1,3 +1,201 @@
+Changes in
[1.9.9](https://github.com/vector-im/element-web/releases/tag/v1.9.9)
(2022-01-17)
+=============================================================================================
+
+## ??? Features
+ * Add permission dropdown for sending reactions
([\#7492](https://github.com/matrix-org/matrix-react-sdk/pull/7492)). Fixes
#20450.
+ * Ship maximised widgets and remove feature flag
([\#7509](https://github.com/matrix-org/matrix-react-sdk/pull/7509)).
+ * Properly maintain aspect ratio of inline images
([\#7503](https://github.com/matrix-org/matrix-react-sdk/pull/7503)).
+ * Add zoom buttons to the location view
([\#7482](https://github.com/matrix-org/matrix-react-sdk/pull/7482)).
+ * Remove bubble from around location events
([\#7459](https://github.com/matrix-org/matrix-react-sdk/pull/7459)). Fixes
#20323.
+ * Disable "Publish this room" option in invite only rooms
([\#7441](https://github.com/matrix-org/matrix-react-sdk/pull/7441)). Fixes
#6596. Contributed by @aaronraimist.
+ * Give secret key field an `id`
([\#7489](https://github.com/matrix-org/matrix-react-sdk/pull/7489)). Fixes
#20390. Contributed by @SimonBrandner.
+ * Display a tooltip when you hover over a location
([\#7472](https://github.com/matrix-org/matrix-react-sdk/pull/7472)).
+ * Open map in a dialog when it is clicked
([\#7465](https://github.com/matrix-org/matrix-react-sdk/pull/7465)).
+ * a11y - wrap notification level radios in fieldsets
([\#7471](https://github.com/matrix-org/matrix-react-sdk/pull/7471)).
+ * Wrap inputs in fieldsets in Space visibility settings
([\#7350](https://github.com/matrix-org/matrix-react-sdk/pull/7350)).
+ * History based navigation with new right panel store
([\#7398](https://github.com/matrix-org/matrix-react-sdk/pull/7398)). Fixes
#19686 #19660 and #19634.
+ * Associate room alias warning with public option in settings
([\#7430](https://github.com/matrix-org/matrix-react-sdk/pull/7430)).
+ * Disable quick reactions button when no permissions
([\#7412](https://github.com/matrix-org/matrix-react-sdk/pull/7412)). Fixes
#20270.
+ * Allow opening a map view in OpenStreetMap
([\#7428](https://github.com/matrix-org/matrix-react-sdk/pull/7428)).
+ * Display the user's avatar when they shared their location
([\#7424](https://github.com/matrix-org/matrix-react-sdk/pull/7424)).
+ * Remove the Forward and Share buttons for location messages only
([\#7423](https://github.com/matrix-org/matrix-react-sdk/pull/7423)).
+ * Add configuration to disable relative date markers in timeline
([\#7405](https://github.com/matrix-org/matrix-react-sdk/pull/7405)).
+ * Space preferences for whether or not you see DMs in a Space
([\#7250](https://github.com/matrix-org/matrix-react-sdk/pull/7250)). Fixes
#19529 and #19955.
+ * Have LocalEchoWrapper emit updates so the app can react faster
([\#7358](https://github.com/matrix-org/matrix-react-sdk/pull/7358)). Fixes
#19749.
+ * Use semantic heading on dialog component
([\#7383](https://github.com/matrix-org/matrix-react-sdk/pull/7383)).
+ * Add `/jumptodate` slash command
([\#7372](https://github.com/matrix-org/matrix-react-sdk/pull/7372)). Fixes
#7677.
+ * Update room context menu copy
([\#7361](https://github.com/matrix-org/matrix-react-sdk/pull/7361)). Fixes
#20133.
+ * Use lazy rendering in the AddExistingToSpaceDialog
([\#7369](https://github.com/matrix-org/matrix-react-sdk/pull/7369)). Fixes
#18784.
+ * Tweak FacePile tooltip to include whether or not you are included
([\#7367](https://github.com/matrix-org/matrix-react-sdk/pull/7367)). Fixes
#17278.
+
+## ???? Bug Fixes
+ * Ensure group audio-only calls don't switch on the webcam on join
([\#20234](https://github.com/vector-im/element-web/pull/20234)). Fixes #20212.
+ * Fix wrongly wrapping code blocks, breaking line numbers
([\#7507](https://github.com/matrix-org/matrix-react-sdk/pull/7507)). Fixes
#20316.
+ * Set header buttons to no phase when right panel is closed
([\#7506](https://github.com/matrix-org/matrix-react-sdk/pull/7506)).
+ * Fix active Jitsi calls (and other active widgets) not being visible on
screen, by showing them in PiP if they are not visible in any other container
([\#7435](https://github.com/matrix-org/matrix-react-sdk/pull/7435)). Fixes
#15169 and #20275.
+ * Fix layout of message bubble preview in settings
([\#7497](https://github.com/matrix-org/matrix-react-sdk/pull/7497)).
+ * Prevent mutations of js-sdk owned objects as it breaks accountData
([\#7504](https://github.com/matrix-org/matrix-react-sdk/pull/7504)). Fixes
matrix-org/element-web-rageshakes#7822.
+ * fallback properly with pluralized strings
([\#7495](https://github.com/matrix-org/matrix-react-sdk/pull/7495)). Fixes
#20455.
+ * Consider continuations when resolving whether a tile is last in section
([\#7461](https://github.com/matrix-org/matrix-react-sdk/pull/7461)). Fixes
#20368 and #20369.
+ * Fix read receipts and sent indicators for bubble layout
([\#7460](https://github.com/matrix-org/matrix-react-sdk/pull/7460)). Fixes
#18298 and #20345.
+ * null-guard dataset mxTheme to prevent html exports from exploding
([\#7493](https://github.com/matrix-org/matrix-react-sdk/pull/7493)). Fixes
#20453.
+ * Fix avatar container overlapping give feedback cta
([\#7491](https://github.com/matrix-org/matrix-react-sdk/pull/7491)). Fixes
matrix-org/element-web-rageshakes#7987.
+ * Fix jump to bottom button working when on a permalink
([\#7494](https://github.com/matrix-org/matrix-react-sdk/pull/7494)). Fixes
#19813.
+ * Remove the Description from the location picker
([\#7485](https://github.com/matrix-org/matrix-react-sdk/pull/7485)).
+ * Fix look of the untrusted device dialog
([\#7487](https://github.com/matrix-org/matrix-react-sdk/pull/7487)). Fixes
#20447. Contributed by @SimonBrandner.
+ * Hide maximise button in the sticker picker
([\#7488](https://github.com/matrix-org/matrix-react-sdk/pull/7488)). Fixes
#20443. Contributed by @SimonBrandner.
+ * Fix space ordering to match newer spec
([\#7481](https://github.com/matrix-org/matrix-react-sdk/pull/7481)).
+ * Fix typing notification colors
([\#7490](https://github.com/matrix-org/matrix-react-sdk/pull/7490)). Fixes
#20144. Contributed by @SimonBrandner.
+ * fix fallback for pluralized strings
([\#7480](https://github.com/matrix-org/matrix-react-sdk/pull/7480)). Fixes
#20426.
+ * Fix right panel soft crashes chat rooms
([\#7479](https://github.com/matrix-org/matrix-react-sdk/pull/7479)). Fixes
#20433.
+ * update yarn.lock and i18n
([\#7476](https://github.com/matrix-org/matrix-react-sdk/pull/7476)). Fixes
#20426 and #20423.
+ * Don't send typing notification when restoring composer draft
([\#7477](https://github.com/matrix-org/matrix-react-sdk/pull/7477)). Fixes
#20424.
+ * Fix room joining spinner being incorrect if you change room mid-join
([\#7473](https://github.com/matrix-org/matrix-react-sdk/pull/7473)).
+ * Only return the approved widget capabilities instead of accepting all
requested capabilities
([\#7454](https://github.com/matrix-org/matrix-react-sdk/pull/7454)).
Contributed by @dhenneke.
+ * Fix quoting messages from the search view
([\#7466](https://github.com/matrix-org/matrix-react-sdk/pull/7466)). Fixes
#20353.
+ * Attribute fallback i18n strings with lang attribute
([\#7323](https://github.com/matrix-org/matrix-react-sdk/pull/7323)).
+ * Fix spotlight cmd-k wrongly expanding left panel
([\#7463](https://github.com/matrix-org/matrix-react-sdk/pull/7463)). Fixes
#20399.
+ * Fix room_id check when adding user widgets
([\#7448](https://github.com/matrix-org/matrix-react-sdk/pull/7448)). Fixes
#19382. Contributed by @bink.
+ * Add new line in settings label
([\#7451](https://github.com/matrix-org/matrix-react-sdk/pull/7451)). Fixes
#20365.
+ * Fix handling incoming redactions in EventIndex
([\#7443](https://github.com/matrix-org/matrix-react-sdk/pull/7443)). Fixes
#19326.
+ * Fix room alias address isn't checked for validity before being shown as
added ([\#7107](https://github.com/matrix-org/matrix-react-sdk/pull/7107)).
Fixes #19609. Contributed by @Palid.
+ * Call view accessibility fixes
([\#7439](https://github.com/matrix-org/matrix-react-sdk/pull/7439)). Fixes
#18516.
+ * Fix offscreen canvas breaking with split-brained firefox support
([\#7440](https://github.com/matrix-org/matrix-react-sdk/pull/7440)).
+ * Removed red shield in forwarding preview.
([\#7447](https://github.com/matrix-org/matrix-react-sdk/pull/7447)).
Contributed by @ankur12-1610.
+ * Wrap status message
([\#7325](https://github.com/matrix-org/matrix-react-sdk/pull/7325)). Fixes
#20092. Contributed by @SimonBrandner.
+ * Move hideSender logic into state so it causes re-render
([\#7413](https://github.com/matrix-org/matrix-react-sdk/pull/7413)). Fixes
#18448.
+ * Fix dialpad positioning
([\#7446](https://github.com/matrix-org/matrix-react-sdk/pull/7446)). Fixes
#20175. Contributed by @SimonBrandner.
+ * Hide non-functional list options on Suggested sublist
([\#7410](https://github.com/matrix-org/matrix-react-sdk/pull/7410)). Fixes
#20252.
+ * Fix width overflow in mini composer overflow menu
([\#7411](https://github.com/matrix-org/matrix-react-sdk/pull/7411)). Fixes
#20263.
+ * Fix being wrongly sent to Home space when creating/joining/leaving rooms
([\#7418](https://github.com/matrix-org/matrix-react-sdk/pull/7418)). Fixes
matrix-org/element-web-rageshakes#7331 #20246 and #20240.
+ * Fix HTML Export where the data-mx-theme is `Light` not `light`
([\#7415](https://github.com/matrix-org/matrix-react-sdk/pull/7415)).
+ * Don't disable username/password fields whilst doing wk-lookup
([\#7438](https://github.com/matrix-org/matrix-react-sdk/pull/7438)). Fixes
#20121.
+ * Prevent keyboard propagation out of context menus
([\#7437](https://github.com/matrix-org/matrix-react-sdk/pull/7437)). Fixes
#20317.
+ * Fix nulls leaking into geo urls
([\#7433](https://github.com/matrix-org/matrix-react-sdk/pull/7433)).
+ * Fix zIndex of peristent apps in miniMode
([\#7429](https://github.com/matrix-org/matrix-react-sdk/pull/7429)).
+ * Space panel should watch spaces for space name changes
([\#7432](https://github.com/matrix-org/matrix-react-sdk/pull/7432)).
+ * Fix list formatting alternating on edit
([\#7422](https://github.com/matrix-org/matrix-react-sdk/pull/7422)). Fixes
#20073. Contributed by @renancleyson-dev.
+ * Don't show `Testing small changes` without UIFeature.Feedback
([\#7427](https://github.com/matrix-org/matrix-react-sdk/pull/7427)). Fixes
#20298.
+ * Fix invisible toggle space panel button
([\#7426](https://github.com/matrix-org/matrix-react-sdk/pull/7426)). Fixes
#20279.
+ * Fix legacy breadcrumbs wrongly showing up
([\#7425](https://github.com/matrix-org/matrix-react-sdk/pull/7425)).
+ * Space Panel use SettingsStore instead of SpaceStore as source of truth
([\#7404](https://github.com/matrix-org/matrix-react-sdk/pull/7404)). Fixes
#20250.
+ * Fix inline code block nowrap issue
([\#7406](https://github.com/matrix-org/matrix-react-sdk/pull/7406)).
+ * Fix notification badge for All Rooms space
([\#7401](https://github.com/matrix-org/matrix-react-sdk/pull/7401)). Fixes
#20229.
+ * Show error if could not load space hierarchy
([\#7399](https://github.com/matrix-org/matrix-react-sdk/pull/7399)). Fixes
#20221.
+ * Increase gap between ELS and the subsequent event to prevent overlap
([\#7391](https://github.com/matrix-org/matrix-react-sdk/pull/7391)). Fixes
#18319.
+ * Fix list of members in space preview
([\#7356](https://github.com/matrix-org/matrix-react-sdk/pull/7356)). Fixes
#19781.
+ * Fix sizing of e2e shield in bubble layout
([\#7394](https://github.com/matrix-org/matrix-react-sdk/pull/7394)). Fixes
#19090.
+ * Fix bubble radius wrong when followed by a state event from same user
([\#7393](https://github.com/matrix-org/matrix-react-sdk/pull/7393)). Fixes
#18982.
+ * Fix alignment between ELS and Events in bubble layout
([\#7392](https://github.com/matrix-org/matrix-react-sdk/pull/7392)). Fixes
#19652 and #19057.
+ * Don't include the accuracy parameter in location events if accuracy could
not be determined.
([\#7375](https://github.com/matrix-org/matrix-react-sdk/pull/7375)).
+ * Make compact layout only apply to Modern layout
([\#7382](https://github.com/matrix-org/matrix-react-sdk/pull/7382)). Fixes
#18412.
+ * Pin qrcode to fix e2e verification bug
([\#7378](https://github.com/matrix-org/matrix-react-sdk/pull/7378)). Fixes
#20188.
+ * Add internationalisation to progress strings in room export dialog
([\#7385](https://github.com/matrix-org/matrix-react-sdk/pull/7385)). Fixes
#20208.
+ * Prevent escape to cancel edit from also scrolling to bottom
([\#7380](https://github.com/matrix-org/matrix-react-sdk/pull/7380)). Fixes
#20182.
+ * Fix narrow mode composer buttons for polls labs
([\#7386](https://github.com/matrix-org/matrix-react-sdk/pull/7386)). Fixes
#20067.
+ * Fix useUserStatusMessage exploding on unknown user
([\#7365](https://github.com/matrix-org/matrix-react-sdk/pull/7365)).
+ * Fix room join spinner in room list header
([\#7364](https://github.com/matrix-org/matrix-react-sdk/pull/7364)). Fixes
#20139.
+ * Fix room search sometimes not opening spotlight
([\#7363](https://github.com/matrix-org/matrix-react-sdk/pull/7363)). Fixes
matrix-org/element-web-rageshakes#7288.
+
+Changes in
[1.9.9-rc.1](https://github.com/vector-im/element-web/releases/tag/v1.9.9-rc.1)
(2022-01-11)
+=======================================================================================================
+
+## ??? Features
+ * Ship maximised widgets and remove feature flag
([\#7509](https://github.com/matrix-org/matrix-react-sdk/pull/7509)).
+ * Properly maintain aspect ratio of inline images
([\#7503](https://github.com/matrix-org/matrix-react-sdk/pull/7503)).
+ * Add zoom buttons to the location view
([\#7482](https://github.com/matrix-org/matrix-react-sdk/pull/7482)).
+ * Remove bubble from around location events
([\#7459](https://github.com/matrix-org/matrix-react-sdk/pull/7459)). Fixes
#20323.
+ * Disable "Publish this room" option in invite only rooms
([\#7441](https://github.com/matrix-org/matrix-react-sdk/pull/7441)). Fixes
#6596. Contributed by @aaronraimist.
+ * Add permission dropdown for sending reactions
([\#7492](https://github.com/matrix-org/matrix-react-sdk/pull/7492)). Fixes
#20450.
+ * Give secret key field an `id`
([\#7489](https://github.com/matrix-org/matrix-react-sdk/pull/7489)). Fixes
#20390. Contributed by @SimonBrandner.
+ * Display a tooltip when you hover over a location
([\#7472](https://github.com/matrix-org/matrix-react-sdk/pull/7472)).
+ * Open map in a dialog when it is clicked
([\#7465](https://github.com/matrix-org/matrix-react-sdk/pull/7465)).
+ * a11y - wrap notification level radios in fieldsets
([\#7471](https://github.com/matrix-org/matrix-react-sdk/pull/7471)).
+ * Wrap inputs in fieldsets in Space visibility settings
([\#7350](https://github.com/matrix-org/matrix-react-sdk/pull/7350)).
+ * History based navigation with new right panel store
([\#7398](https://github.com/matrix-org/matrix-react-sdk/pull/7398)). Fixes
#19686 #19660 and #19634.
+ * Associate room alias warning with public option in settings
([\#7430](https://github.com/matrix-org/matrix-react-sdk/pull/7430)).
+ * Disable quick reactions button when no permissions
([\#7412](https://github.com/matrix-org/matrix-react-sdk/pull/7412)). Fixes
#20270.
+ * Allow opening a map view in OpenStreetMap
([\#7428](https://github.com/matrix-org/matrix-react-sdk/pull/7428)).
+ * Display the user's avatar when they shared their location
([\#7424](https://github.com/matrix-org/matrix-react-sdk/pull/7424)).
+ * Remove the Forward and Share buttons for location messages only
([\#7423](https://github.com/matrix-org/matrix-react-sdk/pull/7423)).
+ * Add configuration to disable relative date markers in timeline
([\#7405](https://github.com/matrix-org/matrix-react-sdk/pull/7405)).
+ * Space preferences for whether or not you see DMs in a Space
([\#7250](https://github.com/matrix-org/matrix-react-sdk/pull/7250)). Fixes
#19529 and #19955.
+ * Have LocalEchoWrapper emit updates so the app can react faster
([\#7358](https://github.com/matrix-org/matrix-react-sdk/pull/7358)). Fixes
#19749.
+ * Use semantic heading on dialog component
([\#7383](https://github.com/matrix-org/matrix-react-sdk/pull/7383)).
+ * Add `/jumptodate` slash command
([\#7372](https://github.com/matrix-org/matrix-react-sdk/pull/7372)). Fixes
#7677.
+ * Update room context menu copy
([\#7361](https://github.com/matrix-org/matrix-react-sdk/pull/7361)). Fixes
#20133.
+ * Use lazy rendering in the AddExistingToSpaceDialog
([\#7369](https://github.com/matrix-org/matrix-react-sdk/pull/7369)). Fixes
#18784.
+ * Tweak FacePile tooltip to include whether or not you are included
([\#7367](https://github.com/matrix-org/matrix-react-sdk/pull/7367)). Fixes
#17278.
+
+## ???? Bug Fixes
+ * Ensure group audio-only calls don't switch on the webcam on join
([\#20234](https://github.com/vector-im/element-web/pull/20234)). Fixes #20212.
+ * Fix wrongly wrapping code blocks, breaking line numbers
([\#7507](https://github.com/matrix-org/matrix-react-sdk/pull/7507)). Fixes
#20316.
+ * Set header buttons to no phase when right panel is closed
([\#7506](https://github.com/matrix-org/matrix-react-sdk/pull/7506)).
+ * Fix active Jitsi calls (and other active widgets) not being visible on
screen, by showing them in PiP if they are not visible in any other container
([\#7435](https://github.com/matrix-org/matrix-react-sdk/pull/7435)). Fixes
#15169 and #20275.
+ * Fix layout of message bubble preview in settings
([\#7497](https://github.com/matrix-org/matrix-react-sdk/pull/7497)).
+ * Prevent mutations of js-sdk owned objects as it breaks accountData
([\#7504](https://github.com/matrix-org/matrix-react-sdk/pull/7504)). Fixes
matrix-org/element-web-rageshakes#7822.
+ * fallback properly with pluralized strings
([\#7495](https://github.com/matrix-org/matrix-react-sdk/pull/7495)). Fixes
#20455.
+ * Consider continuations when resolving whether a tile is last in section
([\#7461](https://github.com/matrix-org/matrix-react-sdk/pull/7461)). Fixes
#20368 and #20369.
+ * Fix read receipts and sent indicators for bubble layout
([\#7460](https://github.com/matrix-org/matrix-react-sdk/pull/7460)). Fixes
#18298 and #20345.
+ * null-guard dataset mxTheme to prevent html exports from exploding
([\#7493](https://github.com/matrix-org/matrix-react-sdk/pull/7493)). Fixes
#20453.
+ * Fix avatar container overlapping give feedback cta
([\#7491](https://github.com/matrix-org/matrix-react-sdk/pull/7491)). Fixes
matrix-org/element-web-rageshakes#7987.
+ * Fix jump to bottom button working when on a permalink
([\#7494](https://github.com/matrix-org/matrix-react-sdk/pull/7494)). Fixes
#19813.
+ * Remove the Description from the location picker
([\#7485](https://github.com/matrix-org/matrix-react-sdk/pull/7485)).
+ * Fix look of the untrusted device dialog
([\#7487](https://github.com/matrix-org/matrix-react-sdk/pull/7487)). Fixes
#20447. Contributed by @SimonBrandner.
+ * Hide maximise button in the sticker picker
([\#7488](https://github.com/matrix-org/matrix-react-sdk/pull/7488)). Fixes
#20443. Contributed by @SimonBrandner.
+ * Fix space ordering to match newer spec
([\#7481](https://github.com/matrix-org/matrix-react-sdk/pull/7481)).
+ * Fix typing notification colors
([\#7490](https://github.com/matrix-org/matrix-react-sdk/pull/7490)). Fixes
#20144. Contributed by @SimonBrandner.
+ * fix fallback for pluralized strings
([\#7480](https://github.com/matrix-org/matrix-react-sdk/pull/7480)). Fixes
#20426.
+ * Fix right panel soft crashes chat rooms
([\#7479](https://github.com/matrix-org/matrix-react-sdk/pull/7479)). Fixes
#20433.
+ * update yarn.lock and i18n
([\#7476](https://github.com/matrix-org/matrix-react-sdk/pull/7476)). Fixes
#20426 and #20423.
+ * Don't send typing notification when restoring composer draft
([\#7477](https://github.com/matrix-org/matrix-react-sdk/pull/7477)). Fixes
#20424.
+ * Fix room joining spinner being incorrect if you change room mid-join
([\#7473](https://github.com/matrix-org/matrix-react-sdk/pull/7473)).
+ * Only return the approved widget capabilities instead of accepting all
requested capabilities
([\#7454](https://github.com/matrix-org/matrix-react-sdk/pull/7454)).
Contributed by @dhenneke.
+ * Fix quoting messages from the search view
([\#7466](https://github.com/matrix-org/matrix-react-sdk/pull/7466)). Fixes
#20353.
+ * Attribute fallback i18n strings with lang attribute
([\#7323](https://github.com/matrix-org/matrix-react-sdk/pull/7323)).
+ * Fix spotlight cmd-k wrongly expanding left panel
([\#7463](https://github.com/matrix-org/matrix-react-sdk/pull/7463)). Fixes
#20399.
+ * Fix room_id check when adding user widgets
([\#7448](https://github.com/matrix-org/matrix-react-sdk/pull/7448)). Fixes
#19382. Contributed by @bink.
+ * Add new line in settings label
([\#7451](https://github.com/matrix-org/matrix-react-sdk/pull/7451)). Fixes
#20365.
+ * Fix handling incoming redactions in EventIndex
([\#7443](https://github.com/matrix-org/matrix-react-sdk/pull/7443)). Fixes
#19326.
+ * Fix room alias address isn't checked for validity before being shown as
added ([\#7107](https://github.com/matrix-org/matrix-react-sdk/pull/7107)).
Fixes #19609. Contributed by @Palid.
+ * Call view accessibility fixes
([\#7439](https://github.com/matrix-org/matrix-react-sdk/pull/7439)). Fixes
#18516.
+ * Fix offscreen canvas breaking with split-brained firefox support
([\#7440](https://github.com/matrix-org/matrix-react-sdk/pull/7440)).
+ * Removed red shield in forwarding preview.
([\#7447](https://github.com/matrix-org/matrix-react-sdk/pull/7447)).
Contributed by @ankur12-1610.
+ * Wrap status message
([\#7325](https://github.com/matrix-org/matrix-react-sdk/pull/7325)). Fixes
#20092. Contributed by @SimonBrandner.
+ * Move hideSender logic into state so it causes re-render
([\#7413](https://github.com/matrix-org/matrix-react-sdk/pull/7413)). Fixes
#18448.
+ * Fix dialpad positioning
([\#7446](https://github.com/matrix-org/matrix-react-sdk/pull/7446)). Fixes
#20175. Contributed by @SimonBrandner.
+ * Hide non-functional list options on Suggested sublist
([\#7410](https://github.com/matrix-org/matrix-react-sdk/pull/7410)). Fixes
#20252.
+ * Fix width overflow in mini composer overflow menu
([\#7411](https://github.com/matrix-org/matrix-react-sdk/pull/7411)). Fixes
#20263.
+ * Fix being wrongly sent to Home space when creating/joining/leaving rooms
([\#7418](https://github.com/matrix-org/matrix-react-sdk/pull/7418)). Fixes
matrix-org/element-web-rageshakes#7331 #20246 and #20240.
+ * Fix HTML Export where the data-mx-theme is `Light` not `light`
([\#7415](https://github.com/matrix-org/matrix-react-sdk/pull/7415)).
+ * Don't disable username/password fields whilst doing wk-lookup
([\#7438](https://github.com/matrix-org/matrix-react-sdk/pull/7438)). Fixes
#20121.
+ * Prevent keyboard propagation out of context menus
([\#7437](https://github.com/matrix-org/matrix-react-sdk/pull/7437)). Fixes
#20317.
+ * Fix nulls leaking into geo urls
([\#7433](https://github.com/matrix-org/matrix-react-sdk/pull/7433)).
+ * Fix zIndex of peristent apps in miniMode
([\#7429](https://github.com/matrix-org/matrix-react-sdk/pull/7429)).
+ * Space panel should watch spaces for space name changes
([\#7432](https://github.com/matrix-org/matrix-react-sdk/pull/7432)).
+ * Fix list formatting alternating on edit
([\#7422](https://github.com/matrix-org/matrix-react-sdk/pull/7422)). Fixes
#20073. Contributed by @renancleyson-dev.
+ * Don't show `Testing small changes` without UIFeature.Feedback
([\#7427](https://github.com/matrix-org/matrix-react-sdk/pull/7427)). Fixes
#20298.
+ * Fix invisible toggle space panel button
([\#7426](https://github.com/matrix-org/matrix-react-sdk/pull/7426)). Fixes
#20279.
+ * Fix legacy breadcrumbs wrongly showing up
([\#7425](https://github.com/matrix-org/matrix-react-sdk/pull/7425)).
+ * Space Panel use SettingsStore instead of SpaceStore as source of truth
([\#7404](https://github.com/matrix-org/matrix-react-sdk/pull/7404)). Fixes
#20250.
+ * Fix inline code block nowrap issue
([\#7406](https://github.com/matrix-org/matrix-react-sdk/pull/7406)).
+ * Fix notification badge for All Rooms space
([\#7401](https://github.com/matrix-org/matrix-react-sdk/pull/7401)). Fixes
#20229.
+ * Show error if could not load space hierarchy
([\#7399](https://github.com/matrix-org/matrix-react-sdk/pull/7399)). Fixes
#20221.
+ * Increase gap between ELS and the subsequent event to prevent overlap
([\#7391](https://github.com/matrix-org/matrix-react-sdk/pull/7391)). Fixes
#18319.
+ * Fix list of members in space preview
([\#7356](https://github.com/matrix-org/matrix-react-sdk/pull/7356)). Fixes
#19781.
+ * Fix sizing of e2e shield in bubble layout
([\#7394](https://github.com/matrix-org/matrix-react-sdk/pull/7394)). Fixes
#19090.
+ * Fix bubble radius wrong when followed by a state event from same user
([\#7393](https://github.com/matrix-org/matrix-react-sdk/pull/7393)). Fixes
#18982.
+ * Fix alignment between ELS and Events in bubble layout
([\#7392](https://github.com/matrix-org/matrix-react-sdk/pull/7392)). Fixes
#19652 and #19057.
+ * Don't include the accuracy parameter in location events if accuracy could
not be determined.
([\#7375](https://github.com/matrix-org/matrix-react-sdk/pull/7375)).
+ * Make compact layout only apply to Modern layout
([\#7382](https://github.com/matrix-org/matrix-react-sdk/pull/7382)). Fixes
#18412.
+ * Pin qrcode to fix e2e verification bug
([\#7378](https://github.com/matrix-org/matrix-react-sdk/pull/7378)). Fixes
#20188.
+ * Add internationalisation to progress strings in room export dialog
([\#7385](https://github.com/matrix-org/matrix-react-sdk/pull/7385)). Fixes
#20208.
+ * Prevent escape to cancel edit from also scrolling to bottom
([\#7380](https://github.com/matrix-org/matrix-react-sdk/pull/7380)). Fixes
#20182.
+ * Fix narrow mode composer buttons for polls labs
([\#7386](https://github.com/matrix-org/matrix-react-sdk/pull/7386)). Fixes
#20067.
+ * Fix useUserStatusMessage exploding on unknown user
([\#7365](https://github.com/matrix-org/matrix-react-sdk/pull/7365)).
+ * Fix room join spinner in room list header
([\#7364](https://github.com/matrix-org/matrix-react-sdk/pull/7364)). Fixes
#20139.
+ * Fix room search sometimes not opening spotlight
([\#7363](https://github.com/matrix-org/matrix-react-sdk/pull/7363)). Fixes
matrix-org/element-web-rageshakes#7288.
+
Changes in
[1.9.8](https://github.com/vector-im/element-web/releases/tag/v1.9.8)
(2021-12-20)
=============================================================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/docs/config.md
new/element-web-1.9.9/docs/config.md
--- old/element-web-1.9.8/docs/config.md 2021-12-20 15:35:26.000000000
+0100
+++ new/element-web-1.9.9/docs/config.md 2022-01-17 15:30:03.000000000
+0100
@@ -240,3 +240,4 @@
user.
* `UIFeature.roomHistorySettings` - Whether or not the room history settings
are shown to the user.
This should only be used if the room history visibility options are managed
by the server.
+* `UIFeature.TimelineEnableRelativeDates` - Display relative date separators
(eg: 'Today', 'Yesterday') in the timeline for recent messages. When false day
dates will be used.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/docs/labs.md
new/element-web-1.9.9/docs/labs.md
--- old/element-web-1.9.8/docs/labs.md 2021-12-20 15:35:26.000000000 +0100
+++ new/element-web-1.9.9/docs/labs.md 2022-01-17 15:30:03.000000000 +0100
@@ -139,13 +139,6 @@
Bug reports, feature requests, etc are not currently accepted for this feature
flag. A later stage of
development will provide opportunities for feedback.
-## Maximised widgets (`feature_maximised_widgets`) [In Development]
-
-Maximised widgets provide a room layout in which a widget is (temporarily) the
primary focus of the room. The whole chat area is then used for the widget. The
chat is moved into the right panel.
-
-Note that this feature is currently under active development and therefore is
-entirely incomplete and may not work at all - it is not recommended for
general use at this time.
-
## Metaspaces (`feature_spaces_metaspaces`) [In Development]
Metaspaces are automatically populated spaces you can enable in your Space
panel.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/package.json
new/element-web-1.9.9/package.json
--- old/element-web-1.9.8/package.json 2021-12-20 15:35:26.000000000 +0100
+++ new/element-web-1.9.9/package.json 2022-01-17 15:30:03.000000000 +0100
@@ -1,6 +1,6 @@
{
"name": "element-web",
- "version": "1.9.8",
+ "version": "1.9.9",
"description": "A feature-rich client for Matrix.org",
"author": "New Vector Ltd.",
"repository": {
@@ -57,12 +57,11 @@
"dependencies": {
"@matrix-org/olm":
"https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.8.tgz",
"browser-request": "^0.3.3",
- "eslint-plugin-import": "^2.25.2",
"gfm.css": "^1.1.2",
"jsrsasign": "^10.2.0",
"katex": "^0.12.0",
- "matrix-js-sdk": "15.3.0",
- "matrix-react-sdk": "3.37.0",
+ "matrix-js-sdk": "15.4.0",
+ "matrix-react-sdk": "3.38.0",
"matrix-widget-api": "^0.1.0-beta.18",
"prop-types": "^15.7.2",
"react": "17.0.2",
@@ -111,7 +110,8 @@
"dotenv": "^10.0.0",
"eslint": "7.18.0",
"eslint-config-google": "^0.14.0",
- "eslint-plugin-matrix-org":
"github:matrix-org/eslint-plugin-matrix-org#48ec1e6af2cfb8310b9a6e23edf2dc7a26ddd580",
+ "eslint-plugin-import": "^2.25.4",
+ "eslint-plugin-matrix-org": "^0.4.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/scripts/fetch-develop.deps.sh
new/element-web-1.9.9/scripts/fetch-develop.deps.sh
--- old/element-web-1.9.8/scripts/fetch-develop.deps.sh 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/scripts/fetch-develop.deps.sh 2022-01-17
15:30:03.000000000 +0100
@@ -25,7 +25,8 @@
if [ -n "$branch" ]
then
echo "Trying to use $org/$repo#$branch"
- git clone git://github.com/$org/$repo.git $repo --branch $branch \
+ # Disable auth prompts: https://serverfault.com/a/665959
+ GIT_TERMINAL_PROMPT=0 git clone https://github.com/$org/$repo.git
$repo --branch $branch \
"${GIT_CLONE_ARGS[@]}"
return $?
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/src/@types/global.d.ts
new/element-web-1.9.9/src/@types/global.d.ts
--- old/element-web-1.9.8/src/@types/global.d.ts 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/src/@types/global.d.ts 2022-01-17
15:30:03.000000000 +0100
@@ -32,7 +32,7 @@
"setBadgeCount" |
"update-downloaded" |
"userDownloadCompleted" |
- "userDownloadOpen";
+ "userDownloadAction";
declare global {
interface Window {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/src/i18n/strings/el.json
new/element-web-1.9.9/src/i18n/strings/el.json
--- old/element-web-1.9.8/src/i18n/strings/el.json 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/src/i18n/strings/el.json 2022-01-17
15:30:03.000000000 +0100
@@ -32,5 +32,7 @@
"Failed to start": "???????????????? ??????????????",
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s
(%(browserName)s, %(osName)s)",
"%(brand)s Desktop (%(platformName)s)": "%(brand)s Desktop
(%(platformName)s)",
- "Missing indexeddb worker script!": "?????????????? indexeddb worker
script!"
+ "Missing indexeddb worker script!": "?????????????? indexeddb worker
script!",
+ "Use %(brand)s on mobile": "?????????? %(brand)s ???? ????????????",
+ "Switch to space by number": "???????????????? ???? space ????
????????????"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/src/i18n/strings/nn.json
new/element-web-1.9.9/src/i18n/strings/nn.json
--- old/element-web-1.9.8/src/i18n/strings/nn.json 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/src/i18n/strings/nn.json 2022-01-17
15:30:03.000000000 +0100
@@ -12,11 +12,26 @@
"Invalid JSON": "Ugyldig JSON",
"Unexpected error preparing the app. See console for details.": "Uventa
feil under lasting av programmet. Sj?? konsollen for detaljar.",
"Invalid configuration: can only specify one of default_server_config,
default_server_name, or default_hs_url.": "Ugyldig oppsett: berre muleg ??
berre spesifiere ein av default_server_config, default_server_name eller
default_hs_url.",
- "Invalid configuration: no default server specified.": "Ugyldig oppsett:
ingen \"default server\" er spesifisert.",
+ "Invalid configuration: no default server specified.": "Ugyldig oppsett:
Ingen standardserver er spesifisert.",
"Your Element configuration contains invalid JSON. Please correct the
problem and reload the page.": "Oppsettet for din Element inneheld ugyldig
JSON. Sjekk konfigurasjonsfila, deretter last om sida.",
"Unable to load config file: please refresh the page to try again.": "Fekk
ikkje til ?? lasta konfigurasjonsfila: last inn sida for ?? pr??va om att.",
"Go to your browser to complete Sign In": "Opna nettlesaren din for ??
fullf??ra innlogginga",
"Unsupported browser": "Nettlesaren er ikkje st??tta",
"Your browser can't run %(brand)s": "Din nettlesar kan ikkje k??yra
%(brand)s",
- "Go to element.io": "G?? til element.io"
+ "Go to element.io": "G?? til element.io",
+ "%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s
(%(browserName)s, %(osName)s)",
+ "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.": "Du kan
fortsetja ?? bruka gjeldande nettlesar, men nokre eller alle funksjonane
fungerer kanskje ikkje, og utsj??naden og kjensla av applikasjonen kan vera
feil.",
+ "Please install <chromeLink>Chrome</chromeLink>,
<firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the
best experience.": "Installer <chromeLink>Chrome</chromeLink>,
<firefoxLink>Firefox</firefoxLink>, eller <safariLink>Safari</safariLink> for
den beste opplevinga.",
+ "I understand the risks and wish to continue": "Eg forst??r risikoen og
ynskjer ?? fortsetja",
+ "Previous/next recently visited room or community": "F??reg??ande/neste
nyleg bes??kte rom eller samfunn",
+ "%(brand)s uses advanced browser features which aren't supported by your
current browser.": "%(brand)s brukar avanserte nettlesarfunksjonar som ikkje er
st??tta av den gjeldande nettlesaren din.",
+ "Use %(brand)s on mobile": "Bruk %(brand)s p?? mobil",
+ "Powered by Matrix": "Driven av Matrix",
+ "%(brand)s Desktop (%(platformName)s)": "%(brand)s Skrivebord
(%(platformName)s)",
+ "Your Element is misconfigured": "Element er feilkonfigurert",
+ "Failed to start": "Klarte ikkje ?? starta",
+ "Open user settings": "Opna brukarinnstillingar",
+ "Switch to space by number": "Byt til plass etter nummer",
+ "Open": "Opna",
+ "Download Completed": "Nedlasting Fullf??rt"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/src/i18n/strings/sk.json
new/element-web-1.9.9/src/i18n/strings/sk.json
--- old/element-web-1.9.8/src/i18n/strings/sk.json 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/src/i18n/strings/sk.json 2022-01-17
15:30:03.000000000 +0100
@@ -4,7 +4,7 @@
"Dismiss": "Zamietnu??",
"powered by Matrix": "poh????a Matrix",
"Welcome to Element": "V??ta v??s Element",
- "Decentralised, encrypted chat & collaboration powered by [matrix]":
"Decentralizovan??, ??ifrovan?? chat a spolupr??ca na platforme [matrix]",
+ "Decentralised, encrypted chat & collaboration powered by [matrix]":
"Decentralizovan??, ??ifrovan?? konverz??cie a spolupr??ca na platforme
[matrix]",
"Sign In": "Prihl??si?? sa",
"Create Account": "Vytvori?? ????et",
"Explore rooms": "Presk??ma?? miestnosti",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/src/i18n/strings/uk.json
new/element-web-1.9.9/src/i18n/strings/uk.json
--- old/element-web-1.9.8/src/i18n/strings/uk.json 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/src/i18n/strings/uk.json 2022-01-17
15:30:03.000000000 +0100
@@ -18,7 +18,7 @@
"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.": "????
???????????? ????????????????????, ???????????????????????? ??????????
???????????????? ??????????????????, ?????? ?????????? ??????????????
???????????? ???? ??????????????????, ?? ???????????????????? ????????
?????????????????? ??????????????????????.",
"I understand the risks and wish to continue": "?? ????????????????????
?????????? ?? ?????????? ????????????????????",
"Go to element.io": "?????????????? ???? element.io",
- "Failed to start": "???????????? ???? ????????????",
+ "Failed to start": "???? ?????????????? ??????????????????",
"Download Completed": "???????????????????????? ??????????????????",
"Missing indexeddb worker script!": "?????????????????? ??????????????
???????????????? IndexedDB!",
"Your Element is misconfigured": "?????? Element ??????????????????????
??????????????????????",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/src/vector/jitsi/index.ts
new/element-web-1.9.9/src/vector/jitsi/index.ts
--- old/element-web-1.9.8/src/vector/jitsi/index.ts 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/src/vector/jitsi/index.ts 2022-01-17
15:30:03.000000000 +0100
@@ -46,6 +46,7 @@
let roomId: string;
let openIdToken: IOpenIDCredentials;
let roomName: string;
+let startAudioOnly: boolean;
let widgetApi: WidgetApi;
let meetApi: any; // JitsiMeetExternalAPI
@@ -107,6 +108,7 @@
jitsiAuth = qsParam('auth', true);
roomId = qsParam('roomId', true);
roomName = qsParam('roomName', true);
+ startAudioOnly = qsParam('isAudioOnly', true) === "true";
if (widgetApi) {
await readyPromise;
@@ -238,6 +240,9 @@
MAIN_TOOLBAR_BUTTONS: [],
VIDEO_LAYOUT_FIT: "height",
},
+ configOverwrite: {
+ startAudioOnly,
+ },
jwt: jwt,
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/element-web-1.9.8/src/vector/platform/ElectronPlatform.tsx
new/element-web-1.9.9/src/vector/platform/ElectronPlatform.tsx
--- old/element-web-1.9.8/src/vector/platform/ElectronPlatform.tsx
2021-12-20 15:35:26.000000000 +0100
+++ new/element-web-1.9.9/src/vector/platform/ElectronPlatform.tsx
2022-01-17 15:30:03.000000000 +0100
@@ -258,14 +258,18 @@
dis.fire(Action.ViewUserSettings);
});
- electron.on('userDownloadCompleted', (ev, { path, name }) => {
- const key = `DOWNLOAD_TOAST_${path}`;
+ electron.on('userDownloadCompleted', (ev, { id, name }) => {
+ const key = `DOWNLOAD_TOAST_${id}`;
const onAccept = () => {
- electron.send('userDownloadOpen', { path });
+ electron.send('userDownloadAction', { id, open: true });
ToastStore.sharedInstance().dismissToast(key);
};
+ const onDismiss = () => {
+ electron.send('userDownloadAction', { id });
+ };
+
ToastStore.sharedInstance().addOrReplaceToast({
key,
title: _t("Download Completed"),
@@ -274,6 +278,7 @@
acceptLabel: _t("Open"),
onAccept,
dismissLabel: _t("Dismiss"),
+ onDismiss,
numSeconds: 10,
},
component: GenericExpiringToast,
@@ -368,7 +373,7 @@
return true;
}
- displayNotification(title: string, msg: string, avatarUrl: string, room:
Room): Notification {
+ displayNotification(title: string, msg: string, avatarUrl: string, room:
Room, ev?: MatrixEvent): Notification {
// GNOME notification spec parses HTML tags for styling...
// Electron Docs state all supported linux notification systems follow
this markup spec
//
https://github.com/electron/electron/blob/master/docs/tutorial/desktop-environment-integration.md#linux
@@ -379,20 +384,17 @@
msg = msg.replace(/</g, '<').replace(/>/g, '>');
}
- // Notifications in Electron use the HTML5 notification API
- const notifBody = {
- body: msg,
- silent: true, // we play our own sounds
- };
- if (avatarUrl) notifBody['icon'] = avatarUrl;
- const notification = new window.Notification(title, notifBody);
+ const notification = super.displayNotification(
+ title,
+ msg,
+ avatarUrl,
+ room,
+ ev,
+ );
+ const handler = notification.onclick as Function;
notification.onclick = () => {
- dis.dispatch({
- action: 'view_room',
- room_id: room.roomId,
- });
- window.focus();
+ handler?.();
this.ipcCall('focusWindow');
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/src/vector/platform/WebPlatform.ts
new/element-web-1.9.9/src/vector/platform/WebPlatform.ts
--- old/element-web-1.9.8/src/vector/platform/WebPlatform.ts 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/src/vector/platform/WebPlatform.ts 2022-01-17
15:30:03.000000000 +0100
@@ -20,7 +20,6 @@
import request from 'browser-request';
import dis from 'matrix-react-sdk/src/dispatcher/dispatcher';
import { _t } from 'matrix-react-sdk/src/languageHandler';
-import { Room } from "matrix-js-sdk/src/models/room";
import { hideToast as hideUpdateToast, showToast as showUpdateToast } from
"matrix-react-sdk/src/toasts/UpdateToast";
import { Action } from "matrix-react-sdk/src/dispatcher/actions";
import { CheckUpdatesPayload } from
'matrix-react-sdk/src/dispatcher/payloads/CheckUpdatesPayload';
@@ -78,27 +77,6 @@
});
}
- displayNotification(title: string, msg: string, avatarUrl: string, room:
Room) {
- const notifBody = {
- body: msg,
- tag: "vector",
- silent: true, // we play our own sounds
- };
- if (avatarUrl) notifBody['icon'] = avatarUrl;
- const notification = new window.Notification(title, notifBody);
-
- notification.onclick = function() {
- dis.dispatch({
- action: 'view_room',
- room_id: room.roomId,
- });
- window.focus();
- notification.close();
- };
-
- return notification;
- }
-
private getMostRecentVersion(): Promise<string> {
// 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/test/app-tests/joining-test.tsx
new/element-web-1.9.9/test/app-tests/joining-test.tsx
--- old/element-web-1.9.8/test/app-tests/joining-test.tsx 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/test/app-tests/joining-test.tsx 2022-01-17
15:30:03.000000000 +0100
@@ -77,6 +77,7 @@
const ROOM_ALIAS = '#alias:localhost';
const ROOM_ID = '!id:localhost';
+ httpBackend.when('GET', '/capabilities').respond(200, {
capabilities : {} });
httpBackend.when('GET', '/pushrules').respond(200, {});
httpBackend.when('POST', '/filter').respond(200, { filter_id:
'fid' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/test/app-tests/loading-test.tsx
new/element-web-1.9.9/test/app-tests/loading-test.tsx
--- old/element-web-1.9.8/test/app-tests/loading-test.tsx 2021-12-20
15:35:26.000000000 +0100
+++ new/element-web-1.9.9/test/app-tests/loading-test.tsx 2022-01-17
15:30:03.000000000 +0100
@@ -313,6 +313,7 @@
});
it('shows the last known room by default', function() {
+ httpBackend.when('GET', '/capabilities').respond(200, {
capabilities: {} });
httpBackend.when('GET', '/pushrules').respond(200, {});
loadApp();
@@ -332,6 +333,7 @@
it('shows a home page by default if we have no joined rooms',
function() {
localStorage.removeItem("mx_last_room_id");
+ httpBackend.when('GET', '/capabilities').respond(200, {
capabilities : {} });
httpBackend.when('GET', '/pushrules').respond(200, {});
loadApp();
@@ -349,6 +351,7 @@
});
it('shows a room view if we followed a room link', function() {
+ httpBackend.when('GET', '/capabilities').respond(200, {
capabilities : {} });
httpBackend.when('GET', '/pushrules').respond(200, {});
loadApp({
@@ -663,6 +666,7 @@
// Wait for another trip around the event loop for the UI to update
return sleep(1);
}).then(() => {
+ httpBackend.when('GET', '/capabilities').respond(200, {
capabilities : {} });
httpBackend.when('GET', '/pushrules').respond(200, {});
return expectAndAwaitSync().catch((e) => {
throw new Error("Never got /sync after login: did the client
start?");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/element-web-1.9.8/yarn.lock
new/element-web-1.9.9/yarn.lock
--- old/element-web-1.9.8/yarn.lock 2021-12-20 15:35:26.000000000 +0100
+++ new/element-web-1.9.9/yarn.lock 2022-01-17 15:30:03.000000000 +0100
@@ -4738,37 +4738,37 @@
debug "^3.2.7"
resolve "^1.20.0"
-eslint-module-utils@^2.7.1:
- version "2.7.1"
- resolved
"https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.1.tgz#b435001c9f8dd4ab7f6d0efcae4b9696d4c24b7c"
- integrity
sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ==
+eslint-module-utils@^2.7.2:
+ version "2.7.2"
+ resolved
"https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.2.tgz#1d0aa455dcf41052339b63cada8ab5fd57577129"
+ integrity
sha512-zquepFnWCY2ISMFwD/DqzaM++H+7PDzOpUvotJWm/y1BAFt5R4oeULgdrTejKqLkz7MA/tgstsUMNYc7wNdTrg==
dependencies:
debug "^3.2.7"
find-up "^2.1.0"
- pkg-dir "^2.0.0"
-eslint-plugin-import@^2.25.2:
- version "2.25.3"
- resolved
"https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.25.3.tgz#a554b5f66e08fb4f6dc99221866e57cfff824766"
- integrity
sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg==
+eslint-plugin-import@^2.25.4:
+ version "2.25.4"
+ resolved
"https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.25.4.tgz#322f3f916a4e9e991ac7af32032c25ce313209f1"
+ integrity
sha512-/KJBASVFxpu0xg1kIBn9AUa8hQVnszpwgE7Ld0lKAlx7Ie87yzEzCgSkekt+le/YVhiaosO4Y14GDAOc41nfxA==
dependencies:
array-includes "^3.1.4"
array.prototype.flat "^1.2.5"
debug "^2.6.9"
doctrine "^2.1.0"
eslint-import-resolver-node "^0.3.6"
- eslint-module-utils "^2.7.1"
+ eslint-module-utils "^2.7.2"
has "^1.0.3"
is-core-module "^2.8.0"
is-glob "^4.0.3"
minimatch "^3.0.4"
object.values "^1.1.5"
resolve "^1.20.0"
- tsconfig-paths "^3.11.0"
+ tsconfig-paths "^3.12.0"
-"eslint-plugin-matrix-org@github:matrix-org/eslint-plugin-matrix-org#48ec1e6af2cfb8310b9a6e23edf2dc7a26ddd580":
- version "0.3.5"
- resolved
"https://codeload.github.com/matrix-org/eslint-plugin-matrix-org/tar.gz/48ec1e6af2cfb8310b9a6e23edf2dc7a26ddd580"
+eslint-plugin-matrix-org@^0.4.0:
+ version "0.4.0"
+ resolved
"https://registry.yarnpkg.com/eslint-plugin-matrix-org/-/eslint-plugin-matrix-org-0.4.0.tgz#de2d2db1cd471d637728133ce9a2b921690e5cd1"
+ integrity
sha512-yVkNwtc33qtrQB4PPzpU+PUdFzdkENPan3JF4zhtAQJRUYXyvKEXnYSrXLUWYRXoYFxs9LbyI2CnhJL/RnHJaQ==
eslint-plugin-react-hooks@^4.2.0:
version "4.3.0"
@@ -8045,17 +8045,16 @@
version "0.0.1"
resolved
"git+https://github.com/matrix-org/matrix-analytics-events.git#1eab4356548c97722a183912fda1ceabbe8cc7c1"
[email protected]:
- version "15.3.0"
- resolved
"https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-15.3.0.tgz#753d247f19e7411f3628145e7cbee2d805c4f525"
- integrity
sha512-o0V9sZYe+1Gjj3NxfOISiSm1qqL/lReTjeMWw/+UTCtindA+eII03B+Ze1hU1KU2nMjJhAHhs8x2UjIoL0eTAg==
[email protected]:
+ version "15.4.0"
+ resolved
"https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-15.4.0.tgz#3bc7638c8c9313f64cf4410e0e83a376facc3e41"
+ integrity
sha512-4iFYnIYEzRwM8W+D3wwcpcv3EspxlYgBNZN3pxWUoYqsTL8PnPSsq2wYFWsoKfEt27EEWour5jwEoP8vjlwYOw==
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"
- eslint-plugin-import "^2.25.2"
loglevel "^1.7.1"
p-retry "^4.5.0"
qs "^6.9.6"
@@ -8070,10 +8069,10 @@
bluebird "^3.5.0"
expect "^1.20.2"
[email protected]:
- version "3.37.0"
- resolved
"https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-3.37.0.tgz#346d34f9673a3e15c19724e9f628d1ecbaf05593"
- integrity
sha512-RVoR6sgXmoO3nq8t2ySPT/bqrYB6IForCgpW/TfSzx0r4Pu0L5TE28OPbrX2HHl0NOU42GuVtDYSpM5Ign0k5A==
[email protected]:
+ version "3.38.0"
+ resolved
"https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-3.38.0.tgz#37c90ecbee562edf7c0772284d2c87ac2b438b44"
+ integrity
sha512-Q9bHPRPI/X1MPOknDiFwRbGM4xAyjCTWDEBXTiCoaocL/1n9MJTDKI2DB21Vdhc/ceEYH+8aeYd7JRaxyedLhw==
dependencies:
"@babel/runtime" "^7.12.5"
"@sentry/browser" "^6.11.0"
@@ -8092,7 +8091,6 @@
emojibase-data "^6.2.0"
emojibase-regex "^5.1.3"
escape-html "^1.0.3"
- eslint-plugin-import "^2.25.2"
file-saver "^2.0.5"
filesize "6.1.0"
flux "2.1.1"
@@ -8108,7 +8106,7 @@
lodash "^4.17.20"
maplibre-gl "^1.15.2"
matrix-analytics-events
"https://github.com/matrix-org/matrix-analytics-events.git#1eab4356548c97722a183912fda1ceabbe8cc7c1"
- matrix-js-sdk "15.3.0"
+ matrix-js-sdk "15.4.0"
matrix-widget-api "^0.1.0-beta.18"
minimist "^1.2.5"
opus-recorder "^8.0.3"
@@ -9349,13 +9347,6 @@
resolved
"https://registry.yarnpkg.com/pirates/-/pirates-4.0.4.tgz#07df81e61028e402735cdd49db701e4885b4e6e6"
integrity
sha512-ZIrVPH+A52Dw84R0L3/VS9Op04PuQ2SEoJL6bkshmiTic/HldyW9Tf7oH5mhJZBK7NmDx27vSMrYEXPXclpDKw==
-pkg-dir@^2.0.0:
- version "2.0.0"
- resolved
"https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"
- integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=
- dependencies:
- find-up "^2.1.0"
-
pkg-dir@^3.0.0:
version "3.0.0"
resolved
"https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3"
@@ -12220,7 +12211,7 @@
resolved
"https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406"
integrity
sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==
-tsconfig-paths@^3.11.0:
+tsconfig-paths@^3.12.0:
version "3.12.0"
resolved
"https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz#19769aca6ee8f6a1a341e38c8fa45dd9fb18899b"
integrity
sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==