Michael Telatynski
27d79458da
Remove dead & duplicated code ( #11405 )
...
* Remove dead code
* Make dead code happier
* DRY pickle additional data calculation
* Iterate
2023-08-15 08:43:15 +00:00
Richard van der Hoff
672ad98ec7
Clean up the MatrixChat initSession code ( #11403 )
...
`async` functions are a thing, and they make this much more comprehensible.
2023-08-14 12:52:08 +00:00
Neeraj Vageele
6f455217d1
correct home server URL ( #11391 )
...
* correct home server URL
* update snapshot
---------
Co-authored-by: Neeraj <neerajv@thirdrocktechkno.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-14 09:08:34 +00:00
Michael Telatynski
d2c6577024
Switch to importing more things from the main js-sdk export ( #11394 )
2023-08-14 08:58:55 +00:00
Travis Ralston
180fcaa70f
Support Matrix 1.1 (drop legacy r0 versions) ( #9819 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-14 09:25:13 +01:00
Michael Telatynski
4a9c4198b0
Avoid using state for immutable fields ( #11397 )
2023-08-10 18:30:43 +00:00
Milton Moura
d240f06810
Include non-matching DMs in Spotlight recent conversations when the DM's userId is part of the search API results ( #11374 )
...
* This addresses two issues:
1. Include non-matching DMs in Spotlight suggestions if the userId of the DM is included in the user directory search results
2. The user directory search results order is kept when there is no relevant activity between users, instead of sorting by MXID
* Applying feedback from PR:
1. Updated comments
2. Renamed users to userDirectorySearchResults
3. Makes sure linter is happy
2023-08-10 17:27:24 +00:00
Michael Telatynski
ef385e6028
Switch to importing more things from the main js-sdk export ( #11377 )
2023-08-10 08:01:14 +00:00
Michael Telatynski
a1328d8ef7
Switch to importing more things from the main js-sdk export ( #11376 )
2023-08-09 15:10:54 +00:00
Michael Telatynski
e6c127915f
Fix useRoomMembers missing updates causing incorrect membership counts ( #11392 )
...
* Fix useRoomMembers missing updates
* Also fix useRoomMemberCount
* Add tests
2023-08-09 12:27:37 +00:00
Michael Telatynski
c3574c2050
Switch to importing client from main js-sdk export ( #11370 )
2023-08-09 07:18:41 +00:00
Kerry
e0d498e338
Enable jsx-a11y/click-events-have-key-events
eslint rule ( #10362 )
...
* enable "jsx-a11y/alt-text" lint rule
* enable "jsx-a11y/label-has-associated-control"
* make Spoilers keyboard accessible
* make invite reason keyboard accessible
* make invite suggestions keyboard accessible
* make avatar upload in space basic settings keyboard accessible
* ignore jsx-a11y/click-events-have-key-events issues in tests
* Update test expectation
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-09 06:27:31 +00:00
Michael Telatynski
2b17fc3221
Show error when searching public rooms fails ( #11378 )
...
* Show error when searching public rooms fails
* Fix types
* Improve test coverage
* Improve coverage
2023-08-08 14:08:17 +00:00
Element Translate Bot
b5bfc5be21
Translations update from Weblate ( #11380 )
...
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Jan Schönfeld <jan.schoenfeld@tutanota.de>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Peter Scheu <peter.scheu@aceart.de>
Co-authored-by: quickverse <quickverse_qdc@hostux.ninja>
Co-authored-by: raspin0 <marcinekk13@interia.pl>
Co-authored-by: Ch. (Chanwhi Choi) <ccwpc@hanmail.net>
Co-authored-by: revblue <neosurpass@gmail.com>
Co-authored-by: Peter Chen <petercpg@gmail.com>
Co-authored-by: Victor Grousset <victor@tuxayo.net>
2023-08-08 14:49:37 +01:00
Germain
84d196776e
Change formatCount impl to use Intl.NumberFormat ( #11379 )
...
* Change formatCount impl to use Intl.NumberFormat
* Update formatCount JSDoc description
2023-08-08 11:45:20 +00:00
Michael Telatynski
033c600fa2
Switch to importing @types/{event,partials} from main js-sdk export ( #11369 )
2023-08-08 10:12:12 +00:00
Michael Telatynski
368b6b9355
Switch to importing models/{event-timeline{,set},user,device,event-status} from main js-sdk export ( #11368 )
2023-08-08 07:16:04 +00:00
Rashmit Pankhania
b08bdf7e0d
Fix "Export chat" not respecting configured time format in plain text mode ( #10696 )
...
* #23838 Fix "Export chat" time format in plain text mode
* #23838 Fix import of matrix-js-sdk
* Remove hardcoded locale
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
* Fix test for readability
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix test
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix test
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix test
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Use dateUtils formatFullDate function
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
---------
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Co-authored-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-07 13:58:45 +00:00
Michael Telatynski
6a14362697
Mark more logs as debug to tidy the console ( #11349 )
2023-08-07 08:41:39 +00:00
Michael Telatynski
24703eea8f
Switch to importing models/event from main js-sdk export ( #11363 )
2023-08-07 08:24:58 +00:00
Michael Telatynski
22ce756f76
Fix some missing 1-count pluralisations around event list summaries ( #11371 )
2023-08-07 08:24:38 +00:00
Michael Telatynski
9afcf599ba
Fix create subspace dialog not working for public space creation ( #11367 )
2023-08-07 08:22:03 +00:00
Germain
aab0c9a9e1
Remove feature_right_panel_default_open ( #11359 )
...
* Remove feature_right_panel_default_open
* i18n
2023-08-07 08:14:49 +00:00
Charly Nguyen
5152aad059
Allow knocking rooms ( #11353 )
...
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-08-07 06:27:09 +00:00
Michael Telatynski
e6af09e424
Switch to importing models/room-state & models/room-member from main js-sdk export ( #11362 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Switch to importing models/Room from main js-sdk export
* Switch to importing models/room-state & models/room-member from main js-sdk export
* Fix cypress-axe import
* Fix more imports
* Fix cypress-axe import
* Fix bad merge
2023-08-04 11:22:08 +00:00
Michael Telatynski
e67ca33c4a
Switch to importing models/Room from main js-sdk export ( #11361 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Switch to importing models/Room from main js-sdk export
* Fix cypress-axe import
* Fix more imports
* Fix cypress-axe import
* Fix duplicated lint rule
2023-08-04 07:36:16 +00:00
Peter Scheu
5ee8e61bf5
Search for users on paste ( #11304 )
...
Signed-off-by: Peter Scheu <peter.scheu@aceart.de>
2023-08-04 07:19:56 +00:00
Travis Ralston
771d7e95e7
Support adding space-restricted joins on rooms not members of those spaces ( #9017 )
...
* Support adding space-restricted joins on rooms not members of those spaces
* add react dependencies
* Add snapshot test
* Fix snapshot stability
* Update snapshot
* Increase coverage
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-03 15:56:53 +00:00
Andy Balaam
6c2ba201a6
Revert "Switch to updating presence via /sync calls instead of PUT /presence"
...
This reverts commit 7e5739494b1f956d03dc668d2e4431b457e7faa1.
Original PR: https://github.com/matrix-org/matrix-react-sdk/pull/11223
2023-08-03 16:52:37 +01:00
Michael Telatynski
47877ba2da
Switch to importing matrix-js-sdk from its main export ( #11360 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Fix cypress-axe import
* Fix cypress-axe import
2023-08-03 12:56:30 +00:00
Michael Telatynski
44f51fd1cb
Clear requiresClient and show pop-out if widget-api fails to ready ( #11321 )
...
* Clear requiresClient and show pop-out if widget-api fails to ready
* Upgrade matrix-widget-api
2023-08-03 10:14:15 +00:00
Michael Telatynski
755f8d7ab0
Fix AppTile context menu not always showing up when it has options ( #11358 )
...
* Fix AppTile context menu not always showing up when it has options
* Comment
* Update snapshots
2023-08-03 09:23:20 +00:00
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
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
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
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
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
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
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
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
Michael Telatynski
9136a581d2
Prevent re-filtering user directory results in spotlight ( #11290 )
...
* Prevent re-filtering user directory results in spotlight
As they were already filtered by the server and may be fuzzier than any filtering we can do locally,
e.g. matching against email addresses or other fields not available to the client
* deduplicate work
* Improve coverage
2023-07-25 08:05:54 +00:00
Slavi Pantaleev
4316ebae29
Do not show "Forget room" button in Room View header for guest users ( #10898 )
...
* Do not show "Forget room" button in Room View header for guest users
You can observe this problem by opening this in a new private tab:
https://app.element.io/#/room/#matrix:matrix.org
This is a public room with guest access enabled and Element will use a
guest account to display it.
Showing a "Forget room" button in the header for guest users is
pointless. Clicking on it leads to a `M_GUEST_ACCESS_FORBIDDEN` error.
Signed-off-by: Slavi Pantaleev <slavi@devture.com>
* Iterate
---------
Signed-off-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-25 07:57:26 +00:00
Michael Telatynski
d268cc1b75
Fix spurious "Your server isn't responding to some requests" ( #11306 )
...
When changing room notification settings
This happened due to a race condition between adding a push rule and enabling it, the latter being superfluous given the spec says
> When creating push rules, they MUST be enabled by default.
2023-07-24 17:29:04 +00:00
Michael Telatynski
a70fcfd0bc
Fix invite dialog showing the same user multiple times ( #11308 )
...
* Fix invite dialog showing the same user multiple times
* Add test
* Improve coverage
2023-07-24 09:12:37 +00:00
Michael Telatynski
b6e373c65b
Avoid warning about config.json fallback keys more than once ( #11307 )
2023-07-24 07:36:51 +00:00
Šimon Brandner
3b0ed17241
Don't hide room header buttons in video rooms and rooms with a call ( #9712 )
...
* Don't hide room header buttons in video rooms and rooms with a call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Attempt to fix types 2
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Update test case
---------
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-21 10:33:37 +00:00
Kerry
0b0d77cbcc
OIDC: Persist details in session storage, create store ( #11302 )
...
* utils to persist clientId and issuer after oidc authentication
* add dep oidc-client-ts
* persist issuer and clientId after successful oidc auth
* add OidcClientStore
* comments and tidy
* format
2023-07-20 21:30:19 +00:00
Michael Telatynski
dd5b9329e4
Only error log url preview failure if not 404 matrix error ( #11297 )
2023-07-19 16:03:59 +00:00
Michael Telatynski
0c4a5cd7c1
Don't show composer send button if user cannot send ( #11298 )
...
Such as when room is tombstoned
2023-07-19 11:03:44 +00:00
Michael Telatynski
a1ca79c6c7
Retry joins on 524 (Cloudflare timeout) also ( #11296 )
2023-07-19 10:49:52 +00:00
Charly Nguyen
9a31cd0fa8
Allow setting room join rule to knock ( #11248 )
...
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-07-19 10:48:24 +00:00
Germain
150e97744d
Fix changelog dialog heading size ( #11286 )
2023-07-19 08:03:56 +00:00
Michael Telatynski
42d8e4f1a8
Try to find out the Matrix homeserver version and include in rageshakes ( #11212 )
2023-07-19 09:25:38 +01:00
RiotRobot
5881df3f41
Merge branch 'master' into develop
2023-07-18 13:33:41 +01:00
RiotRobot
22fcd34c60
Sanitise strings going into the html export CVE-2023-37259
2023-07-18 13:23:27 +01:00
Michael Telatynski
d9d0b84152
Revert "Do not filter users post search ( #9556 )" ( #11288 )
2023-07-18 09:26:54 +01:00
Michael Telatynski
34532fbdd4
Don't bother showing redundant tooltip on space menu ( #11276 )
2023-07-17 18:36:58 +00:00
Maximilian Malek
f1db2b3687
Do not filter users post search ( #9556 )
...
* Do not filter users post search
Signed-off-by: Maximilian Malek <maximilian.malek@uni-graz.at>
* Iterate
* Iterate
---------
Signed-off-by: Maximilian Malek <maximilian.malek@uni-graz.at>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-17 15:31:38 +00:00
Michael Telatynski
9fcd1f2434
Remove reply fallback from notifications ( #11278 )
...
* Remove reply fallback from notifications
* Add test
2023-07-17 14:04:09 +00:00
Michael Telatynski
f04a0e2860
Populate info.duration for audio & video file uploads ( #11225 )
...
* Improve m.file m.image m.audio m.video types
* Populate `info.duration` for audio & video file uploads
* Fix tests
* Iterate types
* Improve coverage
* Fix test
* Add small delay to stabilise cypress test
* Fix test idempotency
* Improve coverage
* Slow down
* iterate
2023-07-17 12:07:58 +00:00
Michael Telatynski
8b8ca425d7
Hide widget menu button if it there are no options available ( #11257 )
...
* Hide widget menu button if it there are no options available
* Update snapshots
2023-07-17 10:37:07 +00:00
Michael Telatynski
2bc4764e01
Fix room view not properly maintaining scroll position ( #11274 )
2023-07-17 09:33:51 +00:00
Michael Telatynski
1995a74090
Switch to updating presence via /sync calls instead of PUT /presence ( #11223 )
2023-07-17 08:13:45 +00:00
Šimon Brandner
cb03aac4cf
Switch to the new session
API for screen-sharing ( #11266 )
...
See https://github.com/electron/electron/pull/30702 - this has the benefit of the js-sdk and LiveKit not having to add custom logic for Electron
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-14 20:51:24 +00:00
Michael Telatynski
d38819ce9a
Fix missing metaspace notification badges ( #11269 )
...
* Fix missing metaspace notification badges
* Simplify conditional types
(cherry picked from commit cdffd1ca1f
)
2023-07-14 15:05:11 +00:00
Michael Telatynski
2760bfc836
Prevent user from accidentally double clicking user info admin actions ( #11254 )
...
* Prevent user from accidentally double clicking user info admin actions
* Iterate
* Improve coverage
* Improve coverage
* Simplify
* Simplify
2023-07-14 14:48:20 +00:00
Michael Telatynski
cdffd1ca1f
Fix missing metaspace notification badges ( #11269 )
...
* Fix missing metaspace notification badges
* Simplify conditional types
2023-07-14 14:40:59 +00:00
Michael Telatynski
63bdd84c94
Offer to unban user during invite if inviter has sufficient permissions ( #11256 )
...
* Offer to unban user during invite if inviter has sufficient permissions
* Improve unban check in MultiInviter
* Improve coverage
* Update src/utils/MultiInviter.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-07-14 13:26:02 +00:00
Michael Telatynski
86d3ec8154
Split join and goto slash commands, the latter shouldn't auto_join ( #11259 )
...
* Split join and goto slash commands, the latter shouldn't auto_join
* i18n
* Add tests
* Iterate
* Improve coverage
2023-07-14 11:20:59 +00:00
Richard van der Hoff
e959eca354
Fix corrupt thread timeline for sending events ( #11260 )
...
Events which are still in the process of being sent should *not* be included
in the `EventTimeline`. Doing so means that we will attempt to render them
twice, which makes react explode.
Fixes https://github.com/vector-im/element-web/issues/25770
2023-07-14 10:59:55 +00:00
Michael Telatynski
cb592dc709
Fix clicking MXID in timeline going to matrix.to ( #11263 )
...
* Fix clicking MXID in timeline going to matrix.to
* Add tests
* Increase coverage
2023-07-14 10:55:55 +00:00
Michael Telatynski
3a784c71e8
Deprecate camelCase config options ( #11261 )
2023-07-14 10:50:52 +00:00
Michael Telatynski
e6550a33b6
Allow emoji presentation selector to not break BigEmoji styling ( #11253 )
...
* Allow emoji presentation selector to not break BigEmoji styling
* Tweak regex to make sonar & lint happy
2023-07-13 14:08:18 +00:00
Richard van der Hoff
2cfbd73cd3
Replace getQRCodeBytes
with generateQRCode
( #11241 )
...
* Replace `getQRCodeBytes` with `generateQRCode`
* another test update
* remove obsolete snapshot
2023-07-13 13:55:55 +00:00
Germain
06403d07f8
Fix event info events size and color ( #11252 )
2023-07-13 09:35:08 +00:00
alunturner
f6ee109f9e
Integration work for rich text editor 2.3.1 ( #11172 )
...
* accompanying changes
* switch to set innerHTML
* bump rte to 2.3.1
* update types for dynamic import
* add comment
* Add comments to dynamic imports
* update comments
2023-07-13 07:26:33 +00:00
Michael Telatynski
f1534fda79
Improve types ( #11239 )
2023-07-12 15:56:51 +01:00
Michael Telatynski
44615b2b04
Strip emoji variation when searching emoji by emoji ( #11221 )
2023-07-12 07:26:13 +00:00
Kerry
c5befa1ef8
Stabilize support for MSC3952: intentional mentions ( #10967 )
...
* enable feature_intentional_mentions with v1.7
* org.matrix.msc3952.mentions -> m.mentions
* update push rules test util
* only support stable version 1.7
* use stable values for msc3952 push rules
* use stable intentional mentions rule sin test models
* unstable feature in settings controller
2023-07-11 22:29:54 +00:00
Michael Telatynski
a8f632ae19
Warn when demoting self via /op and /deop slash commands ( #11214 )
...
* Warn when demoting self via /op and /deop slash commands
* Iterate and DRY
* i18n
* Improve coverage
* Improve coverage
* Improve coverage
* Iterate
2023-07-11 12:53:33 +00:00
Janne Mareike Koschinski
b179f5562e
GYU: Fix issues with audible keywords without activated mentions ( #11218 )
2023-07-11 10:38:26 +00:00
Janne Mareike Koschinski
d0147561d7
GYU: Update banner ( #11211 )
...
* Update help text
* chore: fixed lint issues
* update i18n
* Update button text
* Correct css for settings banners
2023-07-11 10:38:14 +00:00
Element Translate Bot
99343e8abe
Translations update from Weblate ( #11219 )
...
* Translated using Weblate (German)
Currently translated at 100.0% (3737 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Vietnamese)
Currently translated at 88.8% (3317 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Latvian)
Currently translated at 46.6% (1743 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
* Translated using Weblate (Vietnamese)
Currently translated at 89.4% (3341 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Georgian)
Currently translated at 0.5% (21 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ka/
* Translated using Weblate (Vietnamese)
Currently translated at 89.5% (3342 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Vietnamese)
Currently translated at 89.6% (3348 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Vietnamese)
Currently translated at 89.7% (3351 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Vietnamese)
Currently translated at 89.7% (3351 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Vietnamese)
Currently translated at 89.7% (3352 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Vietnamese)
Currently translated at 89.7% (3352 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Vietnamese)
Currently translated at 91.2% (3405 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3737 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Vietnamese)
Currently translated at 91.5% (3417 of 3733 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3737 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3737 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Polish)
Currently translated at 100.0% (3737 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
* Translated using Weblate (Persian)
Currently translated at 68.2% (2552 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Vietnamese)
Currently translated at 91.5% (3416 of 3732 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3736 of 3736 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Russian)
Currently translated at 93.0% (3477 of 3736 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Hungarian)
Currently translated at 99.6% (3723 of 3737 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Russian)
Currently translated at 93.1% (3469 of 3725 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
* Translated using Weblate (Russian)
Currently translated at 93.2% (3473 of 3725 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
* Translated using Weblate (Russian)
Currently translated at 93.3% (3476 of 3725 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3721 of 3721 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Russian)
Currently translated at 93.3% (3479 of 3725 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
* Translated using Weblate (Russian)
Currently translated at 93.3% (3479 of 3725 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
* Translated using Weblate (Russian)
Currently translated at 93.3% (3479 of 3725 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
* Translated using Weblate (Russian)
Currently translated at 93.4% (3481 of 3724 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
* Translated using Weblate (Hungarian)
Currently translated at 99.6% (3711 of 3724 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Russian)
Currently translated at 93.4% (3481 of 3724 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
---------
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: Edgars Andersons <Edgars+Element-translations@gaitenis.id.lv>
Co-authored-by: ia rigby <marvinzem@gmail.com>
Co-authored-by: Văn Huy Dương <huy.error1@gmail.com>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: raspin0 <marcinekk13@interia.pl>
Co-authored-by: Telegramian <telegramian@gmail.com>
Co-authored-by: Nui Harime <harime.nui@yandex.ru>
Co-authored-by: Balázs Meskó <meskobalazs@gmail.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-07-11 11:54:06 +01:00
Michael Telatynski
6e99b2fca3
Linkify mxc:// URLs as links to your media repo ( #11213 )
2023-07-11 07:25:51 +00:00
Kerry
7b3d0ad209
OIDC: Log in ( #11199 )
...
* add delegatedauthentication to validated server config
* dynamic client registration functions
* test OP registration functions
* add stubbed nativeOidc flow setup in Login
* cover more error cases in Login
* tidy
* test dynamic client registration in Login
* comment oidc_static_clients
* register oidc inside Login.getFlows
* strict fixes
* remove unused code
* and imports
* comments
* comments 2
* util functions to get static client id
* check static client ids in login flow
* remove dead code
* OidcRegistrationClientMetadata type
* navigate to oidc authorize url
* exchange code for token
* navigate to oidc authorize url
* navigate to oidc authorize url
* test
* adjust for js-sdk code
* login with oidc native flow: messy version
* tidy
* update test for response_mode query
* tidy up some TODOs
* use new types
* add identityServerUrl to stored params
* unit test completeOidcLogin
* test tokenlogin
* strict
* whitespace
* tidy
* unit test oidc login flow in MatrixChat
* strict
* tidy
* extract success/failure handlers from token login function
* typo
* use for no homeserver error dialog too
* reuse post-token login functions, test
* shuffle testing utils around
* shuffle testing utils around
* i18n
* tidy
* Update src/Lifecycle.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* tidy
* comment
* update tests for id token validation
* move try again responsibility
* prettier
* use more future proof config for static clients
* test util for oidcclientconfigs
* rename type and lint
* correct oidc test util
* store issuer and clientId pre auth navigation
* adjust for js-sdk changes
* update for js-sdk userstate, tidy
* update MatrixChat tests
* update tests
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-07-11 04:09:18 +00:00
Michael Telatynski
186497a67d
Handle all permitted url schemes in linkify ( #11215 )
...
* Handle all permitted url schemes in linkify
* Correctly handle optional slash protocols
* Iterate
2023-07-10 15:09:39 +00:00
Timo
58710d129d
Autoapprove Element Call oidc requests ( #11209 )
...
* autoapprove Element Call oidc requests
Signed-off-by: Timo K <toger5@hotmail.de>
* update comment
Signed-off-by: Timo K <toger5@hotmail.de>
* add tests for oidc element-call
Signed-off-by: Timo K <toger5@hotmail.de>
* fix ES lint
Signed-off-by: Timo K <toger5@hotmail.de>
---------
Signed-off-by: Timo K <toger5@hotmail.de>
2023-07-10 15:06:58 +00:00
Michael Telatynski
ab972ddea9
PosthogAnalytics unwatch settings on logout ( #11207 )
...
* PosthogAnalytics unwatch settings on logout
* Tidy
2023-07-10 15:01:59 +00:00
Michael Telatynski
411a63f4a5
Avoid trying to set room account data for pinned events as guest ( #11216 )
2023-07-10 14:20:12 +00:00
Janne Mareike Koschinski
05c2ee0767
Disable sound for DMs checkbox when DM notifications are disabled ( #11210 )
2023-07-10 12:49:56 +00:00
David Baker
aa818cdf85
Add commented-out waitForIFrameLoad option to Element Call widget ( #11208 )
...
As hopefully all explained in comment.
2023-07-10 12:20:08 +00:00
Charly Nguyen
fd749172e1
Allow creating knock rooms ( #11182 )
...
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-07-10 08:01:03 +00:00
Kerry
01bd80fe59
OIDC: update to oidc-client-ts
functions from js-sdk ( #11193 )
...
* test util for oidcclientconfigs
* rename type and lint
* correct oidc test util
* store issuer and clientId pre auth navigation
* update for js-sdk userstate, tidy
2023-07-10 00:57:16 +00:00
Gustavo Santos
8924bd26fa
feat(faq): remove keyboard shortcuts button ( #9342 )
...
* feat(faq): remove keyboard shortcuts button
Signed-off-by: Gustavo Santos <gefgu@hotmail.com>
* Update HelpUserSettingsTab.tsx
* delint
---------
Signed-off-by: Gustavo Santos <gefgu@hotmail.com>
Co-authored-by: Germain <germains@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-07 14:40:41 +00:00
Travis Ralston
8a97e5f351
Expose and pre-populate thread ID in devtools dialog ( #10953 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-07 15:40:25 +01:00
Michael Telatynski
cfd48b36aa
Enable strictPropertyInitialization ( #11203 )
2023-07-07 14:46:12 +01:00
Michael Telatynski
4207d182cd
Enable strictFunctionTypes ( #11201 )
2023-07-07 13:37:26 +01:00
Travis Ralston
40de66424d
Hide URL preview if it will be empty ( #9029 )
...
* Hide URL preview if it will be empty
* Update src/components/views/rooms/LinkPreviewWidget.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Iterate
* Iterate
---------
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-07 11:06:03 +00:00
Germain
252f2ebec0
Remove hidden read receipts migration ( #11139 )
...
* Remove hidden read receipts migration
* remove unused values
* Remove hidden RR migration test
2023-07-07 10:55:16 +00:00
Aaron Raimist
71fe08ea0f
Change wording from avatar to profile picture ( #7015 )
...
* Change wording from avatar to profile picture
Signed-off-by: Aaron Raimist <aaron@raim.ist>
* lint
Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Update EventListSummary
Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Delete MembershipEventListSummary.tsx
Signed-off-by: Aaron Raimist <aaron@raim.ist>
* delint
* Update tests
---------
Signed-off-by: Aaron Raimist <aaron@raim.ist>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-07 10:54:43 +00:00
Michael Telatynski
706a42f390
Quick and dirty devtool to explore state history ( #11197 )
...
* Quick and dirty devtool to explore state history
* Include error in unsigned
* iterate
* Fix silly copy paste
2023-07-07 08:16:11 +00:00
Michael Telatynski
285847560b
Conform more of the codebase to strict typing ( #11195 )
2023-07-07 09:02:13 +01:00
Enrico Schwendig
902263d7c9
force to allow calls without video and audio in embedded mode ( #11131 )
...
* force to allow calls without video and audio in embedded mode
* Check device access permission and introduce a only screen share call mode
* Fix strict typ check issue
* Fix i18n check issue
* Add unit tests for device selection
* Fix mocked media device query
2023-07-06 14:40:14 +00:00
Michael Telatynski
3c81f30c26
Enable strictNullChecks and noImplicitAny ( #11194 )
2023-07-06 13:59:47 +00:00
Michael Telatynski
b467d0700f
Replace brittle custom function with lodash implementation ( #11188 )
2023-07-06 08:22:43 +00:00
Johannes Marbach
d7677c7e21
Handle newlines in user pills ( #11166 )
...
* Handle newlines in user pills
Fixes : vector-im/element-web#10994
* Fix typo in comment
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Refactor link generation for better readability
* Use `<br>` instead of `<br/>`
* Fix copy/paste error
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-07-05 22:00:27 +00:00
Johannes Marbach
3f20675b93
Limit width of user menu in space panel ( #11192 )
...
Fixes : vector-im/element-web#22627
2023-07-05 22:00:03 +00:00
Michael Telatynski
8107f1d271
Conform more of the codebase to strict types ( #11191 )
2023-07-05 11:53:22 +01:00
Michael Telatynski
4044c2aa66
Consider more user inputs when calculating zxcvbn score ( #11180 )
...
* Consider more user inputs when calculating zxcvbn score
* MatrixClientPeg.getHomeserverName may throw
2023-07-05 09:36:30 +00:00
Kerry
90e65e8490
use more future proof config for static clients ( #11175 )
2023-07-04 23:10:03 +00:00
Kerry
ce332d0f8b
Fix: hide unsupported login elements ( #11185 )
...
* hide unsupported login elements
* Update src/components/structures/auth/Login.tsx
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-07-04 22:15:35 +00:00
Germain
2a7780052e
Compound Typography pass regression fixes ( #11189 )
...
* Compound Typography pass regression fixes
* updates to the room list sizing
* fix subtitle clipping
* revert display name to use medium variant
2023-07-04 16:54:28 +00:00
Andy Balaam
3ad9a8fe3b
Revert "Add isLocation to ComposerEvent analytics events" ( #11190 )
...
This reverts commit 739a0c7afbcc6ab8fb0dd0ed0c5faba45a51259c.
2023-07-04 16:39:47 +00:00
Michael Telatynski
a294ba2ad4
Conform more of the codebase to strictNullChecks + noImplicitAny ( #11179 )
2023-07-04 14:49:27 +01:00
Richard van der Hoff
7c211b0587
munge the emoji names from rust-sdk to match translations ( #11168 )
2023-07-04 12:00:09 +00:00
Michael Telatynski
d87be36800
Apply i18n to strings in the html export ( #11176 )
2023-07-04 09:37:10 +00:00
Andy Balaam
54ffce9d20
Add isLocation to ComposerEvent analytics events ( #11187 )
2023-07-04 09:10:03 +00:00
Michael Telatynski
90b572f074
Inhibit url previews on MXIDs containing slashes same as those without ( #11160 )
2023-07-03 15:56:58 +00:00
Richard van der Hoff
2ea8a030ea
Replace beginKeyVerification
with startVerification
( #11167 )
2023-06-30 12:09:06 +00:00
alunturner
3fb4dac6fc
Strictify RoomView.tsx ( #11163 )
2023-06-30 13:06:03 +01:00
alunturner
9fa58e4e90
Strictify Timeline Panel ( #11165 )
...
* Get initial fix working
* add a couple of union types to tidy up a bit
2023-06-30 08:08:35 +00:00
Kerry
3930f1a10b
OIDC: extract success/failure handlers from token login function ( #11154 )
...
* extract success/failure handlers from token login function
* typo
* use for no homeserver error dialog too
* i18n
* tidy
* Update src/Lifecycle.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* move try again responsibility
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-29 22:33:44 +00:00
Janne Mareike Koschinski
f62fe2626c
GYU: Account Notification Settings ( #11008 )
...
* Implement new notification settings UI
* Sort new keywords at the front
* Make ts-strict happier
* Make ts-strict happier
* chore: fixed lint issues
* update beta card
* Fix issue with the user settings test
* chore: fixed lint issues
* Add tests for notification settings
* chore: fixed lint issues
* fix: spurious text failures
* improve tests further
* make ts-strict happier
* improve tests further
* Reduce uncovered conditions
* Correct snapshot
* even more test coverage
* Fix an issue with inverted rules
* Update res/css/views/settings/tabs/_SettingsIndent.pcss
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix license headers
* Improve i18n
* make linters happier
* Improve beta labels
* improve i18n
* chore: fixed lint issues
* fix: more lint issues
* Update snapshots to match changed text
* Update text as requested
* Remove labs image
* Update snapshots
* Correct an issue with one of the tests
* fix: keyword reconcilation code
* Determine mute status more accurately
* Address review comments
* Prevent duplicate updates
* Fix missing license header
* slight change to avoid ts-strict complaining
* fix test issue caused by previous merge
---------
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-06-29 15:46:31 +00:00
Michael Telatynski
95283d21bb
Conform more of the codebase to strict types ( #11162 )
2023-06-29 12:17:05 +01:00
Germain
9c7d935aae
Compound Typography pass ( #11103 )
...
* Integrate compound design tokens
The icons should not be included in this repo, and should live in the compound design token repo, but for simplicity sake at this phase of the integration they will be added here
* Delete unused or incorrect - sass variables
* Typography pass
* Deprecate _font-weights.pcss and use Compound instead
* lint fix
* Fix snapshot
* Fix typography pass feedback
* Remove unwanted e2e test
cypress tests should test functionality not visual output. And we should not test visual output by inspecting CSS properties
* lintfix
* Migration script for baseFontSize
* Updates after design review
* Update font scaling panel to use min/max size
* Fix custom font
* Fix font slider e2e test
* Update custom font
* Update new baseFontSizeV2
* Disambiguate heading props
* Fix appearance test
* change max font size
* fix e2ee test
* fix tests
* test baseFontSize migration code
* typescript strict
* Migrate baseFontSize account setting
* Change assertion for font size
* Fix font size controller test
2023-06-29 10:30:25 +00:00
alunturner
ce479c5774
comply with strict
and strictNullChecks
( #11161 )
2023-06-29 10:20:24 +00:00
Michael Telatynski
879832a4eb
Fix spurious error sending receipt in thread errors ( #11157 )
...
Trying to send an RR to the first event fails in threads
as that event is a thread root and cannot carry a threaded RR
so instead target the last event
2023-06-29 08:19:18 +00:00
Kerry
3f04e41c21
OIDC: navigate to authorization endpoint ( #11096 )
...
* add delegatedauthentication to validated server config
* dynamic client registration functions
* test OP registration functions
* add stubbed nativeOidc flow setup in Login
* cover more error cases in Login
* tidy
* test dynamic client registration in Login
* comment oidc_static_clients
* register oidc inside Login.getFlows
* strict fixes
* remove unused code
* and imports
* comments
* comments 2
* util functions to get static client id
* check static client ids in login flow
* remove dead code
* OidcRegistrationClientMetadata type
* navigate to oidc authorize url
* navigate to oidc authorize url
* test
* adjust for js-sdk code
* update test for response_mode query
* use new types
* strict
* tidy
2023-06-28 21:08:56 +00:00
Michael Weimann
c0db739d81
Apply strictNullChecks
to src/components/views/spaces/*
( #10517 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-28 15:39:19 +01:00
Michael Telatynski
209f5bdf33
Consider the empty push rule actions array equiv to deprecated dont_notify ( #11155 )
...
* Consider the empty push rule actions array equiv to deprecated dont_notify
* Switch primary tests to empty actions, add test for dont_notify
* strict types
2023-06-28 14:07:02 +00:00
Michael Telatynski
6836a5fa7b
Conform more code to strictNullChecks
and noImplicitAny
( #11156 )
2023-06-28 14:05:36 +01:00
Richard van der Hoff
46eb34a55d
Kill off references to deprecated getStoredDevice
and getStoredDevicesForUser
( #11152 )
...
* Use new `CryptoEvent.VerificationRequestReceived` event
https://github.com/matrix-org/matrix-js-sdk/pull/3514 deprecates
`CryptoEvent.VerificationRequest` in favour of
`CryptoEvent.VerificationRequestReceived`. Use the new event.
* Factor out `getDeviceCryptoInfo` function
I seem to be writing this logic several times, so let's factor it out.
* Factor out `getUserDeviceIds` function
Another utility function
* VerificationRequestToast: `getStoredDevice` -> `getDeviceCryptoInfo`
* SlashCommands: `getStoredDevice` -> `getDeviceCryptoInfo`
* MemberTile: `getStoredDevicesForUser` -> `getUserDeviceIds`
* Remove redundant mock of `getStoredDevicesForUser`
2023-06-28 12:39:34 +00:00
Richard van der Hoff
0a3a111327
Use new CryptoEvent.VerificationRequestReceived
event ( #11141 )
...
https://github.com/matrix-org/matrix-js-sdk/pull/3514 deprecates
`CryptoEvent.VerificationRequest` in favour of
`CryptoEvent.VerificationRequestReceived`. Use the new event.
2023-06-28 10:11:18 +00:00
Michael Telatynski
3ac9066e46
Only trap escape key for cancel reply if there is a reply ( #11140 )
...
fall through (to clear read marker) otherwise
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-28 10:10:45 +00:00
Michael Telatynski
d404e0656a
Conform more of the codebase to strictNullChecks ( #11135 )
2023-06-28 11:02:15 +01:00
Kerry
a87362a048
Unit test token login flow in MatrixChat
( #11143 )
...
* test tokenlogin
* whitespace
* tidy
* strict
2023-06-27 23:45:11 +00:00
Michael Telatynski
e1cad41bc3
Conform more of the codebase to strictNullChecks ( #11134 )
2023-06-27 17:39:56 +01:00
Johannes Marbach
bde51ae524
Update linkify to 4.1.1 ( #11132 )
...
* Update linkify to 4.1.1
Fixes : vector-im/element-web#23806
* Empty commit to nudge CI
* Remove obsolete `any` types
* Allow hyphens in domainpart
* Improve test name
2023-06-27 11:23:37 +00:00
Kerry
79a7b9aedc
Don't setup keys on login when encryption is force disabled ( #11125 )
...
* move shouldForceDisableEncryption to /crypto
* dont setup encryption when encryption is force disabled
* shuffle testing functions
* test post login security setup flows
* remove debug
* lint fixes
* strict fixes
* strict fixes p2
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-27 09:42:31 +00:00
Michael Telatynski
5cf818fefa
Fix spurious notifications on non-live events ( #11133 )
...
* Fix notifier not discriminating removed and backpaginated events
* Ignore events on the thread list generated timelines
* Add test
* tsc strict
2023-06-27 09:39:55 +00:00
Element Translate Bot
f73fc496e2
Translations update from Weblate ( #11145 )
...
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: Arusekk <arek_koz@o2.pl>
Co-authored-by: zufyiguspe <zufyiguspe@gufum.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Makkkkus <nygardboi@protonmail.com>
Co-authored-by: danntee <1044273440@qq.com>
2023-06-27 10:57:43 +01:00
Johannes Marbach
22077c5433
Prevent auto-translation within composer ( #11114 )
...
Fixes : vector-im/element-web#25624
2023-06-27 08:48:32 +00:00
Johannes Marbach
ab98268901
Fix caret jump when backspacing into empty line at beginning of editor ( #11128 )
...
Fixes : vector-im/element-web#22335
2023-06-23 15:24:05 +00:00
Richard van der Hoff
36c81f6416
VerificationPanel: avoid use of getStoredDevice
( #11129 )
...
* VerificationPanel: avoid use of `getStoredDevice`
This is deprecated and doesn't work with the rust-sdk.
* fix types
2023-06-23 12:38:06 +00:00
Kerry
358c37ad69
OIDC: attempt dynamic client registration ( #11074 )
...
* add delegatedauthentication to validated server config
* dynamic client registration functions
* test OP registration functions
* add stubbed nativeOidc flow setup in Login
* cover more error cases in Login
* tidy
* test dynamic client registration in Login
* comment oidc_static_clients
* register oidc inside Login.getFlows
* strict fixes
* remove unused code
* and imports
* comments
* comments 2
* util functions to get static client id
* check static client ids in login flow
* remove dead code
* OidcRegistrationClientMetadata type
* use registerClient from js-sdk
* use OidcError from js-sdk
2023-06-22 20:59:03 +00:00
Michael Telatynski
d935da2844
Fix server picker not allowing you to switch from custom to default ( #11127 )
2023-06-22 13:48:15 +00:00
Michael Telatynski
7b3a4e556a
Conform more of the codebase to strictNullChecks
( #11100 )
2023-06-22 14:39:36 +01:00
Kerry
328db8fdfd
OIDC: Check static client registration and add login flow ( #11088 )
...
* util functions to get static client id
* check static client ids in login flow
* remove dead code
* add trailing slash
* comment error enum
* spacing
* PR tidying
* more comments
* add ValidatedDelegatedAuthConfig type
* Update src/Login.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Update src/Login.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Update src/utils/ValidatedServerConfig.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* rename oidc_static_clients to oidc_static_client_ids
* comment
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-22 10:15:44 +00:00
Kerry
9f580a8680
Disable encryption toggle in room settings when force disabled ( #11122 )
...
* force disable encryption on room creation
* test allowChangingEncryption
* move into utils/room directory
* tests
* unit test CreateRoomDialog
* remove debug
* wait for constructor promises to settle
* test case for force_disable
* comment
* set forced value after resolving checkUserIsAllowedToChangeEncryption
* tidy and comments
* use label text in test
* disable encryption switch in room settings when force disabled
2023-06-21 23:17:30 +00:00
Kerry
a692fe2181
Add .well-known config option to force disable encryption on room creation ( #11120 )
...
* force disable encryption on room creation
* test allowChangingEncryption
* move into utils/room directory
* tests
* unit test CreateRoomDialog
* remove debug
* wait for constructor promises to settle
* test case for force_disable
* comment
* set forced value after resolving checkUserIsAllowedToChangeEncryption
* tidy and comments
* use label text in test
2023-06-21 21:50:01 +00:00
Johannes Marbach
9d9c55d92e
Handle permalinks in room topic ( #11115 )
...
* Handle permalinks in room topic
Fixes : vector-im/element-web#23395
* Add test for clicking non-link
2023-06-21 18:09:22 +00:00
Michael Telatynski
767cd628f9
Consider the unthreaded read receipt for Unread dot state ( #11117 )
...
* Consider the unthreaded read receipt for Unread dot state also
* Add tests
* Fix strict types
2023-06-21 15:07:16 +00:00
Michael Telatynski
9b5b053148
Use MatrixClientPeg::safeGet for strict typing ( #10989 )
2023-06-21 17:29:44 +01:00
alunturner
d64018ce26
Improve message body output from plain text editor ( #11124 )
...
* add failing test
* WIP - pause work until we can implement with new patch release of RTE
* focus tests purely on the body output
* remove unused import
2023-06-21 15:02:52 +00:00
alunturner
ad8543eb58
Increase RTE resilience ( #11111 )
...
* add retry logic to the dynamic import for the composers
* add retry to the conversion function too
* add retry to final function
* add comment
2023-06-21 08:22:06 +00:00
alunturner
ac3d6ab7dd
Add at room avatar for RTE ( #11106 )
...
* add at room avatar logic
* fix broken test
* fix TS error
* add param comment
* increase test coverage
* update code to solve conflict
2023-06-21 07:57:22 +00:00
Michael Telatynski
985bde70c5
Mark debug logging with distinct letter ( #11118 )
...
* Mark debug logging with distinct letter
* Simplify types
* Prettier
2023-06-20 15:27:59 +00:00
Germain
8aa46b3005
Restore breadcrumb preference setting ( #11116 )
...
* Restore breadcrumb preference setting
* restore snapshot
2023-06-20 11:58:03 +00:00
Richard van der Hoff
8570f16e31
Fix access to deprecated methods in SetupEncryptionStore
( #11107 )
...
* Fix access to deprecated methods in `SetupEncryptionStore`
* Updte tests
* more tests
2023-06-19 22:20:14 +00:00
Michael Telatynski
a491795aa7
Fix RoomView ignoring alias lookup errors due to them not knowing the roomId ( #11099 )
2023-06-19 17:08:16 +01:00
Richard van der Hoff
889318d3a2
Speed up waitForMember
if user already in room ( #11110 )
...
* Speed up `waitForMember` if user already in room
`waitForMember` waits for a user to join, or be invited, to a room. But if the
user is already in the room (ie, we miss the `NewMember` event), we end up
timing out after 1500ms.
We can save 1.5s here by returning immediately.
* fix strict type errors
* stfu SonarCloud
2023-06-19 14:11:25 +00:00
Germain
aca6a66f6a
Remove new room breadcrumbs ( #11104 )
...
* Deprecate new room breadcrumbs
* i18n
2023-06-19 08:18:46 +00:00
Suguru Hirahara
0f17f876d6
Fix style inconsistency on SecureBackupPanel ( #11102 )
2023-06-19 08:08:48 +00:00
alunturner
fa31ed55d2
Update rich text editor dependency and associated changes ( #11098 )
...
* fix logic error
* update types
* extract message content to variable
* use the new messageContent property
* sort out mention types to make them a map
* update getMentionAttributes to use AllowedMentionAttributes
* add plain text handling
* change type and handling for attributes when creating a mention in plain text
* tidy, add comment
* revert TS config change
* fix broken types in test
* update tests
* bump rte
* fix import and ts errors
* fix broken tests
2023-06-19 08:00:11 +00:00
Janne Mareike Koschinski
97765613bc
Implement new model, hooks and reconcilation code for new GYU notification settings ( #11089 )
...
* Define new notification settings model
* Add new hooks
* make ts-strict happy
* add unit tests
* chore: make eslint/prettier happier :)
* make ts-strict happier
* Update src/notifications/NotificationUtils.ts
Co-authored-by: Robin <robin@robin.town>
* Add tests for hooks
* chore: fixed lint issues
* Add comments
---------
Co-authored-by: Robin <robin@robin.town>
2023-06-17 00:17:51 +00:00
Suguru Hirahara
2972219959
Conform class names of mx_AppTileBody
for a widget and PiP widget to our naming policy ( #11002 )
...
* Rename classes of appTileBodyClass
Include mx_AppTileBody_fadeInSpinner in mx_AppTileBody, the class name applied by default
* Apply a common CSS declaration to mx_AppTileBody
* Strictify style rule specificity to avoid visual regressions - mx_AppTileBody--*
* Run prettier
* Change --normal to --large
* Edit and add comments
When you add, edit, or remove style rules from mx_appTileBody without causing a visual regression, it is imperative to keep in mind which selector should be worked on. The comments should help developers who are not familiar with the style codebase to avoid a regression.
* Rename classes of appTileBodyClass
Include mx_AppTileBody_fadeInSpinner in mx_AppTileBody, the class name applied by default
* Apply a common CSS declaration to mx_AppTileBody
* Strictify style rule specificity to avoid visual regressions - mx_AppTileBody--*
* Run prettier
* Change --normal to --large
* Edit and add comments
When you add, edit, or remove style rules from mx_appTileBody without causing a visual regression, it is imperative to keep in mind which selector should be worked on. The comments should help developers who are not familiar with the style codebase to avoid a regression.
* Update a Jest snapshot
* Update a Jest snapshot
2023-06-16 18:24:10 +00:00
Florian Duros
77da949fd4
CreateKeyBackupDialog.tsx
: Remove logic for servers which are not supporting cross-signing (#11076 )
2023-06-16 13:25:24 +01:00
Richard van der Hoff
06fa49a9da
Use new accessors for VerificationRequest
( #11092 )
...
* Switch verification request accessors to go via CryptoApi
part of https://github.com/vector-im/crypto-internal/issues/97
* Update references to `requestVerification`
https://github.com/vector-im/crypto-internal/issues/98
2023-06-16 10:27:56 +00:00
Michael Telatynski
dd46db4817
Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* ( #10988 )
2023-06-15 15:11:49 +01:00
Michael Telatynski
7236e48765
Allow maintaining a different right panel width for thread panels ( #11064 )
...
* Move Room context threadId our of RoomView state
* Allow maintaining a different right panel width for thread panels
* Fix types
* Fix types
* Add tests
* Increase coverage
* Increase coverage
* Add comments
* Update src/components/structures/MainSplit.tsx
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-15 11:57:58 +00:00
Michael Telatynski
cb2b1718ff
Remove feature_favourite_messages
as it is has been abandoned for now ( #11097 )
...
* Remove `feature_favourite_messages` as it is has been abandoned for now
* i18n
* Fix test
* Remove unused css
2023-06-15 11:02:45 +00:00
Michael Weimann
386a459b9f
Remove unknown MXIDs from invite suggestions ( #11055 )
2023-06-15 09:07:26 +00:00
Michael Telatynski
280f6a9d93
Use MatrixClientPeg::safeGet in src/components/views/* ( #10987 )
2023-06-15 08:46:19 +01:00
Germain
4243847f4f
Integrate compound design tokens ( #11091 )
...
* Integrate compound design tokens
The icons should not be included in this repo, and should live in the compound design token repo, but for simplicity sake at this phase of the integration they will be added here
* lintfix
* Use correct SpyInstance import
* Using npm build of design tokens
2023-06-14 15:49:14 +00:00
Richard van der Hoff
b9b93264b6
Remove references to VerificationRequest
( #11050 )
...
* Update references to `VerificationRequestEvent`
* Update references to `Phase`
* update references to legacy `PHASE_*` constants
* Replace `request.canAccept` with `canAcceptVerificationRequest`
* Replace `VerificationRequest` with the interface throughout
* Minor strict type fixes
* Add a couple of tests
2023-06-14 14:35:32 +00:00
Michael Telatynski
6486255f54
Fix slash commands not being enabled in certain cases ( #11090 )
...
* Fix slash commands not being enabled in certain cases
* Fix import cycle
2023-06-14 12:49:18 +00:00
Michael Telatynski
9c48487d85
Prefer MatrixClientContext over MatrixClientPeg ( #10986 )
2023-06-14 13:42:07 +01:00
Suguru Hirahara
b40f29f04c
Fix visual regressions around widget permissions ( #10954 )
...
* Add a Jest snapshot of AppPermission
* Move the test inside 'for a pinned widget' category
* Make only spinner message bold
* Set font size specified with "mx_AppPermission_smallText" by default
- Add "mx_AppPermission_largeText" for elements whose size has not been specified with mx_AppPermission_smallText
- Create _AppWarning.pcss for AppWarning
* Make AppPermission panel scrollable, keeping the content at the center
* Run prettier
* Use Heading component
* Use Icon component
* Fix the test
2023-06-14 11:11:06 +00:00
Florian Duros
127b542233
Use crypto.isCrossSigningReady
in CrossSigningPanel
( #11080 )
2023-06-14 09:46:14 +00:00
Michael Telatynski
3f52de2f5b
Don't warn about the effects of redacting state events when redacting non-state-events ( #11071 )
2023-06-14 08:49:17 +00:00
Michael Telatynski
ea0e9abc2b
Allow specifying help URLs in config.json ( #11070 )
...
* Allow specifying help URLs in config.json
* Fix test
2023-06-14 07:45:19 +00:00
Michael Telatynski
ba28174ac0
Prevent escape in threads from sending focus to main timeline composer ( #11061 )
2023-06-14 07:42:40 +00:00
Suguru Hirahara
0ce3664434
Conform to the naming policy - AppsContainer resizer ( #11042 )
...
* Add a snapshot to track AppTile in AppsDrawer
* Conform to the naming policy - AppsContainer resizer
* Nest 'mx_AppsContainer_resizer_container_handle' to enforce the style
- mx_AppsContainer_resizer
- mx_AppsContainer_resizer_container
- mx_AppsContainer_resizer_container_handle
* Rename "mx_AppsContainer_resizer" to "mx_AppsDrawer_resizer"
PersistentVResizer is defined by mx_AppsDrawer (see const "classes")
2023-06-13 11:13:07 +00:00
Element Translate Bot
4973a89a6e
Translations update from Weblate ( #11081 )
...
* Translated using Weblate (Polish)
Currently translated at 100.0% (3779 of 3779 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3779 of 3779 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Vietnamese)
Currently translated at 81.7% (3091 of 3779 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Polish)
Currently translated at 100.0% (3779 of 3779 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
* Translated using Weblate (Polish)
Currently translated at 100.0% (3779 of 3779 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 91.4% (3457 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3779 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3781 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (German)
Currently translated at 100.0% (3781 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3781 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3781 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3781 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Vietnamese)
Currently translated at 81.8% (3093 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3781 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (French)
Currently translated at 100.0% (3781 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Finnish)
Currently translated at 91.1% (3447 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3781 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Hungarian)
Currently translated at 99.7% (3773 of 3781 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Polish)
Currently translated at 100.0% (3780 of 3780 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3780 of 3780 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Hungarian)
Currently translated at 99.8% (3757 of 3764 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Hungarian)
Currently translated at 99.8% (3757 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Swedish)
Currently translated at 99.0% (3729 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Vietnamese)
Currently translated at 83.1% (3128 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Swedish)
Currently translated at 99.1% (3731 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 91.4% (3442 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
* Translated using Weblate (Vietnamese)
Currently translated at 84.4% (3177 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: http://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Polish)
Currently translated at 100.0% (3752 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3752 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3752 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3752 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3752 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3752 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Vietnamese)
Currently translated at 84.9% (3189 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (German)
Currently translated at 100.0% (3752 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 91.6% (3439 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
* Translated using Weblate (Vietnamese)
Currently translated at 85.1% (3196 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
* Translated using Weblate (Portuguese)
Currently translated at 9.7% (366 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.8% (369 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.8% (371 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.8% (371 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.9% (372 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.9% (372 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.9% (373 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.9% (373 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.9% (374 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.9% (374 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 9.9% (375 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.0% (376 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.0% (377 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.0% (377 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.0% (378 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.1% (379 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.1% (380 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.1% (380 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.5% (394 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.5% (394 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.5% (395 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.5% (395 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.5% (396 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.5% (396 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.7% (402 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 10.7% (402 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 11.0% (413 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 11.0% (413 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 11.3% (426 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 12.6% (473 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 14.2% (533 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 14.6% (549 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Portuguese)
Currently translated at 20.2% (761 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt/
* Translated using Weblate (Ukrainian)
Currently translated at 99.9% (3751 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (3752 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Hungarian)
Currently translated at 99.7% (3742 of 3752 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
---------
Co-authored-by: raspin0 <marcinekk13@interia.pl>
Co-authored-by: Claudio Satriano <satriano@gmail.com>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: someone1611 <hahahahacker2009@outlook.com>
Co-authored-by: phardyle <bradney_ccea@aleeas.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Tuomas Hietala <tuomas.hietala@iki.fi>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Balázs Meskó <meskobalazs@gmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: Someone <hahahahacker2009@gmail.com>
Co-authored-by: Rauno Ots <rots00@gmail.com>
Co-authored-by: Peter Chen <petercpg@gmail.com>
Co-authored-by: Pedro costa <c.pedro@live.com.pt>
Co-authored-by: luy dinilta <luydinilta@gufum.com>
Co-authored-by: artem <element@polimail.one>
2023-06-13 09:27:37 +00:00
Kerry
41dfec20bf
add delegatedauthentication to validated server config ( #11053 )
2023-06-13 01:43:25 +00:00
Florian Duros
d5d1ec775c
Use new api CryptoApi.getCrossSigningStatus
in CrossSigningPanel
( #11052 )
...
* Use new api `CryptoApi.getCrossSigningStatus` in `CrossSigningPanel`
* Update `CrossSigningPanel-test.tsx`
* Update `publicKeysOnDevice`
* Fix `CryptoApi` import
* Fix strict type
* Fix tests
* Remove `crossSigningInfo` in `mockClientMethodsCrypto`
* Move matrix client initialization in `beforeEach`
2023-06-12 18:33:39 +00:00
alunturner
e32823e5fe
Allow image pasting in plain mode in RTE ( #11056 )
...
* get rough funcitonality working
* try to tidy up types
* fix merge error
* fix signature change error
* type wrangling
* use onBeforeInput listener
* add onBeforeInput handler, add logic to onPaste
* fix type error
* bring plain text listeners in line with useInputEventProcessor
* extract common function to util file, move tests
* tidy comment
* tidy comments
* fix typo
* add util tests
* add text paste test
2023-06-12 11:28:00 +00:00
Richard van der Hoff
47ab99f908
remove references to VerificationBase
( #10996 )
2023-06-09 15:49:44 +00:00
maheichyk
53b42e3217
Show room options menu if "UIComponent.roomOptionsMenu" is enabled ( #10365 )
...
* Show room options menu if "UIComponent.roomOptionsMenu" is enabled
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
* Explicit type is removed.
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
---------
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-06-09 12:33:54 +00:00
alunturner
53415bfdfe
Allow image pasting in rich text mode in RTE ( #11049 )
...
* add comments to rough first solution
* allow eventRelation prop to pass to both composers
* use eventRelation in image paste
* add image pasting to rich text mode of rich text editor
* extract error handling to function
* type the error handler
* add tests
* make behaviour mimic SendMessage
* add sad path tests
* refactor to use catch throughout
* update comments
* tidy up tests
* add special case and change function signature
* add comment
* bump rte to 2.2.2
2023-06-09 09:11:38 +00:00
Michael Telatynski
a861a54fcd
Matrix matrix scheme permalink constructor not stripping query params ( #11060 )
2023-06-09 07:20:05 +00:00
Kerry
5264aa6138
use matrixclientpeg in manual verification dialog ( #11059 )
2023-06-08 22:03:01 +00:00
Kerry
700786ad86
OIDC: add config flag ( #11007 )
...
* add settings flag for native oidc flow
* i18n
2023-06-07 21:32:09 +00:00
Richard van der Hoff
34439ee652
Simplify references to VerificationRequest
( #11045 )
...
* Use new `VerificationRequest.getQRCodeBytes()`
* Use new `VerificationRequest.otherDeviceId`
* Remove references to `VerificationRequest.channel`
* Replace references to `VerificationRequest.{requesting,receiving}UserId`
Normally these are guarded by `request.initiatedByMe` so we can trivially
replace it with `request.otherUserId` or `client.getUserId()`. In one place we
actually need to apply some logic.
* increase test coverage
* Even more test coverage
* Even more test coverage
2023-06-07 14:43:44 +00:00
Robin
ac2c9cef8d
Make group calls respect the ICE fallback setting ( #11047 )
2023-06-07 13:29:39 +00:00
Michael Weimann
1091e14a3d
Migrate broadcast MSC3912 redaction ( #11014 )
2023-06-07 13:24:01 +00:00
Richard van der Hoff
4c73903274
Use getShowSasCallbacks()
and getReciprocateQrCodeCallbacks()
( #11015 )
...
* Use `getShowSasCallbacks()` and `getShowQrCodeCallbacks()`
... instead of type-casting
* Update method names
These methods got renamed in the js-sdk PR
* Fix strict typing errors
2023-06-07 13:05:23 +00:00
Kerry
b2452a45ff
remove intentionalmentions client opt ( #11048 )
2023-06-07 12:25:34 +00:00
Michael Telatynski
2e68479577
Add config to skip widget_build_url for DM rooms ( #11044 )
...
* Add config to skip widget_build_url for DM rooms
* Add tests
2023-06-06 14:07:51 +00:00
Richard van der Hoff
2801afe570
Inline VerificationRequest.{invalid,ready,started,done,cancelled}
( #11013 )
...
* Inline `VerificationRequest.{invalid,ready,started,done,cancelled}`
These methods are all just shortcuts for checks on `phase`, so let's get rid of
them
* update test
* Add some more tests
* even more coverage
* fix tests
2023-06-06 08:27:53 +00:00
Michael Telatynski
6fa005dcfc
Inhibit interactions on forward dialog message previews ( #11025 )
...
* Inhibit interactions on forward dialog message previews
and improve inhibiting of video message body
* Consolidate prop types
* Iterate
* Update src/components/views/messages/IBodyProps.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-06 08:20:21 +00:00
Florian Duros
68ebcd2956
Removed DecryptionFailureBar.tsx
( #11027 )
2023-06-05 15:02:20 +00:00
Michael Telatynski
6b46d6e4f8
Add MatrixClientPeg::safeGet and use it in tests ( #10985 )
2023-06-05 18:12:23 +01:00
Michael Telatynski
c47b587225
Switch from grapheme-splitter to graphemer ( #11037 )
2023-06-05 14:39:46 +00:00
Suguru Hirahara
6b1c2e09f6
Add general-room-settings-tab.spec.ts ( #10997 )
2023-06-05 13:58:25 +00:00
Michael Telatynski
267188dbab
Clear thread panel event permalink when changing rooms ( #11024 )
...
To not get you stuck being constantly bounced to the middle of a thread
2023-06-05 13:53:30 +00:00
Michael Telatynski
df4bc1ed2a
Remove hardcoded servers from internationalisation ( #11026 )
2023-06-05 13:53:11 +00:00
Suguru Hirahara
43d9e30673
Fix fadein spinner placement on AppTileBody ( #10970 )
2023-06-01 15:17:28 +00:00
Michael Telatynski
21ffc50f1e
Pass around MatrixClients instead of using MatrixClientPeg ( #10984 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-06-01 14:43:24 +01:00
Michael Telatynski
b6b9ce3c46
When joining room in sub-space join the parents too ( #11011 )
...
* When joining room in sub-space join the parents too
* Fix joined state not updating on sync
* Add membership check
* Update tests
* Improve coverage
* Make TS happier
* Make TS happier
2023-06-01 12:35:47 +00:00
Michael Weimann
ca53b11aa9
Apply strictNullChecks
to src/utils/local-room.ts
( #10915 )
...
* Stricity local room
* Handle error
2023-06-01 11:55:26 +00:00
Michael Weimann
b5727cb463
Include thread replies in message previews ( #10631 )
...
* Include thread replies to message previews
* Extend tests
* Fix type issue
* Use currentColor for thread icon
* Fix long room name overflow
* Update snapshots
* Fix preview
* Fix typing issue
* Fix type issues
* Tweak thread reply detection
* Extend tests
* Fix type issue
* Fix test
2023-06-01 07:53:48 +00:00
Kerry
143ffccb0a
Fix: server picker validates unselected option ( #11020 )
...
* add aria-label to default homeserver checkbox
* test ServerPickerDialog
* remove debug
* strict fixes
* dont validate unselected server field on ServerPickerDialog
* i18n
2023-06-01 01:08:44 +00:00
Kerry
a28f44a075
OIDC: unit test ServerPickerDialog ( #11019 )
...
* add aria-label to default homeserver checkbox
* test ServerPickerDialog
* remove debug
* strict fixes
* use testid instead of aria-label
* i18n
2023-05-31 21:22:47 +00:00
Kerry
e9a8f4a11d
Use semantic headings in space preferences ( #11021 )
...
* remove mx_SettingsTab_heading style
* use semantic headings in space preferences dialog
* remove unused settings style: mx_SettingsTab_subheading
2023-05-31 21:22:03 +00:00
Michael Telatynski
a9abf58ac3
Update Permalinks.ts
2023-05-31 12:55:14 +01:00
Michael Telatynski
636b6884e8
Update Permalinks.ts
2023-05-31 12:48:36 +01:00
Kerry
7ef6e1b6f8
Use semantic headings in user settings - Ignored users ( #11006 )
...
* account password section
* account email and phone numbers
* update cypress selectors
* use settingsection for General section
* use semantic headings for profile settings
* fix show advanced spacing
* udpate snapshot
* use semantic headings in mjolnir settings
* remove debug
* unit test UI changes for mjolnir settings
2023-05-30 22:42:53 +00:00
Michael Telatynski
3847367088
Fix call to startSingleSignOn
passing enum in place of idpId ( #10998 )
2023-05-30 10:08:50 +00:00
Michael Telatynski
5c623cd573
Fix layout regression in public space invite dialog ( #11009 )
2023-05-30 09:30:27 +00:00
Michael Telatynski
938aefc51c
Pass around MatrixClients instead of using MatrixClientPeg ( #11000 )
2023-05-30 10:36:34 +01:00
Suguru Hirahara
e6cddcbfe1
Remove obsolete style rules - mx_SpaceRoomView_inviteTeammates_betaDisclaimer ( #11004 )
...
* Remove obsolete style rules - mx_SpaceRoomView_inviteTeammates_betaDisclaimer
* Remove the deprecated disclaimer
* Remove ExternalLink
* Add a Percy snapshot - 'Invite your teammates' dialog
2023-05-29 21:13:52 +00:00
Kerry
b35fb4fed2
Use semantic headings in user settings - profile ( #10973 )
...
* account password section
* account email and phone numbers
* update cypress selectors
* use settingsection for General section
* use semantic headings for profile settings
* fix show advanced spacing
* udpate snapshot
2023-05-29 01:36:09 +00:00
Kerry
520659242b
Fix spacing regression in user settings - roles & permissions ( #10993 )
...
* add content container to settingsfieldset
* fix spacing
2023-05-28 22:20:44 +00:00
Kerry
9080f3dd55
await promises ( #10992 )
2023-05-28 22:19:37 +00:00
Andy Balaam
67313743fc
Fall back to receipt timestamp if we have no event (react-sdk part) ( #10974 )
2023-05-26 14:14:47 +00:00
Richard van der Hoff
810b8ff6d7
Update references to QrCodeEvent
, SasEvent
and VerificationEvent
( #10991 )
...
* Basic test for IncomingSasDialog
* Basic test for VerificationPanel
* Replace references to IGeneratedSas and ISasEvent
* Some secret references to the callbacks types
* Update references to `QrCodeEvent`, `SasEvent` and `VerificationEvent`
2023-05-26 09:29:32 +00:00
Kerry
530197bfcd
Move session manager out of beta ( #10968 )
...
* remove old device manager
* undo type fix for cypress crypto
* update test case
2023-05-26 01:58:28 +00:00
Kerry
e326526c10
set correct action for view device list button ( #10979 )
2023-05-25 22:44:40 +00:00
Kerry
d0d9a36d07
Use semantic headings in user settings - account ( #10972 )
...
* account password section
* account email and phone numbers
* update cypress selectors
2023-05-25 22:42:01 +00:00
Richard van der Hoff
5593872b7a
Fix display of devices without encryption support in Settings dialog ( #10977 )
...
* Update tests to demonstrate broken behaviour
* Fixes and comments
* Remove exception swallowing
This seems like it causes more problems than it solves.
2023-05-25 16:12:01 +00:00
Michael Telatynski
796ed35e75
Refactor SlashCommands to not use MatrixClientPeg ( #10905 )
2023-05-25 16:29:48 +01:00