aboutsummaryrefslogtreecommitdiff
path: root/src/base
Commit message (Collapse)AuthorAgeFilesLines
...
* FutureUtils: Add visitForward() functionLinus Jahn2022-10-021-0/+15
|
* Implement XEP-0167: Jingle RTP Sessions error conditions (#485)Melvin Keskin2022-10-024-0/+74
|
* JingleIq: Move namespace constants into QXmppConstants (#484)Melvin Keskin2022-10-013-4/+9
|
* Implement XEP-0294: Jingle RTP Header Extensions Negotiation stanzasMelvin Keskin2022-10-014-1/+312
|
* JingleIq: Add functions for de-/serializing SDP parametersMelvin Keskin2022-10-011-15/+23
|
* Implement XEP-0167: Jingle RTP Sessions Informational Messages (#460)Melvin Keskin2022-10-012-15/+216
|
* Implement XEP-0448: Stateless File SharingJonah Brüchert2022-09-294-0/+45
| | | | | | | | | 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>
* JingleIq::Content: Specify implemented XEP in documentation of ↵Melvin Keskin2022-09-291-4/+4
| | | | 'descriptionSsrc' (#471)
* Implement XEP-0293: Jingle RTP Feedback Negotiation stanza parts (#455)Melvin Keskin2022-09-294-1/+550
|
* BitsOfBinaryDataList: Add QVector constructorLinus Jahn2022-09-291-0/+3
|
* Rename Encryption to EncryptionMethod to avoid conflicts with namespaceLinus Jahn2022-09-297-18/+18
| | | | | There's QXmpp::Private::Encryption. This renames QXmpp::Encryption to QXmpp::EncryptionMethod to avoid conflicts.
* FileShare: Add encrypted sourcesLinus Jahn2022-09-292-6/+34
| | | | Adds new attribute for encrypted sources and parsing.
* FileMetadata: Add fromFileInfo() creatorJonah Brüchert2022-09-292-1/+19
|
* QXmppError: Add fromNetworkReply() creatorJonah Brüchert2022-09-292-0/+12
|
* Allow adding multiple oob urls and a descriptionJonah Brüchert2022-09-284-9/+169
|
* FileMetadata: Allow multiple thumbnailsLinus Jahn2022-09-262-15/+17
| | | | The standard actually allows multiple thumbnails.
* Implement XEP-0167: Jingle RTP Sessions multiplexingMelvin Keskin2022-09-252-0/+36
|
* Implement XEP-0272: Multiparty Jingle (Muji) stanza extensions (#457)Melvin Keskin2022-09-256-0/+143
| | | | | Adds the presence extension and the extension of the Jingle IQ. https://xmpp.org/extensions/xep-0272.html
* FileShare: Fix documentation not generatedLinus Jahn2022-09-242-12/+14
|
* 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-162-0/+578
|
* QXmppError: Add fromIoDevice()Linus Jahn2022-09-162-0/+18
|
* Implement XEP-0448: Encryption for stateless file sharing parsing (#463)Linus Jahn2022-09-165-0/+221
| | | | | 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-144-11/+110
| | | | | 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-136-0/+253
| | | | | | | | 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>
* 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-131-0/+9
| | | | | 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
|
* 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 QXmppError holding a description and std::anyLinus Jahn2022-09-092-0/+126
|
* 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-064-0/+346
| | | | | | This implements version 0.2.0 https://xmpp.org/extensions/xep-0446.html
* Implement XEP-0264: Jingle Content ThumbnailsLinus Jahn2022-09-064-0/+199
| | | | | | XEP-0264: Jingle Content Thumbnails version 0.4. https://xmpp.org/extensions/xep-0264.html
* Reformat codeLinus Jahn2022-09-0636-505/+922
|
* Implement XEP-0300: Use of Cryptographic Hash Functions in XMPPLinus Jahn2022-09-064-0/+301
| | | | | Parsing and serialization for XEP-0300 https://xmpp.org/extensions/xep-0300.html in version 1.0.
* 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.
* | Message: Add isCarbonForwarded attributeLinus Jahn2022-08-142-0/+26
| | | | | | | | | | It's now also possible to see which messages were carbon forwarded when using the CarbonManagerV2.
* | Split up OMEMO into extra moduleLinus Jahn2022-08-139-932/+292
| |
* | Implement XEP-0384: OMEMO Encryption v0.8Melvin Keskin2022-08-135-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>