aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppHttpFileSharingProvider.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '1.5'Linus Jahn2023-04-301-1/+1
|\
| * Fix android build by explicitly specifying template parameterLinus Jahn2023-04-291-1/+1
| |
* | Remove Qt < 5.15 compat codeLinus Jahn2023-01-311-9/+0
|/
* HttpFileSharingProvider: Report errors from the output device, clean upLinus Jahn2022-10-021-23/+33
|
* HttpFileProvider: Require HttpUploadManager as parameterLinus Jahn2022-10-021-7/+4
| | | | | This is more explicit than taking the QXmppClient and asserting it has an HttpUploadManager registered.
* Generate QXmppUpload/Download only by FileSharingManagerLinus Jahn2022-10-021-135/+83
| | | | | | | | | | Previously all the providers had to subclass the QXmppUpload/Download. It should be much easier to do additional tasks (e.g. hashing after downloading) now because the manager (and not the provider) decides when to emit the finished signal. Making the encrypted source provider able to handle arbitrary unencrypted sources should be possible too.
* Fix build with Qt 5.9Linus Jahn2022-09-301-0/+7
|
* HttpFileSharingProvider: Keep original filename when known (#480)Jonah BrĂ¼chert2022-09-301-1/+2
| | | | This is unfortunatly required for compatiblity with legacy clients, because they rely on the url to figure out the file type.
* Implement XEP-0448: Stateless File SharingJonah BrĂ¼chert2022-09-291-0/+207
This adds a file sharing manager that is capable of using multiple back ends. Currently implemented are a normal HTTP File Upload backend and an encrypted HTTP File Upload. Jingle File Transfer could be implemented later. Co-authored-by: Linus Jahn <lnj@kaidan.im>