aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppHttpUploadManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove Qt < 5.15 compat codeLinus Jahn2023-01-311-4/+0
|
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-221-2/+2
| | | | | | | | This allows us to report different error types with more information and makes it possible to distinguish stanza errors and errors generated locally. Part of #501.
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-11/+3
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Disable Qt keywords completelyLinus Jahn2022-12-261-2/+2
| | | | | | | | | | | | | | | Previously we had the policy that no qt keywords were allowed in headers that may be included by users. However since there was no automatic test verifying that in some places keywords were still used. This now disables qt keywords completely, also in tests and examples. Qt keywords are in general no good or really good idea as they even conflict with the standard library (`emit` at least). In some cases in the examples I just removed the slot tag if the functions didn't need to be slots (anymore). Closes #503.
* Fix build with Qt 5.9Linus Jahn2022-09-301-0/+8
|
* Implement XEP-0448: Stateless File SharingJonah Brüchert2022-09-291-7/+2
| | | | | | | | | 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>
* HttpUploadManager: Use unique_ptr for data device (#479)Jonah Brüchert2022-09-291-6/+7
|
* HttpUploadManager: Only allow https urls (#478)Jonah Brüchert2022-09-291-0/+8
|
* Add global Cancelled unit structLinus Jahn2022-09-131-1/+2
| | | | | The Cancelled struct from HttpUpload is going to be used in other places.
* HttpUploadManager: Avoid UB if UploadRequestManager does not existLinus Jahn2022-09-101-0/+7
|
* Add HttpUploadManager for requesting slots and uploading filesLinus Jahn2022-09-091-0/+395