Commit graph

25325 commits

Author SHA1 Message Date
Michael Telatynski
2b4c670b89 Fix favourites not showing up in home until a refresh 2021-03-19 13:20:30 +00:00
Michael Telatynski
3718d550c5 Fix space creation menu shade width 2021-03-19 13:20:30 +00:00
Michael Telatynski
88b7c8f53d Fix add existing to space dialog showing all spaces additionally as rooms 2021-03-19 13:20:30 +00:00
Michael Telatynski
c6f6d24b32 Iterate space creation and previews 2021-03-19 13:20:30 +00:00
Michael Telatynski
90d87122bc Tweak copy on space creation flows 2021-03-19 13:20:30 +00:00
Michael Telatynski
d04c8b3fb4 Improve discovery of rooms in a space 2021-03-19 11:54:10 +00:00
David Baker
4a734ef70b Clear displayname / vatar if they're unset 2021-03-19 11:29:14 +00:00
David Baker
cd138bf87e Merge remote-tracking branch 'origin/develop' into dbkr/jitsi_display_name 2021-03-19 11:27:37 +00:00
David Baker
d06bd348a3
Merge pull request #5771 from matrix-org/dbkr/log_getusermedia_error
Log error when failing to list usermedia devices
2021-03-19 09:58:06 +00:00
Travis Ralston
3bd186e2d2
Merge pull request #5772 from SimonBrandner/fix-timeline-jumps
Fix weird timeline jumps
2021-03-18 23:51:52 -06:00
Travis Ralston
1d43c8b791 Remove forgotten rooms from the room list once forgotten
Fixes https://github.com/vector-im/element-web/issues/15559

