David Baker
d2fe4bcecd
Unused imports
2020-05-26 13:46:47 +01:00
David Baker
7e45a71a8a
Remove EncryptedEventDialog
...
https://github.com/matrix-org/matrix-react-sdk/pull/4412 disabled it
when cross signing was enabled so it is essentially gone now anyway.
Fixes https://github.com/vector-im/riot-web/issues/11752
2020-05-26 13:37:57 +01:00
Michael Telatynski
5e00481639
Fix sentMessageAndIsAlone by dispatching message_sent
more consistently
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-24 13:08:29 +01:00
Jorik Schellekens
323d0762fc
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into joriks/irc-ui
2020-05-19 18:03:44 +01:00
Jorik Schellekens
2e325191bc
Merge remote-tracking branch 'nv/develop' into joriks/irc-ui
2020-05-19 17:18:36 +01:00
Travis Ralston
90a898d03f
Move dispatcher into a subdirectory
...
We're expecting to have a whole bunch of types for the dispatched payloads, so pull the thing into a directory we can throw them in.
2020-05-13 21:07:50 -06:00
Jorik Schellekens
9b7c63a711
Duplicated names
2020-05-08 20:53:32 +01:00
Michael Telatynski
6ff093f5a3
Bring back UnknownBody for UISIs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-08 19:15:59 +01:00
Jorik Schellekens
771ae5e18f
Fix encryption badge layouts and replies.
...
Begin removing dependence on slider.
Move settings to labs.
Username disambiguation.
2020-05-07 14:04:56 +01:00
Michael Telatynski
3e35cffae7
null-guards
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-27 23:53:32 +01:00
Michael Telatynski
a399b1018a
fix flashing by ""
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-27 23:16:08 +01:00
Michael Telatynski
d3b0e008c1
first draft of Redaction ELS
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-24 15:39:23 +01:00
Michael Telatynski
e16f511527
Redesign redactions
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-24 15:07:39 +01:00
Zoe
e3d784816d
Merge branch 'develop' into foldleft/better-errors
2020-04-17 14:11:05 +01:00
Travis Ralston
db749519e7
Merge branch 'develop' into travis/cross-sign-setting
2020-04-16 11:06:26 -06:00
Michael Telatynski
135cecbd4f
Merge pull request #4410 from matrix-org/t3chguy/copy
...
consolidate and fix copy to clipboard
2020-04-16 09:47:24 +01:00
Travis Ralston
b4e2daaf46
Convert cross-signing feature flag to setting
...
This is intended as a temporary measure until we're comfortable with removing the flag entirely.
2020-04-15 13:18:42 -06:00
J. Ryan Stinnett
e9c755e73f
Remove end-to-end message info option when cross-signing is used
...
This end-to-end info dialog repeats info available elsewhere and has not been
updated to make sense for cross-signing, triggers old verification methods, etc.
For now, this hides the option to present a more consistent UI.
Relates to https://github.com/vector-im/riot-web/issues/11752
2020-04-15 10:25:05 +01:00
Michael Telatynski
89bc3bdd5b
consolidate and extract copyPlaintext, copyNode and selectText
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-15 00:16:11 +01:00
Michael Telatynski
90255be499
Fix copy button on code blocks when there is no code just pre
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-07 11:17:19 +01:00
Zoe
5ef06357f6
Merge branch 'develop' into foldleft/better-errors
2020-04-06 11:36:46 +01:00
Travis Ralston
07030a9466
Merge branch 'develop' into travis/react-warnings/3-componentCannotDidMount
2020-04-01 11:14:19 -06:00
Travis Ralston
0a6f54da33
Label and use UNSAFE_componentWillMount to minimize warnings
...
These TODO comments are expected to be fixed ASAP, but until that happens let's minimize the errors in the console for development.
For https://github.com/vector-im/riot-web/issues/12877
These all aren't using componentDidMount because they do something which causes application instability if componentDidMount were used. Much of these calls are expected to move into constructors once they are converted to real classes.
2020-03-31 14:15:23 -06:00
Travis Ralston
3f99332f4b
Use componentDidMount in place of componentWillMount where possible
...
This fixes a common React warning we see. Most of these components should be using constructors instead, however componentDidMount is just as good (and doesn't require converting most of these).
Conversion to classes will be done in a later stage of React warning fixes.
For https://github.com/vector-im/riot-web/issues/12877
2020-03-31 14:14:17 -06:00
Zoe
04849f7f0d
incorporated design feedback
2020-03-26 13:47:32 +00:00
Zoe
9c392ce8bb
Merge branch 'develop' into foldleft/better-errors
2020-03-26 13:38:50 +00:00
Travis Ralston
e4d323d2f2
Disable edits on redacted events
...
Fixes https://github.com/vector-im/riot-web/issues/12633
2020-03-06 14:23:20 -07:00
Michael Telatynski
c0b68ccd53
only automatically download in usercontent if user requested it
2020-03-03 13:23:33 +00:00
Michael Telatynski
0e65d54af2
Fix having to decrypt & download in two steps
2020-03-03 11:03:40 +00:00
Bruno Windels
682781aa48
better word smithing
2020-02-25 13:27:59 +01:00
Bruno Windels
bd584ab236
from verification tile, also don't wait to show right panel
2020-02-25 13:27:19 +01:00
Zoe
adf6dfe4ea
Threaded through the event type to the user
2020-02-25 10:30:35 +00:00
Zoe
3302469a2b
Catch errors sooner so users can recover more easily
2020-02-24 18:04:11 +00:00
Michael Telatynski
0bcdf062a3
reset opener when using window.open
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:22:12 +00:00
Michael Telatynski
d783ce86c8
Use noreferrer in addition to noopener for edge case browsers
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:14:29 +00:00
Matthew Hodgson
7696f704b2
Fix two big DOM leaks which were locking Chrome solid.
...
pillifyLinks leaked Pill components, which if they contained a BaseAvatar
would leak a whole DOM tree retained by the BaseAvatar's onClientSync
event listener. This tracks the Pill containers so they can be unmounted
via unmountPills.
BasicMessageComposer set an event listener on selectionchange in onFocus
which leaked if onBlur wasn't called. This removes it in unmount.
We've also seen Velociraptor retaining full DOM trees from RRs, which
this doesn't address as the leak is probably within Velocity, and the plan
is to replace it with CSS animations.
Should fix https://github.com/vector-im/riot-web/issues/12417
2020-02-22 23:51:30 +00:00
Michael Telatynski
b1b17a313e
Merge pull request #4046 from matrix-org/t3chguy/usercontent
...
Get rid of dependence on usercontent.riot.im
2020-02-19 12:53:01 +00:00
Michael Telatynski
627a4d4ea4
Update comments and such
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-13 16:53:45 +00:00
Michael Telatynski
12aae12218
Merge branches 'develop' and 't3chguy/usercontent' of github.com:matrix-org/matrix-react-sdk into t3chguy/usercontent
2020-02-13 16:36:05 +00:00
Bruno Windels
3292991491
provide specific label for when accepting/declining is in progress
...
also distuingish between cancelling and declining
2020-02-13 17:29:38 +01:00
Bruno Windels
3eb07465f7
use canAccept in tile, which takes local echo into account
2020-02-13 17:29:13 +01:00
Michael Telatynski
40b8db84e3
Get rid of dependence on usercontent.riot.im
2020-02-07 22:07:29 +00:00
Bruno Windels
413a149b47
disable "Accept"/"Decline" buttons on verif tile after clicking
...
to avoid sending double events
2020-02-07 15:50:42 +01:00
J. Ryan Stinnett
110c5f0e61
Fix listener removal in verification tile
...
Fixes https://github.com/matrix-org/riot-web-rageshakes/issues/2202
2020-02-04 23:13:55 +00:00
Zoe
150fe7a45a
Tests for MKeyVerificationConclusion
2020-02-04 11:25:19 +00:00
Zoe
af0598bbcb
double-check user verification
2020-01-31 10:37:40 +00:00
David Baker
d0ab37ac50
Only say the room is encrypted if it actually is
2020-01-31 09:58:21 +00:00
David Baker
58d16fea7d
lint
2020-01-30 20:59:27 +00:00
David Baker
2332cdb5d8
full stop
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-01-30 20:47:46 +00:00
David Baker
5447a04f8e
oops, forgot the component
2020-01-30 20:15:15 +00:00