aboutsummaryrefslogtreecommitdiff
path: root/plugins/http-files/src/file_provider.vala
AgeCommit message (Collapse)Author
12 daysRemove http-files pluginMarvin W
It's all in libdino now anyway
2025-12-19Handle content type != mime typefiaxh
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
2020-11-14Use WeakMap for message cachingfiaxh
2020-09-07Fix initial file encryption displayingfiaxh
fixes #831
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-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-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-01-30Small fixesfiaxh
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
2017-12-31Restore window state (size, maximized, position)fiaxh
2017-12-13Fallback display for all file typesfiaxh
2017-11-27http-files: async file downloadfiaxh
2017-11-22Disconnect stanza listeners from pipelinefiaxh
2017-10-31Fix warningsfiaxh
2017-10-22PGP encrypted file transfersfiaxh
2017-10-21Handle file uploading in libdino & main, have http upload as providerfiaxh
2017-09-26http-files: max-file-size handlingfiaxh
2017-08-31Download & inline display imagesfiaxh