aboutsummaryrefslogtreecommitdiff
path: root/plugins/http-files
Commit message (Collapse)AuthorAgeFilesLines
* Allow self-signed .onion file transfer certs (#1149)Matthew Fennell2024-06-292-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* meson: Add http-files pluginhrxi2023-10-061-0/+22
|
* Bind soup session lifetime to File provider/sender lifetimeMarvin W2023-03-222-6/+6
| | | | Required since libsoup 3.4. Fixes #1395
* Consider stream readable when EOS is reached.Marvin W2023-03-021-1/+1
| | | | Fixes #1373
* HTTP: Make LimitInputStream pollable for better async compatibilityMarvin W2022-11-041-1/+20
| | | | Fixes #1307
* Automatically select appropriate libsoup versionMarvin W2022-11-033-13/+12
|
* Port from GTK3 to GTK4fiaxh2022-07-271-1/+1
|
* Prepare http-files plugin for libsoup-3 supportMarvin W2022-04-093-33/+60
| | | | | 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
* Allow cancellation of file transfersMarvin W2022-03-302-6/+46
|
* Remove ContentFiltersfiaxh2021-12-095-48/+8
| | | | fixes #1129 #573
* Don't remove characters after '#' in filenamefiaxh2021-06-071-1/+2
|
* Add RTP implementation as pluginMarvin W2021-03-211-6/+0
|
* Use WeakMap for message cachingfiaxh2020-11-141-2/+2
|
* Fix initial file encryption displayingfiaxh2020-09-071-0/+4
| | | | fixes #831
* Only query entity caps when we need themfiaxh2020-07-161-5/+5
|
* Add file upload previewfiaxh2020-04-221-0/+8
| | | | fixes #756
* Fix file receival in groupchat pmsxMarvin W2020-01-091-2/+2
|
* Don't allow newlines in URLs, also clean up on http file transfer detectionMarvin W2019-12-261-11/+7
|
* Add support for HTTP Upload headersWiktor Kwapisiewicz2019-11-191-0/+4
| | | | | | | | | | | 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
* Fix reporting failed HTTP uploadWiktor Kwapisiewicz2019-11-041-1/+1
| | | | | | 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".
* Add JET supportMarvin W2019-09-161-16/+23
|
* Fix specified size for encrypted file uploadsfiaxh2019-08-212-8/+12
|
* Refactor file receive/send interfaces and UIfiaxh2019-07-186-205/+239
|
* Fix a couple of typos and double importshrxi2019-06-011-1/+1
|
* Remove Message.stanza fieldfiaxh2019-05-261-1/+1
|
* Use glib log functionsfiaxh2019-03-151-1/+1
|
* Use regex literals, fixes some compiler warningsfiaxh2019-03-141-1/+1
|
* Make file read/write asyncfiaxh2019-02-141-2/+2
|
* Check FileTransfer's mime_type for null (unknown) when handeling itfiaxh2018-12-311-1/+0
| | | | fixes #479
* Check content_length for null before parsing in http HEAD message responsefiaxh2018-11-291-1/+3
| | | | fixes #468
* Fix aesgcm http file up/download bugsfiaxh2018-11-271-5/+7
|
* Implement aesgcm encrypted file uploadfiaxh2018-11-272-8/+3
|
* FileProvider for aesgcm linksfiaxh2018-11-271-2/+1
| | | | Co-authored-by: Thibaut Girka <thib@sitedethib.com>
* Restructure (http) file provider flow: Separate download&get_info, download ↵fiaxh2018-11-275-264/+116
| | | | in provider, move XmppStreamModule into xmpp-vala
* Add `hidden` column to content_item tablefiaxh2018-08-312-2/+13
|
* sort file transfers into correct conversationbobufa2018-08-131-1/+1
|
* add search filter expressionsbobufa2018-08-131-2/+2
|
* accumulate conversation content in meta db tablebobufa2018-08-131-1/+1
|
* refactor conversation item management (accumulate them in libdino)bobufa2018-08-132-12/+9
|
* Small fixesfiaxh2018-01-301-4/+2
|
* http-files: Report correct file size for encrypted files (slot request)fiaxh2018-01-282-15/+15
|
* Only display transferred images, display file names, open in system viewer, ↵fiaxh2018-01-282-17/+9
| | | | include and use pgp embedded file names
* Pipeline for incoming messages in libdinofiaxh2018-01-283-13/+57
|
* Move Jid class to xmpp-vala, partially refactor namespaceMarvin W2018-01-283-8/+9
|
* Restore window state (size, maximized, position)fiaxh2017-12-311-22/+24
|
* Fallback display for all file typesfiaxh2017-12-131-6/+19
|
* http-files: async file downloadfiaxh2017-11-271-29/+32
|
* Disconnect stanza listeners from pipelinefiaxh2017-11-221-1/+1
|
* Fix warningsfiaxh2017-10-312-4/+12
|
* Move DatabaseError handling into Qlitefiaxh2017-10-311-12/+8
|