aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppClient.h
Commit message (Collapse)AuthorAgeFilesLines
* Client: Rename send/sendUnencrypted to sendSensitive/sendLinus Jahn2023-01-281-1/+1
|
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-221-1/+1
| | | | | | | | This allows us to report different error types with more information and makes it possible to distinguish stanza errors and errors generated locally. Part of #501.
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-7/+7
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Replace QXmpp::SendError with QXmppError everywhereLinus Jahn2022-12-301-1/+1
| | | | Part of #501.
* Reformat codeLinus Jahn2022-09-061-2/+4
|
* Replace raw pointers with unique_ptrLinus Jahn2022-09-021-1/+2
| | | | safer, simpler
* Client: Add SendStanzaParams parameter to send functionsLinus Jahn2022-05-221-6/+7
| | | | It can already be used by E2eeExtension.
* Add MessageHandler interfaceLinus Jahn2022-05-201-0/+1
|
* ClientExtension: Add injectIq() functionLinus Jahn2022-05-201-0/+4
|
* Client: Add reply() picking the encryption based on the received stanzaLinus Jahn2022-05-201-0/+1
| | | | | Currently does not support multiple encryptions, so the implementation is rather simple.
* Convert copyright headers to REUSELinus Jahn2022-01-141-22/+3
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* QXmppClient: Add encryption hooksLinus Jahn2021-09-281-0/+5
|
* Client: Require moving the packets/iqs for sendingLinus Jahn2021-09-281-3/+3
|
* Adapt IQ parsing to new packet sendingLinus Jahn2021-09-031-1/+1
| | | | Remove now unused QXmpp::PacketState.
* Refactor packet sending: Add SendSuccess/SendErrorLinus Jahn2021-09-031-1/+2
|
* Make it possible to send QXmppNonzas over streamsLinus Jahn2021-08-261-1/+1
|
* QXmppClient: Add addNewExtension<T>()Linus Jahn2021-07-231-0/+8
|
* tests: Add TestClient class for client testing with QFuturesLinus Jahn2021-07-061-0/+1
|
* Add QXmppClient::sendGenericIq() just returning Success/StanzaErrorLinus Jahn2021-07-051-2/+4
|
* Add reporting of IQ responses with QFuturesLinus Jahn2021-06-271-0/+3
|
* QXmppClient: Add send() function with QFutureLinus Jahn2021-06-271-0/+7
|
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* Improve wording in method documentation (#330)melvo2021-02-171-3/+3
|
* QXmppClient: Advertise stream management stateLinus Jahn2021-01-091-1/+15
|
* Adapt to changes in QList in Qt 6.0Linus Jahn2020-07-031-2/+1
| | | | Template parameters of QList can't be forward declared anymore.
* QXmppClient: State that iqReceived() is only emitted for resultsLinus Jahn2020-04-071-4/+6
|
* Make QXmpp work with projects using QT_NO_KEYWORDSLinus Jahn2020-02-111-3/+3
| | | | | | | | | | | This replaces all occurencies of 'slots' and 'signals' with 'Q_SLOTS' and 'Q_SIGNALS'. This allows for smooth integration with software projects that need QT_NO_KEYWORDS, such as those ones that rely on boost libraries. Closes #115. Co-authored-by: Tommaso Cucinotta <tommaso.cucinotta@santannapisa.it>
* Fix undocumented Q_PROPERTiesLinus Jahn2020-02-041-0/+8
|
* Fix doxygen warnings about missing titles for \defgroupLinus Jahn2020-02-041-2/+15
|
* Add new QXmppRegistrationManagerLinus Jahn2020-02-041-4/+4
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-3/+3
|
* QXmppClient: Remove obsolete methods for TLS managementLinus Jahn2020-01-291-4/+0
| | | | | | | | | | The methods are obsolete since the TLS manager has become an internal client extension. The methods were not of any use except for the TLS manager and should better not be public to the user at all (i.e. startSocketEncryption()). This can be done without any concerns because the methods were not part of the public API in any release, yet.
* Introduce QXmppInternalClientExtensionsLinus Jahn2020-01-291-0/+3
| | | | | | | | | | | | The new internal client extensions can be used to access private parts of the QXmppClient since QXmppInternalClientExtensions are a friend of the QXmppClient. The internal client extensions are not part of the public API, so you can't access them in an application using QXmpp. However, this was also the case before. If there is the need to access the internal extensions in the future, we'll still have all options open to change everything, because the classes are not part of the public API.
* Move TLS negotiation into new QXmppTlsManagerLinus Jahn2020-01-201-0/+5
|
* QXmppClient: Add missing '\since' tag to new indexOfExtension()Linus Jahn2020-01-191-3/+4
| | | | I forgot this in #241.
* QXmppClient: Add method to get index of extensionLinus Jahn2020-01-131-0/+24
|
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Add a .clang-format somewhat close to the current style0xd34df00d2019-12-231-25/+24
|
* Replace deprecated Q_ENUMS with Q_ENUMLinus Jahn2019-10-271-5/+4
| | | | | Q_ENUM exists since Qt 5.5, more details can be found here: https://woboq.com/blog/q_enum.html
* Port away from deprecated client extension getters of the QXmppClientLinus Jahn2019-10-231-11/+11
| | | | | This replaces the deprecated getters in the examples and in the documentation.
* Use raw literals, range based loops and autoJonah Brüchert2019-10-221-3/+3
|
* Deprecate QXmppClient::{rosterManager,vCardManager,versionManager}()Linus Jahn2019-10-141-0/+7
| | | | QXmppClient::findExtension() should be used instead.
* Modernize codebase using clang-tidyJonah Brüchert2019-09-081-3/+3
| | | | | | | | Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
* Bump copyright year to 2019Jeremy Lainé2019-01-081-1/+1
|
* Fix spelling errorsBoris Pek2019-01-081-1/+1
|
* Implement XEP-0352: Client State IndicationLinus Jahn2018-10-291-0/+3
| | | | | This commit is based on a pull request by fbeutel (GitHub) (see #87) and was rebased and slightly modified by me.
* Make QXmppClient::connectToServer(config, presence) a slot (closes #63)Jeremy Lainé2015-07-311-3/+3
|
* Remove trailing comma after last item in enumsJeremy Lainé2015-03-131-2/+2
| | | | This allows compilation with GCC in pedantic mode.
* Add a QXmppClient::sslErrors signal to report SSL errors.Jeremy Lainé2015-03-111-0/+6
|