forked from pool/element-web
Dominik Heidler
63b03a2baf
* No changes (tracking element-desktop version) - Version 1.11.74 ## ✨ Features * Update unsupported browser react component to new designs (https://github.com/element-hq/element-web/pull/27857). Contributed by @t3chguy. * Invite dialog: display MXID on its own line (https://github.com/matrix-org/matrix-react-sdk/pull/11756). Contributed by @AndrewFerr. * Align RoomSummaryCard styles with Figma (https://github.com/matrix-org/matrix-react-sdk/pull/12793). Contributed by @t3chguy. * Extract Extensions into their own right panel tab (https://github.com/matrix-org/matrix-react-sdk/pull/12844). Contributed by @t3chguy. * Remove topic from new room header and expand right panel topic (https://github.com/matrix-org/matrix-react-sdk/pull/12842). Contributed by @t3chguy. * Rework how the onboarding notifications task works (https://github.com/matrix-org/matrix-react-sdk/pull/12839). Contributed by @t3chguy. * Update toast styles to match Figma (https://github.com/matrix-org/matrix-react-sdk/pull/12833). Contributed by @t3chguy. * Warn users on unsupported browsers before they lack features (https://github.com/matrix-org/matrix-react-sdk/pull/12830). Contributed by @t3chguy. * Add sign out button to settings profile section (https://github.com/matrix-org/matrix-react-sdk/pull/12666). Contributed by @dbkr. * Remove MatrixRTC realted import ES lint exceptions using a index.ts for matrixrtc (https://github.com/matrix-org/matrix-react-sdk/pull/12780). Contributed by @toger5. * Fix unwanted ringing of other devices even though the user is already connected to the call. (https://github.com/matrix-org/matrix-react-sdk/pull/12742). Contributed by @toger5. * Acknowledge `DeviceMute` widget actions (https://github.com/matrix-org/matrix-react-sdk/pull/12790). Contributed by @toger5. ## 🐛 Bug Fixes * Update Element icons (https://github.com/element-hq/element-web/pull/27900). Contributed by @t3chguy. * Fix Jitsi by updating device mute updates over postMessage API (https://github.com/element-hq/element-web/pull/27858). Contributed by @t3chguy. * Fix formatting of rich text emotes (https://github.com/matrix-org/matrix-react-sdk/pull/12862). Contributed by @dbkr. * Fixed custom emotes background color #27745 (https://github.com/matrix-org/matrix-react-sdk/pull/12798). Contributed by @asimdelvi. * Ignore permalink\_prefix when serializing pills (https://github.com/matrix-org/matrix-react-sdk/pull/11726). Contributed by @herkulessi. * Deflake the chat export test (https://github.com/matrix-org/matrix-react-sdk/pull/12854). Contributed by @dbkr. * Fix alignment of RTL messages (https://github.com/matrix-org/matrix-react-sdk/pull/12837). Contributed by @dbkr. * Handle media download errors better (https://github.com/matrix-org/matrix-react-sdk/pull/12848). Contributed by @t3chguy. * Make micIcon display on primary (https://github.com/matrix-org/matrix-react-sdk/pull/11908). Contributed by @kdanielm. * Fix compound typography font component issues (https://github.com/matrix-org/matrix-react-sdk/pull/12826). Contributed by @t3chguy. * Allow Chrome page translator to translate messages in rooms (https://github.com/matrix-org/matrix-react-sdk/pull/11113). Contributed by @lukaszpolowczyk. - Version 1.11.72 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=76
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
|