| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tests: util: Add wait(QFuture) function | Linus Jahn | 2022-09-09 | 1 | -0/+12 | |
| | | | | | | | | The function uses a QSignalSpy and a QFutureWatcher to wait for the future's result. It blocks until the result is there. However it still runs the event loop, so processing of the future can be done in the background. | |||||
| * | tests: util: Add expectVariant() helper | Linus Jahn | 2022-09-09 | 1 | -8/+17 | |
| | | | | | | | We had expectFutureVariant() which is useful for futures with a variant type. This new function can check the type of just a variant and outputs the value. | |||||
| * | tests: HttpUploadManager: Add test for future based API | Linus Jahn | 2022-09-09 | 1 | -0/+66 | |
| | | ||||||
| * | tests: HttpUploadManager: Modernize and refactor | Linus Jahn | 2022-09-09 | 1 | -61/+54 | |
| | | ||||||
| * | tests: TestClient: Add takePacket() and takeLastPacket() | Linus Jahn | 2022-09-09 | 1 | -0/+10 | |
| | | ||||||
| * | tests: HttpUploadManager: Clean up and replace TestHelper class | Linus Jahn | 2022-09-09 | 2 | -81/+48 | |
| | | | | | The same can be done more elegantly and with less code. | |||||
| * | Rename UploadRequestManager test to HttpUploadManager test | Linus Jahn | 2022-09-09 | 7 | -22/+22 | |
| | | | | | | One of the following commits will add tests also for the HttpUploadManager. | |||||
| * | Add HttpUploadManager for requesting slots and uploading files | Linus Jahn | 2022-09-09 | 3 | -0/+469 | |
| | | ||||||
| * | Add QXmppError holding a description and std::any | Linus Jahn | 2022-09-09 | 3 | -0/+128 | |
| | | ||||||
| * | ci: push-docs: Update XEP metadata before generating documentation | Linus Jahn | 2022-09-09 | 1 | -0/+2 | |
| | | ||||||
| * | Introduce usage of DOAP file (#438) | Melvin Keskin | 2022-09-09 | 10 | -74/+1346 | |
| | | | | | | This adds a DOAP file that replaces the non-machine readable version in xep.doc. It also adds a XEP metadata file and styling files for a human-readable version in the generated doxygen documentation. | |||||
| * | Remove empty handleStanza() implementations | Linus Jahn | 2022-09-06 | 6 | -28/+1 | |
| | | ||||||
| * | Add macros for defining all the different default constructors | Jonah BrĂ¼chert | 2022-09-06 | 2 | -0/+16 | |
| | | ||||||
| * | Add parsing of XEP-0446: File metadata element | Jonah BrĂ¼chert | 2022-09-06 | 6 | -0/+349 | |
| | | | | | | | This implements version 0.2.0 https://xmpp.org/extensions/xep-0446.html | |||||
| * | Implement XEP-0264: Jingle Content Thumbnails | Linus Jahn | 2022-09-06 | 6 | -0/+202 | |
| | | | | | | | XEP-0264: Jingle Content Thumbnails version 0.4. https://xmpp.org/extensions/xep-0264.html | |||||
| * | Reformat code | Linus Jahn | 2022-09-06 | 76 | -784/+1429 | |
| | | ||||||
| * | clang-format: Enforce braces around statements | Linus Jahn | 2022-09-06 | 1 | -0/+1 | |
| | | ||||||
| * | Implement XEP-0300: Use of Cryptographic Hash Functions in XMPP | Linus Jahn | 2022-09-06 | 6 | -0/+304 | |
| | | | | | | Parsing and serialization for XEP-0300 https://xmpp.org/extensions/xep-0300.html in version 1.0. | |||||
| * | ci: Add Qt 6 builds | Linus Jahn | 2022-09-04 | 3 | -5/+15 | |
| | | ||||||
| * | ci: Always use latest Qt patch versions | Linus Jahn | 2022-09-04 | 1 | -3/+3 | |
| | | ||||||
| * | ci: Update install-qt-action to v3 | Linus Jahn | 2022-09-04 | 2 | -2/+2 | |
| | | ||||||
| * | Fix missing license information for READMEs | Linus Jahn | 2022-09-04 | 2 | -0/+12 | |
| | | ||||||
| * | Add REUSE compliance check action | Linus Jahn | 2022-09-04 | 1 | -1/+6 | |
| | | ||||||
| * | 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 | |||||
| * | BobContentId: Improve security warning about SHA-1 | Linus Jahn | 2022-08-31 | 1 | -2/+4 | |
| | | ||||||
| * | BobContentId: Move and update documentation about supported algorithmns | Linus Jahn | 2022-08-31 | 1 | -6/+8 | |
| | | ||||||
| * | BobContentId: Add BLAKE2b 256/512 algorithmns for Qt 6 | Linus Jahn | 2022-08-31 | 1 | -0/+4 | |
| | | | | | | Qt 6 supports BLAKE2b. BLAKE2b has no official IANA registry entry. The name is used from XEP-0300. | |||||
| * | BobContentId: Don't check for QT_CRYPTOGRAPHICHASH_ONLY_SHA1 | Linus Jahn | 2022-08-31 | 1 | -2/+0 | |
| | | | | | QT_CRYPTOGRAPHICHASH_ONLY_SHA1 is only used internally. | |||||
| * | Merge branch '1.4' | Linus Jahn | 2022-08-31 | 1 | -4/+4 | |
| |\ | ||||||
| | * | BobContentId: Fix names of SHA-2 algorithmns | Linus Jahn | 2022-08-31 | 1 | -4/+4 | |
| | | | | | | | | | | | | | The new version of bits of binary specifies how other algorithmns than SHA-1 are called by referencing the IANA registry. We were missing the dash for SHA-224/256/384/512. | |||||
| * | | README: Add badge for dev chat (#437) | Melvin Keskin | 2022-08-24 | 1 | -1/+9 | |
| | | | ||||||
| * | | 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. | |||||
| * | | OmemoLibWrappers: Fix compilation | Linus Jahn | 2022-08-16 | 1 | -0/+19 | |
| | | | | | | | | | | | I don't know why this didn't happen before, but somehow my compiler started trying to use the wrong constructor. | |||||
| * | | Describe OMEMO specific dependencies in READMEs | Linus Jahn | 2022-08-16 | 2 | -0/+20 | |
| | | | ||||||
| * | | 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 | |
| | | | ||||||
| * | | pr template: Mention QXMPP_EXPORT | Linus Jahn | 2022-08-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | Message: Add isCarbonForwarded attribute | Linus Jahn | 2022-08-14 | 5 | -0/+32 | |
| | | | | | | | | | | | It's now also possible to see which messages were carbon forwarded when using the CarbonManagerV2. | |||||
| * | | tests: CarbonManager: Also test manager v2 & refactor | Linus Jahn | 2022-08-14 | 1 | -60/+86 | |
| | | | ||||||
| * | | Add new message carbons manager | Linus Jahn | 2022-08-14 | 3 | -0/+193 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | Add README for omemo module | Linus Jahn | 2022-08-13 | 1 | -0/+25 | |
| | | | ||||||
| * | | Split up OMEMO into extra module | Linus Jahn | 2022-08-13 | 25 | -312/+433 | |
| | | | ||||||
| * | | ci: Enable OMEMO for full+5.15 configs | Linus Jahn | 2022-08-13 | 4 | -1/+37 | |
| | | | ||||||
| * | | Implement XEP-0384: OMEMO Encryption v0.8 | Melvin Keskin | 2022-08-13 | 26 | -12/+7197 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements XEP-0384 in version v0.8 with a manager and storage classes to be user-implemented for persistant storage. The license of the code is LGPL-2.1-or-later as usual. However since libomemo-c (libsignal-protocol-c) is GPL-3.0, the built binary is always licensed under GPL-3.0. Having our code LGPL licensed will make it avoids relicensing in the future in case we port it to an LGPL compatible omemo library. Closes #133. Co-authored-by: Linus Jahn <lnj@kaidan.im> | |||||
| * | | Utils_p: Add functions to generate random QByteArray | Linus Jahn | 2022-08-13 | 2 | -0/+89 | |
| | | | | | | | | | Co-authored-by: Melvin Keskin <melvo@olomono.de> | |||||
| * | | FutureUtils: Add mapSuccess() to map success type of variants | Linus Jahn | 2022-08-13 | 1 | -0/+15 | |
| | | | ||||||
| * | | Client: e2ee: Check IQ response is valid before decrypting | Linus Jahn | 2022-08-08 | 1 | -3/+15 | |
| | | | | | | | | | This way the extensions don't need to check that. | |||||
| * | | FutureUtils: chain: Pass future as const& | Linus Jahn | 2022-08-08 | 1 | -1/+1 | |
| | | | | | | | | | | | The move overload hasn't any advantages here as the QFutureWatcher also takes QFuture const &. | |||||
