Bruno Windels
|
c65e8bea11
|
clean up properly
|
2020-11-10 19:05:50 +01:00 |
|
Bruno Windels
|
2d8000d11d
|
file tile view
|
2020-11-10 17:50:53 +01:00 |
|
Bruno Windels
|
a3ca0feda9
|
file tile view model
|
2020-11-10 17:50:38 +01:00 |
|
Bruno Windels
|
373a42c7a8
|
allow downloading plaintext attachments also, with or without cache
|
2020-11-10 17:49:48 +01:00 |
|
Bruno Windels
|
a4f610ad3f
|
support emotes
|
2020-11-10 15:13:31 +01:00 |
|
Bruno Windels
|
7d81306a49
|
return BufferHandles from the media repository
BufferHandles are platform specific handles to a buffer. On web,
they have a .blob and .url property.
|
2020-10-30 15:18:27 +01:00 |
|
Bruno Windels
|
68a0dd30ca
|
add lightbox navigation and basic view & view model
|
2020-10-29 11:12:32 +01:00 |
|
Bruno Windels
|
fe6e4464fd
|
pass all viewmodel options to tile view models
|
2020-10-29 11:10:34 +01:00 |
|
Bruno Windels
|
862a0ba56b
|
show image decryption error
|
2020-10-29 10:29:08 +01:00 |
|
Bruno Windels
|
d1e78a735a
|
show error in label for now
|
2020-10-29 10:18:05 +01:00 |
|
Bruno Windels
|
97c3a4b8f3
|
store error when loading encrypted images
|
2020-10-27 16:21:08 +01:00 |
|
Bruno Windels
|
e7ff6decbf
|
remove unneeded quotes
|
2020-10-27 16:20:41 +01:00 |
|
Bruno Windels
|
77dca5dd55
|
add update parameter when replacing tile
|
2020-10-27 16:19:36 +01:00 |
|
Bruno Windels
|
fcc4c21ad2
|
filter mime types for blob urls
|
2020-10-27 14:35:33 +01:00 |
|
Bruno Windels
|
ee1e62207c
|
apply platform changes to decrypting images
|
2020-10-26 17:18:17 +01:00 |
|
Bruno Windels
|
3ed5ea8b0b
|
Merge branch 'master' into bwindels/decrypt-images
|
2020-10-26 17:08:29 +01:00 |
|
Bruno Windels
|
03351d2e1f
|
extract platform class to put all platform specific code in
|
2020-10-26 15:44:11 +01:00 |
|
Bruno Windels
|
2e0d1363c7
|
fix
|
2020-10-26 10:16:23 +01:00 |
|
Bruno Windels
|
a6224135e3
|
extract blob url code to platform (WIP)
|
2020-10-26 10:14:46 +01:00 |
|
Bruno Windels
|
cbd48aa528
|
only load main image when clicking thumbnail
|
2020-10-26 09:49:42 +01:00 |
|
Bruno Windels
|
3a6268f0c1
|
basic PoC of image decryption working
needs looooaaads of cleanup still
|
2020-10-23 17:25:11 +02:00 |
|
Bruno Windels
|
cdcdc07c06
|
fix a crash when switching rooms before the messages have loaded
as we were not disposing the timeline view model
(but still not leaking though)
|
2020-10-19 12:57:21 +02:00 |
|
Bruno Windels
|
1d33ab20a5
|
fix decrypted tiles not corresponding to a tile
|
2020-09-18 13:36:16 +02:00 |
|
Bruno Windels
|
a11b612640
|
await this
|
2020-09-14 17:45:02 +02:00 |
|
Bruno Windels
|
b2e6e8687e
|
dispose tiles
also add more defence against emitting event when disposed
|
2020-09-14 17:44:37 +02:00 |
|
Bruno Windels
|
9ea961ae53
|
don't crash when we don't have a subscription anymore
|
2020-09-14 17:43:06 +02:00 |
|
Bruno Windels
|
8555fd5f18
|
a little extra caution
|
2020-09-14 15:47:00 +02:00 |
|
Bruno Windels
|
aa5d55bbf2
|
show when e2ee is enabled in timeline
|
2020-09-14 15:47:00 +02:00 |
|
Bruno Windels
|
8c4d68def9
|
show decryption errors in timeline
|
2020-09-14 15:47:00 +02:00 |
|
Bruno Windels
|
4875095ea3
|
fix event tiles not updating when event is decrypted when room keys come
|
2020-09-11 17:47:35 +02:00 |
|
Bruno Windels
|
0dece5b04f
|
make continuation logic work well with pending events
- don't use display name to compare but user id
(pending doesn't have display name yet)
- use current time as timestamp
|
2020-09-11 11:43:40 +02:00 |
|
Bruno Windels
|
fdbc5f3c1d
|
WIP worker work
|
2020-09-10 13:00:11 +02:00 |
|
Bruno Windels
|
c32ac2c764
|
use decryption result to show message verification status in timeline
|
2020-09-08 10:50:39 +02:00 |
|
Bruno Windels
|
f0d0dbb30f
|
fix member event reporting
|
2020-08-20 17:43:51 +02:00 |
|
Bruno Windels
|
cff39019cb
|
extract renderAvatar
and use avatarTitle instead of sender for img title
|
2020-08-20 17:32:18 +02:00 |
|
Bruno Windels
|
59bdd2b015
|
render avatar on message tiles
|
2020-08-20 16:03:52 +02:00 |
|
Bruno Windels
|
5d0ee21267
|
move mxcUrl functions to media repo class
|
2020-08-20 15:40:43 +02:00 |
|
Bruno Windels
|
843f4fa0f7
|
fix flood issue when back-filling isn't available
|
2020-08-20 15:28:22 +02:00 |
|
Bruno Windels
|
036b305c96
|
use display name for room name change tiles
|
2020-08-20 15:24:16 +02:00 |
|
Bruno Windels
|
d31a1b5fff
|
render display name in timeline
|
2020-08-20 10:26:28 +02:00 |
|
Bruno Windels
|
2526198251
|
replace usage of readPath with ?.
|
2020-08-19 11:36:43 +02:00 |
|
Bruno Windels
|
614a00b741
|
don't continue messages from more than 5min ago
|
2020-08-19 10:28:09 +02:00 |
|
Bruno Windels
|
fad728069a
|
don't show date & time on pending events
|
2020-08-19 10:27:27 +02:00 |
|
Bruno Windels
|
1c779cf95c
|
render encrypted tiles as such so we don't fetch the whole history
|
2020-08-17 17:41:57 +02:00 |
|
Bruno Windels
|
0b1d9bf25e
|
unused now
|
2020-08-17 17:41:49 +02:00 |
|
Bruno Windels
|
37597e2acb
|
mark fragment in storage when start of timeline is reached
so we don't keep looping to fetch more messages
when scrolled all the way up
|
2020-08-17 17:41:10 +02:00 |
|
Bruno Windels
|
1e4f331989
|
fill top gap instead of loading more events from storage
|
2020-08-17 15:13:12 +02:00 |
|
Bruno Windels
|
cf0af775e3
|
make SimpleTile inherit from ViewModel
to use same update mechanism and have viewmodel infra available for tile
|
2020-08-17 15:11:39 +02:00 |
|
Bruno Windels
|
9745c58144
|
use readPath in ImageTile
|
2020-08-17 14:20:54 +02:00 |
|
Bruno Windels
|
70e6515b5c
|
dont crash on m.image without url
|
2020-08-17 10:29:29 +02:00 |
|