aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement XEP-0448: Stateless File SharingJonah Brüchert2022-09-2919-8/+1020
| | | | | | | | | 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
|
* HttpUploadManager: Use unique_ptr for data device (#479)Jonah Brüchert2022-09-292-7/+8
|
* HttpUploadManager: Only allow https urls (#478)Jonah Brüchert2022-09-291-0/+8
|
* FileEncryption: EncryptionDevice: Implement atEnd()Linus Jahn2022-09-292-0/+6
| | | | Required for using in QNetworkAccessManager::put().
* 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-285-9/+171
|
* 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
|
* OmemoManager: Use shared QcaInitializer instead of ownLinus Jahn2022-09-241-1/+3
|
* Add file encryption functions and Encryption/DecryptionDeviceLinus Jahn2022-09-243-0/+359
| | | | | The devices allow it to encrypt or decrypt data on the fly when reading or writing data.
* 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.