Bruno Windels
|
83cbe78cd6
|
report attachment upload progress
|
2020-11-16 10:45:46 +01:00 |
|
Bruno Windels
|
1dd46b875b
|
this is fine actually, as it will get encrypted.
just don't pass it to the upload
|
2020-11-13 19:22:06 +01:00 |
|
Bruno Windels
|
0292725076
|
better formatting
|
2020-11-13 19:10:18 +01:00 |
|
Bruno Windels
|
262cc8936e
|
don't leak mimetype for encrypted attachments
|
2020-11-13 19:10:04 +01:00 |
|
Bruno Windels
|
d2a4242e5b
|
support multiple attachments per event
|
2020-11-13 17:19:19 +01:00 |
|
Bruno Windels
|
8b16d8bc99
|
handle upload failures better
|
2020-11-11 13:06:03 +01:00 |
|
Bruno Windels
|
af4f3f902f
|
wait for attachment to be uploaded in send queue
also expose attachment from PendingEvent(Entry)
|
2020-11-11 11:51:39 +01:00 |
|
Bruno Windels
|
48cd4ac95d
|
track upload error
|
2020-11-11 11:51:11 +01:00 |
|
Bruno Windels
|
91f15074be
|
/upload is on /media/r0, not /client/r0
|
2020-11-11 11:50:40 +01:00 |
|
Bruno Windels
|
366f3c0bba
|
iv and digest are sent in unpadded base64
|
2020-11-11 11:50:20 +01:00 |
|
Bruno Windels
|
e9324ad678
|
support jwk keys to encrypt
|
2020-11-11 11:47:39 +01:00 |
|
Bruno Windels
|
7088b2cdc8
|
support attachment upload and sending from room api
|
2020-11-11 10:47:55 +01:00 |
|
Bruno Windels
|
0c70a67ebb
|
pass platform to room
as we'll need it to access crypto and creating blobs
|
2020-11-11 10:47:19 +01:00 |
|
Bruno Windels
|
c289bcd097
|
return blob from encryptAttachment
|
2020-11-11 10:46:37 +01:00 |
|
Bruno Windels
|
32b7b1f064
|
draft of AttachmentUpload class
|
2020-11-11 10:46:20 +01:00 |
|
Bruno Windels
|
2890a6aff7
|
implement attachment uploading in hs api rather than media repo
as we need the access token
|
2020-11-11 10:45:44 +01:00 |
|
Bruno Windels
|
9f2c7c1e32
|
support uploading blobs in hs api
|
2020-11-11 10:45:23 +01:00 |
|
Bruno Windels
|
2cfffa015d
|
WIP
|
2020-11-10 22:36:26 +01:00 |
|
Bruno Windels
|
d14f485292
|
Merge branch 'master' into bwindels/file-downloads
|
2020-11-10 18:55:27 +01:00 |
|
Bruno Windels
|
f5480b7708
|
provide random value for IE11
|
2020-11-10 18:31:18 +01:00 |
|
Bruno Windels
|
ba323c65d6
|
fix typo in name
|
2020-11-10 18:30:48 +01:00 |
|
Bruno Windels
|
373a42c7a8
|
allow downloading plaintext attachments also, with or without cache
|
2020-11-10 17:49:48 +01:00 |
|
Bruno Windels
|
de143fdafc
|
update timestamp when creating a new megolm session
|
2020-11-10 16:17:56 +01:00 |
|
Bruno Windels
|
769feac73c
|
cleanup
|
2020-11-10 14:02:27 +01:00 |
|
Bruno Windels
|
5f6ad91ff2
|
offload creating an olm session to the olm worker
so IE11 doesn't lock up when you start typing
|
2020-11-10 11:04:09 +01:00 |
|
Bruno Windels
|
bd5771e449
|
remove obsolete comment
|
2020-11-09 17:22:37 +01:00 |
|
Bruno Windels
|
6572377832
|
move tracking the room to where we need the devices
|
2020-11-09 16:50:39 +01:00 |
|
Bruno Windels
|
9cfb3c8e95
|
only check to pre-share new megolm session every minute
|
2020-11-09 16:50:05 +01:00 |
|
Bruno Windels
|
44a2febce9
|
hook it up
|
2020-11-06 23:43:02 +01:00 |
|
Bruno Windels
|
c6ff4c2517
|
finish room encryption part
|
2020-11-06 18:56:32 +01:00 |
|
Bruno Windels
|
d0d1f68a9c
|
WIP
|
2020-11-06 16:56:12 +01:00 |
|
Bruno Windels
|
5d12aef6db
|
support pre-sharing room keys in room encryption
|
2020-11-06 10:32:37 +01:00 |
|
Bruno Windels
|
e0c8be3a9a
|
try to call out when #187 happens
|
2020-11-05 22:41:33 +01:00 |
|
Bruno Windels
|
16542284f3
|
fix #48
|
2020-11-05 21:24:14 +01:00 |
|
Bruno Windels
|
b8370d53b6
|
always throw here so we never get to Ready status when stopped
|
2020-11-05 21:22:29 +01:00 |
|
Bruno Windels
|
134f018849
|
always have an error when stopping sync
|
2020-11-05 21:21:27 +01:00 |
|
Bruno Windels
|
a3ec01385b
|
Merge pull request #178 from vector-im/bwindels/lightbox
Lightbox for picture messages
|
2020-11-02 11:23:10 +00:00 |
|
Bruno Windels
|
597a57eae3
|
too much whitespace
|
2020-10-30 19:59:21 +01:00 |
|
Bruno Windels
|
137264edcb
|
implement subscribing to a single event
|
2020-10-30 15:19:51 +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
|
3008367307
|
detect AbortError properly, name is a string
|
2020-10-30 09:54:38 +01:00 |
|
Bruno Windels
|
a3aa25449b
|
make it work with xhr
|
2020-10-26 17:37:32 +01:00 |
|
Bruno Windels
|
3ed5ea8b0b
|
Merge branch 'master' into bwindels/decrypt-images
|
2020-10-26 17:08:29 +01:00 |
|
Bruno Windels
|
1a518cdd28
|
more refactor fixes
|
2020-10-26 16:31:30 +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
|
46fd769dda
|
(re)move old (compile-time) platform code
|
2020-10-26 10:34:35 +01:00 |
|
Bruno Windels
|
4fd71279cf
|
don't disable cache for media repository downloads
|
2020-10-26 09:58:39 +01:00 |
|
Bruno Windels
|
6a468a0883
|
decrypt attachment code
|
2020-10-23 17:45:15 +02: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
|
f214c53fa9
|
add @internal and other comments to Session
|
2020-10-23 12:59:40 +02:00 |
|