Xavier Del Campo Romero
595902355e
Show file upload/download progress
...
Fixes upstream issue #1350 .
Notes:
Image uploads were incorrectly handled by Dino, as they were always
reported as completed even if they were not, maybe so as to show the
image preview from the start. Now, Dino shows the upload progress for
all file types, and the image is only shown when completed.
(cherry picked from commit 700708b7e10ce1110528a2b83b854fae3f6be95e)
2024-04-16 18:21:42 +03:00
Marvin W
6690d8e4a4
Bind soup session lifetime to File provider/sender lifetime
...
Required since libsoup 3.4. Fixes #1395
2023-03-22 12:35:13 -06:00
Marvin W
503de303d7
Consider stream readable when EOS is reached.
...
Fixes #1373
2023-03-02 00:02:35 +01:00
Marvin W
e62955d3cf
HTTP: Make LimitInputStream pollable for better async compatibility
...
Fixes #1307
2022-11-04 15:45:48 -06:00
Marvin W
6e37f3fe3f
Automatically select appropriate libsoup version
2022-11-03 14:10:57 -06:00
Marvin W
baa4a6a1eb
Prepare http-files plugin for libsoup-3 support
...
Note: ice plugin still depends on libsoup-2.4 and one can't have both
in the same process, so this remains disabled by default
2022-04-09 00:28:42 +02:00
Marvin W
193bf38a79
Allow cancellation of file transfers
2022-03-30 10:36:52 -06:00
fiaxh
fa1ba2f83d
Remove ContentFilters
...
fixes #1129 #573
2021-12-09 15:46:16 +01:00
fiaxh
ce292d03e3
Don't remove characters after '#' in filename
2021-06-07 10:00:47 -06:00
Marvin W
ef2e3c774c
Add RTP implementation as plugin
2021-03-21 12:41:38 +01:00
fiaxh
d0488401ce
Use WeakMap for message caching
2020-11-14 17:05:46 +01:00
fiaxh
49bcbdaa51
Fix initial file encryption displaying
...
fixes #831
2020-09-07 15:14:29 +02:00
fiaxh
e159fd2492
Only query entity caps when we need them
2020-07-16 23:31:19 +02:00
fiaxh
51a2372869
Add file upload preview
...
fixes #756
2020-04-22 15:44:12 +02:00
Marvin W
8cca049e5c
Fix file receival in groupchat pmsx
2020-01-09 13:21:54 +01:00
Marvin W
4a3cef89fd
Don't allow newlines in URLs, also clean up on http file transfer detection
2019-12-26 15:46:58 +01:00
Wiktor Kwapisiewicz
687ec1a159
Add support for HTTP Upload headers
...
Some services use Authorization header [0] to pass upload credential
data. This avoids the token being exposed in server logs and is allowed
by XEP-0363 since version 0.5.0.
This change adds support for headers allowed in XEP-0363: Authorization,
Expires and Cookie.
[0]: https://xmpp.org/extensions/xep-0363.html#request
2019-11-19 21:24:28 +01:00
Wiktor Kwapisiewicz
0acbe4855d
Fix reporting failed HTTP upload
...
Status code can't be less than 200 and greater than or equal 300 at the same
time. Using || instead of && marks all uploads that do not have 2xx status code
as "failed".
2019-11-04 15:15:28 +01:00
Marvin W
e899668213
Add JET support
2019-09-16 23:31:11 +02:00
fiaxh
0521afa3d8
Fix specified size for encrypted file uploads
2019-08-21 22:37:52 +02:00
fiaxh
f0abb8aaf9
Refactor file receive/send interfaces and UI
2019-07-18 02:03:42 +02:00
hrxi
c245f7e34a
Fix a couple of typos and double imports
2019-06-01 17:13:33 +02:00
fiaxh
03f25e1f87
Remove Message.stanza field
2019-05-26 20:20:09 +02:00
fiaxh
6f6e4b97cb
Use glib log functions
2019-03-15 22:01:34 +01:00
fiaxh
952ac95484
Use regex literals, fixes some compiler warnings
2019-03-14 17:39:31 +01:00
fiaxh
736522737f
Make file read/write async
2019-02-14 00:04:01 +01:00
fiaxh
446e86d4ad
Check FileTransfer's mime_type for null (unknown) when handeling it
...
fixes #479
2018-12-31 16:49:22 +01:00
fiaxh
680d28360c
Check content_length for null before parsing in http HEAD message response
...
fixes #468
2018-11-29 16:30:20 +01:00
fiaxh
7c1d580e17
Fix aesgcm http file up/download bugs
2018-11-27 18:28:28 +01:00
fiaxh
141db9e40a
Implement aesgcm encrypted file upload
2018-11-27 15:02:18 +01:00
fiaxh
01360a73ae
FileProvider for aesgcm links
...
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
2018-11-27 03:41:31 +01:00
fiaxh
2208ff9799
Restructure (http) file provider flow: Separate download&get_info, download in provider, move XmppStreamModule into xmpp-vala
2018-11-27 03:38:42 +01:00
fiaxh
0e41fb3294
Add hidden
column to content_item table
2018-08-31 16:26:23 +02:00
bobufa
1d9ce7f471
sort file transfers into correct conversation
2018-08-13 22:39:18 +02:00
bobufa
4901b09670
add search filter expressions
2018-08-13 22:39:18 +02:00
bobufa
2e2a9a2390
accumulate conversation content in meta db table
2018-08-13 22:39:07 +02:00
bobufa
3ea00446fb
refactor conversation item management (accumulate them in libdino)
2018-08-13 22:04:47 +02:00
fiaxh
ef40b61734
Small fixes
2018-01-30 17:29:54 +01:00
fiaxh
8c46c423c0
http-files: Report correct file size for encrypted files (slot request)
2018-01-28 23:26:37 +01:00
fiaxh
f6db249c92
Only display transferred images, display file names, open in system viewer, include and use pgp embedded file names
2018-01-28 22:00:22 +01:00
fiaxh
57c72d2818
Pipeline for incoming messages in libdino
2018-01-28 13:37:53 +01:00
Marvin W
782ae4c049
Move Jid class to xmpp-vala, partially refactor namespace
2018-01-28 00:38:47 +01:00
fiaxh
c7c1fb5124
Restore window state (size, maximized, position)
2017-12-31 22:48:14 +01:00
fiaxh
f25fadde2d
Fallback display for all file types
2017-12-13 21:11:33 +01:00
fiaxh
1e011852e0
http-files: async file download
2017-11-27 22:17:36 +01:00
fiaxh
de133218da
Disconnect stanza listeners from pipeline
2017-11-22 00:40:41 +01:00
fiaxh
0102abeec1
Fix warnings
2017-10-31 15:41:45 +01:00
fiaxh
b9df78e449
Move DatabaseError handling into Qlite
2017-10-31 15:41:45 +01:00
fiaxh
749edd21b9
Add oob tag to http-upload messages
...
fixes #166
2017-10-22 18:26:31 +02:00
fiaxh
9ea16b6d85
PGP encrypted file transfers
2017-10-22 18:26:31 +02:00