Commit graph

26798 commits

Author SHA1 Message Date
Percy
352ca1d270 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2974 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-06-01 14:43:51 +00:00
iaiz
40619b83e0 Translated using Weblate (Spanish)
Currently translated at 100.0% (2974 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-06-01 14:43:49 +00:00
Trendyne
be55864c5e Translated using Weblate (Icelandic)
Currently translated at 22.1% (660 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/is/
2021-06-01 14:43:46 +00:00
Hivaa
92119afbfc Translated using Weblate (Persian)
Currently translated at 100.0% (2974 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-06-01 14:43:45 +00:00
Tirifto
20a03de6cc Translated using Weblate (Esperanto)
Currently translated at 99.9% (2972 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-06-01 14:43:43 +00:00
libexus
fc18e21ae1 Translated using Weblate (German)
Currently translated at 99.3% (2956 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-06-01 14:43:33 +00:00
Michael Telatynski
e2e3b4a454
Merge pull request #6122 from matrix-org/t3chguy/fix/rs5414
Fix all DMs wrongly appearing in room list when `m.direct` is changed
2021-06-01 15:42:47 +01:00
Jaiwanth
01a3b854c3 Add sticker support 2021-06-01 20:09:12 +05:30
Michael Telatynski
a1ff060138
Merge pull request #6123 from matrix-org/t3chguy/fix/17517
Update way of checking for registration disabled
2021-06-01 15:20:21 +01:00
Michael Telatynski
4e6f1e6294 add comment 2021-06-01 15:00:59 +01:00
Germain Souquet
591314141b Add methods visibility for AutoHideScrollbar 2021-06-01 14:15:42 +01:00
Germain Souquet
73ca6b2ad0 Add passive flag to Tooltip scroll event listener 2021-06-01 14:14:02 +01:00
Germain Souquet
308ac505a8 Migrate AutoHideScrollbar to TypeScript
Also changed the way the React.RefObject is collected
2021-06-01 14:13:46 +01:00
Jaiwanth
fc61e96218 Remove unnecessary export 2021-06-01 17:22:13 +05:30
Jaiwanth
9c38af0075 Make reply UI work even when javascript is disabled 2021-06-01 17:06:39 +05:30
Michael Telatynski
c6c1e09cae
Merge pull request #6126 from matrix-org/t3chguy/fix/rs5384
Fix the ability to remove avatar from a space via settings
2021-06-01 12:11:10 +01:00
Michael Telatynski
72fab80bb9
Merge pull request #6125 from matrix-org/t3chguy/fix/17521
Switch to stable endpoint/fields for MSC2858
2021-06-01 12:07:41 +01:00
J. Ryan Stinnett
173b0e9d78
Merge pull request #6117 from SimonBrandner/fix/down-arrow-edit/17491
Clear stored editor state when canceling editing using a shortcut
2021-06-01 12:07:23 +01:00
Michael Telatynski
6e74ab0cf5 Fix the ability to remove avatar from a space via settings 2021-06-01 11:11:04 +01:00
Michael Telatynski
4526998332 Remove brand prefix too 2021-06-01 11:04:45 +01:00
Michael Telatynski
f11a7083ae Switch to stable endpoint/fields for MSC2858 2021-06-01 11:01:09 +01:00
Michael Telatynski
e525d046c7 remove outdated TODO 2021-06-01 10:49:19 +01:00
Michael Telatynski
b2f01b8438 Respect newlines in space topics 2021-06-01 10:48:53 +01:00
Michael Telatynski
826efeaeaa Update way of checking for registration disabled
Spec says 403 + M_FORBIDDEN
2021-06-01 10:22:24 +01:00
Michael Telatynski
1ea73ae9ae Fix all DMs wrongly appearing in room list when m.direct is changed 2021-06-01 10:18:57 +01:00
Jaiwanth
1382bd4fee Handle icons and skip decryption checks during export 2021-06-01 14:47:01 +05:30
J. Ryan Stinnett
a8b6094482
Merge pull request #5674 from churchtools/default-username
Add url param `defaultUsername` to prefill the login username field
2021-06-01 10:12:31 +01:00
Germain Souquet
d894cc6f7a Merge branch 'develop' into gsouquet/switch-rooms 2021-06-01 09:02:28 +01:00
Jaiwanth
5f9cf5760d Fix untracked files 2021-06-01 12:50:31 +05:30
Jaiwanth
395b6ba4b5 Small refactor 2021-06-01 12:44:05 +05:30
Jaiwanth
80c0ad82fc Better file names 2021-06-01 12:40:03 +05:30
Hivaa
7de605259e Translated using Weblate (Persian)
Currently translated at 100.0% (2974 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-06-01 03:48:39 +00:00
Hivaa
595f8428f5 Translated using Weblate (Persian)
Currently translated at 100.0% (2974 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-06-01 03:41:14 +00:00
Hivaa
5734304cf9 Translated using Weblate (Persian)
Currently translated at 95.3% (2835 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-31 18:43:19 +00:00
Jaiwanth
a0a604618c Handle non-media attachments 2021-05-31 23:50:55 +05:30
Jaiwanth
01284ef8c6 Handle encrypted voice messages 2021-05-31 23:34:24 +05:30
Jaiwanth
5f1c9d0f88 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-05-31 22:58:11 +05:30
Jaiwanth
28a1a551fe Save users' avatars 2021-05-31 22:27:29 +05:30
Jaiwanth
fa073cd958 Save and display room avatars 2021-05-31 21:35:08 +05:30
Jaiwanth
59c1b67b7d Enable support for image, video and audio files 2021-05-31 21:01:19 +05:30
Jaiwanth
409213ceb4 Remove conditional 2021-05-31 19:07:49 +05:30
Jaiwanth
573a3ca983 Rewrite export tool to use existing components to render output, use existing source URLs for media 2021-05-31 19:01:32 +05:30
Šimon Brandner
d72c773e2d
clearStoredEditorState when canceling editing using a shortcut
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-29 08:26:53 +02:00
Germain Souquet
fd69fce1ba guard event listener from null values 2021-05-28 17:37:29 +01:00
Germain Souquet
f10e95956b Use passive option for scroll handler 2021-05-28 14:59:14 +01:00
Germain
71b217e4a1
Merge pull request #6110 from matrix-org/gsouquet/sticky-header-sizing 2021-05-28 14:49:49 +01:00
Germain Souquet
650b683761 Reposition sticky headers when layout has changed 2021-05-28 10:31:42 +01:00
Germain Souquet
29c4d9ffd0 Restore toggle LHS logic 2021-05-28 10:03:46 +01:00
David Baker
4a0d43d750
Merge pull request #6112 from matrix-org/dbkr/user_busy
Handle user_busy in voip calls
2021-05-28 09:43:02 +01:00
Germain Souquet
1a51ed9ffd Make breadcrumb animation run on the compositing layer 2021-05-28 09:34:08 +01:00
Trendyne
b54e850dad Translated using Weblate (Icelandic)
Currently translated at 22.1% (659 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/is/
2021-05-27 22:35:12 +00:00
Besnik Bleta
f476cbb80c Translated using Weblate (Albanian)
Currently translated at 99.6% (2964 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-05-27 22:35:11 +00:00
Tuomas Hietala
bcb3c591a4 Translated using Weblate (Finnish)
Currently translated at 90.8% (2702 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
2021-05-27 22:35:09 +00:00
Kaede
11a3ff414f Translated using Weblate (Japanese)
Currently translated at 78.2% (2326 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-05-27 22:35:00 +00:00
Hivaa
1bd9968c3e Translated using Weblate (Persian)
Currently translated at 26.6% (793 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-27 22:34:56 +00:00
Tirifto
355246c88f Translated using Weblate (Esperanto)
Currently translated at 97.9% (2914 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-05-27 22:34:47 +00:00
Thibault Martin
045ae490ee Translated using Weblate (French)
Currently translated at 100.0% (2974 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-05-27 22:34:40 +00:00
iaiz
d743b10b3f Translated using Weblate (Spanish)
Currently translated at 99.8% (2969 of 2974 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-05-27 22:34:38 +00:00
Michael Telatynski
890ac14090
Merge pull request #6105 from matrix-org/t3chguy/invitedialog
Avoid showing warning modals from the invite dialog after it unmounts
2021-05-27 23:07:47 +01:00
David Baker
c4a26893a0 Handle user_busy in voip calls
Newly added to MSC2746
2021-05-27 18:57:22 +01:00
Michael Telatynski
eef15394f2 extract buildRecents return type into an interface 2021-05-27 17:00:48 +01:00
Germain Souquet
aaca71b316 Reintroduce sticky header width 2021-05-27 12:44:53 +01:00
Germain Souquet
fcae19f831 Track left panel width using ResizeObserver 2021-05-27 12:36:16 +01:00
Michael Telatynski
086ce7c621
Merge pull request #6109 from matrix-org/t3chguy/fix/17387
Fix misleading child counts in spaces
2021-05-27 12:35:00 +01:00
Michael Telatynski
526bde4d9e
Merge pull request #6090 from matrix-org/t3chguy/fix/17257
Close creation menu when expanding space panel via expand hierarchy
2021-05-27 11:41:55 +01:00
Germain Souquet
51d88062f9 Merge branch 'develop' into gsouquet/switch-rooms 2021-05-27 10:22:16 +01:00
Michael Telatynski
d6d0922753 Fix misleading child counts in spaces 2021-05-27 10:11:28 +01:00
Jaiwanth
60ef6f9332 Add emote support and show a toast if the message isn't exported 2021-05-27 14:06:04 +05:30
Germain Souquet
f31ec343f4 Use Set::size instead of Array.from()::length 2021-05-27 09:26:31 +01:00
Germain
b8a7d5d730
Better Set handling
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-05-27 09:23:56 +01:00
Michael Telatynski
bd653ac5a8 fix edge cases around space panel auto collapsing/closing menu 2021-05-27 09:11:43 +01:00
Germain Souquet
fbb6a42d86 fix reading Set length 2021-05-27 09:05:51 +01:00
Germain Souquet
2d15d66df8 Listen to home server sync update to remove pending rooms 2021-05-27 08:58:11 +01:00
Germain Souquet
9007afabfa Fix JoinRoomError action name typo 2021-05-27 08:57:48 +01:00
Germain Souquet
be22a325f6 Prevent having duplicates in pending room state 2021-05-27 08:57:27 +01:00
Michael Telatynski
818dfc91ec use useEffect to close menu whenever the space panel collapsed state changes 2021-05-27 08:48:21 +01:00
J. Ryan Stinnett
118556b542
Merge pull request #6106 from matrix-org/jryans/hidden-events-reactions
Update reactions row on event decryption
2021-05-26 17:34:54 +01:00
J. Ryan Stinnett
7d59d5cb39 Tune types in ReactionsRow 2021-05-26 16:51:26 +01:00
Michael Telatynski
60d161caf5 Apply some actual typescripting to this file 2021-05-26 16:47:46 +01:00
J. Ryan Stinnett
d4ca1babbe Update reactions row on event decryption
This fixes a race (perhaps revealed by the recent lazy decryption work) where
the reactions row have reactions to show, but the event would not be decrypted,
so they wouldn't render. Adding a decryption listener gets things moving again.

Fixes https://github.com/vector-im/element-web/issues/17461
2021-05-26 16:47:21 +01:00
Michael Telatynski
3f10279e15 Invite Dialog don't show warning modals after unmount, it is jarring 2021-05-26 16:38:02 +01:00
Michael Telatynski
1ff870927a When pinning a message automatically mark it as read 2021-05-26 15:40:24 +01:00
Michael Telatynski
0758c09d9e i18n 2021-05-26 14:06:12 +01:00
Michael Telatynski
27ad90760d Iterate pinned messages 2021-05-26 13:51:17 +01:00
Jaiwanth
334b7ef04a Implement animated scroll to base event for replies 2021-05-26 18:00:27 +05:30
Michael Telatynski
84bdd61119
Merge pull request #6101 from jaiwanth-v/voice-message-destroy
Destroy playback instance on voice message unmount
2021-05-26 12:18:59 +01:00
Germain
7ab31932ce
Merge pull request #6102 from matrix-org/gsouquet/17469
Fix message preview not up to date
2021-05-26 11:30:48 +01:00
J. Ryan Stinnett
e3a9e4690b
Merge pull request #6076 from matrix-org/jryans/convert-flow-to-ts-2
Convert some Flow typed files to TS (round 2)
2021-05-26 10:54:09 +01:00
Jaiwanth
7286aa28e1 Handle audio and video files 2021-05-26 15:19:05 +05:30
Germain Souquet
934af23b1f Fix preview generate check 2021-05-26 10:15:31 +01:00
Germain Souquet
c7c6a818f0 Merge branch 'develop' into gsouquet/switch-rooms 2021-05-26 09:51:27 +01:00
Germain
776b7100b5
Merge pull request #6086 from matrix-org/gsouquet/middle-pane-resize 2021-05-26 09:46:09 +01:00
Jaiwanth
a65299d8be
Update src/components/views/messages/MVoiceMessageBody.tsx
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-05-26 13:07:57 +05:30
Jaiwanth
a4907f8061 Destroy playback instance on unmount 2021-05-26 12:57:39 +05:30
Michael Telatynski
231e39a965 Fix accessing currentState on an invalid joinedRoom 2021-05-25 17:26:43 +01:00
Michael Telatynski
fd74a946e0 add header 2021-05-25 17:24:43 +01:00
Michael Telatynski
830ad47e87
Merge pull request #6097 from matrix-org/t3chguy/allSettled
Remove Promise allSettled polyfill as js-sdk uses it directly
2021-05-25 17:11:06 +01:00
Germain
3d302a3beb
Merge pull request #6099 from matrix-org/gsouquet/decoratedavatar-icon
Prevent DecoratedRoomAvatar to update its state for the same value
2021-05-25 17:09:32 +01:00
Germain Souquet
80bd130421 Prevent DecoratedRoomAvatar to update its state for the same value 2021-05-25 16:58:23 +01:00
Germain Souquet
e934f81521 Skip generatePreview if event is not part of the live timeline 2021-05-25 16:34:52 +01:00