Commit Graph

29435 Commits (3c9ded5a9acb165cfb061513ad1f62e9532273a7)

Author SHA1 Message Date
Michael Telatynski 030fa17a66 When creating private spaces, make the initial rooms restricted if supported 2021-09-01 12:47:43 +01:00
Germain Souquet 95d1b06abb Make composer able to reply in thread or in room timeline 2021-09-01 12:12:40 +01:00
Germain Souquet dca268e67a Replace eventIsReply util with replyEventId getter 2021-09-01 10:55:47 +01:00
Germain Souquet ae16695713 Fix Apache copyright headers 2021-09-01 10:19:25 +01:00
Michael Telatynski 0fa0b60e93
Merge pull request #6717 from matrix-org/t3chguy/fix/18686
Fix EmojiPicker filtering to lower case emojibase data strings
2021-09-01 09:02:16 +01:00
Michael Telatynski 642d8a0ec0
Merge pull request #6716 from matrix-org/t3chguy/fix/18668
Clear currentRoomId when viewing home page, fixing document title
2021-09-01 09:01:52 +01:00
Germain 7621a9a0f3
Merge pull request #6658 from matrix-org/gsouquet/threaded-messaging-2349 2021-09-01 08:47:10 +01:00
Germain Souquet 8b567944ec Merge branch 'develop' into gsouquet/ts-components-migration 2021-09-01 08:40:48 +01:00
Travis Ralston 18b7a64910 Remove arbitrary limits from send/receive events for widgets
Fixes https://github.com/vector-im/element-web/issues/17994

As per MSC change: aeadae81e2
2021-08-31 13:17:49 -06:00
Michael Telatynski e089c34db7 Fix EmojiPicker filtering to lower case emojibase data strings 2021-08-31 17:36:10 +01:00
Michael Telatynski 4ce79148cf Clear currentRoomId when viewing home page, fixing document title 2021-08-31 17:14:50 +01:00
Michael Telatynski bbd420096b don't bother awaiting SpaceStore::setActiveSpace as it is no longer async 2021-08-31 17:03:43 +01:00
Michael Telatynski bf4ffa965c Reload suggested rooms if we see the state change down /sync 2021-08-31 16:56:47 +01:00
Michael Telatynski e0363ddee5
Merge pull request #6713 from matrix-org/t3chguy/fix/18737
Fix membership updates to Spaces not applying in real-time
2021-08-31 16:54:02 +01:00
Michael Telatynski d3ba33172b Only make the initial space rooms suggested by default 2021-08-31 16:42:21 +01:00
Michael Telatynski 4e1e304616
Merge pull request #6698 from SimonBrandner/fix/space-invite-dialog/18745 2021-08-31 16:35:36 +01:00
Michael Telatynski b814100b98 Fix membership updates to Spaces not applying in real-time 2021-08-31 16:31:10 +01:00
Michael Telatynski c2a5cfb11e remove stale unused import 2021-08-31 16:11:22 +01:00
Michael Telatynski 0cd00ae64f Remove non-functional DuckDuckGo Autocomplete Provider 2021-08-31 16:05:16 +01:00
Travis Ralston 730af94014 Autoplay semantics for voice messages
Fixes https://github.com/vector-im/element-web/issues/18804
Fixes https://github.com/vector-im/element-web/issues/18715
Fixes https://github.com/vector-im/element-web/issues/18714
Fixes https://github.com/vector-im/element-web/issues/17961
2021-08-30 14:29:37 -06:00
Šimon Brandner 9684d7263b
Filter members on load
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-30 10:09:57 +02:00
Steffen Kolmer 6a550f2f9c Added trailing comma to make eslint happy 2021-08-28 14:04:00 +02:00
Steffen Kolmer 3ef9584f68 Simplify things 2021-08-28 14:00:18 +02:00
Steffen Kolmer 9fdc5659b7 Fixed eslint error and copyright header 2021-08-28 13:56:08 +02:00
Steffen Kolmer e661c017e3 Moved custom field name to a const 2021-08-28 13:48:33 +02:00
Steffen Kolmer d76adde1ab Use scss instead of inline styles 2021-08-28 13:41:24 +02:00
Steffen Kolmer 70b4308bab Fix eslint error 2021-08-27 21:59:22 +02:00
Steffen Kolmer 6da11f375d Allow to use basic html formatting in invite reasons 2021-08-27 21:44:34 +02:00
Steffen Kolmer f65eff103e Switch from inline-spinner to spinner 2021-08-27 20:48:29 +02:00
Steffen Kolmer a4899ad225 Fixed padding 2021-08-27 20:11:34 +02:00
Steffen Kolmer 9b495eeec3 Optimized style 2021-08-27 20:10:01 +02:00
Steffen Kolmer 21cf3592cf Update props and state interfaces 2021-08-27 19:32:38 +02:00
Steffen Kolmer 6e30673164 Show spinner if user id is missing in event tile preview 2021-08-27 19:23:26 +02:00
Travis Ralston 5e934c17da
Merge pull request #6694 from SimonBrandner/task/set-new-layout
Set the new layout setting when reading it
2021-08-27 09:08:40 -06:00
Šimon Brandner f75b5f1b17
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:39:25 +02:00
Šimon Brandner c6400c8db3
Show call length during a call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:34:44 +02:00
Šimon Brandner 49defd7b5a
Simplifie code and use formatSeconds()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:21: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 cd1610eea8
Merge pull request #6696 from matrix-org/travis/ff-voice
Always trigger the first amplitude capture from the worklet
2021-08-27 07:47:38 -06:00
Germain Souquet bf3c8e5664 Fix imports 2021-08-27 10:38:01 +01:00
Šimon Brandner 816f0f5e90
Avoid stacked dialogs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:56:53 +02:00
Šimon Brandner 0fae3ed233
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:22:30 +02:00
Šimon Brandner 464d2b47b0
Default to Don't leave any
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:18:19 +02:00
Travis Ralston 289b1c5ce0 Always trigger the first amplitude capture from the worklet
Fixes https://github.com/vector-im/element-web/issues/18587

