Will Hunt
aa86c1d751
Ensure that a dismissed usage alert toast stays dismissed
2021-02-23 12:51:47 +00:00
Will Hunt
0daed98627
Do not process an older usage event if we've already processed a newer one
2021-02-23 12:51:17 +00:00
J. Ryan Stinnett
72ff919512
Merge pull request #5644 from weeman1337/fix-contextmenu-padding
...
Fix context menu leaving visible area
2021-02-22 17:42:09 +00:00
Germain
bce88efa4f
update isUserOnDarkTheme to return correct theme when use_system_theme is true
...
Signed-off-by: Germain <germain@grabyo.com>
2021-02-21 16:49:30 +00:00
Michael Telatynski
3ca5632f6a
Replace ObjectUtils.js with objects.ts
2021-02-19 00:00:10 +00:00
Michael Telatynski
354925c2c8
Improve TS definitions
2021-02-18 15:16:07 +00:00
J. Ryan Stinnett
53c4a1ada5
Merge pull request #5571 from SimonBrandner/improve-layout-handling
...
Use a more generic layout setting - useIRCLayout → layout
2021-02-17 11:02:26 +00:00
J. Ryan Stinnett
234f1bf2c4
Test domains in config directly
2021-02-15 17:38:11 +00:00
J. Ryan Stinnett
d96043d5ab
Use config for host signup branding
2021-02-15 17:37:33 +00:00
Šimon Brandner
5072fb0608
Merge branch 'develop' into improve-layout-handling
2021-02-15 16:12:08 +01:00
Michael Weimann
f343aaa05a
fix context menu padding calculation
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-02-14 18:37:06 +01:00
Jason Robinson
23140a84ff
Remove host signup config strings, make translatable instead
...
Also replace the icon in the UserMenu and change the text, requested from design.
2021-02-10 13:38:32 +02:00
Jason Robinson
2197c1e519
Address some of the PR feedback
2021-02-09 20:13:58 +02:00
Jason Robinson
a4a478cf72
Remove host signup link from UserMenu.tsx
...
It duplicates the new host signup modal dialog.
2021-02-09 20:01:45 +02:00
Jason Robinson
5fe3c83f27
Merge branch 'develop' into jaywink/hosting-provider-iframe-minimize-wip
2021-02-09 11:18:51 +02:00
J. Ryan Stinnett
811ae9ba82
Merge pull request #5616 from dangwynne/develop
...
Close current modal when session is logged out
2021-02-08 12:56:00 +00:00
J. Ryan Stinnett
5abced7049
Merge pull request #5551 from weeman1337/fix-15347-explore-rooms-spacing
...
Switch room explorer list to CSS grid
2021-02-08 11:18:01 +00:00
Michael Weimann
f0f6e4678e
switch room explorer list to css grid
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-02-06 14:40:16 +01:00
Michael Telatynski
1d1a3e72ca
Improve SSO login start screen and 3pid invite handling somewhat
2021-02-05 17:18:13 +00:00
J. Ryan Stinnett
295cf12cf8
Merge pull request #5621 from SimonBrandner/fix-jump-on-reaction
...
Don't jump to bottom on reaction
2021-02-05 14:28:25 +00:00
Šimon Brandner
69e81119e9
Don't jump to bottom on reaction
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-05 15:15:20 +01:00
dangwynne
12f6272ab4
implement qa feedback for closing modals when logging out
2021-02-05 09:24:12 +00:00
Šimon Brandner
f2d236d429
Use LayoutPropType
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-05 08:17:30 +01:00
Jason Robinson
b50ac0c096
Merge branch 'develop' into jaywink/hosting-provider-iframe-minimize-wip
2021-02-04 18:32:16 +02:00
J. Ryan Stinnett
4a73f3c504
Merge pull request #5598 from SimonBrandner/fix-confusing-right-panel
...
Fix confusing right panel button behaviour
2021-02-04 16:30:41 +00:00
Šimon Brandner
fdc78396fa
Replaced defaultDis and removed duplicate import
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-04 16:53:25 +01:00
dangwynne
88aa2a6f70
fix whitespace change. Signed-off-by: Dan Gwynne dangwynne1@gmail.com
2021-02-04 09:33:21 +00:00
dangwynne
c1823e2e5a
Close current modal when session is logged out
2021-02-03 22:31:28 +00:00
Jason Robinson
6ccce7142c
Merge branch 'develop' into jaywink/hosting-provider-iframe-minimize-wip
2021-02-03 22:35:22 +02:00
Michael Telatynski
842fe36c7e
Fix register exploding if the server is down or we just don't have flows
2021-02-02 17:32:05 +00:00
Michael Telatynski
3e3a88116d
Fix register exploding if the server is down or we just don't have flows
2021-02-02 17:28:52 +00:00
Michael Telatynski
bad71cf52f
Better errors for SSO failures
2021-02-02 13:35:26 +00:00
Michael Telatynski
5d86c2f8e0
Better errors for SSO failures
2021-02-01 16:42:58 +00:00
J. Ryan Stinnett
799753d2b2
Merge pull request #5565 from SimonBrandner/fix-13090
...
Scroll to bottom on message_sent
2021-02-01 13:04:38 +00:00
Michael Telatynski
741b3f76ee
Merge pull request #5593 from SimonBrandner/fix-collapsing-of-left-panel
...
Fix saving the collapsed state of the left panel
2021-02-01 12:50:37 +00:00
Michael Telatynski
077ceeb20d
Fix RoomView re-mounting breaking peeking
...
Because as of React 16 order of unmount & re-mount is undefined
this was causing the possibility of the unmount running after
the willMount of the replacement RoomView, upsetting the state
of the singleton inside the js-sdk.
2021-02-01 12:29:11 +00:00
Michael Telatynski
72263a4a56
Merge pull request #5602 from matrix-org/t3chguy/peeking
...
Fix RoomView re-mounting breaking peeking
2021-02-01 12:26:42 +00:00
J. Ryan Stinnett
50452d52ff
Merge pull request #5592 from matrix-org/jryans/opt-room-id
...
Tweak a few room ID checks
2021-02-01 10:54:29 +00:00
Michael Telatynski
53334de5a9
Fix RoomView re-mounting breaking peeking
...
Because as of React 16 order of unmount & re-mount is undefined
this was causing the possibility of the unmount running after
the willMount of the replacement RoomView, upsetting the state
of the singleton inside the js-sdk.
2021-01-31 16:09:11 +00:00
Šimon Brandner
73ab074219
Properly handle closing the panel while verifying
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 10:22:04 +01:00
Šimon Brandner
eee6a509c7
Close button should always close the panel
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 08:04:25 +01:00
Michael Telatynski
62712159f6
Merge pull request #5578 from matrix-org/t3chguy/sso_fixes
...
Improve SSO auth flow
2021-01-29 13:28:53 +00:00
Michael Telatynski
0eb0d242d5
Apply suggestions from code review
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-01-29 13:05:09 +00:00
Šimon Brandner
9c5af8b61e
Fix collapsing of the left panel
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-29 13:19:09 +01:00
J. Ryan Stinnett
b8e3908ee2
Merge pull request #5586 from matrix-org/jryans/maybe-mobile
...
Add optional mobile guide toast
2021-01-29 11:18:08 +00:00
J. Ryan Stinnett
c9a6214256
Tweak a few room ID checks
2021-01-29 11:15:30 +00:00
J. Ryan Stinnett
2996ceca52
Add optional mobile guide toast
...
This adds an optional toast which Element deployments can enable to nudge users
towards the mobile apps once they are inside the app.
Part of https://github.com/vector-im/element-web/issues/16283
2021-01-28 17:21:36 +00:00
J. Ryan Stinnett
5431dc7331
Merge pull request #5548 from SimonBrandner/add-search-shortcut
...
Add optional search shortcut
2021-01-28 12:33:32 +00:00
Michael Telatynski
fd4109b8ad
fix tests by reverting if removal
2021-01-28 11:00:04 +00:00
Michael Telatynski
1761a4ec80
Improve SSO UIA
...
Fixes Fallback UIA postmessage interface
Auto-closes SSO UIA tab when the user has completed the flow within it
Error for when auth stage is restarted because it failed
2021-01-28 10:45:29 +00:00
Michael Telatynski
e6673bca1b
Improve SSO auth flow
...
Use replaceState instead of a redirect to strip the loginToken
Put user into the same post-auth flows of E2ESetup
Skip UIA prompt in this post-auth flow, happy path is a server grace period
2021-01-27 12:50:12 +00:00
J. Ryan Stinnett
d78bc98521
Resolve linting errors after upgrades
2021-01-27 12:42:39 +00:00
Will Hunt
5de92b68d9
Show a specific error for hs_disabled
2021-01-27 11:39:57 +00:00
Šimon Brandner
972c947049
More generic layout setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-23 10:35:35 +01:00
Šimon Brandner
c7ff0f302a
Scroll to bottom on message_sent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-23 09:35:05 +01:00
Travis Ralston
27dc4cb574
Appease the linter
2021-01-22 17:03:36 -07:00
Travis Ralston
807a8c41e3
Remove debug
2021-01-22 17:02:00 -07:00
Travis Ralston
6ac8803191
Update AuxPanel and related buttons when widgets change or on reload
...
If we have widgets we're meant to be showing due to layout or because we reloaded the page (slightly different code paths) then we need to show those. This change fixes a bug in that where the layout wasn't being applied at the right moment in time so was never showing the widgets.
Seems to only be an issue if the layout state event was sent by someone other than you.
2021-01-22 17:00:30 -07:00
Travis Ralston
7413cea6ea
Format imports because the IDE said so
2021-01-22 16:58:47 -07:00
Travis Ralston
a779951512
Merge pull request #5553 from matrix-org/travis/widget-layout
...
Support room-defined widget layouts
2021-01-21 13:22:52 -07:00
J. Ryan Stinnett
e49a931588
Merge pull request #5533 from aaronraimist/security-key
...
Change a bunch of strings from Recovery Key/Phrase to Security Key/Phrase
2021-01-21 17:46:02 +00:00
J. Ryan Stinnett
3115c4f3f3
Show only preview buttons in directory for guest users
...
This aligns the room directory with the rest of Element Web so that it does not
allow guest users to join rooms. Instead, we show preview buttons (even when the
preview might not actually happen).
Fixes https://github.com/vector-im/element-web/issues/16213
2021-01-19 17:59:30 +00:00
Travis Ralston
1768d6ea5f
Move all widget pinning logic to the WidgetLayoutStore
2021-01-18 20:26:47 -07:00
Šimon Brandner
e7384f829a
Made search shortcut optional
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-17 16:44:29 +01:00
Šimon Brandner
cb91d7037f
Added search shortcut
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-17 08:28:52 +01:00
Jason Robinson
158036ccf9
Merge remote-tracking branch 'origin/develop' into jaywink/hosting-provider-iframe-minimize-wip
2021-01-15 16:12:53 +02:00
Jason Robinson
e80dba9414
WIP
2021-01-15 15:32:30 +02:00
J. Ryan Stinnett
80f3e14faf
Move LoggedInView
subscriptions to after mounted
...
This avoids a React warning about trying to call `setState` before the component
is mounted.
2021-01-15 13:20:49 +00:00
Jason Robinson
d6af5b3bbd
WIP minimize
2021-01-14 12:20:42 +02:00
Jason Robinson
d4a58bdb2a
WIP minimize
2021-01-14 11:53:20 +02:00
David Baker
e2111d9161
Merge pull request #5532 from matrix-org/dbkr/dtmf
...
Add in-call dialpad for DTMF sending
2021-01-13 13:07:27 +00:00
J. Ryan Stinnett
a73fe72b09
Fix soft crash on soft logout page
...
This fixes a soft crash on the soft logout page, which can occur if it is shown
very quickly after app startup before encryption has become enabled.
2021-01-13 12:25:36 +00:00
Aaron Raimist
b81e6fdedb
Update src/components/structures/auth/SetupEncryptionBody.js
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-01-12 16:04:43 -06:00
Jason Robinson
2b98f14242
Merge branch 'develop' into jaywink/hosting-provider-iframe
2021-01-11 11:16:03 +02:00
David Baker
2d37151750
Merge pull request #5523 from matrix-org/dbkr/dial_pad
...
Add a dialpad UI for PSTN lookup
2021-01-05 17:23:34 +00:00
Jason Robinson
5f84371038
Update some copyrights
2021-01-05 14:29:48 +02:00
Aaron Raimist
4f96d5dee5
Change a bunch of strings from Recovery Key/Phrase to Security Key/Phrase
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-01-04 19:17:17 -06:00
David Baker
4b43929aa3
Add in-call dialpad for DTMF sending
...
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1573
2021-01-04 20:01:43 +00:00
Jason Robinson
bb53ae8038
Rename Element Pro -> Host Signup
2021-01-04 16:05:49 +02:00
Jason Robinson
6286c23aa5
Merge branch 'develop' into jaywink/hosting-provider-iframe
2021-01-04 15:46:28 +02:00
Jason Robinson
7a358b1ca3
Rename components to be less EMS specific
2020-12-28 11:21:42 +02:00
Šimon Brandner
65285fd55e
Fix 15988
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2020-12-24 08:00:23 +01:00
David Baker
452fbb076b
Add a dialpad UI for PSTN lookup
...
Queries the homeserver for PSTN protocol support, and if found,
the add-room button on the DM rooms list section opens a context
menu instead with a 'dial pad' option as well as the current 'start chat'
dialog. Entering a number into this and pressing dial performs
a thirdparty user query for the given string and starts a DM with that
user.
2020-12-23 19:02:01 +00:00
Jason Robinson
0ae28d584b
Typing and other PR feedback fixes
2020-12-18 16:05:57 +02:00
Šimon Brandner
365d252d3f
Fix removing event listeners
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2020-12-17 20:25:12 +01:00
Šimon Brandner
bebbb3b90e
Merge branch 'develop' into improve-file-drop-ui
2020-12-17 20:22:48 +01:00
Šimon Brandner
e70dee08d0
Fix flickering
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2020-12-17 19:50:59 +01:00
Šimon Brandner
dcb30b72b0
Fix left panel resizer
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2020-12-17 13:25:22 +01:00
Jason Robinson
5aa24b97cd
Merge remote-tracking branch 'origin/develop' into jaywink/elementPro
2020-12-16 14:45:16 +02:00
Michael Telatynski
4c2b6f410b
fix tests
2020-12-16 10:41:56 +00:00
Hubert Chathi
983ffe98ff
Merge pull request #5483 from uhoreg/web_pickle
...
Use random pickle key on all platforms
2020-12-15 12:56:41 -05:00
Jason Robinson
cd836be809
Rename everything HostingSignup -> EMSElementPro
...
This setup flow ended up quite specific due to all the various moving parts.
2020-12-15 10:50:38 +02:00
Travis Ralston
18a60ae2ea
Merge pull request #5484 from matrix-org/travis/remove-dead-feature
...
Remove impossible labs feature: sending hidden read receipts
2020-12-10 08:24:05 -07:00
David Baker
f987908d04
Merge pull request #5446 from matrix-org/dbkr/hold_ui
...
Add UI for hold functionality
2020-12-10 12:30:59 +00:00
Travis Ralston
80d6629c3e
delete the rest too
2020-12-09 18:50:16 -07:00
Travis Ralston
27df6ae6e1
Remove impossible labs feature: sending hidden read receipts
...
This claims it requires a compatible homeserver, but that does not exist and hasn't for years. Let's just remove the option to stop giving people false hope.
Once notifications are decoupled from read receipts, this sort of thing should be more possible.
2020-12-09 18:36:48 -07:00
Hubert Chathi
753ec9e45a
use random pickle key on all platforms, and store access token encrypted in IDB
2020-12-09 18:40:31 -05:00
Travis Ralston
3e3a32cf10
Only show confetti if the current room is receiving an appropriate event
2020-12-09 11:56:57 -07:00
David Baker
4a009d480d
Merge remote-tracking branch 'origin/develop' into dbkr/hold_ui
2020-12-08 11:48:14 +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