RMidhunSuresh
|
6f0362802a
|
Move linkify.js to separate directory
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 22:17:08 +05:30 |
|
RMidhunSuresh
|
027f6020e7
|
Modified regex to allow unicode in fragment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 22:15:36 +05:30 |
|
RMidhunSuresh
|
e20810b0cb
|
Add test for unicode after fragment without path
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 20:44:39 +05:30 |
|
RMidhunSuresh
|
7be9f93909
|
Make regex module-level constant
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 20:32:36 +05:30 |
|
RMidhunSuresh
|
03208b88d5
|
Move link tests to linkify
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 20:19:29 +05:30 |
|
RMidhunSuresh
|
dbe76e973e
|
Add braces to all blocks
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 17:59:03 +05:30 |
|
RMidhunSuresh
|
3830a95af2
|
Cache result in TextTile
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 16:03:14 +05:30 |
|
RMidhunSuresh
|
051771397c
|
Fix bug in which links preceeded text
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 13:59:45 +05:30 |
|
RMidhunSuresh
|
3beaf88a8b
|
Rename messageFormat to body
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 13:46:38 +05:30 |
|
RMidhunSuresh
|
070bc96186
|
Fallback to empty string if content is undefined
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 13:43:54 +05:30 |
|
RMidhunSuresh
|
577883a1d4
|
Refactor loop
Don't handle last element separately
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 13:31:33 +05:30 |
|
RMidhunSuresh
|
03b971d898
|
Added tests for new linkify
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-11 12:55:39 +05:30 |
|
RMidhunSuresh
|
17be7c4f4d
|
Add newline to message
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-10 22:10:50 +05:30 |
|
RMidhunSuresh
|
fc3b391aa9
|
Use MessageBodyBuilder instead of linkify
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-10 21:41:57 +05:30 |
|
RMidhunSuresh
|
55f2d79d07
|
Move newline handling to MessageBodyBuilder
- Also add a insert method to reflect new design.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-10 21:37:27 +05:30 |
|
RMidhunSuresh
|
787d438a74
|
Refactored Linkifier class into single function
Modified design so that linkify interacts with MessageBodyBuilder
through callbacks.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-10 21:30:11 +05:30 |
|
RMidhunSuresh
|
dca649dfd4
|
Moved files into more appropriate locations
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-10 19:53:40 +05:30 |
|
RMidhunSuresh
|
06a6cae4af
|
Rename MessageBodyBuilder to MessageBodyBuilder
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-10 19:50:26 +05:30 |
|
RMidhunSuresh
|
2f883d049c
|
Return new message format instead of message text
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-08 19:20:07 +05:30 |
|
RMidhunSuresh
|
9ca0d93a01
|
Add tests for linkify
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-08 19:18:45 +05:30 |
|
RMidhunSuresh
|
32fd1eb318
|
Implement linkifier
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-08 19:17:43 +05:30 |
|
RMidhunSuresh
|
3c46a07a1e
|
Implement object format to represent chat messages
Every chat text message can be split into parts such as text, newline
and links.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-08 19:02:44 +05:30 |
|
Bruno Windels
|
e1d4c75d18
|
pass avatar sizes from view to view model rather than repeating there
and risk a mismatch resulting in too large/small image
|
2021-04-28 14:11:35 +02:00 |
|
Bruno Windels
|
15dfb6c202
|
clarify
|
2021-04-28 10:05:21 +02:00 |
|
Bruno Windels
|
ef6f10c5a2
|
test for Path.replace
|
2021-04-28 09:53:44 +02:00 |
|
Bruno Windels
|
1c5b953026
|
hide non-joined rooms in left panel for now
until we support archiving/forgetting the room
|
2021-04-27 16:16:07 +02:00 |
|
Bruno Windels
|
396ec4dfd9
|
also in grid remove room id from nav path when refreshing room vm fails
|
2021-04-27 15:33:12 +02:00 |
|
Bruno Windels
|
799ea50c68
|
remove obsolete logging
|
2021-04-27 15:02:00 +02:00 |
|
Bruno Windels
|
32d9f6e830
|
expose inviter user id
|
2021-04-27 15:01:35 +02:00 |
|
Bruno Windels
|
a95df54978
|
scale down inviter avatar
|
2021-04-27 15:01:20 +02:00 |
|
Bruno Windels
|
15fba7a07d
|
missing semicolon
|
2021-04-27 14:43:26 +02:00 |
|
Bruno Windels
|
781235cb07
|
scale up room avatar
|
2021-04-27 14:43:13 +02:00 |
|
Bruno Windels
|
f902f255a4
|
add roomDescription property
|
2021-04-27 14:42:37 +02:00 |
|
Bruno Windels
|
b6573258fb
|
always show inviter if present
|
2021-04-27 14:42:12 +02:00 |
|
Bruno Windels
|
87defbfb51
|
sort invites most recent first
|
2021-04-27 14:27:14 +02:00 |
|
Bruno Windels
|
aaf4e79a73
|
make media repo available on invite
|
2021-04-27 11:01:33 +02:00 |
|
Bruno Windels
|
f2d7f5e4da
|
refresh vm when left room receives invite
clean up room vm switching in the process
|
2021-04-23 18:06:38 +02:00 |
|
Bruno Windels
|
2e9ddf9c2c
|
prevent key collisions between rooms and invites before creating tile vm
|
2021-04-22 17:22:47 +02:00 |
|
Bruno Windels
|
20f4474eb6
|
missing semicolon
|
2021-04-21 18:13:29 +02:00 |
|
Bruno Windels
|
76933e51aa
|
fix default avatar color being broken in room list
|
2021-04-21 17:48:40 +02:00 |
|
Bruno Windels
|
1cf49688d6
|
show invites at the top of the room list
|
2021-04-21 17:26:34 +02:00 |
|
Bruno Windels
|
9961d3e4fc
|
unused code
|
2021-04-21 15:48:27 +02:00 |
|
Bruno Windels
|
7e2870acef
|
wire up InviteViewModel in Session/RoomGridViewModel
and:
- switch to room once accepted
- close invite if rejected
|
2021-04-21 15:47:39 +02:00 |
|
Bruno Windels
|
0cc95f5083
|
first draft of InviteViewModel
|
2021-04-21 15:45:51 +02:00 |
|
Bruno Windels
|
16f275ca34
|
make pass-through props smaller
|
2021-04-21 15:34:35 +02:00 |
|
Bruno Windels
|
a91a584201
|
not used anymore
|
2021-04-21 15:33:45 +02:00 |
|
Bruno Windels
|
9c19fa5c63
|
utility to remove room from path (with our without grid)
which will be used when rejecting an invite
|
2021-04-21 15:33:08 +02:00 |
|
Bruno Windels
|
bb1c64e1ac
|
add left panel tile view model for invites
and track in-progress state in Invite so it is shared by left panel
and open invite
|
2021-04-20 19:01:40 +02:00 |
|
Bruno Windels
|
1505f2d101
|
Merge pull request #307 from vector-im/hs/deault-hs-url
Allow specifying a custom defaultHomeServer
|
2021-04-01 13:03:46 +00:00 |
|
Bruno Windels
|
10e9e7388f
|
expose checking pusher on homeserver in setting
|
2021-04-01 15:01:04 +02:00 |
|