Dominik Heidler
2192879cea
## ✨ Features * Description of QR code sign in labs feature ([\#23513](https://github.com/vector-im/element-web/pull/23513)). Contributed by @hughns. * Add option to find own location in map views ([\#10083](https://github.com/matrix-org/matrix-react-sdk/pull/10083)). * Render poll end events in timeline ([\#10027](https://github.com/matrix-org/matrix-react-sdk/pull/10027)). Contributed by @kerryarchibald. * Indicate unread messages in tab title ([\#10096](https://github.com/matrix-org/matrix-react-sdk/pull/10096)). Contributed by @tnt7864. * Open message in editing mode when keyboard up is pressed (RTE) ([\#10079](https://github.com/matrix-org/matrix-react-sdk/pull/10079)). Contributed by @florianduros. * Hide superseded rooms from the room list using dynamic room predecessors ([\#10068](https://github.com/matrix-org/matrix-react-sdk/pull/10068)). Contributed by @andybalaam. * Support MSC3946 in RoomListStore ([\#10054](https://github.com/matrix-org/matrix-react-sdk/pull/10054)). Fixes #24325. Contributed by @andybalaam. * Auto focus security key field ([\#10048](https://github.com/matrix-org/matrix-react-sdk/pull/10048)). * use Poll model with relations API in poll rendering ([\#9877](https://github.com/matrix-org/matrix-react-sdk/pull/9877)). Contributed by @kerryarchibald. * Support MSC3946 in the RoomCreate tile ([\#10041](https://github.com/matrix-org/matrix-react-sdk/pull/10041)). Fixes #24323. Contributed by @andybalaam. * Update labs flag description for RTE ([\#10058](https://github.com/matrix-org/matrix-react-sdk/pull/10058)). Contributed by @florianduros. * Change ul list style to disc when editing message ([\#10043](https://github.com/matrix-org/matrix-react-sdk/pull/10043)). Contributed by @alunturner. * Improved click detection within PiP windows ([\#10040](https://github.com/matrix-org/matrix-react-sdk/pull/10040)). Fixes #24371. * Add RTE keyboard navigation in editing ([\#9980](https://github.com/matrix-org/matrix-react-sdk/pull/9980)). Fixes #23621. Contributed by @florianduros. * Paragraph integration for rich text editor ([\#10008](https://github.com/matrix-org/matrix-react-sdk/pull/10008)). Contributed by @alunturner. * Add indentation increasing/decreasing to RTE ([\#10034](https://github.com/matrix-org/matrix-react-sdk/pull/10034)). Contributed by @florianduros. * Add ignore user confirmation dialog ([\#6116](https://github.com/matrix-org/matrix-react-sdk/pull/6116)). Fixes #14746. * Use monospace font for room, message IDs in View Source modal ([\#9956](https://github.com/matrix-org/matrix-react-sdk/pull/9956)). Fixes #21937. Contributed by @paragpoddar. * Implement MSC3946 for AdvancedRoomSettingsTab ([\#9995](https://github.com/matrix-org/matrix-react-sdk/pull/9995)). Fixes #24322. Contributed by @andybalaam. * Implementation of MSC3824 to make the client OIDC-aware ([\#8681](https://github.com/matrix-org/matrix-react-sdk/pull/8681)). Contributed by @hughns. * Improves a11y for avatar uploads ([\#9985](https://github.com/matrix-org/matrix-react-sdk/pull/9985)). Contributed by @GoodGuyMarco. * Add support for [token authenticated registration](https ([\#7275](https://github.com/matrix-org/matrix-react-sdk/pull/7275)). Fixes #18931. Contributed by @govynnus. ## 🐛 Bug Fixes * Jitsi requests 'requires_client' capability if auth token is provided ([\#24294](https://github.com/vector-im/element-web/pull/24294)). Contributed by @maheichyk. * Remove duplicate white space characters from translation keys ([\#10152](https://github.com/matrix-org/matrix-react-sdk/pull/10152)). Contributed by @luixxiul. * Fix the caption of new sessions manager on Labs settings page for localization ([\#10143](https://github.com/matrix-org/matrix-react-sdk/pull/10143)). Contributed by @luixxiul. * Prevent start another DM with a user if one already exists ([\#10127](https://github.com/matrix-org/matrix-react-sdk/pull/10127)). Fixes #23138. * Remove white space characters before the horizontal ellipsis ([\#10130](https://github.com/matrix-org/matrix-react-sdk/pull/10130)). Contributed by @luixxiul. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=35
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.23
|
|
Release: 0
|
|
Summary: A glossy Matrix collaboration client - web files
|
|
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
|
|
Patch1: webpack-fix-openssl3.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
|