See diff
2021-08-26 15:47:49 -06:00
Travis Ralston 20b6219121 Don't send prehistorical events to widgets during decryption at startup
Fixes https://github.com/vector-im/element-web/issues/18060

Tracking a localized read receipt of sorts appears to be the fastest and least complex approach, though not the greatest.
2021-08-26 13:28:48 -06:00
Travis Ralston 73dd30f919 Merge branch 'develop' into travis/cross-room 2021-08-26 10:48:10 -06: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
Šimon Brandner a8b86da058
Set the new layout setting when reading it
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 18:09:14 +02: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 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 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
Germain Souquet f0a4225bf7 Remove unused renderEventTile method 2021-08-26 08:45:00 +01:00
Germain Souquet bd1aa01b67 Update copyright and method accessors 2021-08-26 08:19:44 +01:00
Germain Souquet cb8e62c0b2 human linter and copyright fixer 2021-08-26 08:02:36 +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
Travis Ralston f912d9d1b4 Appease the linter 2021-08-25 18:25:20 -06:00
Travis Ralston 289ac34764 Add support for MSC2762's timeline functionality
See https://github.com/matrix-org/matrix-widget-api/pull/41
2021-08-25 18:16:40 -06: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 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 6b6fefa73d
Fix class
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 18:38:20 +02: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
Germain Souquet e1e0278190 Update js-sdk imports to target individual files 2021-08-25 10:04:54 +01:00
Germain Souquet 7938961d27 Update js-sdk imports to target individual files 2021-08-25 09:48:29 +01:00
Germain Souquet 450140befd Fix linting issues 2021-08-25 09:34:16 +01:00
Germain Souquet 6945e3f103 Fix ProfileSettings types 2021-08-25 09:05:07 +01:00
Germain Souquet d205585385 Merge branch 'develop' into gsouquet/ts-components-migration 2021-08-25 09:03:45 +01:00
Germain da127ecb76
Relative imports from the js-sdk
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:56:21 +01:00
Germain Souquet 77a463e679 Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-25 08:53:16 +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
Š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
David Baker c3e173248d Fix import breaking types in release mode 2021-08-24 17:43:23 +01:00
Dariusz Niemczyk 4d7b6f3c4d
Merge pull request #6670 from matrix-org/palid/fix/difficult-to-grab-scrollbar
Fix resizer for detaching
2021-08-24 18:28:09 +02:00
Dariusz Niemczyk d8e7fd3634
Fix resizer for detaching 2021-08-24 18:22:06 +02:00
Dariusz Niemczyk eb50d64146
Merge pull request #6669 from matrix-org/palid/fix/difficult-to-grab-scrollbar
Fix remaining scrollbar/background blur regressions
2021-08-24 16:30:20 +02:00
Dariusz Niemczyk 7645e0413c
Fix resizer crashing jitsi 2021-08-24 16:06:10 +02:00
David Baker a1a6350ed5
Merge pull request #6667 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2021-08-24 14:11:59 +01:00
Dariusz Niemczyk a93d5cde09
Simplify rendering to css-only 2021-08-24 14:38:39 +02:00
Dariusz Niemczyk ab4934ba6c
Make eslint happy 2021-08-24 14:23:08 +02:00
Dariusz Niemczyk 41d444d7d7
Properly use item container 2021-08-24 13:08:31 +02:00
Dariusz Niemczyk a5c005756e
Fix resizer on left panel 2021-08-24 13:05:46 +02:00
AriBerisha f79ce50f14 Translated using Weblate (Albanian)
Currently translated at 99.5% (3133 of 3146 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-08-24 10:34:26 +00:00
LinAGKar b99a17c403 Translated using Weblate (Swedish)
Currently translated at 100.0% (3146 of 3146 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-08-24 10:34:22 +00:00
libexus ce21add140 Translated using Weblate (German)
Currently translated at 99.0% (3117 of 3146 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-24 10:34:18 +00:00
Dariusz Niemczyk 290ab894aa
Migrate ResizeHandle to typescript 2021-08-24 11:15:41 +02:00
Germain Souquet 54a0a869bf PR feedback 2021-08-24 09:09:28 +01:00