Commit Graph

46660 Commits (af268b4a03fdaa9e873014380e282ac9195e73a5)

Author SHA1 Message Date
Germain d94808a197
Make room model mandatory on the RoomHeader (#11355)
* Remove oobData from RoomHeader

It is never used as the RoomHeader is not shown unless a Room model exists

* Make room model mandatory on the RoomHeader
2023-08-02 15:29:19 +00:00
Michael Telatynski 40442508de
Re-add typecheck without yarn link (#11338)
* Re-add typecheck without yarn link

* Update static_analysis.yaml
2023-08-02 14:11:50 +00:00
Germain d49581344e
Integrate @vector-im/compound-web (#11354)
* Create useRoomName hook

Mark RoomName component as deprecated

* Pass out-of-band data to relevant RoomHeader component

* Mark LegacyRoomHeader as deprecated

* Fix incorrect search&replace in _RoomHeader.pcss

* lintfix

* Mark room as optional in room topic hook

* Fix i18n

* Discard use of useCallback

* Change export of useRoomName

* fix ts issue

* lints

* Add room topic to room header

* lintfix

* lintfix & clamp to one line

* Revert optimisations to DecoratedRoomAvatar

* Add test for opening the room summary

* Make transition honour prefer-reduced-motion

* Integrate @vector-im/compound-web

* Use compound type styles

* Use latest version of @vector-im/compound-web

* Change component name

* Fallback when room is undefined

* fix snapshot
2023-08-02 13:03:04 +00:00
Germain 33299af5c9
Add room topic and animation (#11352)
* Create useRoomName hook

Mark RoomName component as deprecated

* Pass out-of-band data to relevant RoomHeader component

* Mark LegacyRoomHeader as deprecated

* Fix incorrect search&replace in _RoomHeader.pcss

* lintfix

* Mark room as optional in room topic hook

* Fix i18n

* Discard use of useCallback

* Change export of useRoomName

* fix ts issue

* lints

* Add room topic to room header

* lintfix

* lintfix & clamp to one line

* Revert optimisations to DecoratedRoomAvatar

* Add test for opening the room summary

* Make transition honour prefer-reduced-motion

* Fallback when room is undefined

* fix snapshot
2023-08-02 10:54:06 +00:00
Michael Telatynski 8166306e0f
Fix clicking on home all rooms space notification not working (#11337)
* Fix clicking on home all rooms space notification not working

* Add test
2023-08-02 09:55:49 +00:00
Michael Telatynski e6bf67ae8b
Fix joining a suggested room switching space away (#11347) 2023-08-01 19:22:15 +00:00
Michael Telatynski 2f2067e434
Fix home/all rooms context menu in space panel (#11350)
* Fix home/all rooms context menu in space panel

* Fix tests
2023-08-01 15:26:14 +00:00
Germain 5d9f5ccf0b
Create useRoomName hook (#11346)
* Create useRoomName hook

Mark RoomName component as deprecated

* Pass out-of-band data to relevant RoomHeader component

* Mark LegacyRoomHeader as deprecated

* Fix incorrect search&replace in _RoomHeader.pcss

* lintfix

* Fix i18n

* Discard use of useCallback

* Change export of useRoomName

* fix ts issue

* lints
2023-08-01 13:47:09 +00:00
ElementRobot 9026996d9e Reset matrix-js-sdk back to develop branch 2023-08-01 12:40:16 +01:00
ElementRobot 7c34675359 Resetting package fields for development 2023-08-01 12:39:49 +01:00
ElementRobot 7d72a011e3 Merge branch 'master' into develop 2023-08-01 12:39:45 +01:00
ElementRobot dcd8f9a16f v3.77.0 2023-08-01 12:39:36 +01:00
ElementRobot 8d3799924a Prepare changelog for v3.77.0 2023-08-01 12:39:35 +01:00
ElementRobot eda8cd88eb Upgrade matrix-js-sdk to 27.1.0 2023-08-01 12:38:11 +01:00
Germain 5ec2c35497
Adjust typography in key part of the app (#11313) 2023-08-01 10:31:21 +00:00
Michael Telatynski 340e301844
Make keyboard handling in and out of autocomplete completions consistent (#11344)
* Make keyboard handling in and out of autocomplete completions consistent

* Add test
2023-08-01 09:06:37 +00:00
Florian Duros b2eac5b65c
Provide userId parameter to `findVerificationRequestDMInProgress` (#11292) 2023-08-01 08:18:34 +00:00
Germain 6ae7c033d5
Add feature flag 'feature_new_room_decoration_ui' and segrate legacy UI component (#11345)
* Move RoomHeader to LegacyRoomHeader

* Create new RoomHeader component
2023-08-01 07:32:53 +00:00
Michael Telatynski 89a92c6351
Bump pagination sizes due to hidden events (#11342)
Such as threaded events in the main timeline causing no events to be added to the timeline
2023-07-31 17:04:14 +00:00
Michael Telatynski 053b564d75
De-duplicate reactions by sender to account for faulty/malicious servers (#11340)
* De-duplicate reactions by sender to account for faulty/malicious servers

* Fix copyrights
2023-07-31 14:42:23 +00:00
Richard van der Hoff 1f3d99c25c
Improve comments on key-setup dialogs (#11339)
* Remove outdated (I think) TODO

* Improve comments on key-setup dialogs
2023-07-28 14:29:34 +00:00
Michael Telatynski 0647aafc3a
Fix disable_3pid_login being ignored for the email field (#11335) 2023-07-28 09:42:20 +00:00
Richard van der Hoff ddb8e0aa3a
Update `SecureBackupPanel` to use `getCrypto()` (#11322)
`MatrixClient.crypto` is going away, so let's switch over to `getCrypto()`.

There doesn't seem to be anything else relying on the `crypto` stub in
`mockClientMethodsCrypto()`, so let's get rid of that.
2023-07-28 09:24:28 +00:00
Michael Telatynski b284fbcc37
Update static_analysis.yaml 2023-07-28 10:25:39 +01:00
Germain c037b847da
Upgrade wysiwyg editor for ctrl+backspace windows fix (#11324)
* Upgrade wysiwyg editor for ctrl+backspace windows fix

* upgrade lockfile

* Fix after upgrading the wysiswyg package
2023-07-28 08:03:00 +00:00
Michael Telatynski b496fe0a2b
Unhide the view source event toggle - it works well enough (#11336) 2023-07-28 08:02:43 +00:00
Kerry 5636a9f7ca
Unit test logout action in MatrixChat (#11303)
* test logout action in MatrixChat

* add restore all mocks
2023-07-28 02:25:18 +00:00
Richard van der Hoff f6fc5cad5c
Remove display of key backup signatures from backup settings (#11333)
* Remove display of Key backup signatures

This is *fiddly* to support in Element-R, and we don't really think it's
offering any value.

* update snapshot

* clean up i18n
2023-07-27 19:52:02 +00:00
Florian Duros 202af87b2e
Enable cypress test about login with SSSS to run with rust-crypto (#11323) 2023-07-27 13:21:19 +00:00
dependabot[bot] c26998967a
Bump word-wrap from 1.2.3 to 1.2.5 (#11334)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 13:03:01 +00:00
renovate[bot] 5405c22db1
Update all non-major dependencies (#11329)
* Update all non-major dependencies

* Add isLocation to ComposerEvent analytics events

* Remove cypress-each as it is incompatible with modern typescript

* Roll back eslint-plugin-deprecate

* Remove stale comment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-27 11:34:44 +00:00
Michael Telatynski d405160080
Use PassphraseFields in ExportE2eKeysDialog to enforce minimum passphrase complexity (#11222)
* Use PassphraseFields in ExportE2eKeysDialog to enforce minimum passphrase complexity

* Tweak copy

* Iterate

* Add tests

* Improve variable naming

* Improve coverage
2023-07-27 09:21:20 +00:00
renovate[bot] b0317e6752
Update dependency eslint-plugin-unicorn to v48 (#11331)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:20:29 +00:00
renovate[bot] ba0b9d0441
Update cypress-io/github-action digest to bcd73b7 (#11326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:19:55 +00:00
renovate[bot] 4a172ce225
Update definitelyTyped (#11328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:19:11 +00:00
renovate[bot] 35740a6e6f
Update babel monorepo to v7.22.9 (#11327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:18:59 +00:00
renovate[bot] 9f0537527e
Update sentry-javascript monorepo to v7.60.0 (#11330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:18:43 +00:00
renovate[bot] 86d349d9a1
Update tj-actions/changed-files digest to 920e7b9 (#11283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:44:32 +00:00
renovate[bot] 60043597ec
Update dependency stylelint-config-standard to v34 (#11236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:44:05 +00:00
ElementRobot bccefd4d86 v3.77.0-rc.1 2023-07-27 09:39:46 +01:00
ElementRobot fe047160b6 Prepare changelog for v3.77.0-rc.1 2023-07-27 09:39:44 +01:00
ElementRobot 84ce5cbb59 Upgrade matrix-js-sdk to 27.1.0-rc.1 2023-07-27 09:38:15 +01:00
Element Translate Bot 1efeccb97e
Translations update from Weblate (#11325)
Co-authored-by: Nui Harime <harime.nui@yandex.ru>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: Kim Brose <kim.brose@rwth-aachen.de>
Co-authored-by: iaiz <git@iapellaniz.com>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Edgars Andersons <Edgars+Element-translations@gaitenis.id.lv>
2023-07-27 09:23:06 +01:00
Michael Telatynski 3ab0757604
Fix edge case with sent indicator being drawn when it shouldn't be (#11320)
* Fix edge case with sent indicator being drawn when it shouldn't be

* Comment
2023-07-27 07:41:36 +00:00
Germain 22f83e7917
Use correct translation function for WYSIWYG buttons (#11315)
* Use correct translation function for WYSIWYG buttons

* Add tests
2023-07-26 11:30:54 +00:00
Michael Telatynski 9319911a27
Improve notifications debug devtool (#11310) 2023-07-26 10:18:43 +00:00
Michael Weimann e33a7e41a4
Handle own profile 404 (#11319) 2023-07-26 09:54:45 +00:00
Richard van der Hoff a47ee92094
Add `cy.viewRoomById` command (#11317)
... and use it to fix a racy composer test.

Fixes https://github.com/vector-im/element-web/issues/25527
2023-07-25 21:55:13 +00:00
Michael Telatynski c57a4cb090
Fix peeked rooms showing up in historical (#11316) 2023-07-25 12:58:29 +00:00
Michael Telatynski b5cbd9eeca
Ensure consistency when rendering the sent event indicator (#11314)
* Ensure consistency when considering where to render the sent event indicator

* Add test

* Fix redacted edge case

* Comments
2023-07-25 11:50:20 +00:00