SHA256
1
0
forked from pool/element-web
element-web/prepare.sh

62 lines
2.3 KiB
Bash
Raw Normal View History

#!/bin/bash
set -ex
version=$1
sed -i -e "s/^\(Version: *\)[^ ]*$/\1${version}/" element-web.spec
oldwd="$(pwd)"
# cleanup old stuff
- Version 1.11.54 ## 🐛 Bug Fixes * Fix CSS stacking context order determinism (https://github.com/element-hq/element-web/pull/26840). Contributed by @t3chguy. ## ✨ Features * Accessibility improvements around aria-labels and tooltips (https://github.com/matrix-org/matrix-react-sdk/pull/12062). Contributed by @t3chguy. * Add RoomKnocksBar to RoomHeader (https://github.com/matrix-org/matrix-react-sdk/pull/12077). Contributed by @charlynguyen. * Adjust tooltip side for DecoratedRoomAvatar to not obscure room name (https://github.com/matrix-org/matrix-react-sdk/pull/12079). Contributed by @t3chguy. * Iterate landmarks around the app in order to improve a11y (https://github.com/matrix-org/matrix-react-sdk/pull/12064). Contributed by @t3chguy. * Update element call embedding UI (https://github.com/matrix-org/matrix-react-sdk/pull/12056). Contributed by @toger5. * Use Compound tooltips instead of homegrown in TextWithTooltip \& InfoTooltip (https://github.com/matrix-org/matrix-react-sdk/pull/12052). Contributed by @t3chguy. ## 🐛 Bug Fixes * Fix regression around CSS stacking contexts and PIP widgets (https://github.com/matrix-org/matrix-react-sdk/pull/12094). Contributed by @t3chguy. * Fix Identity Server terms accepting not working as expected (https://github.com/matrix-org/matrix-react-sdk/pull/12109). Contributed by @t3chguy. * fix: microphone and camera dropdown doesn't work In legacy call (https://github.com/matrix-org/matrix-react-sdk/pull/12105). Contributed by @muratersin. * Revert "Set up key backup using non-deprecated APIs (#12005)" (https://github.com/matrix-org/matrix-react-sdk/pull/12102). Contributed by @BillCarsonFr. * Fix regression around read receipt animation from refs changes (https://github.com/matrix-org/matrix-react-sdk/pull/12100). Contributed by @t3chguy. * Added meaning full error message based on platform (https://github.com/matrix-org/matrix-react-sdk/pull/12074). Contributed by @Pankaj-SinghR. * Fix editing event from search room view (https://github.com/matrix-org/matrix-react-sdk/pull/11992). Contributed by @t3chguy. * Fix timeline position when moving to a room and coming back (https://github.com/matrix-org/matrix-react-sdk/pull/12055). Contributed by @florianduros. * Fix threaded reply playwright tests (https://github.com/matrix-org/matrix-react-sdk/pull/12070). Contributed by @dbkr. * Element-R: fix repeated requests to enter 4S key during cross-signing reset (https://github.com/matrix-org/matrix-react-sdk/pull/12059). Contributed by @richvdh. * Fix position of thumbnail in room timeline (https://github.com/matrix-org/matrix-react-sdk/pull/12016). Contributed by @anoopw3bdev. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=61
2024-01-17 15:29:57 +01:00
(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
- Version 1.11.54 ## 🐛 Bug Fixes * Fix CSS stacking context order determinism (https://github.com/element-hq/element-web/pull/26840). Contributed by @t3chguy. ## ✨ Features * Accessibility improvements around aria-labels and tooltips (https://github.com/matrix-org/matrix-react-sdk/pull/12062). Contributed by @t3chguy. * Add RoomKnocksBar to RoomHeader (https://github.com/matrix-org/matrix-react-sdk/pull/12077). Contributed by @charlynguyen. * Adjust tooltip side for DecoratedRoomAvatar to not obscure room name (https://github.com/matrix-org/matrix-react-sdk/pull/12079). Contributed by @t3chguy. * Iterate landmarks around the app in order to improve a11y (https://github.com/matrix-org/matrix-react-sdk/pull/12064). Contributed by @t3chguy. * Update element call embedding UI (https://github.com/matrix-org/matrix-react-sdk/pull/12056). Contributed by @toger5. * Use Compound tooltips instead of homegrown in TextWithTooltip \& InfoTooltip (https://github.com/matrix-org/matrix-react-sdk/pull/12052). Contributed by @t3chguy. ## 🐛 Bug Fixes * Fix regression around CSS stacking contexts and PIP widgets (https://github.com/matrix-org/matrix-react-sdk/pull/12094). Contributed by @t3chguy. * Fix Identity Server terms accepting not working as expected (https://github.com/matrix-org/matrix-react-sdk/pull/12109). Contributed by @t3chguy. * fix: microphone and camera dropdown doesn't work In legacy call (https://github.com/matrix-org/matrix-react-sdk/pull/12105). Contributed by @muratersin. * Revert "Set up key backup using non-deprecated APIs (#12005)" (https://github.com/matrix-org/matrix-react-sdk/pull/12102). Contributed by @BillCarsonFr. * Fix regression around read receipt animation from refs changes (https://github.com/matrix-org/matrix-react-sdk/pull/12100). Contributed by @t3chguy. * Added meaning full error message based on platform (https://github.com/matrix-org/matrix-react-sdk/pull/12074). Contributed by @Pankaj-SinghR. * Fix editing event from search room view (https://github.com/matrix-org/matrix-react-sdk/pull/11992). Contributed by @t3chguy. * Fix timeline position when moving to a room and coming back (https://github.com/matrix-org/matrix-react-sdk/pull/12055). Contributed by @florianduros. * Fix threaded reply playwright tests (https://github.com/matrix-org/matrix-react-sdk/pull/12070). Contributed by @dbkr. * Element-R: fix repeated requests to enter 4S key during cross-signing reset (https://github.com/matrix-org/matrix-react-sdk/pull/12059). Contributed by @richvdh. * Fix position of thumbnail in room timeline (https://github.com/matrix-org/matrix-react-sdk/pull/12016). Contributed by @anoopw3bdev. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=61
2024-01-17 15:29:57 +01:00
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?"
- Version 1.11.47 ## 🦖 Deprecations * Deprecate customisations in favour of Module API ([\#25736](https://github.com/vector-im/element-web/pull/25736)). Fixes #25733. ## ✨ Features * vector-im/element-x-ios/issues/1824 - Convert the apple-app-site-association file to a newer format… ([\#26307](https://github.com/vector-im/element-web/pull/26307)). Contributed by @stefanceriu. * Iterate `io.element.late_event` decoration ([\#11760](https://github.com/matrix-org/matrix-react-sdk/pull/11760)). Fixes #26384. * Render timeline separator for late event groups ([\#11739](https://github.com/matrix-org/matrix-react-sdk/pull/11739)). * OIDC: revoke tokens on logout ([\#11718](https://github.com/matrix-org/matrix-react-sdk/pull/11718)). Fixes #25394. Contributed by @kerryarchibald. * Show `io.element.late_event` in MessageTimestamp when known ([\#11733](https://github.com/matrix-org/matrix-react-sdk/pull/11733)). * Show all labs flags if developerMode enabled ([\#11746](https://github.com/matrix-org/matrix-react-sdk/pull/11746)). Fixes #24571 and #8498. * Use Compound tooltips on MessageTimestamp to improve UX of date time discovery ([\#11732](https://github.com/matrix-org/matrix-react-sdk/pull/11732)). Fixes #25913. * Consolidate 4s passphrase input fields and use stable IDs ([\#11743](https://github.com/matrix-org/matrix-react-sdk/pull/11743)). Fixes #26228. * Disable upgraderoom command without developer mode enabled ([\#11744](https://github.com/matrix-org/matrix-react-sdk/pull/11744)). Fixes #17620. * Avoid rendering app download buttons if disabled in config ([\#11741](https://github.com/matrix-org/matrix-react-sdk/pull/11741)). Fixes #26309. * OIDC: refresh tokens ([\#11699](https://github.com/matrix-org/matrix-react-sdk/pull/11699)). Fixes #25839. Contributed by @kerryarchibald. * OIDC: register ([\#11727](https://github.com/matrix-org/matrix-react-sdk/pull/11727)). Fixes #25393. Contributed by @kerryarchibald. * Use stable get_login_token and remove unstable MSC3882 support ([\#11001](https://github.com/matrix-org/matrix-react-sdk/pull/11001)). Contributed by @hughns. ## 🐛 Bug Fixes * Set max size for Element logo in search warning ([\#11779](https://github.com/matrix-org/matrix-react-sdk/pull/11779)). Fixes #26408. * Avoid error when DMing oneself ([\#11754](https://github.com/matrix-org/matrix-react-sdk/pull/11754)). Fixes #7242. * Fix: Message shield alignment is not right. ([\#11703](https://github.com/matrix-org/matrix-react-sdk/pull/11703)). Fixes #26142. Contributed by @manancodes. * fix logging full event ([\#11755](https://github.com/matrix-org/matrix-react-sdk/pull/11755)). Fixes #26376. * OIDC: use delegated auth account URL from `OidcClientStore` ([\#11723](https://github.com/matrix-org/matrix-react-sdk/pull/11723)). Fixes #26305. Contributed by @kerryarchibald. * Fix: Members list shield alignment is not right. ([\#11700](https://github.com/matrix-org/matrix-react-sdk/pull/11700)). Fixes #26261. Contributed by @manancodes. * Fix: <detail> HTML elements clickable area too wide. ([\#11666](https://github.com/matrix-org/matrix-react-sdk/pull/11666)). Fixes #25454. Contributed by @manancodes. * Fix untranslated headings in the devtools dialog ([\#11734](https://github.com/matrix-org/matrix-react-sdk/pull/11734)). * Fixes invite dialog alignment and pill color contrast ([\#11722](https://github.com/matrix-org/matrix-react-sdk/pull/11722)). Contributed by @gabrc52. * Prevent select element in General settings overflowing in a room with very long room-id ([\#11597](https://github.com/matrix-org/matrix-react-sdk/pull/11597)). Contributed by @ABHIXIT2. * Fix: Clicking on members pile does nothing. ([\#11657](https://github.com/matrix-org/matrix-react-sdk/pull/11657)). Fixes #26164. Contributed by @manancodes. * Fix: Wierd shadow below room avatar in dark mode. ([\#11678](https://github.com/matrix-org/matrix-react-sdk/pull/11678)). Fixes #26153. Contributed by @manancodes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=50
2023-11-02 11:46:04 +01:00
osc vc -m "${changes}" element-web.changes
dos2unix element-web.changes