Commit Graph
23838 Commits
Author SHA1 Message Date
Travis RalstonandGitHub af69ba9c79 Merge pull request #5451 from iokiwi/new/room-alias-in-permalink
Use room alias in generated permalink for rooms
2020-12-09 12:07:44 -07:00
Travis Ralston 3e3a32cf10 Only show confetti if the current room is receiving an appropriate event 2020-12-09 11:56:57 -07:00
Michael TelatynskiandGitHub d05ad1e36c Merge pull request #5481 from matrix-org/t3chguy/fix/15905
Throttle RoomState.members handler to improve performance
2020-12-09 12:53:34 +00:00
Michael TelatynskiandGitHub 91ae8df423 Merge pull request #5477 from matrix-org/t3chguy/fix/15913
Handle manual hs urls better for the server picker
2020-12-09 11:32:33 +00:00
Michael Telatynski 5be65a525d Improve identifiers and code readability 2020-12-09 11:14:06 +00:00
Michael Telatynski 412d84ccb2 improve comments 2020-12-09 11:09:18 +00:00
Michael Telatynski ecb0b0113f Also use getJoinedMemberCount as its capable of using the room summary member count instead
Leave the useRoomMembers hook for future use as it is very useful.
2020-12-09 11:07:40 +00:00
Michael Telatynski 184c73cca4 Throttle RoomState.members handler to improve performance
Lazy Loading emits a RoomState.members for each member which in the case of a room like
Matrix HQ means it happens over 8000 times in a very short span of time causing the UI
to lock up.
2020-12-09 11:02:30 +00:00
Michael TelatynskiandGitHub 05e6b52191 Merge pull request #5476 from matrix-org/t3chguy/fix/15895
Hide Invite to this room CTA if no permission
2020-12-08 15:33:33 +00:00
Michael Telatynski e896b009f1 Handle manual hs urls better 2020-12-08 10:58:16 +00:00
Michael Telatynski 9f9699bf75 Hide Invite to this room CTA if no permission 2020-12-08 10:31:40 +00:00
Travis Ralston f30d2ff1c5 Fix confetti room unread state check
Turns out that if you want confetti from other people you would need to have rooms on "All Messages" or higher - this isn't as fun for those of us who have most of our rooms as Mentions Only.
2020-12-07 16:54:09 -07:00
Travis Ralston 603a1c8ffb Fix linter 2020-12-07 15:37:26 -07:00
Travis Ralston 550a5220d9 Undocumented linter cleanup 2020-12-07 15:12:26 -07:00
Travis Ralston 2c992c456e Merge remote-tracking branch 'origin/develop' into feature_confetti#14676 2020-12-07 14:58:56 -07:00
Travis RalstonandGitHub f5ce50a472 Merge pull request #5391 from su-ex/fix-inverted-settings-default
Fix inverted settings default value
2020-12-07 14:51:28 -07:00
Michael Telatynski 499f7e8af7 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/socials 2020-12-07 16:08:11 +00:00
Michael Telatynski d06a00bcce Improve usability of the Server Picker Dialog 2020-12-07 16:05:41 +00:00
Lukas 9bb04a857b Add generated i18n json 2020-12-07 15:21:31 +01:00
Simon Merrick b365d3b27e Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into new/room-alias-in-permalink 2020-12-07 10:30:50 +13:00
Simon Merrick 5544ee6408 extract alias handling to separate function 2020-12-06 23:29:11 +13:00
Lukas a856484139 Fix typos in some strings
This commit fixes some typos that I've stumbled upon.
2020-12-06 10:32:52 +01:00
J. Ryan StinnettandGitHub c13891c670 Merge pull request #5260 from orangecms/redact-with-reason
add support for giving reason when redacting
2020-12-04 15:13:40 +00:00
Travis RalstonandGitHub af49030b2f Merge pull request #5462 from matrix-org/travis/widget-sanity-2
Add more widget sanity checking
2020-12-03 08:50:46 -07:00
Michael TelatynskiandGitHub b200211660 Merge pull request #5465 from matrix-org/t3chguy/socials
Fix React complaining about unknown DOM props
2020-12-03 15:20:16 +00:00
Michael Telatynski 1afece9a14 Fix React complaining about unknown DOM props 2020-12-03 12:20:48 +00:00
Michael Telatynski e4b929c6f9 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/15882 2020-12-03 11:42:47 +00:00
Michael Telatynski f432d4e394 delint 2020-12-03 11:31:14 +00:00
Michael Telatynski 3223b00028 Jump to home page when leaving a room
so that you don't get thrown into a room you may be ignoring on purpose
2020-12-03 11:15:55 +00:00
Michael Telatynski 0fd9b55b95 Fix SSO buttons for Social Logins 2020-12-03 11:08:16 +00:00
Travis Ralston d38a6ad1be Add more widget sanity checking
This is for https://github.com/vector-im/element-web/issues/15705

