forked from pool/element-web
Dominik Heidler
94248b2507
## ✨ Features * Correctly fill window.matrixChat even when a Wrapper module is active (https://github.com/vector-im/element-web/pull/26395). Contributed by @dhenneke. * Knock on a ask-to-join room if a module wants to join the room when navigating to a room (https://github.com/matrix-org/matrix-react-sdk/pull/11787). Contributed by @dhenneke. * Element-R: Include crypto info in sentry (https://github.com/matrix-org/matrix-react-sdk/pull/11798). Contributed by @florianduros. * Element-R: Include crypto info in rageshake (https://github.com/matrix-org/matrix-react-sdk/pull/11797). Contributed by @florianduros. * Element-R: Add current version of the rust-sdk and vodozemac (https://github.com/matrix-org/matrix-react-sdk/pull/11785). Contributed by @florianduros. * Fix unfederated invite dialog (https://github.com/matrix-org/matrix-react-sdk/pull/9618). Fixes vector-im/element-meta#1466 and #22102. Contributed by @owi92. * New right panel visual language (https://github.com/matrix-org/matrix-react-sdk/pull/11664). * OIDC: add friendly errors (https://github.com/matrix-org/matrix-react-sdk/pull/11184). Fixes #25665. Contributed by @kerryarchibald. ## 🐛 Bug Fixes * Fix rightpanel hiding scrollbar (https://github.com/matrix-org/matrix-react-sdk/pull/11831). Contributed by @kerryarchibald. * Fix multi-tab session lock on Firefox not being cleared (https://github.com/matrix-org/matrix-react-sdk/pull/11800). Fixes #26165. Contributed by @ManuelHu. * Deserialise spoilers back into slash command form (https://github.com/matrix-org/matrix-react-sdk/pull/11805). Fixes #26344. * Fix Incorrect message scaling for verification request (https://github.com/matrix-org/matrix-react-sdk/pull/11793). Fixes #24304. Contributed by @capGoblin. * Fix: Unable to restore a soft-logged-out session established via SSO (https://github.com/matrix-org/matrix-react-sdk/pull/11794). Fixes #25957. Contributed by @kerryarchibald. * Use configurable github issue links more consistently (https://github.com/matrix-org/matrix-react-sdk/pull/11796). * Fix io.element.late_event received_ts vs received_at (https://github.com/matrix-org/matrix-react-sdk/pull/11789). * Make invitation dialog scrollable when infos are too long (https://github.com/matrix-org/matrix-react-sdk/pull/11753). Contributed by @nurjinjafar. * Fix spoiler text-align (https://github.com/matrix-org/matrix-react-sdk/pull/11790). Contributed by @ajbura. * Fix: Right panel keeps showing chat when unmaximizing widget. (https://github.com/matrix-org/matrix-react-sdk/pull/11697). Fixes #26265. Contributed by @manancodes. * Fix margin of invite to room button (https://github.com/matrix-org/matrix-react-sdk/pull/11780). Fixes #26410. * Update base64 import (https://github.com/matrix-org/matrix-react-sdk/pull/11784). * Set max size for Element logo in search warning (https://github.com/matrix-org/matrix-react-sdk/pull/11779). Fixes #26408. * Fix: emoji size in room header topic, remove obsolete emoji style (https://github.com/matrix-org/matrix-react-sdk/pull/11757). Fixes #26326. Contributed by @kerryarchibald. * Fix: Bubble layout design is broken (https://github.com/matrix-org/matrix-react-sdk/pull/11763). Fixes #25818. Contributed by @manancodes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=53
57 lines
2.2 KiB
Bash
57 lines
2.2 KiB
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
oldwd="$(pwd)"
|
|
|
|
# cleanup old stuff
|
|
find -maxdepth 1 -type d -name 'element-web-*' | xargs rm -r
|
|
|
|
version=$(grep "Version:" element-web.spec | awk '{print $2}')
|
|
last_packaged_version=$(osc cat devel:languages:nodejs/element-web/element-web.spec | grep "^Version:" | awk '{print $NF}')
|
|
|
|
osc rm --force element-web-*.tar.gz || :
|
|
wget -c https://github.com/vector-im/element-web/archive/v${version}.tar.gz -O element-web-${version}.tar.gz
|
|
wget https://meet.element.io/libs/external_api.min.js -O jitsi_external_api.min.js
|
|
osc add element-web-*.tar.gz
|
|
|
|
#zypper install yarn cargo gcc-c++ sqlcipher-devel libsecret-devel
|
|
|
|
rm -rf "element-web-${version}"
|
|
tar xzvf element-web-${version}.tar.gz
|
|
cd element-web-${version}
|
|
changes=$(grep "^Changes in \[$last_packaged_version\]" -B10000 CHANGELOG.md | head -n -2 | sed -e '/^==*$/d' -e 's/Changes in \[\([^\[]*\)\].*/- Version \1/' -e 's/Changes in \[\([^\[]*\)\].*/- Version \1/' -e 's/^\([^-].*\)$/ \1/' -e 's/\[.*\](\(.*\))/\1/g')
|
|
|
|
echo 'yarn-offline-mirror "./npm-packages-offline-cache"' > .yarnrc
|
|
yarn cache clean
|
|
rm -rf node_modules/
|
|
yarn install --pure-lockfile --ignore-engines || : # this will download tha packages into the offline cache
|
|
|
|
# download some additional dependencie that slips through this earlier method
|
|
cd ./npm-packages-offline-cache/
|
|
|
|
# fill sentry-cli cache with mock binaries for all architecutres
|
|
cd sentry-cli
|
|
sentry_cli_version=$(ls ../@sentry-cli-*.tgz | sed -e 's/.*cli-//' -e 's/.tgz//')
|
|
for arch in i686 x86_64 aarch64 armv7 riscv64 ppc64 ppc64le s390x; do
|
|
url="https://downloads.sentry-cdn.com/sentry-cli/${sentry_cli_version}/sentry-cli-Linux-${arch}"
|
|
filehash=$(echo -n "$url" | md5sum | cut -c1-6)
|
|
target="${filehash}-sentry-cli-Linux-${arch/_/-}"
|
|
#wget -O "$target" "$url"
|
|
echo '#!/bin/bash' > "$target"
|
|
echo '' >> "$target"
|
|
echo "echo ${sentry_cli_version}" >> "$target"
|
|
chmod +x "$target"
|
|
done
|
|
cd ..
|
|
|
|
cd ..
|
|
|
|
tar czf npm-packages-offline-cache.tar.gz ./npm-packages-offline-cache
|
|
cp npm-packages-offline-cache.tar.gz "$oldwd/"
|
|
cd "$oldwd"
|
|
echo -e "\n\nDONE creating npm dependency offline cache file 'npm-packages-offline-cache.tar.gz'"
|
|
|
|
read -p "Write changes?"
|
|
osc vc -m "${changes}" element-web.changes
|