4deeef5fca
Remove ability to remove avatars
2020-05-18 16:57:00 +01:00
bc5fc57dd6
Lint
...
This is why we shouldn't rely on regex
2020-05-07 14:22:15 +01:00
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
5568e6488d
Fix encryption badge layout
2020-05-07 14:04:34 +01:00
0af265bf93
Fix replies
2020-05-07 14:04:34 +01:00
027826c2e1
Replies have the same layout as messages
2020-05-07 14:04:33 +01:00
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
fde32f13a5
[CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-develop
2020-01-09 14:15:09 -07:00
d56f0f2a25
Convert many imports to handle ES6 exports
...
Reliant upon https://github.com/matrix-org/matrix-react-sdk/pull/3761
2019-12-22 21:04:42 -07:00
937b32663c
Migrate away from Legacy React Contexts
2019-12-17 17:26:12 +00:00
bdcf3890a5
Fix HTML fallback in replies
...
Correctly encode the `body` to avoid problems down the line. We also convert newlines to `<br/>` to better represent the message as a fallback.
Fixes https://github.com/vector-im/riot-web/issues/9413
2019-11-08 16:07:11 -07:00
fc66e69c02
Rename RoomPermalinkCreator -> Permalinks due to scope
...
The file handles more than just a RoomPermalinkCreator, so we should name it accordingly.
2019-09-30 20:39:58 -06:00
64aa6695f5
Move matrix-to.js to utils/permalinks/RoomPermalinkCreator
...
Just a little bit of refactoring to make the feature of custom prefixes a bit easier.
2019-09-30 12:16:46 -06:00
6f529852cd
Skip forceUpdate in ReplyThread if the redacted event is not relevant
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-08-14 23:27:04 +01:00
a44d61fb75
add copyright
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-08-13 18:17:42 +01:00
6589e5dab9
Fix showing events which were replied to and then redacted
2019-08-13 18:13:47 +01:00
33885cb864
Use getRelation
helper
...
Use the `getRelation` helper to ensure we always read relation info from the
wire content as required in E2E rooms.
2019-05-16 09:25:33 +01:00
4e382b1dd9
rename onWidgetLoad to onHeightChanged
...
as it's easy to confuse it with room widgets, but has nothing to do with it.
2019-03-07 17:02:19 +01:00
6b07195b63
Add missing permalinkCreator prop
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-03-01 09:36:36 +00:00
fb672ffb28
change handling of event permalinks in replies
2019-02-25 18:43:08 +01:00
e67dae704a
Take replies out of labs!
2018-06-20 09:57:11 +01:00
dbbcabfed8
switch from asymmetrical fallback form to a cleaner one mx-reply
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-05-12 15:58:25 +01:00
97d344483e
fix thinko when changing from ClientPeg to context in static method (DUH
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-05-03 14:32:13 +01:00
4892694e77
use more explicit reply fallback closing tag construct to fix 6657
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-05-03 11:24:10 +01:00
11ae0805b0
re-order ReplyThread methods for readability
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-05-01 17:42:58 +01:00
bbce6eea5b
update comment
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-30 23:28:55 +01:00
4021fc049c
re-arrange method order to group statics before instance methods
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-29 00:54:54 +01:00
c00c52e537
added another comment
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-29 00:53:35 +01:00
407be88c92
add comment
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-29 00:51:39 +01:00
5bb15b1002
simplify logic
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-29 00:48:44 +01:00
2e29a0857b
improve stripPlainReply comment and fix leading NewLine
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-27 12:12:01 +01:00
68dd57f56e
rename two methods
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-27 11:47:18 +01:00
3050553fc2
rename and change getInReplyTo
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-27 11:44:14 +01:00
ca766df598
call onWidgetLoad on componentDidUpdate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-27 11:32:04 +01:00
fdf63fd440
replace concat on comment from review
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-27 11:31:04 +01:00
3ba9f560d4
get MatrixClient from context
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-27 11:30:47 +01:00
88f48914b4
improve comment
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-27 11:28:17 +01:00
941bb94234
fix reply fallback blunder
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-20 10:15:15 +01:00
a90bd6cd4f
Allow collapsing ReplyThread from MessageContextMenu
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-04-13 12:28:58 +01:00
661073493b
implement desired m.room.message->m.text fallbacks
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-03-16 18:31:17 +01:00
14f29e4740
fix the bugs Tulir found - THANKS
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-03-09 23:37:42 +00:00
ed8f087eb6
fix access of element [0] of array even though it sometimes does not exist
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-03-06 15:17:57 +00:00
df56a67fda
Add reply fallback and run gen-i18n
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-03-04 12:39:34 +00:00
90f9badbf3
s/Reply/ReplyThread/
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-02-20 15:40:19 +00:00