https://github.com/matrix-org/matrix-react-sdk/pull/5459 was unable to track down all the instances of where the issue happens, so this commit tries to do a more complete job.

Specifically, this replaces the getRoomId() function given widgets cannot reliably be referenced by widget ID in this way, and the store has been updated to handle a more unique widget ID for the store (just in case).

Further sanity checking has also been added to ensure that we are at least returning a valid result.
2020-12-02 12:20:59 -07:00
Michael Telatynski 8593845e3d i18n 2020-12-02 15:12:16 +00:00
Michael Telatynski 3fda7e3f46 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/socials 2020-12-02 15:08:13 +00:00
EzwenandWeblate 5c6b040983 Translated using Weblate (French)
Currently translated at 86.5% (2338 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2020-12-02 13:22:07 +00:00
Simon Merrick cf8c98e076 More explicit reference checking 2020-12-02 12:34:43 +13:00
Weblate 04001e22f9 Merge branch 'origin/develop' into Weblate. 2020-12-01 20:40:33 +00:00
Hassan AlgozandWeblate 89eaa9654f Translated using Weblate (Arabic)
Currently translated at 53.9% (1458 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ar/
2020-12-01 20:40:32 +00:00
MSG-maniacandWeblate 58ed858f40 Translated using Weblate (Chinese (Simplified))
Currently translated at 83.2% (2250 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2020-12-01 20:40:23 +00:00
Nikita EpifanovandWeblate 3a3e42e439 Translated using Weblate (Russian)
Currently translated at 88.1% (2383 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2020-12-01 20:40:20 +00:00
Travis Ralston 5df6932051 Add various amounts of sanity checking for widget pinning
This should also help https://github.com/vector-im/element-web/issues/15705 by either implicitly fixing the problem, causing chaos as described in the issue, or by forcing a crash to identify the problem more easily.
2020-12-01 13:19:51 -07:00
Travis Ralston bd1de8d45b Require a room ID for WidgetStore's pinned widget contracts
This should alleviate https://github.com/vector-im/element-web/issues/15705 from happening, though the cause is still unknown.

Requiring a room ID is safe for this because only room widgets can be pinned, and widget IDs are not globally unique which means from a logical standpoint the contract still makes sense here.
2020-12-01 13:05:48 -07:00
nurjinn jafar 111515e794 fixed linter problem 2020-12-01 17:37:28 +01:00
nurjinn jafar 1bf7ff8994 null check added
path to confetti fixed after refactoring
2020-12-01 17:15:02 +01:00
Michael TelatynskiandGitHub ba542f291b Merge branch 'develop' into t3chguy/socials 2020-12-01 15:50:07 +00:00
Michael Telatynski 26e1cdb82c Update i18n 2020-12-01 12:04:41 +00:00
Weblate f6532859fd Merge branch 'origin/develop' into Weblate. 2020-11-30 20:43:09 +00:00
Travis Ralston 9b6f93da5f Update i18n 2020-11-30 13:42:29 -07:00
anonymandGitHub b1b0e93d5e Update i18n for Appearance User Settings
The variable has to be added to the i18n files as well (I don't know how to do that)
2020-11-30 21:33:52 +01:00
Weblate 8a0c1248cb Merge branch 'origin/develop' into Weblate. 2020-11-30 16:20:53 +00:00
Nikita EpifanovandWeblate f2c79c1e8c Translated using Weblate (Russian)
Currently translated at 87.9% (2376 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2020-11-30 16:20:53 +00:00