Clark Fischer
4c1e4f5127
Fix "[object Promise]" appearing in HTML exports ( #9975 )
...
Fixes https://github.com/vector-im/element-web/issues/24272
2023-01-30 14:31:32 +00:00
Germain
3e2bf5640e
Update to supportsThreads ( #9907 )
2023-01-30 12:20:11 +00:00
Andy Balaam
a21929dba0
Convert RoomCreate to a functional component ( #9999 )
2023-01-30 10:02:32 +00:00
AHMAD KADRI
c7b01af49e
Should open new 1:1 chat room after leaving the old one ( #9880 )
...
* should open new 1:1 chat room after leaving the old one
Signed-off-by: Ahmad Kadri <ahmad.kadri@nordeck.net>
* change the copyright
* update the test
Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>
---------
Signed-off-by: Ahmad Kadri <ahmad.kadri@nordeck.net>
Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>
Co-authored-by: Oliver Sand <oliver.sand@nordeck.net>
Co-authored-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-01-30 09:54:05 +00:00
Clark Fischer
a8aa4de4b4
Member avatars without canvas ( #9990 )
...
* Strict typechecking fixes for Base/Member/Avatar
Update the core avatar files to pass `--strict --noImplicitAny` typechecks.
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
* Add tests for Base/Member/Avatar
More thoroughly test the core avatar files. Not necessarily the most thorough,
but an improvement.
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
* Extract TextAvatar from BaseAvatar
Extracted the fallback/textual avatar into its own component.
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
* Use standard HTML for non-image avatars
Firefox users with `resistFingerprinting` enabled were seeing random noise
for rooms and users without avatars. There's no real reason to use data
URLs to present flat colors.
This converts non-image avatars to inline blocks with background colors.
See https://github.com/vector-im/element-web/issues/23936
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
* Have pills use solid backgrounds rather than colored images
Similar to room and member avatars, pills now use colored pseudo-elements
rather than background images.
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
---------
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-30 09:50:08 +00:00
Andy Balaam
364c453907
Tests for RoomCreate ( #9997 )
...
* Tests for RoomCreate tile
* Prefer screen instead of holding the return from render
* use userEvent instead of fireEvent
2023-01-27 15:23:23 +00:00
Andy Balaam
d84509d8d3
Implement MSC3946 for AdvancedRoomSettingsTab ( #9995 )
2023-01-27 14:07:05 +00:00
Hugh Nimmo-Smith
d698193196
Implementation of MSC3824 to make the client OIDC-aware ( #8681 )
2023-01-27 11:06:10 +00:00
Marco Bartelt
5807c64990
Improve avatar settings accessibility ( #9985 )
...
Co-authored-by: Germain <germain@souquet.com>
2023-01-27 07:57:24 +00:00
Florian Duros
406edfc27d
Fix link creation with backward selection ( #9986 )
...
Fix link creation with backward selection
2023-01-26 10:08:23 +00:00
Callum Brown
6961c25603
Support registration tokens ( #7275 )
...
* Support token authenticated registration
https://spec.matrix.org/v1.2/client-server-api/#token-authenticated-registration
Signed-off-by: Callum Brown <callum@calcuode.com>
* Backwards compatibility with unstable auth type
Some server installs are not updated to use the stable version
of the registration token authentication type, so also handle
the unstable version defined in MSC3231.
Signed-off-by: Callum Brown <callum@calcuode.com>
* Make LOGIN_TYPE public and readonly
Co-authored-by: Travis Ralston <travpc@gmail.com>
* Remove line related to skinning
Signed-off-by: Callum Brown <callum@calcuode.com>
* Change empty string to null
Signed-off-by: Callum Brown <callum@calcuode.com>
* Use "public"s for new code style
Signed-off-by: Callum Brown <callum@calcuode.com>
* Change input to AccessibleButton
Signed-off-by: Callum Brown <callum@calcuode.com>
* Add more detail regarding source of token
Signed-off-by: Callum Brown <callum@calcuode.com>
* Fix lint error
The text and button type will be the same every time
for registration tokens, unlike (possibly) for SSO.
Signed-off-by: Callum Brown <callum@calcuode.com>
* Change null back to ""
Due to the following warning when attempting to test:
> Warning: `value` prop on `input` should not be null.
> Consider using an empty string to clear the component or
> `undefined` for uncontrolled components.
Signed-off-by: Callum Brown <callum@calcuode.com>
* Disable submit button when no token entered
Signed-off-by: Callum Brown <callum@calcuode.com>
* Add test for registration tokens
Adapted from test/components/views/dialogs/InteractiveAuthDialog-test.tsx
Signed-off-by: Callum Brown <callum@calcuode.com>
* Fix linting errors
Signed-off-by: Callum Brown <callum@calcuode.com>
* Fix test for registration tokens
Signed-off-by: Callum Brown <callum@calcuode.com>
Signed-off-by: Callum Brown <callum@calcuode.com>
Co-authored-by: Travis Ralston <travpc@gmail.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-24 12:02:07 +00:00
Michael Weimann
29c193210f
Stop broadcasts on logout ( #9978 )
...
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-24 10:58:37 +00:00
Element Translate Bot
0b1fcd208e
Translations update from Weblate ( #9979 )
...
* Translated using Weblate (German)
Currently translated at 99.9% (3705 of 3706 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (French)
Currently translated at 100.0% (3706 of 3706 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (3706 of 3706 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 77.5% (2873 of 3706 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt_BR/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (3706 of 3706 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Thai)
Currently translated at 12.1% (450 of 3706 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/th/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3706 of 3706 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% (3706 of 3706 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3706 of 3706 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% (3706 of 3706 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3708 of 3708 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% (3708 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (German)
Currently translated at 99.9% (3707 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Spanish)
Currently translated at 98.5% (3656 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
* Translated using Weblate (French)
Currently translated at 100.0% (3708 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (3708 of 3708 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 100.0% (3708 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3708 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Japanese)
Currently translated at 90.7% (3365 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3708 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Galician)
Currently translated at 94.0% (3488 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3708 of 3708 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (3709 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3709 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3709 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3709 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (French)
Currently translated at 100.0% (3709 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3709 of 3709 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% (3709 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3709 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (German)
Currently translated at 100.0% (3709 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Esperanto)
Currently translated at 78.9% (2928 of 3709 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
* Translated using Weblate (German)
Currently translated at 100.0% (3711 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3711 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3711 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3711 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3711 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3711 of 3711 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% (3711 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Albanian)
Currently translated at 99.6% (3698 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3711 of 3711 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% (3711 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (German)
Currently translated at 100.0% (3711 of 3711 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (German)
Currently translated at 100.0% (3712 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Arabic)
Currently translated at 36.6% (1360 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ar/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3712 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3712 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3712 of 3712 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% (3712 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3712 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (French)
Currently translated at 100.0% (3712 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3712 of 3712 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 100.0% (3712 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Japanese)
Currently translated at 91.8% (3410 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
* Translated using Weblate (Finnish)
Currently translated at 92.5% (3434 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3712 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Japanese)
Currently translated at 93.6% (3478 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
* Translated using Weblate (Japanese)
Currently translated at 93.8% (3484 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
* Translated using Weblate (Icelandic)
Currently translated at 88.3% (3278 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/is/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 77.4% (2876 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt_BR/
* Translated using Weblate (Japanese)
Currently translated at 94.4% (3506 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
* Translated using Weblate (Icelandic)
Currently translated at 89.9% (3340 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/is/
* Translated using Weblate (Japanese)
Currently translated at 94.6% (3514 of 3712 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Feroli <feroli@tuta.io>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: pk'Mysickz <kokoloman001@gmail.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: josé m <xosem@disroot.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Suguru Hirahara <ovestekona@protonmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Christian Paul <info@jaller.de>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Ali-x98 <ahj696@hotmail.com>
Co-authored-by: Balázs Meskó <meskobalazs@gmail.com>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Thiago Blake <thiago@giganet.inf.br>
2023-01-24 10:43:26 +00:00
Michael Weimann
7df973d569
Fix ongoing broadcast recording after connection error ( #9974 )
...
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-24 10:36:31 +00:00
Michael Weimann
533b250bb6
Handle broadcast chunk errors ( #9970 )
...
* Use strings for broadcast playback states
* Handle broadcast decode errors
2023-01-24 10:20:26 +00:00
Florian Duros
60edb85a1a
Merge pull request #9969 from matrix-org/florianduros/fix/thread-rte-focus
...
Fix RTE focus behaviour in threads
2023-01-24 09:51:31 +01:00
Michael Weimann
c1c50ec182
Stabilise seekign in broadcast ( #9968 )
2023-01-23 17:32:04 +01:00
Michael Weimann
ed06ed0185
Fix seekbar position for zero length audio ( #9949 )
2023-01-23 17:28:31 +01:00
Andy Balaam
51b4555106
Merge pull request #9934 from matrix-org/kegan/lists-as-keys
...
refactor: sliding sync: convert to lists-as-keys rather than indexes
2023-01-23 15:26:42 +00:00
Florian Duros
1da78fa6bc
Fix RTE focus behaviour in threads
2023-01-23 15:41:01 +01:00
Janne Mareike Koschinski
a0a419a3b8
Allow thread panel to be closed after being opened from notification ( #9937 )
...
* Allow thread panel to be closed after being opened from notification
* Add test to ensure the behavior is correct
2023-01-23 14:35:44 +01:00
kegsay
6ec25234d7
Merge branch 'develop' into kegan/lists-as-keys
2023-01-20 16:24:18 +00:00
Robin
9d0230b6ab
Show the room name in the room header during calls ( #9942 )
2023-01-20 08:45:39 -05:00
Robin
da30b3069c
Tweak call lobby buttons to more closely match designs ( #9943 )
2023-01-20 08:45:27 -05:00
Kegan Dougal
6a75054e1a
More tests
2023-01-20 12:38:58 +00:00
Michael Weimann
234061c847
Use useTypedEventEmitterState for broadcasts ( #9947 )
2023-01-20 13:33:00 +01:00
alunturner
9dbc5f3773
Add quotes to rich text editor ( #9932 )
...
* bump rich text editor to 0.20.0
* add new svg for the button
* show the button
* make the composer display look like the timeline display
2023-01-20 10:55:46 +00:00
Kegan Dougal
8e774e1924
Prettier
2023-01-20 10:45:55 +00:00
Kegan Dougal
66d4715e84
Remove accidental import
2023-01-20 10:41:32 +00:00
Kegan Dougal
769fd4a786
TS errors
2023-01-20 10:32:53 +00:00
Florian Duros
075df4d1b3
Call Action.ClearAndFocusSendMessageComposer before sending a message
2023-01-20 10:42:25 +01:00
kegsay
fcde4b7880
Merge branch 'develop' into kegan/lists-as-keys
2023-01-19 16:52:06 +00:00
alunturner
a63da74f06
Add code blocks to rich text editor ( #9921 )
...
* Applies small changes to code block display in timeline
* Makes the composer code block look like the timeline display, but without line numbers
* Adds a button to allow code blocks to be implemented
* Adds tests for the new button
2023-01-19 15:49:21 +00:00
Kegan Dougal
7c2dd7224f
unbreak jest tests
2023-01-19 11:15:08 +00:00
Kegan Dougal
186938d32a
prettier
2023-01-19 11:02:43 +00:00
alunturner
8a2e386531
Add disabled button state to rich text editor ( #9930 )
...
* add disabled css state
* conditionally apply disabled css state
* hides disabled tooltips
2023-01-19 09:24:29 +00:00
Florian Duros
b47588fc5c
Fix {enter} press in RTE ( #9927 )
...
Fix enter combination in RTE
2023-01-19 09:17:18 +00:00
Michael Weimann
eb43f3449e
Fix the problem that the password reset email has to be confirmed twice ( #9926 )
2023-01-19 09:03:48 +01:00
Kegan Dougal
c34df2bf96
Remove const from hook
2023-01-18 17:24:31 +00:00
Kegan Dougal
21f0825703
refactor: sliding sync: convert to lists-as-keys rather than indexes
...
Sister PR to https://github.com/matrix-org/matrix-js-sdk/pull/3076
2023-01-18 17:19:12 +00:00
Germain
f0a7b2886e
replace .at() with array.length-1
2023-01-18 16:43:18 +00:00
Janne Mareike Koschinski
4d2b27a96d
Fix broken threads list timestamp layout ( #9922 )
...
* Add option to show full identifier as tooltip on sender profiles
* Show full user id as tooltip on threads list entries
* Fix broken threads list timestamp layout
Previously, thread list timestamps would overflow
into the unread messages bubble on the right.
This is fixed by resetting the width of the
timestamp and ensuring both the timestamp and the
display name can shrink if necessary.
Both now also use ellipses if necessary.
2023-01-18 15:56:43 +01:00
Michael Weimann
6d354e3e10
Add test coverage ( #9928 )
2023-01-18 15:49:34 +01:00
Florian Duros
dacbf76227
Disable multiple messages when {enter} is pressed multiple times ( #9929 )
2023-01-18 13:20:49 +00:00
Michael Weimann
70d3d03c15
Fix logout devices on password reset ( #9925 )
2023-01-18 08:25:03 +01:00
Michael Weimann
22a2a93751
Only notify for first broadcast chunk ( #9901 )
...
* Only notify for first broadcast chunk
* Trigger CI
2023-01-17 09:04:36 +00:00
Michael Weimann
fe0d3a7668
Error handling if broadcast events could not be sent ( #9885 )
2023-01-17 07:57:59 +00:00
Andy Balaam
7af4891cb7
Merge pull request #9802 from nordeck/widget_state_no_update_invitation_room
...
State event updates are not forwarded to the widget from invitation room
2023-01-16 15:33:25 +00:00
Richard van der Hoff
a0de2254f3
Change the rageshake "app" for auto-rageshakes ( #9909 )
...
It's super-confusing to have most auto-rageshakes going to one rageshake app,
but a few to the main app. Let's change the default so we can stop it
happening.
2023-01-16 15:00:03 +00:00
Michael Telatynski
2eef3c47e6
Clear isLogin theme override when user is no longer viewing login screens ( #9911 )
2023-01-16 09:49:41 +00:00