This isn't exactly perfect as an implementation: if the user refreshes immediately after forgetting then there is a good chance the room re-appears because of the sync accumulator. At the very least this change makes it so in *most* cases the room goes away, which is probably good enough until https://github.com/vector-im/element-web/issues/14038 can be implemented properly.
2021-03-18 23:28:59 -06:00
Travis Ralston
c2cc086217 Import the js-sdk at the index so the request object gets set
Now that all the imports are replaced, we need to set up the js-sdk somewhere. Might as well do it in the index of the react-sdk where callers will be relying on those skin functions.
2021-03-18 21:24:02 -06:00
Travis Ralston
be8ee1a576 Appease the linter 2021-03-18 21:05:51 -06:00
Travis Ralston
1d9d0cd7be Convert a bunch more js-sdk imports to absolute paths
Turns out a lot of the typescript warnings about improper warnings were correct. TypeScript appears to be pulling in two copies of the js-sdk when we do this, which can lead to type conflicts (or worse: the wrong code entirely). We fix this at the webpack level by explicitly importing from `src`, but some alternative build structures have broken tests because of this - jest ends up pulling in the "wrong" js-sdk, breaking things.
2021-03-18 20:50:34 -06:00
Travis Ralston
720ac9d837 Replace type declaration in Registration.tsx 2021-03-18 14:45:14 -06:00
KAHINA
c73c302e1a Translated using Weblate (Kabyle)
Currently translated at 86.5% (2501 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/kab/
2021-03-18 17:39:05 +00:00
Priit Jõerüüt
ff149ba1ef Translated using Weblate (Estonian)
Currently translated at 96.1% (2778 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-03-18 17:39:04 +00:00
Graeme Power
69aea71a0b Translated using Weblate (Irish)
Currently translated at 22.9% (663 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ga/
2021-03-18 17:39:02 +00:00
Besnik Bleta
e53caed44c Translated using Weblate (Albanian)
Currently translated at 99.6% (2878 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-03-18 17:37:30 +00:00
MamasLT
0dc62347ed Translated using Weblate (Lithuanian)
Currently translated at 65.8% (1901 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lt/
2021-03-18 17:37:10 +00:00
XoseM
319c472fdd Translated using Weblate (Galician)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-03-18 17:37:09 +00:00
waclaw66
11da2d5ca5 Translated using Weblate (Czech)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-03-18 17:36:53 +00:00
tateisu
56d3a9ac61 Translated using Weblate (Japanese)
Currently translated at 79.6% (2301 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-03-18 17:36:37 +00:00
random
6e73b56c4b Translated using Weblate (Italian)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-03-18 17:36:20 +00:00
TyIL TTY7
02a2bd55f9 Translated using Weblate (Chinese (Simplified))
Currently translated at 80.0% (2312 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-03-18 17:36:01 +00:00
LinAGKar
d57c1b406c Translated using Weblate (Swedish)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-03-18 17:35:50 +00:00
Marcelo Filho
976bf0192a Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.6% (2792 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt_BR/
2021-03-18 17:35:33 +00:00
jelv
b1def1fecb Translated using Weblate (Dutch)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-03-18 17:35:29 +00:00
Szimszon
1d15a3596d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-03-18 17:35:11 +00:00
Thibault Martin
ab6e1c6fb0 Translated using Weblate (French)
Currently translated at 99.9% (2887 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-03-18 17:34:51 +00:00
iaiz
3fd446c7b1 Translated using Weblate (Spanish)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-03-18 17:34:34 +00:00
panoschal
31ce93655a Translated using Weblate (Greek)
Currently translated at 29.4% (852 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/el/
2021-03-18 17:34:16 +00:00
Sven Grewe
c848499f9f Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-18 17:34:15 +00:00
Šimon Brandner
4a506a809e
Merge branch 'develop' into fix-timeline-jumps 2021-03-18 18:26:43 +01:00
David Baker
f3ca75391d Merge remote-tracking branch 'origin/develop' into dbkr/log_getusermedia_error 2021-03-18 17:15:07 +00:00
Šimon Brandner
7ac8fdea64
Don't call scrollToBottom() on scroll_to_bottom()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-18 18:02:33 +01:00
Šimon Brandner
a4a3b4da78
jumpToLiveTimeline() on scroll_to_bottom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-18 18:01:50 +01:00
David Baker
84b6027d41 Log error when failing to list usermedia devices
So we can debug why this might be failing
2021-03-18 16:41:22 +00:00
Travis Ralston
b69d9e8c33
Merge pull request #5767 from matrix-org/travis/no-persist-logs
Add possibility to delay rageshake persistence in app startup
2021-03-18 07:55:31 -06:00
Michael Telatynski
17399c6be6
Merge pull request #5764 from matrix-org/t3chguy/spaces4.9
Fix left panel resizing and lower min-width improving flexibility
2021-03-18 11:34:55 +00:00
David Baker
2b608aa919
Remove blank line 2021-03-17 19:18:32 +00:00
David Baker
d95955d90b
Merge branch 'develop' into dbkr/jitsi_display_name 2021-03-17 19:17:52 +00:00
David Baker
f6a87386bc Fix username showing instead of display name in Jitsi widgets
If you opened element and entered a jitsi conference straight away
in the room you landed in, your jitsi display name would be your
matrix username rather than your display name. This was because
OwnProfileStore was still busy fetching your profile from the server
while the room, and therefore jitsi widget, was rendered.

Blocking these widgets loading on this profile fetch completing isn't
really an option, so store the profile data in localstorage and seed
OwnProfileStore with the values from there.

Bonus: the name in the top left will now be your display name as
soon as the app is loaded, rather than being your username for the
first several seconds after you load the app.

Fixes https://github.com/vector-im/element-web/issues/16577
2021-03-17 19:09:43 +00:00
Travis Ralston
0f09eb3214 Add more notes 2021-03-17 00:12:03 -06:00
Travis Ralston
c7b72bc4c4 Appease the linter 2021-03-16 23:57:27 -06:00
Travis Ralston
69f90ee97e Label labs flag as in development 2021-03-16 23:55:07 -06:00
Travis Ralston
6c566cd382 Remove debugging 2021-03-16 23:50:03 -06:00
Travis Ralston
f0d5edbc37 Render voice messages as audio messages for now 2021-03-16 23:48:47 -06:00
Travis Ralston
1dc2427128 Remove test function 2021-03-16 23:44:39 -06:00
Travis Ralston
9aa5348c7f Show a stop button to stop the recording 2021-03-16 23:43:59 -06:00
Travis Ralston
dafa8786a1 Fix comments 2021-03-16 23:43:22 -06:00
Jeff Huang
b770253c88 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (2887 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-03-17 05:27:42 +00:00
Travis Ralston
b5d32d92f3 Wire up a simple record button 2021-03-16 22:58:44 -06:00
Travis Ralston
be2e30df0d Add an early voice recorder utility class 2021-03-16 22:58:44 -06:00
Travis Ralston
097c2d8be0 Add labs flag for voice messages 2021-03-16 22:58:44 -06:00
Travis Ralston
c285b79a8d Add possibility to delay rageshake persistence in app startup
Even if the app takes a moment to set up persistence, this will still capture any logs before persistence happened.
2021-03-16 14:19:49 -06:00
Travis Ralston
451a3aaa3f Work around more cases where a rageshake server might not be present
We already do this for a number of other places (slash commands, help section of settings, etc) - these places appear to have been missed, though.
2021-03-16 13:50:43 -06:00
Michael Telatynski
0ce78f469f
Merge pull request #5761 from matrix-org/t3chguy/spaces4.8
Iterate space panel visually and functionally
2021-03-16 17:41:14 +00:00
David Baker
bd763a09ba
Merge pull request #5765 from matrix-org/dbkr/resize_dispatch_async
Make some dispatches async
2021-03-16 16:00:05 +00:00
David Baker
67e2ae9988 Make some dispatches async
It looks like these dispatches were being dispatched while already
dispatching, causing soft crashes (although I can't see where the
first dispatch was from). Either way, seems like these didn't need
to be sync.
2021-03-16 15:42:03 +00:00
@a2sc:matrix.org
15c546cdbc Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-16 12:50:55 +00:00
Sven Grewe
c2f6b5a13b Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-16 12:50:55 +00:00
libexus
8008b6023d Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-16 12:50:55 +00:00
Michael Telatynski
688407abe6
Merge branch 'develop' into t3chguy/spaces4.9 2021-03-16 11:14:38 +00:00
Michael Telatynski
11cd791c76 Tweak left panel min widths for better flexibility 2021-03-16 11:13:39 +00:00
Michael Telatynski
baaceccfda Rearrange dom hierarchy to put space panel at same level as LeftPanel
so they don't steal horizontal space from each other
2021-03-16 11:13:39 +00:00
Michael Telatynski
4ae6c2f808
Merge pull request #5762 from timokoesters/fix-servername-parsing
fix: make room directory correct when using a homeserver with explicit port
2021-03-16 10:12:58 +00:00
Travis Ralston
0e0ccfea88
Merge pull request #5756 from SimonBrandner/hangup-all-on-logout
Hangup all calls on logout
2021-03-15 21:10:13 -06:00
Timo Kösters
f575625c7a
fix: make room directory correct when using a homeserver with explicit port
Server names are allowed to contain ':' to specify a port, see https://matrix.org/docs/spec/appendices#server-name
User ids on the other hand are not allowed to contain ':', even
historical user ids, see https://matrix.org/docs/spec/appendices#historical-user-ids

Therefore we can use change the regex to make sure the localpart is not
allowed to contain ':'.
2021-03-15 23:13:16 +01:00
Michael Telatynski
272f06d57a Fix Space Panel exploding with cyclic hierarchies 2021-03-15 12:16:48 +00:00
Tulir Asokan
830080c23e Add details and summary to allowed HTML tags
Implements MSC2184 (https://github.com/matrix-org/matrix-doc/pull/2184)

Signed-off-by: Tulir Asokan <tulir@maunium.net>
2021-03-14 19:34:35 +02:00
Travis Ralston
9b6d9b3bf1 years are difficult 2021-03-12 15:02:39 -07:00
Travis Ralston
75cfd9a8f5 Redirect to login properly 2021-03-12 15:01:05 -07:00
Travis Ralston
c8d7b0e1b9 Collapse copyright 2021-03-12 14:56:47 -07:00
Travis Ralston
25485edb3f Merge branch 'develop' into travis/welcome-login 2021-03-12 14:55:40 -07:00
Travis Ralston
d3541b78eb
Merge pull request #5714 from matrix-org/travis/media-customization
Support a media handling customisation endpoint
2021-03-12 11:01:59 -07:00
libexus
3e50b12548 Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-12 17:49:59 +00:00
Sven Grewe
7854cef727 Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-12 17:49:59 +00:00
@a2sc:matrix.org
442122564f Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-12 17:04:30 +00:00
Sven Grewe
4e267da6ad Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-12 17:04:27 +00:00
libexus
86e13eeba6 Translated using Weblate (German)
Currently translated at 96.7% (2795 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-12 17:04:26 +00:00
Šimon Brandner
02051a39ff
Hangup all calls on logout
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-12 13:55:14 +01:00
J. Ryan Stinnett
4987359eef
Merge pull request #5718 from panoschal/edit-view-source
Edit button on View Source dialog that takes you to devtools -> SendCustomEvent
2021-03-12 11:40:54 +00:00
Travis Ralston
7c8c85161d
Merge pull request #5748 from SimonBrandner/compat-for-non-rich-text-clients
Show room alias in plain/formatted body
2021-03-11 11:29:26 -07:00
Šimon Brandner
d4f67d94a4
Use resourceId in plain body
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-11 18:53:06 +01:00
Šimon Brandner
62fa60f109
Use resourceId in formatted body
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-11 18:50:54 +01:00
Panagiotis
a1eabde3a3 fix: create a PillCandidatePart on the beginning of a part string 2021-03-11 19:14:04 +02:00
Travis Ralston
a9a4bd50ca Merge branch 'develop' into travis/media-customization 2021-03-11 08:37:49 -07:00
Panagiotis
be7fb33a67 Merge branch 'develop' into edit-view-source 2021-03-11 17:07:56 +02:00
Travis Ralston
229a95f190
Merge pull request #5734 from matrix-org/travis/skinning/pt3-easy-comps
[SK-3] Decorate easy components with replaceableComponent
2021-03-11 07:26:20 -07:00
Michael Telatynski
081e745417
Merge pull request #5751 from matrix-org/t3chguy/spaces4.7
Rebuild space previews with new designs
2021-03-11 14:06:31 +00:00
J. Ryan Stinnett
6a939c4de8
Merge pull request #5727 from matrix-org/matthew/rework-cross-signing-login
Rework cross-signing login flow
2021-03-11 12:53:55 +00:00
Michael Telatynski
6d81634eec Rebuild space previews with new designs 2021-03-11 11:49:43 +00:00
Michael Telatynski
bd3386358a
Merge pull request #5749 from matrix-org/t3chguy/spaces4.6
Properly gate SpaceRoomView behind labs
2021-03-11 11:17:36 +00:00
Michael Telatynski
4ca838d4c7 Properly gate SpaceRoomView behind labs 2021-03-11 11:04:39 +00:00
Travis Ralston
7f52e78748 Make styles dynamic 2021-03-10 21:08:01 -07:00
Travis Ralston
88a2bdb119 Change read receipt drift to be non-fractional
I suspect this is what is causing issues in Firefox for read receipts not falling down.
2021-03-10 16:47:27 -07:00
Travis Ralston
4ebd35f845 Remove unused functions 2021-03-10 12:32:18 -07:00
Travis Ralston
ebf1efe01b docs 2021-03-10 12:32:18 -07:00
Travis Ralston
a7debdd946 Fix tinting for download icon
As shown in https://github.com/vector-im/element-web/issues/16546
2021-03-10 12:32:18 -07:00