Commit graph

37053 commits

Author SHA1 Message Date
Šimon Brandner
9c107ae615
Add tests for formatSeconds()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:20:29 +02:00
Šimon Brandner
342f51ccb0
Add formatSeconds()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:19:59 +02:00
Travis Ralston
470bc0ffe7
Merge pull request #6686 from matrix-org/travis/widget-redact
Special case redaction event sending from widgets per MSC2762
2021-08-26 10:47:17 -06:00
Travis Ralston
22a78cf481
Merge pull request #6685 from matrix-org/travis/fix-widget-remember
Fix client forgetting which capabilities a widget was approved for
2021-08-26 10:47:10 -06:00
Travis Ralston
a1a7de0f37
Merge pull request #6687 from matrix-org/travis/left-panel-widget-expand
Fix left panel widgets not remembering collapsed state
2021-08-26 10:46:51 -06:00
J. Ryan Stinnett
32ad94bce5
Merge pull request #6692 from matrix-org/jryans/changelog-link-colour
Fix changelog link colour back to blue
2021-08-26 14:46:25 +01:00
David Baker
9aadb7c487
Merge pull request #6564 from SimonBrandner/fix/codeblock-border/18367
Soften codeblock border color
2021-08-26 14:23:48 +01:00
David Baker
c13b3be600
Merge pull request #6691 from SimonBrandner/fix/agressive-pausing/18588
Pause ringing more aggressively
2021-08-26 14:15:33 +01:00
Šimon Brandner
6003e12e48
Fix color name
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 15:12:26 +02:00
Šimon Brandner
408c327943
Merge remote-tracking branch 'upstream/develop' into fix/codeblock-border/18367 2021-08-26 15:11:46 +02:00
Dariusz Niemczyk
762fad08c4
Merge pull request #6689 from matrix-org/palid/fix/message-edit-history
Fix commit edit history
2021-08-26 15:11:13 +02:00
Dariusz Niemczyk
fc1dd51046
Fix commit edit history
Fix https://github.com/vector-im/element-web/issues/18742
2021-08-26 15:05:35 +02:00
Šimon Brandner
242b4e73b9
Pause ringing more aggressively
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 15:00:56 +02:00
Šimon Brandner
e4f8c795bc
Add stopRingingIfPossible()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 15:00:36 +02:00
J. Ryan Stinnett
d013ae79b7 Fix changelog link colour back to blue
https://github.com/matrix-org/matrix-react-sdk/pull/5698 changed all dialog
links to green, which is not expected. In general, we use blue links for
information and green links for actions.

This resolves the regression by removing the general change and adjusting the
new links added by the above PR to be green as desired there.

Fixes https://github.com/vector-im/element-web/issues/18726
2021-08-26 13:59:12 +01:00
Šimon Brandner
f54c6d75ac
Fix areAnyCallsUnsilenced()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 14:59:06 +02:00
David Baker
e79ac4b63f
Merge pull request #6679 from matrix-org/dbkr/allchange102
Update changelog generator
2021-08-26 09:42:26 +01:00
Travis Ralston
4415a7037c Fix left panel widgets not remembering collapsed state
Fixes https://github.com/vector-im/element-web/issues/17803

The `setExpanded` function takes a boolean, not a function.
2021-08-25 23:10:19 -06:00
Travis Ralston
cafa52c466 Special case redaction event sending from widgets per MSC2762
Fixes https://github.com/vector-im/element-web/issues/18573
See 853bed2157
2021-08-25 22:40:51 -06:00
Travis Ralston
76cc5bfb7d Remember all capabilities given to a widget
Fixes https://github.com/vector-im/element-web/issues/18786

Instead of replacing the remembered set, we now add to it. This should be safe as the user expectation was previously to remember the capabilities, so we can keep appending to that list.

