Danila Fedorin
|
cdf85edad9
|
Move pill parsing into deserialize and avoid intermediate objects.
|
2021-07-16 13:01:33 -07:00 |
|
Danila Fedorin
|
eacc033929
|
Make code blocks accept non-code tags.
|
2021-07-16 11:38:41 -07:00 |
|
Bruno Windels
|
b5b19abb24
|
only allow links for the schemas mentioned in the spec
|
2021-07-16 18:32:40 +02:00 |
|
Danila Fedorin
|
d69b78469c
|
Add table viewing code.
|
2021-07-15 13:19:54 -07:00 |
|
Danila Fedorin
|
c13daedcb0
|
Ignore non-absolute links.
|
2021-07-15 13:15:56 -07:00 |
|
Danila Fedorin
|
025ab16668
|
Fix /me body rendering.
|
2021-07-14 18:10:59 -07:00 |
|
Danila Fedorin
|
038b101ed7
|
Render matrix.to user links as pills
|
2021-07-14 17:57:53 -07:00 |
|
Danila Fedorin
|
78d7d556e4
|
Add blockquote and del elements.
|
2021-07-14 12:38:55 -07:00 |
|
Danila Fedorin
|
763e1cd5de
|
Add tentative version of linkification.
|
2021-07-13 16:56:46 -07:00 |
|
Danila Fedorin
|
0c05ff459c
|
Add another test.
|
2021-07-13 15:14:03 -07:00 |
|
Danila Fedorin
|
5e39eb8f6c
|
Do some additional validation, blocking block nodes inside inline nodes.
|
2021-07-13 14:47:10 -07:00 |
|
Danila Fedorin
|
4b92903ddd
|
Add a test for auto-closing tags.
|
2021-07-12 15:16:04 -07:00 |
|
Danila Fedorin
|
4022c6121b
|
Switch to DOMPurify in platform layer for sanitization.
|
2021-07-12 15:00:16 -07:00 |
|
Danila Fedorin
|
012ef2b215
|
Validate w/h and avoid use of properties object.
|
2021-07-12 13:42:39 -07:00 |
|
Danila Fedorin
|
1e9cdbafd4
|
Move test-specific code into the testing function.
|
2021-07-12 13:31:33 -07:00 |
|
Danila Fedorin
|
fd17ffecfb
|
Pass parameters to parseHTMLBody directly instead of via object.
|
2021-07-12 12:55:33 -07:00 |
|
Danila Fedorin
|
c261b9fb23
|
Avoid intermediate objects while parsing TextTiles' bodies.
|
2021-07-12 12:47:22 -07:00 |
|
Danila Fedorin
|
9304ca330e
|
Rewrite deserialize as a class to avoid passing options around.
|
2021-07-12 12:19:51 -07:00 |
|
Danila Fedorin
|
abd62373e5
|
Remove copy of MediaRepository mxcUrl parsing.
|
2021-07-09 13:09:19 -07:00 |
|
Danila Fedorin
|
1435c2c9a2
|
Add HTML sanitization to domain layer.
|
2021-07-09 13:06:24 -07:00 |
|
Danila Fedorin
|
d38c52d311
|
Display images in messages
|
2021-07-08 00:16:58 -07:00 |
|
Danila Fedorin
|
c582b723bd
|
Start working on images.
|
2021-07-07 23:40:16 -07:00 |
|
Danila Fedorin
|
eca5308742
|
Move deserialization into domain and fix tests.
|
2021-07-07 12:21:10 -07:00 |
|
Danila Fedorin
|
e56b15237e
|
Parse formatted message bodies in addition to plain ones.
|
2021-07-06 16:14:04 -07:00 |
|
Danila Fedorin
|
6ba2deffef
|
Make small tweaks to formatted representation.
|
2021-07-02 18:19:40 -07:00 |
|
Danila Fedorin
|
94f6c99ea6
|
Begin a parser implementation from HTML into an internal representation.
|
2021-07-02 00:18:37 -07:00 |
|
Danila Fedorin
|
4ee15005f5
|
Inline code blocks don't contain other elements
|
2021-07-01 13:55:01 -07:00 |
|
Danila Fedorin
|
fd12baae3b
|
Add some other message parts as demo.
|
2021-07-01 13:55:01 -07:00 |
|
Danila Fedorin
|
ad868818c7
|
Add some initial thoughts on the implementation.
|
2021-07-01 13:55:01 -07:00 |
|
Danila Fedorin
|
ee1f1500e9
|
Roll back to using heroes for computing DM color
|
2021-06-30 15:07:40 -07:00 |
|
Danila Fedorin
|
dec0683145
|
Correctly color archived and invited rooms
|
2021-06-29 16:50:42 -07:00 |
|
Danila Fedorin
|
6527a0c677
|
Make the room color match up on the left panel, too.
|
2021-06-28 11:54:49 -07:00 |
|
Danila Fedorin
|
97854423c4
|
Ensure DM rooms have the same color in timeline and left panel.
|
2021-06-28 11:44:27 -07:00 |
|
Bruno Windels
|
09aba78803
|
Merge branch 'master' into room-info
|
2021-06-24 15:06:37 +00:00 |
|
Bruno Windels
|
dbaef5117a
|
Merge pull request #384 from vector-im/bwindels/reactions
Reactions
|
2021-06-24 15:01:44 +00:00 |
|
Bruno Windels
|
bb6417dab9
|
fix lint
|
2021-06-24 15:24:53 +02:00 |
|
Bruno Windels
|
5984e8dd6d
|
don't show reactions for redacted messages
|
2021-06-24 14:49:43 +02:00 |
|
Bruno Windels
|
787308375c
|
prevent toggling in vm while already busy
otherwise the check in SendQueue to prevent duplicates might fail
|
2021-06-24 14:33:16 +02:00 |
|
Bruno Windels
|
299294daff
|
prevent re(d)action in left/kicked room
|
2021-06-24 14:24:22 +02:00 |
|
Bruno Windels
|
3fa0f234bb
|
not used
|
2021-06-24 14:12:55 +02:00 |
|
Bruno Windels
|
366d3761b8
|
remove waiting for update event (it might not come in case of dupe)
also remove duplicate logging impl for re(d)action at cost of
double haveAnnotation call
|
2021-06-24 13:35:59 +02:00 |
|
Bruno Windels
|
7557e2f437
|
not used
|
2021-06-24 13:26:14 +02:00 |
|
Bruno Windels
|
38b465cb9d
|
rename vm.toggleReaction to vm.toggle
|
2021-06-24 13:15:20 +02:00 |
|
Bruno Windels
|
a4a7c23148
|
use pending re(d)action timestamp to have stable reaction sorting order
also move more logic into the matrix layer, from Reaction(s)ViewModel
to PendingAnnotation
|
2021-06-24 12:26:38 +02:00 |
|
RMidhunSuresh
|
eb35f46214
|
Make sure room does exist before creating vm
- This will stop the code from throwing when opening /details on
UnknownRoomView.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-24 14:58:02 +05:30 |
|
RMidhunSuresh
|
e2fd90bdc2
|
Remove Segment import
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-24 13:48:53 +05:30 |
|
Bruno Windels
|
c585d76ce5
|
also clear pending reaction promise when an error is thrown
|
2021-06-23 17:47:47 +02:00 |
|
Bruno Windels
|
1a5a64864a
|
don't double log redactReaction
|
2021-06-23 17:47:18 +02:00 |
|
Bruno Windels
|
48588687a5
|
share logic whether have reacted already between basemsgtile & reactvm
|
2021-06-23 15:38:12 +02:00 |
|
Bruno Windels
|
a1d24894eb
|
this will block if we have a pending redaction & reaction
so the reaction won't be aborted
|
2021-06-23 11:45:24 +02:00 |
|