aboutsummaryrefslogtreecommitdiff
path: root/plugins/http-files/src
AgeCommit message (Collapse)Author
12 daysRemove http-files pluginMarvin W
It's all in libdino now anyway
2026-08-21Add initial support for multi-file transfersfiaxh
2026-03-25Fix wrongly using message ids for MUC corrections; store original message db idsfiaxh
2025-12-19Handle content type != mime typefiaxh
2025-07-20Improve checking whether MUC messages will be referencablefiaxh
related #1714
2025-04-18Remove pixbuf from libdino api surface and xmpp-valafiaxh
2024-11-15Fix and improve stateless file-sharingfiaxh
2024-11-14Implement XEP-0447: Stateless file sharingPatiga
2024-06-29Allow self-signed .onion file transfer certs (#1149)Matthew Fennell
Most Certificate Authorities don't support issuing X.509 certificates for onion sites. However, it can still be useful to provide a certificate over Tor in some circumstances, for instance to tie your alphanumeric Tor address to your site's main identity. Therefore, many Tor services provide self-signed certificates. This is OK, since the onion service itself guarantees that you are connecting to the entity you think you are. Dino already allows self-signed certs when communicating over Tor (see 81a5505). However, the same exception does not exist yet for HTTP uploads and downloads - causing these to fail over Tor. Therefore, in this commit, we add the same exception for uploads/downloads, by passing the host of the upload/download urls to the already existing invalid certificate connection handler. Note that this handler only allows certificates with type TlsCertificateFlags.UNKNOWN_CA. This means the certificate of your server must also include the onion http upload and download URLs in its certificate - otherwise, the file transfer will fail with TlsCertificateFlags.BAD_IDENTITY.
2023-03-22Bind soup session lifetime to File provider/sender lifetimeMarvin W
Required since libsoup 3.4. Fixes #1395
2023-03-02Consider stream readable when EOS is reached.Marvin W
Fixes #1373
2022-11-04HTTP: Make LimitInputStream pollable for better async compatibilityMarvin W
Fixes #1307
2022-11-03Automatically select appropriate libsoup versionMarvin W
2022-04-09Prepare http-files plugin for libsoup-3 supportMarvin W
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-03-30Allow cancellation of file transfersMarvin W
2021-12-09Remove ContentFiltersfiaxh
fixes #1129 #573
2021-06-07Don't remove characters after '#' in filenamefiaxh
2021-03-21Add RTP implementation as pluginMarvin W
2020-11-14Use WeakMap for message cachingfiaxh
2020-09-07Fix initial file encryption displayingfiaxh
fixes #831
2020-07-16Only query entity caps when we need themfiaxh
2020-04-22Add file upload previewfiaxh
fixes #756
2020-01-09Fix file receival in groupchat pmsxMarvin W
2019-12-26Don't allow newlines in URLs, also clean up on http file transfer detectionMarvin W
2019-11-19Add support for HTTP Upload headersWiktor Kwapisiewicz
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-04Fix reporting failed HTTP uploadWiktor Kwapisiewicz
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-09-16Add JET supportMarvin W
2019-08-21Fix specified size for encrypted file uploadsfiaxh
2019-07-18Refactor file receive/send interfaces and UIfiaxh
2019-06-01Fix a couple of typos and double importshrxi
2019-05-26Remove Message.stanza fieldfiaxh
2019-03-15Use glib log functionsfiaxh
2019-03-14Use regex literals, fixes some compiler warningsfiaxh
2019-02-14Make file read/write asyncfiaxh
2018-12-31Check FileTransfer's mime_type for null (unknown) when handeling itfiaxh
fixes #479
2018-11-29Check content_length for null before parsing in http HEAD message responsefiaxh
fixes #468
2018-11-27Fix aesgcm http file up/download bugsfiaxh
2018-11-27Implement aesgcm encrypted file uploadfiaxh
2018-11-27FileProvider for aesgcm linksfiaxh
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
2018-11-27Restructure (http) file provider flow: Separate download&get_info, download ↵fiaxh
in provider, move XmppStreamModule into xmpp-vala
2018-08-31Add `hidden` column to content_item tablefiaxh
2018-08-13sort file transfers into correct conversationbobufa
2018-08-13add search filter expressionsbobufa
2018-08-13accumulate conversation content in meta db tablebobufa
2018-08-13refactor conversation item management (accumulate them in libdino)bobufa
2018-01-30Small fixesfiaxh
2018-01-28http-files: Report correct file size for encrypted files (slot request)fiaxh
2018-01-28Only display transferred images, display file names, open in system viewer, ↵fiaxh
include and use pgp embedded file names
2018-01-28Pipeline for incoming messages in libdinofiaxh
2018-01-28Move Jid class to xmpp-vala, partially refactor namespaceMarvin W