Commit Graph

38629 Commits (0332bc99cbc1741114602250111d1f940026df34)

Author SHA1 Message Date
David Baker 0332bc99cb Fix bug where room list would get stuck showing no rooms
If you had an unsent message in a room that was in a sublist with
the 'Show rooms with unread messages first' option enabled, the
room list would show no rooms next time you restarted element and
get stuck that way.

This was because there was a different notification category for
rooms with unsent messages but the algorithm is hard-coded to add
only a fixed set of categories to its list, and it missed 'unsent',
so it NPEed when it encountered a room with an unsent message.

This just adds the category (assuming that we want to show rooms
with unsent messages first). It doesn't make it less hard-coded, or
fix the fact that an exception in the room list code causes everything
to break.

Fixes https://github.com/vector-im/element-web/issues/19373
2021-10-13 14:39:09 +01:00
RiotRobot 193a060ec9 Reset matrix-js-sdk back to develop branch 2021-10-12 09:13:06 +01:00
RiotRobot 9439df9082 Merge branch 'master' into develop 2021-10-12 08:54:58 +01:00
RiotRobot 89365d943b Resetting package fields for development 2021-10-12 08:48:24 +01:00
RiotRobot 3bc1a6613b Merge branch 'release-v3.32.1' 2021-10-12 08:48:16 +01:00
RiotRobot b1baa3575a v3.32.1 2021-10-12 08:42:35 +01:00
RiotRobot acce5ea43a Prepare changelog for v3.32.1 2021-10-12 08:42:34 +01:00
RiotRobot 6b4bcbd289 Upgrade matrix-js-sdk to 14.0.1 2021-10-12 08:40:57 +01:00
Germain 52efbc4a61
Merge pull request #6930 from robintown/remove-semicolon 2021-10-12 08:06:47 +01:00
Robin Townsend c078e89f59 Remove semicolon from notifications panel
Signed-off-by: Robin Townsend <robin@robin.town>
2021-10-11 14:34:03 -04:00
Michael Telatynski 338497636c
Merge pull request #6925 from matrix-org/t3chguy/fix/18772 2021-10-11 15:02:52 +01:00
RiotRobot 79a46782d6 Resetting package fields for development 2021-10-11 12:03:50 +01:00
RiotRobot c958d4c1c6 Merge branch 'master' into develop 2021-10-11 12:02:51 +01:00
RiotRobot 4ceb2a74cf v3.32.0 2021-10-11 11:57:04 +01:00
RiotRobot e91d591c90 Prepare changelog for v3.32.0 2021-10-11 11:57:03 +01:00
RiotRobot 93cdda8693 Upgrade matrix-js-sdk to 14.0.0 2021-10-11 11:55:21 +01:00
Michael Telatynski 0d524ae70b Iterate invite your teammates to Space view 2021-10-11 10:43:37 +01:00
Dariusz Niemczyk 414b20f17e
Make thread button always visible (#6903)
Fix https://github.com/vector-im/element-web/issues/18956
2021-10-11 10:26:05 +01:00
Michael Telatynski 34c5a4f8e8
Merge pull request #6924 from rom4nik/develop 2021-10-11 08:59:25 +01:00
rom4nik 436996dc30
Prevent backdrop image from being selected 2021-10-11 02:21:09 +02:00
James Salter fe79a95731
Merge pull request #6918 from VFermat/fix-19316
Validate that the phone number verification field is filled before allowing user to submit
2021-10-08 14:12:28 +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
RiotRobot 2a440e90cb v3.32.0-rc.2 2021-10-08 08:32:27 +01:00
RiotRobot 4c1e2e3f3d Prepare changelog for v3.32.0-rc.2 2021-10-08 08:32:25 +01:00
RiotRobot 0af5f8a173 Upgrade matrix-js-sdk to 14.0.0-rc.2 2021-10-08 08:30:34 +01:00
Logan Arnett 4759b4fb5d updating for lint issues 2021-10-07 14:58:35 -04:00
Vitor Eller 0b64dfa59a Alter phone verification button disable label 2021-10-07 15:23:54 -03: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