Commit Graph

62921 Commits (16d2cccb73b121c650f7527a7afe6caeeb1829cd)

Author SHA1 Message Date
RiotRobot 903928c33c v1.11.87-rc.4 2024-11-26 14:56:48 +00:00
Michael Telatynski 0525887be4
Merge remote-tracking branch 'origin/staging' into staging 2024-11-26 14:53:25 +00:00
Michael Telatynski 4259e96c90
Fix current version checking function
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 14:53:17 +00:00
RiotRobot 20532144d2 v1.11.87-rc.3 2024-11-26 14:42:48 +00:00
Michael Telatynski d2eeb3d8af
Merge remote-tracking branch 'origin/staging' into staging 2024-11-26 14:41:11 +00:00
Michael Telatynski b4445fed53
Specify shell:bash in download-verify-element-tarball
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 14:41:00 +00:00
RiotRobot 9860f9320a v1.11.87-rc.2 2024-11-26 14:29:01 +00:00
Michael Telatynski c8f46a0191
Merge remote-tracking branch 'origin/staging' into staging 2024-11-26 14:27:12 +00:00
Michael Telatynski 4285b4b140
GPG_FINGERPRINT is in vars not secrets
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 14:27:06 +00:00
Michael Telatynski de820e11fc
Remove Twemoji SBIX font in favour of COLRv0 (#28549)
* Remove Twemoji SBIX font in favour of COLRv0

as it is supported everywhere we need it

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove unused mock

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 14:20:15 +00:00
RiotRobot 94130be5a7 v1.11.87-rc.1 2024-11-26 14:19:43 +00:00
Hubert Chathi 0333cba258
temporarily add a default branch to handle unknown shield codes (#28543) 2024-11-26 14:16:20 +00:00
Michael Telatynski 2ebc1b4a89
Fix deploy action
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 14:14:29 +00:00
RiotRobot 756ce2c639 v1.11.87-rc.0 2024-11-26 13:56:17 +00:00
RiotRobot c519361b4e Upgrade dependency to matrix-js-sdk@34.13.0-rc.0 2024-11-26 13:44:06 +00:00
Michael Telatynski 15bd59b81a
Fix release workflow permissions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 13:41:15 +00:00
ElementRobot c74f9159ad
[create-pull-request] automated change (#28544)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-26 11:54:21 +00:00
Florian Duros 2ac2bae4fa
Add spinner when room encryption is loading in room settings (#28535) 2024-11-26 09:43:21 +00:00
Michael Telatynski a478463b75
Remove duplicates
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-25 17:43:09 +00:00
Michael Telatynski 3f221891f7
Remove space-specific right panel store handling
This is no longer needed as the right panel always corresponds to the currently viewed room/space only.

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-25 17:29:32 +00:00
Michael Telatynski a2a066d8b4
Deploy app.element.io & staging.element.io via Github Actions (#28525)
* Deploy app.element.io & staging.element.io via Github Actions

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Simplify - this check is done by the Environment protection

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-25 10:41:04 +00:00
Florian Duros ede91bf921
Use `CryptoApi.getKeyBackupInfo` instead of deprecated `MatrixClient.getKeyBackupVersion` (#28450)
* Use `CryptoApi.getKeyBackupInfo` instead of deprecated `MatrixClient.getKeyBackupVersion`

* Review changes

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-25 09:30:42 +00:00
ElementRobot fd7c50f61d
[create-pull-request] automated change (#28528)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-23 06:21:36 +00:00
Michael Telatynski 3d6664109b
Send and respect MSC4230 is_animated flag (#28513)
* PoC implementation for is_animated m.image flag

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update MSC reference

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-22 13:58:37 +00:00
Michael Telatynski 7d20bd4d06
Merge remote-tracking branch 'origin/develop' into develop 2024-11-22 11:52:32 +00:00
Michael Telatynski e0e522a0e9
Fix permissions in build_develop.yml
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-22 11:52:24 +00:00
Michael Telatynski 8df26a54cf
Fix getOidcCallbackUrl for Element Desktop (#28521)
Got broken by a Chrome change

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-22 10:24:59 +00:00
Hubert Chathi c2ce7dbc5e
Display a warning when an unverified user's identity changes (#28211)
* display a warning when an unverified user's identity changes

* use Compound and make comments into doc comments

* refactor to use functional component

* split into multiple hooks

* apply minor changes from review

* use Crypto API to determine if room is encrypted

* apply changes from review

* change initialisation status to a tri-state rather than a boolean

* fix more race conditions, and apply changes from review

* apply changes from review and switch to using counter for detecting races

* Remove outdated comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* fix test

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-11-21 20:31:29 +00:00
Michael Telatynski affa4e5211
Switch away from deprecated github-status-action (#28514)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-21 16:22:48 +00:00
Michael Telatynski 04604e5171
We have to explicitly specify github-token even though it is the default for this to work in theory
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-21 15:59:17 +00:00
Michael Telatynski 0e38df84c8
Fix permissions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-21 15:39:00 +00:00
Michael Telatynski 2ce588ac64
Merge pull request #28502 from element-hq/t3chguy/fix/22729 2024-11-21 15:34:00 +00:00
Michael Telatynski cdfb58501d
Fix perms
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-21 14:18:29 +00:00
Michael Telatynski f89f050f07
Fix permission
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-21 13:54:31 +00:00
Michael Telatynski eddaf7c47e
Swap out Twitter link for Mastodon on auth footer (#28508)
* Swap out Twitter link for Mastodon on auth footer

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshots & screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-21 10:59:43 +00:00
Florian Duros 3860226ee2
Add `Z-Flaky-Jest-Test` label (#28512) 2024-11-21 10:42:09 +00:00
ElementRobot b907ec380f
[create-pull-request] automated change (#28509)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-21 06:20:31 +00:00
Michael Telatynski 5d7c71210f
Consider `org.matrix.msc3417.call` as video room in create room dialog (#28497)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-20 19:04:05 +00:00
Michael Telatynski d8844c682b
Filter out redacted poll votes to avoid crashing the Poll widget (#28498)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-20 19:01:19 +00:00
Michael Telatynski 72989ea646
Fix force tab complete not working since switching to React 18 createRoot API (#28505)
`setState` now has different timings so we cannot assume the state changes are available immediately and must await them

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-20 18:52:10 +00:00
Michael Telatynski 95630f525f
Remove usage of legacyRoot in RTL tests (#28485)
* Remove usage of legacyRoot in RTL tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-20 18:09:51 +00:00
Florian Duros d5c111f656
Rework `UrlPreviewSettings` to use `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` (#28463)
* Rework `UrlPreviewSettings` to use `MatrixClient.CryptoApi.isEncryptionEnabledInRoom`

* Handle loading state

* Update `@vector-im/compound-web` to have `InlineSpinner`

* Use `InlineSpinner` instead of a loading text.
2024-11-20 17:08:34 +00:00
Michael Telatynski 7329a5f1fc
Fix source maps in production builds (#28499)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-20 16:28:03 +00:00
Michael Telatynski 2063624fb6
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-20 15:50:59 +00:00
Michael Telatynski 03a1d89785
Tighten GITHUB_TOKEN permissions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-20 15:44:02 +00:00
Florian Duros 5cdcf44b6f
Second batch: Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` (#28466)
* Add `asyncFilter`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `MemberListStore.tsx`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `EventIndex.tsx`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `SendMessageComposer.tsx`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `ScalarMessaging.ts`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `RolesRoomSettingsTab.tsx`

* Add reject doc to `asyncFilter`

* Reverse `MemberListStore.loadMembers` condition

* Remove async for `ScalarMessaging.ts`

* Display permission section only after `isEncrypted` is computed

* Display composer only after `isEncrypted` is computed

* Revert "Display composer only after `isEncrypted` is computed"

This reverts commit 4d4e037391.

* Revert "Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `SendMessageComposer.tsx`"

This reverts commit 6bf06da02c.
2024-11-20 14:27:09 +00:00
Michael Telatynski ca33d9165a
Migrate to React 18 createRoot API (#28256)
* Migrate to React 18 createRoot API

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Discard changes to src/components/views/settings/devices/DeviceDetails.tsx

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Attempt to stabilise test

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* legacyRoot?

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-20 13:29:23 +00:00
Michael Telatynski 2dffadc92e
Merge branch 'develop' into dbkr/stateafter 2024-11-20 13:13:11 +00:00
ElementRobot 48fd330dd9
[create-pull-request] automated change (#28495)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-20 06:20:25 +00:00
RiotRobot f0af77712f Reset matrix-js-sdk back to develop branch 2024-11-19 14:26:10 +00:00