Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow self-signed .onion file transfer certs (#1149) | Matthew Fennell | 2024-06-29 | 2 | -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 plugin | hrxi | 2023-10-06 | 1 | -0/+22 |
| | |||||
* | Bind soup session lifetime to File provider/sender lifetime | Marvin W | 2023-03-22 | 2 | -6/+6 |
| | | | | Required since libsoup 3.4. Fixes #1395 | ||||
* | Consider stream readable when EOS is reached. | Marvin W | 2023-03-02 | 1 | -1/+1 |
| | | | | Fixes #1373 | ||||
* | HTTP: Make LimitInputStream pollable for better async compatibility | Marvin W | 2022-11-04 | 1 | -1/+20 |
| | | | | Fixes #1307 | ||||
* | Automatically select appropriate libsoup version | Marvin W | 2022-11-03 | 3 | -13/+12 |
| | |||||
* | Port from GTK3 to GTK4 | fiaxh | 2022-07-27 | 1 | -1/+1 |
| | |||||
* | Prepare http-files plugin for libsoup-3 support | Marvin W | 2022-04-09 | 3 | -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 transfers | Marvin W | 2022-03-30 | 2 | -6/+46 |
| | |||||
* | Remove ContentFilters | fiaxh | 2021-12-09 | 5 | -48/+8 |
| | | | | fixes #1129 #573 | ||||
* | Don't remove characters after '#' in filename | fiaxh | 2021-06-07 | 1 | -1/+2 |
| | |||||
* | Add RTP implementation as plugin | Marvin W | 2021-03-21 | 1 | -6/+0 |
| | |||||
* | Use WeakMap for message caching | fiaxh | 2020-11-14 | 1 | -2/+2 |
| | |||||
* | Fix initial file encryption displaying | fiaxh | 2020-09-07 | 1 | -0/+4 |
| | | | | fixes #831 | ||||
* | Only query entity caps when we need them | fiaxh | 2020-07-16 | 1 | -5/+5 |
| | |||||
* | Add file upload preview | fiaxh | 2020-04-22 | 1 | -0/+8 |
| | | | | fixes #756 | ||||
* | Fix file receival in groupchat pmsx | Marvin W | 2020-01-09 | 1 | -2/+2 |
| | |||||
* | Don't allow newlines in URLs, also clean up on http file transfer detection | Marvin W | 2019-12-26 | 1 | -11/+7 |
| | |||||
* | Add support for HTTP Upload headers | Wiktor Kwapisiewicz | 2019-11-19 | 1 | -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 upload | Wiktor Kwapisiewicz | 2019-11-04 | 1 | -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 support | Marvin W | 2019-09-16 | 1 | -16/+23 |
| | |||||
* | Fix specified size for encrypted file uploads | fiaxh | 2019-08-21 | 2 | -8/+12 |
| | |||||
* | Refactor file receive/send interfaces and UI | fiaxh | 2019-07-18 | 6 | -205/+239 |
| | |||||
* | Fix a couple of typos and double imports | hrxi | 2019-06-01 | 1 | -1/+1 |
| | |||||
* | Remove Message.stanza field | fiaxh | 2019-05-26 | 1 | -1/+1 |
| | |||||
* | Use glib log functions | fiaxh | 2019-03-15 | 1 | -1/+1 |
| | |||||
* | Use regex literals, fixes some compiler warnings | fiaxh | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | Make file read/write async | fiaxh | 2019-02-14 | 1 | -2/+2 |
| | |||||
* | Check FileTransfer's mime_type for null (unknown) when handeling it | fiaxh | 2018-12-31 | 1 | -1/+0 |
| | | | | fixes #479 | ||||
* | Check content_length for null before parsing in http HEAD message response | fiaxh | 2018-11-29 | 1 | -1/+3 |
| | | | | fixes #468 | ||||
* | Fix aesgcm http file up/download bugs | fiaxh | 2018-11-27 | 1 | -5/+7 |
| | |||||
* | Implement aesgcm encrypted file upload | fiaxh | 2018-11-27 | 2 | -8/+3 |
| | |||||
* | FileProvider for aesgcm links | fiaxh | 2018-11-27 | 1 | -2/+1 |
| | | | | Co-authored-by: Thibaut Girka <thib@sitedethib.com> | ||||
* | Restructure (http) file provider flow: Separate download&get_info, download ↵ | fiaxh | 2018-11-27 | 5 | -264/+116 |
| | | | | in provider, move XmppStreamModule into xmpp-vala | ||||
* | Add `hidden` column to content_item table | fiaxh | 2018-08-31 | 2 | -2/+13 |
| | |||||
* | sort file transfers into correct conversation | bobufa | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | add search filter expressions | bobufa | 2018-08-13 | 1 | -2/+2 |
| | |||||
* | accumulate conversation content in meta db table | bobufa | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | refactor conversation item management (accumulate them in libdino) | bobufa | 2018-08-13 | 2 | -12/+9 |
| | |||||
* | Small fixes | fiaxh | 2018-01-30 | 1 | -4/+2 |
| | |||||
* | http-files: Report correct file size for encrypted files (slot request) | fiaxh | 2018-01-28 | 2 | -15/+15 |
| | |||||
* | Only display transferred images, display file names, open in system viewer, ↵ | fiaxh | 2018-01-28 | 2 | -17/+9 |
| | | | | include and use pgp embedded file names | ||||
* | Pipeline for incoming messages in libdino | fiaxh | 2018-01-28 | 3 | -13/+57 |
| | |||||
* | Move Jid class to xmpp-vala, partially refactor namespace | Marvin W | 2018-01-28 | 3 | -8/+9 |
| | |||||
* | Restore window state (size, maximized, position) | fiaxh | 2017-12-31 | 1 | -22/+24 |
| | |||||
* | Fallback display for all file types | fiaxh | 2017-12-13 | 1 | -6/+19 |
| | |||||
* | http-files: async file download | fiaxh | 2017-11-27 | 1 | -29/+32 |
| | |||||
* | Disconnect stanza listeners from pipeline | fiaxh | 2017-11-22 | 1 | -1/+1 |
| | |||||
* | Fix warnings | fiaxh | 2017-10-31 | 2 | -4/+12 |
| | |||||
* | Move DatabaseError handling into Qlite | fiaxh | 2017-10-31 | 1 | -12/+8 |
| |