aboutsummaryrefslogtreecommitdiff
path: root/src/client
Commit message (Collapse)AuthorAgeFilesLines
* doc: Fix many small doxygen warningsLinus Jahn2021-03-283-1/+5
|
* doc: Fix warnings from DiscoveryIqLinus Jahn2021-03-281-1/+1
|
* Refactor and clean up TransferManagerLinus Jahn2021-03-281-44/+45
|
* doc: Fix warnings from TransferManagerLinus Jahn2021-03-282-56/+101
|
* QXmppCall: Refactoring and clean upLinus Jahn2021-03-284-41/+37
| | | | | | | | | Fixes things like: - detaching Qt containers (missing std::as_const) - new signal/slot syntax - missing emit keyword - more 'auto' - comparison of int and uint
* doc: Fix most of the warnings from QXmppCall classesLinus Jahn2021-03-286-37/+71
|
* Replace qAsConst by std::as_constLinus Jahn2021-03-173-4/+4
|
* Merge branch '1.3'Linus Jahn2021-03-151-2/+3
|\
| * Avoid depending on gst/gst.h in a public header, fixes #3250xd34df00d2021-03-151-2/+3
| |
| * QXmppTransferManager: Fix undefined behaviour when parsing features (#322)Jan Lorenz2020-12-111-2/+6
| | | | | | Co-authored-by: Jan Lorenz <jan.lorenz@pascom.net>
* | QXmppClient: Reset Stream Management package cache on JID changesLinus Jahn2021-03-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The stream management mechanisms cache sent packages until the client receives an acknowledgement from the server. When the connection gets lost, the client resends all packages from the last connection that have not been acknowledged. And here comes the problem: When connecting with a different JID, the client still resends all packages from the last connection. Packages that were never intended to be sent from another account / to another server. This commit fixes this behaviour by resetting the package cache, when the JID changes.
* | QXmppCallStream: Use QRandomGenerator for Qt >= 5.10Linus Jahn2021-02-191-0/+8
| |
* | RosterManager: Request items with MIX annotation (#331)Melvin Keskin2021-02-191-0/+4
| |
* | Update copyright headers to 2021Linus Jahn2021-02-1957-57/+57
| |
* | Improve wording in method documentation (#330)melvo2021-02-174-6/+6
| |
* | RosterManager: Cache roster when using stream managementLinus Jahn2021-01-092-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | The roster manager caches the roster items if a previous stream could be resumed now. The rosterReceived() signal is not emitted again in this case. This avoids redundant roster requests. When no stream management is used, the roster cache is cleared directly on disconnecting. If stream management is used, the cache is also accessible after disconnecting. On connecting the manager checks whether the last stream could be resumed. If the last stream hasn't been resumed, the cache is cleared and the roster is re-requested.
* | RosterManager: Refactor/modernise codeLinus Jahn2021-01-092-49/+50
| |
* | QXmppClient: Advertise stream management stateLinus Jahn2021-01-094-2/+85
| |
* | QXmppTransferManager: Fix undefined behaviour when parsing features (#322)Jan Lorenz2020-12-111-2/+6
| | | | | | Co-authored-by: Jan Lorenz <jan.lorenz@pascom.net>
* | tests: Add OutgoingClient::parseHostAddress() testLinus Jahn2020-10-101-0/+2
| |
* | Port remaining Qt-6-removed APIsLinus Jahn2020-10-104-25/+45
| |
* | OutgoingClient: Properly handle bind IQ errorsBonnie2020-10-011-0/+5
| |
* | Merge branch 'stable'Linus Jahn2020-07-202-16/+33
|\|
| * Clean up QXmppCarbonManagerLinus Jahn2020-07-202-18/+29
| |
| * QXmppCarbonManager: Fix vulnerability: Add sender checkLinus Jahn2020-07-201-0/+6
| | | | | | | | | | | | The XEP requires that only carbon messages from the client's bare JID are accepted. This prevents that other entities can inject messages into the client.
| * QXmppMessageReceiptManager: Ignore all error messagesLinus Jahn2020-07-201-1/+4
| | | | | | | | | | Not only receipt requests, but also receipts from error messages should not be used.
* | Adapt to changes in QList in Qt 6.0Linus Jahn2020-07-032-7/+2
| | | | | | | | Template parameters of QList can't be forward declared anymore.
* | Replace deprecated QSslSocket::error signalLinus Jahn2020-07-031-0/+4
| |
* | QXmppMessageReceiptManager: Ignore all error messagesLinus Jahn2020-07-031-1/+4
| | | | | | | | | | Not only receipt requests, but also receipts from error messages should not be used.
* | QXmppClient: Remove static disco feature for attentionLinus Jahn2020-04-071-2/+0
| | | | | | | | | | | | The QXmppAttentionManager can be used to handle attention messages. Clients not using the manager (or their own) won't continue to send the attention feature.
* | Add QXmppAttentionManagerLinus Jahn2020-04-072-0/+364
| |
* | QXmppClient: State that iqReceived() is only emitted for resultsLinus Jahn2020-04-072-5/+8
|/
* Add \since tags for QXmpp 1.0 everywhereLinus Jahn2020-04-064-5/+25
|
* QXmppClient: Add new service discovery featuresLinus Jahn2020-04-061-0/+18
|
* QXmppDiscoveryManager: Move static features into QXmppClientPrivateLinus Jahn2020-04-063-11/+32
|
* QXmppRosterManager: Add comment on pre-approved subscriptionsLinus Jahn2020-04-051-3/+12
|
* QXmppCallStream: Wrap callback in std::functionJonah BrĂ¼chert2020-04-023-6/+9
| | | | Allows to use non-static functions (or lambdas with captures)
* Merge branch 'stable'Linus Jahn2020-04-014-2/+8
|\
| * Do not include 'ask' attribute when renaming roster itemMelvin Keskin2020-04-011-0/+4
| |
| * Set user's vCard also when 'from' attribute contains user's bare JIDMelvin Keskin2020-04-011-1/+1
| |
| * QXmppMessageReceiptManager: Fix receipts are sent on error messages (#269)Blue2020-03-271-1/+1
| | | | | | This fixes that behaviour and extends the tests for QXmppMessageReceiptManager.
| * Fix switch statement when handling IQ stanza for registrationMelvin Keskin2020-03-241-0/+2
| |
* | Update copyright year from '2019' to '2020' for forgotten filesMelvin Keskin2020-03-291-1/+1
| |
* | QXmppCallStream: Fix wrong \since tagsLinus Jahn2020-03-241-2/+2
| |
* | Allow to set multiple STUN serversNiels Ole Salscheider2020-03-164-8/+23
| | | | | | | | This way we can for example add a server for IPv4 and one IPv6.
* | Port QXmppCallManager to use GStreamerNiels Ole Salscheider2020-03-169-754/+1599
| |
* | Add not authorized condition for stream errors (#191)henry610242020-02-141-0/+2
| |
* | Make QXmpp work with projects using QT_NO_KEYWORDSLinus Jahn2020-02-1121-47/+47
| | | | | | | | | | | | | | | | | | | | | | 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>
* | doc: Use XEP links everywhereLinus Jahn2020-02-1116-33/+39
|/
* QXmppRegistrationManager: Fix typo in deleteAccountIqIdLinus Jahn2020-02-061-4/+4
|