This commit also moves the utility functions closer to the widget driver as they aren't needed in the dialog anymore.
2021-08-25 22:30:57 -06:00
Germain
ee95e36a7c
Merge pull request #6675 from matrix-org/gsouquet/remove-linter-warning
Add ESLint shared settings to detect React version
2021-08-25 20:53:35 +01:00
Travis Ralston
8fd44f0b5e
Merge pull request #6595 from SimonBrandner/fix/rl-resort/110
Don't re-sort the room-list based on profile/status changes
2021-08-25 13:37:53 -06:00
Travis Ralston
aa0a753105
Merge pull request #6681 from SimonBrandner/fix/codeblock-formatting
Fix codeblock formatting with syntax highlighting on
2021-08-25 13:36:47 -06:00
Travis Ralston
d442845cb9
Merge pull request #6680 from SimonBrandner/fix/commands/18670
Fix command autocomplete
2021-08-25 13:34:13 -06:00
Germain
7951c8dabc
Merge pull request #6677 from matrix-org/gsouquet/migrate-sticker-picker 2021-08-25 19:19:52 +01:00
Šimon Brandner
9f791031a8
Fix codeblock formatting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 18:54:52 +02:00
Šimon Brandner
ecd45f7a81
Use min-height instead of height
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 18:38:36 +02:00
Šimon Brandner
6b6fefa73d
Fix class
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 18:38:20 +02:00
David Baker
59833d1306 Update changelog generator 2021-08-25 17:21:48 +01:00
David Baker
e4f8971c67
Merge pull request #6676 from matrix-org/dbkr/yarn_upgrade_20210824
yarn upgrade
2021-08-25 16:39:59 +01:00
Travis Ralston
dc32df1ba5
Merge pull request #6639 from SimonBrandner/feature/voice-activity
Add active speaker indicators
2021-08-25 09:16:37 -06:00
Germain Souquet
6105e046fb Remove sdk.getComponent 2021-08-25 14:38:47 +01:00
Germain Souquet
f712186e64 Migrate StickerPicker to TypeScript 2021-08-25 14:26:21 +01:00
David Baker
586810d288 Not @types/react because it breaks stuff 2021-08-25 11:23:41 +01:00
David Baker
b53e0eee67 yarn upgrade 2021-08-25 10:57:03 +01:00
Germain Souquet
237212b082 Add ESLint shared settings to detect React version 2021-08-25 09:36:35 +01:00
Travis Ralston
9444995305
Merge pull request #6662 from matrix-org/travis/safe-labs
Flag a couple features as having dependencies
2021-08-25 01:12:48 -06:00
Travis Ralston
44543fe4ea
Merge pull request #6673 from matrix-org/travis/rm-room-list-logging
Remove advanced room logging setting
2021-08-25 01:11:39 -06:00
Šimon Brandner
78562685bb
Ignore avatar changes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:59:42 +02:00
Šimon Brandner
08402cca9f
Merge remote-tracking branch 'upstream/develop' into fix/rl-resort/110 2021-08-25 08:43:27 +02:00
Šimon Brandner
0465815486
ignoreSelfEvent -> shouldCauseReorder
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:43:13 +02:00
Šimon Brandner
b7df1127bd
Revert "Use ignoreSelfEvent in the RoomListStore (which doesn't work!)"
This reverts commit 0a4a1506d4.
2021-08-25 08:38:47 +02:00
Travis Ralston
e49dc8c8e2 Remove imports too 2021-08-24 13:23:48 -06:00
Travis Ralston
4790b4fc17 Remove advanced room logging setting
Fixes https://github.com/vector-im/element-web/issues/14602

This has proven to be less useful month over month, so it's time for it to go. The initial goal for keeping it was to track stability in the ~6 months post-release, which means it should have left around the start of 2021. At the time, Spaces was on the horizon with room list corruption issues though, so it was put on hold. These days, it's rock solid and doesn't appear to be causing issues. As such, the logging can leave in favour of more specific/targeted logging when we need it.

This might even speed things up as it's not hitting the SettingsStore every 0.2 seconds.
2021-08-24 13:17:12 -06:00
Travis Ralston
49453f2d49
Merge pull request #6604 from SimonBrandner/task/colors-2
Color de-duplication #2
2021-08-24 12:37:18 -06:00
Dariusz Niemczyk
536a9aec65
Merge pull request #6644 from matrix-org/palid/fix/layers-overwhelming
Increase general app performance by optimizing layers
2021-08-24 20:32:07 +02:00
Dariusz Niemczyk
ff048b0067
Merge remote-tracking branch 'origin/develop' into palid/fix/layers-overwhelming
* origin/develop:
  Fix import breaking types in release mode
  Fix resizer for detaching
  Add CI script to switch the js-sdk into 'release mode'
2021-08-24 19:36:58 +02:00
Dariusz Niemczyk
a62717ed85
Force a new layer for backdrop panel 2021-08-24 19:23:12 +02:00
Dariusz Niemczyk
4cd79e30af
Improve layering for chat
Currently we have a lot of unnecessary layers being created in the app,
which is extremely problematic on Windows when using Chrome, as it
deoptimises fonts rendering due to layers mismatch; chrome's algorithm
can't figure out if the layers won't resize or overlap so it creates a
lot of additional layers, which has a side effect of turning off
sub-pixel antialiasing on Windows.
This is a first step to improve the layering in the entire app.
2021-08-24 19:22:35 +02:00
David Baker
dbc69fbe75
Merge pull request #6383 from matrix-org/dbkr/ci_for_release_mode_types
Add CI script to switch the js-sdk into 'release mode'
2021-08-24 18:02:45 +01:00