Dominik Heidler
3c01109f11
## ✨ Features * Add doc for 'force\_verification config option (https://github.com/element-hq/element-web/pull/28035). Contributed by @dbkr. * Roll back change to device isolation mode (https://github.com/element-hq/matrix-react-sdk/pull/104). Contributed by @richvdh. * Remove right panel toggling behaviour on room header buttons (https://github.com/element-hq/matrix-react-sdk/pull/100). Contributed by @t3chguy. * Improve error display for messages sent from insecure devices (https://github.com/element-hq/matrix-react-sdk/pull/93). Contributed by @richvdh. * Add labs option to exclude unverified devices (https://github.com/element-hq/matrix-react-sdk/pull/92). Contributed by @richvdh. * Improve contrast for timestamps, date separators \& spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/91). Contributed by @t3chguy. * Open room settings on room header avatar click (https://github.com/element-hq/matrix-react-sdk/pull/88). Contributed by @t3chguy. * Use `strong` over `b` for improved a11y semantics (https://github.com/element-hq/matrix-react-sdk/pull/41). Contributed by @t3chguy. * Grant Element Call widget capabilities for "raise hand" feature (https://github.com/element-hq/matrix-react-sdk/pull/82). Contributed by @AndrewFerr. * Mobile registration optimizations and tests (https://github.com/element-hq/matrix-react-sdk/pull/62). Contributed by @langleyd. * Ignore chat effect when older than 48h (https://github.com/element-hq/matrix-react-sdk/pull/48). Contributed by @florianduros. ## 🐛 Bug Fixes * Update native OIDC callback url to be RFC8252 compliant (https://github.com/element-hq/element-web/pull/28096). Contributed by @t3chguy. * Update icons to include transparency (https://github.com/element-hq/element-web/pull/28040). Contributed by @t3chguy. * Fix default\_widget\_container\_height in sample config (https://github.com/element-hq/element-web/pull/28034). Contributed by @dbkr. * Fix untranslated keys being rendered in `/help` dialog (https://github.com/element-hq/matrix-react-sdk/pull/90). Contributed by @t3chguy. * Ensure timeline search results are visible even in video rooms (https://github.com/element-hq/matrix-react-sdk/pull/96). Contributed by @t3chguy. * Pop right panel timeline when unmaximising widget to avoid double timeline (https://github.com/element-hq/matrix-react-sdk/pull/94). Contributed by @t3chguy. * Fix accessible label on left panel spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/87). Contributed by @t3chguy. * Crypto: fix display of device key (https://github.com/element-hq/matrix-react-sdk/pull/86). Contributed by @richvdh. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=82
62 lines
2.3 KiB
Bash
62 lines
2.3 KiB
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
version=$1
|
|
sed -i -e "s/^\(Version: *\)[^ ]*$/\1${version}/" element-web.spec
|
|
|
|
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/^\([^-].*\)$/ \1/' -e 's/\[.*\](\(.*\))/\1/g' -e 's/^ *Version /Version /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
|
|
mkdir -p sentry-cli
|
|
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
|
|
dos2unix element-web.changes
|