aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add shared QcaInitializerLinus Jahn2022-09-242-0/+61
| | | | Can be used by OMEMO manager and other parts of the code using QCA.
* EncryptedFileSource: Move Cipher enum into QXmppGlobalLinus Jahn2022-09-243-19/+25
|
* EncryptedFileSource: Make public (#469)Jonah Brüchert2022-09-242-27/+61
| | | The sources possibly need to be saved by clients.
* Add multithreaded hashing functionsLinus Jahn2022-09-163-0/+579
|
* QXmppError: Add fromIoDevice()Linus Jahn2022-09-162-0/+18
|
* Implement XEP-0448: Encryption for stateless file sharing parsing (#463)Linus Jahn2022-09-166-0/+222
| | | | | https://xmpp.org/extensions/xep-0448.html Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* BitsOfBinaryData: Add fromByteArray() utility functionLinus Jahn2022-09-142-0/+25
| | | | It automatically hashes the data and creates a content ID.
* Make move ctor and move assign noexcept in rule of six macroLinus Jahn2022-09-141-4/+4
|
* Add extra class for HttpFileSource instead of using QUrlLinus Jahn2022-09-145-11/+112
| | | | | Before just QUrl was used, which was okay. This should make it better recognizable and it makes clear it is only used for HTTP urls.
* FileMetadata: Optimize includes and format codeLinus Jahn2022-09-132-6/+5
|
* Implement XEP-0447: Stateless file sharing: File sharing element (#448)Linus Jahn2022-09-137-1/+256
| | | | | | | | Implements parsing for the file sharing element from XEP-0447: Stateless files sharing version 0.2. https://xmpp.org/extensions/xep-0447.html Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Export TlsManager to make it available in testsLinus Jahn2022-09-131-1/+1
|
* Global: Add comments for rule of six macrosMelvin Keskin2022-09-131-0/+4
|
* Fix rule of six macroMelvin Keskin2022-09-132-2/+2
|
* Add global Cancelled unit structLinus Jahn2022-09-133-6/+12
| | | | | The Cancelled struct from HttpUpload is going to be used in other places.
* Fix makeReadyFuture() void overloadLinus Jahn2022-09-131-1/+1
|
* FutureUtils: Use QtFuture::makeReadyFuture on Qt >= 6.1Linus Jahn2022-09-121-0/+4
|
* Add note about BUILD_SHARED_LIBS=ON for libomemo-c in omemo readmeLinus Jahn2022-09-111-1/+1
|
* HttpUploadManager: Avoid UB if UploadRequestManager does not existLinus Jahn2022-09-101-0/+7
|
* CallStream: Avoid unnecessary copies by using std::move()Linus Jahn2022-09-101-6/+6
|
* CallStream: Add missing documentationLinus Jahn2022-09-101-0/+24
| | | | Fixes #430.
* ByteStreamIq: Add missing documentationLinus Jahn2022-09-101-1/+28
| | | | | I hope the descriptions are okay. I haven't fully read and understood the XEP. I'm open for improvements.
* Add HttpUploadManager for requesting slots and uploading filesLinus Jahn2022-09-093-0/+469
|
* Add QXmppError holding a description and std::anyLinus Jahn2022-09-093-0/+128
|
* Remove empty handleStanza() implementationsLinus Jahn2022-09-066-28/+1
|
* Add macros for defining all the different default constructorsJonah Brüchert2022-09-062-0/+16
|
* Add parsing of XEP-0446: File metadata elementJonah Brüchert2022-09-065-0/+348
| | | | | | This implements version 0.2.0 https://xmpp.org/extensions/xep-0446.html
* Implement XEP-0264: Jingle Content ThumbnailsLinus Jahn2022-09-065-0/+201
| | | | | | XEP-0264: Jingle Content Thumbnails version 0.4. https://xmpp.org/extensions/xep-0264.html
* Reformat codeLinus Jahn2022-09-0664-759/+1384
|
* Implement XEP-0300: Use of Cryptographic Hash Functions in XMPPLinus Jahn2022-09-065-0/+303
| | | | | Parsing and serialization for XEP-0300 https://xmpp.org/extensions/xep-0300.html in version 1.0.
* Fix missing license information for READMEsLinus Jahn2022-09-041-0/+6
|
* RegistrationManager: Replace QScopedPointer with unique_ptrLinus Jahn2022-09-022-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_ptrLinus Jahn2022-09-0225-101/+46
| | | | safer, simpler
* BobContentId: Improve security warning about SHA-1Linus Jahn2022-08-311-2/+4
|
* BobContentId: Move and update documentation about supported algorithmnsLinus Jahn2022-08-311-6/+8
|
* BobContentId: Add BLAKE2b 256/512 algorithmns for Qt 6Linus Jahn2022-08-311-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_SHA1Linus Jahn2022-08-311-2/+0
| | | | QT_CRYPTOGRAPHICHASH_ONLY_SHA1 is only used internally.
* Merge branch '1.4'Linus Jahn2022-08-311-4/+4
|\
| * BobContentId: Fix names of SHA-2 algorithmnsLinus Jahn2022-08-311-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.
* | CarbonManagerV2: Mention messageReceived() can also be usedLinus Jahn2022-08-171-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 changesLinus Jahn2022-08-172-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 compilationLinus Jahn2022-08-161-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 READMEsLinus Jahn2022-08-161-0/+17
| |
* | Don't use `using Manager =` to avoid doxygen errorsLinus Jahn2022-08-151-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 CarbonManagerV2Linus Jahn2022-08-141-0/+2
| |
* | Message: Add isCarbonForwarded attributeLinus Jahn2022-08-144-0/+30
| | | | | | | | | | It's now also possible to see which messages were carbon forwarded when using the CarbonManagerV2.
* | Add new message carbons managerLinus Jahn2022-08-143-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 moduleLinus Jahn2022-08-131-0/+25
| |
* | Split up OMEMO into extra moduleLinus Jahn2022-08-1323-311/+409
| |
* | Implement XEP-0384: OMEMO Encryption v0.8Melvin Keskin2022-08-1319-8/+6346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>