aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppFileSharingManager.h
Commit message (Collapse)AuthorAgeFilesLines
* FileSharingManager: Rename sendFile to uploadFileLinus Jahn2022-10-021-3/+3
|
* FileUpload/Download: Use result() getter instead of signal parameterLinus Jahn2022-10-021-3/+5
| | | | | | The signal parameter does not work with immediately finishing uploads/downloads (i.e. when an error happened while starting). The user can't handle the result in that case.
* FileUpload/Download: Avoid unnecessary virtual functionsLinus Jahn2022-10-021-5/+97
|
* Rename EncryptedHttpProvider to EncryptedProviderLinus Jahn2022-10-021-1/+1
|
* Make EncryptedHttpFileSharingProvider able to handle not just httpLinus Jahn2022-10-021-0/+3
| | | | | However it is still limited by the sources supported by EncryptedHttpFileSource.
* Generate QXmppUpload/Download only by FileSharingManagerLinus Jahn2022-10-021-2/+2
| | | | | | | | | | 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.
* FileSharingManager: Use private class with d-ptrLinus Jahn2022-09-301-4/+3
|
* FileSharingManager: Fix type in registerProviderLinus Jahn2022-09-301-1/+2
|
* Implement XEP-0448: Stateless File SharingJonah BrĂ¼chert2022-09-291-0/+77
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>