forked from pool/element-web
Dominik Heidler
ea7e9881fb
## 🔒 Security * Fixes for [CVE-2023-30609](https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=CVE-2023-30609) / GHSA-xv83-x443-7rmw ## ✨ Features * Pick sensible default option for phone country dropdown ([\#10627](https://github.com/matrix-org/matrix-react-sdk/pull/10627)). Fixes #3528. * Relate field validation tooltip via aria-describedby ([\#10522](https://github.com/matrix-org/matrix-react-sdk/pull/10522)). Fixes #24963. * Handle more completion types in rte autocomplete ([\#10560](https://github.com/matrix-org/matrix-react-sdk/pull/10560)). Contributed by @alunturner. * Show a tile for an unloaded predecessor room if it has via_servers ([\#10483](https://github.com/matrix-org/matrix-react-sdk/pull/10483)). Contributed by @andybalaam. * Exclude message timestamps from aria live region ([\#10584](https://github.com/matrix-org/matrix-react-sdk/pull/10584)). Fixes #5696. * Make composer format bar an aria toolbar ([\#10583](https://github.com/matrix-org/matrix-react-sdk/pull/10583)). Fixes #11283. * Improve accessibility of font slider ([\#10473](https://github.com/matrix-org/matrix-react-sdk/pull/10473)). Fixes #20168 and #24962. * fix file size display from kB to KB ([\#10561](https://github.com/matrix-org/matrix-react-sdk/pull/10561)). Fixes #24866. Contributed by @NSV1991. * Handle /me in rte ([\#10558](https://github.com/matrix-org/matrix-react-sdk/pull/10558)). Contributed by @alunturner. * bind html with switch for manage extension setting option ([\#10553](https://github.com/matrix-org/matrix-react-sdk/pull/10553)). Contributed by @NSV1991. * Handle command completions in RTE ([\#10521](https://github.com/matrix-org/matrix-react-sdk/pull/10521)). Contributed by @alunturner. * Add room and user avatars to rte ([\#10497](https://github.com/matrix-org/matrix-react-sdk/pull/10497)). Contributed by @alunturner. * Support for MSC3882 revision 1 ([\#10443](https://github.com/matrix-org/matrix-react-sdk/pull/10443)). Contributed by @hughns. * Check profiles before starting a DM ([\#10472](https://github.com/matrix-org/matrix-react-sdk/pull/10472)). Fixes #24830. * Quick settings: Change the copy / labels on the options ([\#10427](https://github.com/matrix-org/matrix-react-sdk/pull/10427)). Fixes #24522. Contributed by @justjanne. * Update rte autocomplete styling ([\#10503](https://github.com/matrix-org/matrix-react-sdk/pull/10503)). Contributed by @alunturner. ## 🐛 Bug Fixes * Fix create subspace dialog not working ([\#10652](https://github.com/matrix-org/matrix-react-sdk/pull/10652)). Fixes vector-im/element-web#24882 * Fix multiple accessibility defects identified by AXE ([\#10606](https://github.com/matrix-org/matrix-react-sdk/pull/10606)). * Fix view source from edit history dialog always showing latest event ([\#10626](https://github.com/matrix-org/matrix-react-sdk/pull/10626)). Fixes #21859. * #21451 Fix WebGL disabled error message ([\#10589](https://github.com/matrix-org/matrix-react-sdk/pull/10589)). Contributed by @rashmitpankhania. * Properly translate errors in `AddThreepid.ts` so they show up translated to the user but not in our logs ([\#10432](https://github.com/matrix-org/matrix-react-sdk/pull/10432)). Contributed by @MadLittleMods. * Fix overflow on auth pages ([\#10605](https://github.com/matrix-org/matrix-react-sdk/pull/10605)). Fixes #19548. * Fix incorrect avatar background colour when using a custom theme ([\#10598](https://github.com/matrix-org/matrix-react-sdk/pull/10598)). Contributed by @jdauphant. * Remove dependency on `org.matrix.e2e_cross_signing` unstable feature ([\#10593](https://github.com/matrix-org/matrix-react-sdk/pull/10593)). * Update setting description to match reality ([\#10600](https://github.com/matrix-org/matrix-react-sdk/pull/10600)). Fixes #25106. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=41
86 lines
2.9 KiB
RPMSpec
86 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package element-web
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: element-web
|
|
Version: 1.11.30
|
|
Release: 0
|
|
Summary: A glossy Matrix collaboration client - web files
|
|
Group: Productivity/Networking/Talk/Clients
|
|
License: Apache-2.0
|
|
URL: https://github.com/vector-im/element-web
|
|
Source0: https://github.com/vector-im/element-web/archive/v%{version}.tar.gz#/element-web-%{version}.tar.gz
|
|
Source1: npm-packages-offline-cache.tar.gz
|
|
Source2: jitsi_external_api.min.js
|
|
Source3: prepare.sh
|
|
Patch0: fix-webpack-oom.patch
|
|
BuildRequires: yarn
|
|
BuildRequires: nodejs-packaging
|
|
BuildRequires: fdupes
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
A glossy Matrix collaboration client - web files
|
|
|
|
%prep
|
|
%autosetup -n element-web-%{version} -a1 -p1
|
|
|
|
%build
|
|
echo 'yarn-offline-mirror "./npm-packages-offline-cache"' > .yarnrc
|
|
ls -l ./npm-packages-offline-cache | head
|
|
|
|
# fix some strange dependency
|
|
#cp npm-packages-offline-cache/matrix-analytics-events-0.0.1.tgz \
|
|
# npm-packages-offline-cache/@matrix-analytics-events-0.0.1.tgz
|
|
#ls -l ./npm-packages-offline-cache/*matrix-analytics-events*
|
|
|
|
#sed -i -e 's| matrix-analytics-events "github:matrix-org/matrix-analytics-events.git#[^"]*"| matrix-analytics-events "^0.0.1"|' yarn.lock
|
|
#sed -i -e 's|"matrix-analytics-events@github:matrix-org/matrix-analytics-events#[^"]*"|matrix-analytics-events@^0.0.1|' yarn.lock
|
|
|
|
yarn install --offline --pure-lockfile
|
|
|
|
mkdir -p webapp
|
|
cp %{SOURCE2} ./webapp/jitsi_external_api.min.js
|
|
echo 'return;' > scripts/build-jitsi.js
|
|
|
|
DIST_VERSION=%{version} ./scripts/package.sh
|
|
|
|
pushd dist || exit 1
|
|
tar xf element-%{version}.tar.gz
|
|
popd
|
|
cp LICENSE dist/element-%{version}/LICENSE
|
|
|
|
%install
|
|
install -d -m 0755 %{buildroot}/usr/share/webapps/element
|
|
|
|
cp -av dist/element-%{version}/* "%{buildroot}%{_datadir}/webapps/element/"
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/webapps/element/
|
|
install -m 0644 config.sample.json "%{buildroot}%{_sysconfdir}/webapps/element/config.sample.json"
|
|
|
|
%fdupes %{buildroot}%{_datadir}/webapps/element/
|
|
|
|
%files
|
|
%license LICENSE
|
|
%dir %{_datadir}/webapps
|
|
%{_datadir}/webapps/element
|
|
%dir %{_sysconfdir}/webapps
|
|
%dir %{_sysconfdir}/webapps/element
|
|
%config %{_sysconfdir}/webapps/element/config.sample.json
|
|
|
|
%changelog
|