| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | PubSubManager: Make requestFeatures() API private | Linus Jahn | 2022-12-28 | 2 | -2/+11 | |
| | | | | | | This kind of task should be done by the DiscoveryManager. For now we still need it, but I don't want to make it official API. | |||||
| * | PubSubManager: Remove "void *d;" | Linus Jahn | 2022-12-28 | 1 | -3/+0 | |
| | | | | | It seems unrealistic to me that we'll actually going to need it. | |||||
| * | Disable Qt keywords completely | Linus Jahn | 2022-12-26 | 23 | -131/+129 | |
| | | | | | | | | | | | | | | | | 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. | |||||
| * | Move PubSubIq into QXmpp::Private namespace | Linus Jahn | 2022-12-26 | 2 | -59/+59 | |
| | | | | | This way users won't use it accidentally. | |||||
| * | Make PubSubIq header private | Linus Jahn | 2022-12-26 | 1 | -1/+1 | |
| | | | | | | | | Users should only need to use the PubSubManager. The PubSubIq does not need to have a stable API this way and this gives us more flexibility. Closes #509. | |||||
| * | MamManager: Add future based interface with encryption support | Linus Jahn | 2022-10-18 | 2 | -38/+253 | |
| | | ||||||
| * | E2eeExtension: Add isEncrypted() and decryptMessage() functions | Linus Jahn | 2022-10-18 | 2 | -1/+30 | |
| | | ||||||
| * | EntityTimeManager: Use new IQ request handling | Linus Jahn | 2022-10-17 | 2 | -18/+23 | |
| | | ||||||
| * | VersionManager: Use new IQ request handling | Linus Jahn | 2022-10-17 | 2 | -13/+19 | |
| | | ||||||
| * | DiscoveryManager: Use new IQ request handling | Linus Jahn | 2022-10-17 | 2 | -17/+31 | |
| | | ||||||
| * | Add automated IQ request handling functions | Linus Jahn | 2022-10-17 | 2 | -0/+306 | |
| | | ||||||
| * | Implement XEP-0444: Message Reactions (#492) | Melvin Keskin | 2022-10-16 | 1 | -0/+2 | |
| | | | | https://xmpp.org/extensions/xep-0444.html | |||||
| * | FileSharingManager: Rename sendFile to uploadFile | Linus Jahn | 2022-10-02 | 2 | -6/+6 | |
| | | ||||||
| * | HttpFileSharingProvider: Report errors from the output device, clean up | Linus Jahn | 2022-10-02 | 1 | -23/+33 | |
| | | ||||||
| * | FileUpload/Download: Use result() getter instead of signal parameter | Linus Jahn | 2022-10-02 | 2 | -17/+61 | |
| | | | | | | | 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 functions | Linus Jahn | 2022-10-02 | 8 | -349/+366 | |
| | | ||||||
| * | FileSharingManager: Verify hashes of downloaded files | Linus Jahn | 2022-10-02 | 3 | -3/+111 | |
| | | | | | Can only handle QFiles currently. | |||||
| * | HttpFileProvider: Require HttpUploadManager as parameter | Linus Jahn | 2022-10-02 | 2 | -13/+6 | |
| | | | | | | This is more explicit than taking the QXmppClient and asserting it has an HttpUploadManager registered. | |||||
| * | Rename EncryptedHttpProvider to EncryptedProvider | Linus Jahn | 2022-10-02 | 3 | -22/+22 | |
| | | ||||||
| * | Make EncryptedHttpFileSharingProvider able to handle not just http | Linus Jahn | 2022-10-02 | 4 | -18/+45 | |
| | | | | | | However it is still limited by the sources supported by EncryptedHttpFileSource. | |||||
| * | FileTransfer: Require some functions to be const | Linus Jahn | 2022-10-02 | 2 | -12/+12 | |
| | | ||||||
| * | Generate QXmppUpload/Download only by FileSharingManager | Linus Jahn | 2022-10-02 | 9 | -272/+325 | |
| | | | | | | | | | | | 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: Also generate SHA3-256 or BLAKE2b256 hashes | Linus Jahn | 2022-10-01 | 1 | -1/+14 | |
| | | | | | | The file sharing manager now generates SHA-256+SHA3-256 with Qt 5 and SHA-256+BLAKE2b256 with Qt 6. | |||||
| * | Implement XEP-0167: Jingle RTP Sessions Informational Messages (#460) | Melvin Keskin | 2022-10-01 | 1 | -2/+1 | |
| | | ||||||
| * | FileSharingManager: Use private class with d-ptr | Linus Jahn | 2022-09-30 | 2 | -11/+23 | |
| | | ||||||
| * | FileSharingManager: Fix type in registerProvider | Linus Jahn | 2022-09-30 | 1 | -1/+2 | |
| | | ||||||
| * | Fix build with Qt 5.9 | Linus Jahn | 2022-09-30 | 2 | -0/+15 | |
| | | ||||||
| * | HttpFileSharingProvider: Keep original filename when known (#480) | Jonah Brüchert | 2022-09-30 | 1 | -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 Sharing | Jonah Brüchert | 2022-09-29 | 14 | -7/+961 | |
| | | | | | | | | | | 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üchert | 2022-09-29 | 2 | -7/+8 | |
| | | ||||||
| * | HttpUploadManager: Only allow https urls (#478) | Jonah Brüchert | 2022-09-29 | 1 | -0/+8 | |
| | | ||||||
| * | FileEncryption: EncryptionDevice: Implement atEnd() | Linus Jahn | 2022-09-29 | 2 | -0/+6 | |
| | | | | | Required for using in QNetworkAccessManager::put(). | |||||
| * | Add file encryption functions and Encryption/DecryptionDevice | Linus Jahn | 2022-09-24 | 2 | -0/+353 | |
| | | | | | | The devices allow it to encrypt or decrypt data on the fly when reading or writing data. | |||||
| * | Add shared QcaInitializer | Linus Jahn | 2022-09-24 | 2 | -0/+61 | |
| | | | | | Can be used by OMEMO manager and other parts of the code using QCA. | |||||
| * | Export TlsManager to make it available in tests | Linus Jahn | 2022-09-13 | 1 | -1/+1 | |
| | | ||||||
| * | Add global Cancelled unit struct | Linus Jahn | 2022-09-13 | 2 | -6/+3 | |
| | | | | | | The Cancelled struct from HttpUpload is going to be used in other places. | |||||
| * | HttpUploadManager: Avoid UB if UploadRequestManager does not exist | Linus Jahn | 2022-09-10 | 1 | -0/+7 | |
| | | ||||||
| * | CallStream: Avoid unnecessary copies by using std::move() | Linus Jahn | 2022-09-10 | 1 | -6/+6 | |
| | | ||||||
| * | CallStream: Add missing documentation | Linus Jahn | 2022-09-10 | 1 | -0/+24 | |
| | | | | | Fixes #430. | |||||
| * | Add HttpUploadManager for requesting slots and uploading files | Linus Jahn | 2022-09-09 | 2 | -0/+467 | |
| | | ||||||
| * | Remove empty handleStanza() implementations | Linus Jahn | 2022-09-06 | 6 | -28/+1 | |
| | | ||||||
| * | Reformat code | Linus Jahn | 2022-09-06 | 21 | -201/+362 | |
| | | ||||||
| * | RegistrationManager: Replace QScopedPointer with unique_ptr | Linus Jahn | 2022-09-02 | 2 | -4/+2 | |
| | | | | | | The <memory> header is already included and there are no reasons to use something different than non-Qt C++ projects use. | |||||
| * | Replace raw pointers with unique_ptr | Linus Jahn | 2022-09-02 | 25 | -101/+46 | |
| | | | | | safer, simpler | |||||
| * | CarbonManagerV2: Mention messageReceived() can also be used | Linus Jahn | 2022-08-17 | 1 | -1/+2 | |
| | | | | | | Unhandled messages from the message pipeline are passed to the messageReceived() signal of the QXmppClient. | |||||
| * | CarbonManagerV2: Add ctor/dtor to allow later binary-compatible changes | Linus Jahn | 2022-08-17 | 2 | -0/+6 | |
| | | | | | | | Explicitly adds contructor and destructor, so we can later implement other features (like adding a d-ptr) without affecting binary compatibility. | |||||
| * | Don't use `using Manager =` to avoid doxygen errors | Linus Jahn | 2022-08-15 | 1 | -6/+5 | |
| | | | | | | Doxygen doesn't understand that the Manager alias here and in the OMEMO manager are different and so generated a lot of warnings. | |||||
| * | CarbonManager: Add warning about e2ee and CarbonManagerV2 | Linus Jahn | 2022-08-14 | 1 | -0/+2 | |
| | | ||||||
| * | Message: Add isCarbonForwarded attribute | Linus Jahn | 2022-08-14 | 2 | -0/+4 | |
| | | | | | | It's now also possible to see which messages were carbon forwarded when using the CarbonManagerV2. | |||||
| * | Add new message carbons manager | Linus Jahn | 2022-08-14 | 2 | -0/+191 | |
| | | | | | | | | | | | | | The new manager automatically enabled carbons and the user doesn't need to do anything. Messages are injected into the message pipeline of the client instead of using a signal. This makes it possible to decrypt the messages in the next step or do any other possible post-processing on the message. Adapting the old manager was not possible because that would mean major behaviour change that could potentially lead to clients processing message twice. | |||||
