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 cdffd1ca1f7b60334a8ca3bba64d0a4e6d2b68d0)
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