Commit graph

38600 commits

Author SHA1 Message Date
Michael Telatynski
8cb4454ea3 Disable leave room button if user isn't in the room e.g peeking 2021-10-08 13:43:06 +01:00
James Salter
e1c1d2dc0f
Merge pull request #6840 from wlach/make-placeholder-for-field-grey-no-input
Make placeholder more grey when no input
2021-10-08 12:54:57 +01:00
Michael Telatynski
5264b1db9d
Merge pull request #6906 from matrix-org/t3chguy/fix/19246 2021-10-08 10:36:48 +01:00
Michael Telatynski
82ad85a974 Mock usage of getRoomUpgradeHistory in SpaceStore tests 2021-10-08 10:30:46 +01:00
Michael Telatynski
5af72d8d1d
Merge pull request #6917 from LoganArnett/bug/update-save-enabled-by-field 2021-10-08 10:09:54 +01:00
Logan Arnett
4759b4fb5d updating for lint issues 2021-10-07 14:58:35 -04:00
Logan Arnett
c56d6ba539 updating from boolean to object in order to track if more than one thing is edited 2021-10-07 13:22:43 -04:00
Germain
1e9389429d
Merge pull request #6915 from matrix-org/gsouquet/fix-17068 2021-10-07 17:36:28 +01:00
Germain Souquet
822f73edf7 Remove stale comments in _RoomSublist.scss 2021-10-07 17:28:37 +01:00
Travis Ralston
1a1b178b5b
Merge pull request #6916 from psrpinto/fix/settings-dialog-update-room-name
Update room settings dialog title when room name changes
2021-10-07 10:20:05 -06:00
Paulo Pinto
6aa325ed54 Rename method to onRoomName
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 17:13:57 +01:00
Paulo Pinto
53f26d2744 Keep room name up-to-date in settings dialog
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 17:04:30 +01:00
Paulo Pinto
ea55b0d45f Add room name to component state
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 17:01:39 +01:00
Germain
57b919b10a
Delete fixed headerContainer height
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-10-07 16:51:39 +01:00
Paulo Pinto
1b334e47aa
Fix issue that caused the value of certain settings to be inverted (#6896)
When using the SettingsStore.watchSetting() method for settings which have an
invertedSettingName, the newValueAt argument passed to the callback function,
would erroneously contain the inverted value.

This was making it so that such settings appeared to be disabled when they
should in fact be enabled, or vice-versa. This was however only the case for
code which took in account the newValueAt argument. Code using the newValue
argument was not affected.

The settings which have an invertedSettingName, and were thus potentially
impacted are:

- MessageComposerInput.dontSuggestEmoji
- hideRedactions
- hideJoinLeaves
- hideAvatarChanges
- hideDisplaynameChanges
- hideReadReceipts
- Pill.shouldHidePillAvatar
- TextualBody.disableBigEmoji
- dontSendTypingNotifications
- TagPanel.disableTagPanel
- webRtcForceTURN

Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 16:42:23 +02:00
Michael Telatynski
1b5aef4447
Merge pull request #6311 from matrix-org/t3chguy/a11y/focus-lock-ctx-menu 2021-10-07 13:28:32 +01:00
Michael Telatynski
5dfe53920c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19246 2021-10-07 13:20:06 +01:00
Michael Telatynski
e470d7d030 Make use of MatrixClient::getRoomUpgradeHistory 2021-10-07 13:19:51 +01:00
Michael Telatynski
ad1eb54b4e
Merge pull request #6907 from matrix-org/t3chguy/fix/19304 2021-10-07 11:24:59 +01:00
Michael Telatynski
675c587e03
Merge pull request #6911 from matrix-org/t3chguy/fix/19066 2021-10-07 11:22:01 +01:00
Michael Telatynski
8ee6a08639 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19304 2021-10-07 11:19:12 +01:00
Michael Telatynski
1c8bcce0ed comment 2021-10-07 11:13:13 +01:00
Michael Telatynski
047f182cd8 focusLock only specific context menus 2021-10-07 11:04:10 +01:00
Germain Souquet
c009d15176 Allow the header container to collapse on itself when room list not minimised 2021-10-07 10:57:23 +01:00
Travis Ralston
0f212b2607
Merge pull request #6912 from matrix-org/hs/ignore-greater-pl-scalar
Scalar messaging: No-op setBotPower if the current PL is greater than the requested PL.
2021-10-06 10:19:14 -06:00
Michael Telatynski
ab98549fff move the logic to the parent so that the section hiding works 2021-10-06 17:08:32 +01:00
Will Hunt
88410a1b29 Make function async 2021-10-06 17:00:54 +01:00
Michael Telatynski
9ea30a3af4
Merge pull request #6908 from matrix-org/t3chguy/fix/19276 2021-10-06 16:59:33 +01:00
Michael Telatynski
4ac29a431c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19276 2021-10-06 16:53:39 +01:00
Michael Telatynski
b373b98d48 Simplify aria menu item roles/selectors 2021-10-06 16:49:53 +01:00
Will Hunt
3f6f2bcbb3 no-op a setBotPower request from the integration manager when the PL is equal to or greater to the requested PL
When configured
2021-10-06 16:48:17 +01:00
Michael Telatynski
a6c780674a Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/focus-lock-ctx-menu
 Conflicts:
	src/components/views/spaces/SpaceCreateMenu.tsx
2021-10-06 16:39:52 +01:00
Michael Telatynski
52d0b0133c Hide kick & ban options in UserInfo when looking at own profile 2021-10-06 14:46:39 +01:00
Michael Telatynski
a51847e50a
Merge pull request #6909 from matrix-org/t3chguy/fix/19255 2021-10-06 13:25:03 +01:00
Michael Telatynski
d8bc868e79 Fix spaces keyboard shortcuts not working for last space 2021-10-06 10:56:11 +01:00
Michael Telatynski
79f3348986 Simplify and improve useRoomHierarchy hook 2021-10-06 10:27:16 +01:00
Michael Telatynski
cadc9d2990 Improve emoji shortcodes generated from annotations 2021-10-06 09:47:56 +01:00
Michael Telatynski
fa800796c7 Respect tombstones in locally known rooms for Space children 2021-10-06 09:41:57 +01:00
Michael Telatynski
1d5a1c7a82
Merge pull request #6887 from matrix-org/t3chguy/fix/19216 2021-10-06 09:29:25 +01:00
Andy Balaam
48b38b287a
Merge pull request #6895 from andybalaam/simon-auto-avatars
Use fallback avatar only for DMs with 2 people
2021-10-05 15:49:27 +01:00
Faye Duxovni
418043488b
Merge pull request #6811 from matrix-org/fayed/fix-verification-dialog
Make cross-signing dialog clearer and more context-aware
2021-10-05 09:06:33 -04:00
Faye Duxovni
651e943b31 Merge branch 'develop' into fayed/fix-verification-dialog 2021-10-05 08:48:52 -04:00
Faye Duxovni
9a16b4636f Make cross-signing dialog clearer and more context-aware
- Don't show loading spinners while waiting for user action
- When checking if there are other devices we can verify against, only
  look for devices that are actually cross-signed.
- Adjust displayed options depending on whether other devices and/or
  recovery keys exist, and add an option to reset cross-signing keys
  if necessary.
- Various minor clarifying adjustments to UI styling/text

Signed-off-by: Faye Duxovni <fayed@element.io>
2021-10-05 00:54:20 -04:00
Germain Souquet
c670d95e27 Update dependencies 2021-10-04 12:30:26 +01:00
Germain
49fce9784a
Merge pull request #6902 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2021-10-04 11:46:36 +01:00
Weblate
acde10fb97 Merge branch 'origin/develop' into Weblate. 2021-10-04 10:43:52 +00:00
Germain
b45cd4f59a
Merge pull request #6901 from AndrewFerr/guest_register_toggle 2021-10-04 11:43:48 +01:00
Weblate
60f7137765 Merge branch 'origin/develop' into Weblate. 2021-10-04 10:42:48 +00:00
Ihor Hordiichuk
27cd1f73bc Translated using Weblate (Ukrainian)
Currently translated at 66.7% (2134 of 3198 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-10-04 10:42:47 +00:00
Nikita Epifanov
dbd3829d3f Translated using Weblate (Russian)
Currently translated at 98.2% (3141 of 3198 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-10-04 10:42:42 +00:00