Skip to content

Commit

Permalink
Update element-desktop to version 1.11.69 / rev 58 via SR 1182469
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1182469
by user dheidler + anag+factory
- Disable dysfunctional spellchecker
  * disable-spellchecker.patch

- Version 1.11.69
  ## ✨ Features

  * Change avatar setting component to use a menu (matrix-org/matrix-react-sdk#12585). Contributed by @dbkr.
  * New user profile UI in User Settings (matrix-org/matrix-react-sdk#12548). Contributed by @dbkr.
  * MSC4108 support OIDC QR code login (matrix-org/matrix-react-sdk#12370). Contributed by @t3chguy.

  ## 🐛 Bug Fixes

  * Fix image upload preview size (matrix-org/matrix-react-sdk#12612). Contributed by @RiotRobot.
  * Fix screen sharing in recent Chrome (matrix-org/matrix-js-sdk#4243).
  * Fix roving tab index crash `compareDocumentPosition` (https://githu
  • Loading branch information
dheidler authored and bmwiedemann committed Jun 21, 2024
1 parent f9a59ec commit 102e84b
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 4 deletions.
Binary file modified packages/e/element-desktop/.files
Binary file not shown.
29 changes: 29 additions & 0 deletions packages/e/element-desktop/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -757,4 +757,33 @@ Version 1.11.66
<comment>Automatic submission by obs-autosubmit</comment>
<requestid>1180072</requestid>
</revision>
<revision rev="58" vrev="1">
<srcmd5>da18798b7b335c705b8e7c818e622f30</srcmd5>
<version>1.11.69</version>
<time>1718978704</time>
<user>anag+factory</user>
<comment>- Disable dysfunctional spellchecker
* disable-spellchecker.patch

- Version 1.11.69
## ✨ Features

* Change avatar setting component to use a menu (https://github.com/matrix-org/matrix-react-sdk/pull/12585). Contributed by @dbkr.
* New user profile UI in User Settings (https://github.com/matrix-org/matrix-react-sdk/pull/12548). Contributed by @dbkr.
* MSC4108 support OIDC QR code login (https://github.com/matrix-org/matrix-react-sdk/pull/12370). Contributed by @t3chguy.

## 🐛 Bug Fixes

* Fix image upload preview size (https://github.com/matrix-org/matrix-react-sdk/pull/12612). Contributed by @RiotRobot.
* Fix screen sharing in recent Chrome (https://github.com/matrix-org/matrix-js-sdk/pull/4243).
* Fix roving tab index crash `compareDocumentPosition` (https://github.com/matrix-org/matrix-react-sdk/pull/12594). Contributed by @t3chguy.
* Keep dialog glass border on narrow screens (https://github.com/matrix-org/matrix-react-sdk/pull/12591). Contributed by @dbkr.
* Add missing a11y label to dismiss onboarding button in room list (https://github.com/matrix-org/matrix-react-sdk/pull/12587). Contributed by @t3chguy.
* Add hover / active state on avatar setting upload button (https://github.com/matrix-org/matrix-react-sdk/pull/12590). Contributed by @dbkr.
* Fix EditInPlace button styles (https://github.com/matrix-org/matrix-react-sdk/pull/12589). Contributed by @dbkr.
* Fix incorrect assumptions about required fields in /search response (https://github.com/matrix-org/matrix-react-sdk/pull/12575). Contributed by @t3chguy.
* Fix display of no avatar in avatar setting controls (https://github.com/matrix-org/matrix-react-sdk/pull/12558). Contributed by @dbkr.
* Element-R: pass pickleKey in as raw key for indexeddb encryption (https://github.com/matrix-org/matrix-react-sdk/pull/12543). Contributed by @richvdh.</comment>
<requestid>1182469</requestid>
</revision>
</revisionlist>
15 changes: 15 additions & 0 deletions packages/e/element-desktop/disable-spellchecker.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
The spellchecker is not configurable - neither selecting one or more languages
or disabling it by the user. So let's drop it completely.

diff -ru a/src/electron-main.ts b/src/electron-main.ts
--- element-desktop-1.11.69/src/electron-main.ts 2024-06-18 14:28:10.000000000 +0200
+++ element-desktop-1.11.69/src/electron-main.ts 2024-06-21 13:06:59.581538335 +0200
@@ -485,7 +485,7 @@

// Handle spellchecker
// For some reason spellCheckerEnabled isn't persisted, so we have to use the store here
- global.mainWindow.webContents.session.setSpellCheckerEnabled(global.store.get("spellCheckerEnabled", true));
+ global.mainWindow.webContents.session.setSpellCheckerEnabled(false);

// Create trayIcon icon
if (global.store.get("minimizeToTray", true)) tray.create(global.trayConfig);
1 change: 0 additions & 1 deletion packages/e/element-desktop/element-desktop-1.11.68.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/e/element-desktop/element-desktop-1.11.69.tar.gz
30 changes: 30 additions & 0 deletions packages/e/element-desktop/element-desktop.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Fri Jun 21 11:09:44 UTC 2024 - Dominik Heidler <dheidler@suse.de>

- Disable dysfunctional spellchecker
* disable-spellchecker.patch

-------------------------------------------------------------------
Tue Jun 18 19:09:48 UTC 2024 - Dominik Heidler <dheidler@suse.com>

- Version 1.11.69
## ✨ Features

* Change avatar setting component to use a menu (https://github.com/matrix-org/matrix-react-sdk/pull/12585). Contributed by @dbkr.
* New user profile UI in User Settings (https://github.com/matrix-org/matrix-react-sdk/pull/12548). Contributed by @dbkr.
* MSC4108 support OIDC QR code login (https://github.com/matrix-org/matrix-react-sdk/pull/12370). Contributed by @t3chguy.

## 🐛 Bug Fixes

* Fix image upload preview size (https://github.com/matrix-org/matrix-react-sdk/pull/12612). Contributed by @RiotRobot.
* Fix screen sharing in recent Chrome (https://github.com/matrix-org/matrix-js-sdk/pull/4243).
* Fix roving tab index crash `compareDocumentPosition` (https://github.com/matrix-org/matrix-react-sdk/pull/12594). Contributed by @t3chguy.
* Keep dialog glass border on narrow screens (https://github.com/matrix-org/matrix-react-sdk/pull/12591). Contributed by @dbkr.
* Add missing a11y label to dismiss onboarding button in room list (https://github.com/matrix-org/matrix-react-sdk/pull/12587). Contributed by @t3chguy.
* Add hover / active state on avatar setting upload button (https://github.com/matrix-org/matrix-react-sdk/pull/12590). Contributed by @dbkr.
* Fix EditInPlace button styles (https://github.com/matrix-org/matrix-react-sdk/pull/12589). Contributed by @dbkr.
* Fix incorrect assumptions about required fields in /search response (https://github.com/matrix-org/matrix-react-sdk/pull/12575). Contributed by @t3chguy.
* Fix display of no avatar in avatar setting controls (https://github.com/matrix-org/matrix-react-sdk/pull/12558). Contributed by @dbkr.
* Element-R: pass pickleKey in as raw key for indexeddb encryption (https://github.com/matrix-org/matrix-react-sdk/pull/12543). Contributed by @richvdh.


-------------------------------------------------------------------
Tue Jun 4 19:13:24 UTC 2024 - Dominik Heidler <dheidler@suse.com>

Expand Down
3 changes: 2 additions & 1 deletion packages/e/element-desktop/element-desktop.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: element-desktop
Version: 1.11.68
Version: 1.11.69
Release: 0
Summary: A glossy Matrix collaboration client - desktop
License: Apache-2.0
Expand All @@ -31,6 +31,7 @@ Patch0: hak-remove-devdependencies.patch
Patch1: 7za-path.patch
Patch2: cc-link-lib-no-static.patch
Patch3: remove-fuses.patch
Patch4: disable-spellchecker.patch
BuildRequires: element-web = %{version}
BuildRequires: app-builder
BuildRequires: cargo
Expand Down
2 changes: 1 addition & 1 deletion packages/e/element-desktop/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set -ex


version=$1
last_packaged_version=$(cat "element-desktop.spec" | grep "^Version:" | awk '{print $NF}')
sed -i -e "s/^\(Version: *\)[^ ]*$/\1${version}/" element-desktop.spec

oldwd="$(pwd)"
Expand Down Expand Up @@ -34,7 +35,6 @@ cd element-desktop-${version}
#These patches change results of things we want to execute below
patch -p1 --verbose < "${oldwd}/hak-remove-devdependencies.patch"

last_packaged_version=$(<"${oldwd}/element-desktop.spec" grep "^Version:" | awk '{print $NF}')
changes=$(grep "^Changes in \[$last_packaged_version\]" -B10000 CHANGELOG.md | head -n -2 | sed -e '/^==*$/d' -e 's/Changes in \[\([^\[]*\)\].*/Version \1/' -e 's/^\([^-].*\)$/ \1/' -e 's/\[.*\](\(.*\))/\1/g' -e 's/^ *Version /Version /g')

# This will vendor the packages but not execute any build scripts (but see caveat about caching above)
Expand Down
2 changes: 1 addition & 1 deletion packages/e/element-desktop/vendor.tar.zst

0 comments on commit 102e84b

Please sign in to comment.