aboutsummaryrefslogtreecommitdiff
path: root/src/client
Commit message (Collapse)AuthorAgeFilesLines
* Port deprecated method setCaCertificates of QSslSocketJonah Brüchert2019-09-031-2/+6
|
* MessageReceiptManager: Don't accept receipts from other resourcesLinus Jahn2019-05-051-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | There were some problems with buggy clients leading to that some messages were already marked as received, even though only another resource of the used account has got the message. Here is an example: [outgoing]: <message id="tH9OkRw" to="42@example.com" from="lnj@kaidan.im/kaidan.PR29" type="chat"> <body>test</body> <n1:request xmlns:n1="urn:xmpp:receipts"/> </message> [incoming]: <message to="lnj@kaidan.im/kaidan.PR29" from="lnj@kaidan.im/dino.dc02d539" id="410b33c3-1cd3-433e-8699-74a7583c2560"> <n1:received xmlns="urn:xmpp:receipts" id="tH9OkRw"/> </message> Here the other client "dino.dc02d539" sent an <received/> tag, although it actually received this message over carbons. To avoid that we need to ignore messages also from our bare JID.
* [sasl] order mechanisms to prefer the most secureJeremy Lainé2019-01-182-11/+10
| | | | | | | | | | | | | | | | | | The previous logic was: - use the preferred SASL mechanism if available - otherwise use the first supported mechanism offered by the server However RFC 6120, section 6.3.3 states: "The initiating entity MUST maintain its own preference order independent of the preference order of the receiving entity." The new logic is: - order our supported mechanisms from most secure to least secure - if the user sets QXmppConfiguration::saslMechanism, put it first - use the best mechanism supported by the server
* Bump copyright year to 2019Jeremy Lainé2019-01-0841-41/+41
|
* Fix spelling errorsBoris Pek2019-01-085-6/+6
|
* Tiny addition to 439ad968c60d7cf44cc05cda72ebfdb1f8741045Boris Pek2019-01-031-1/+1
| | | | See: https://en.wikipedia.org/wiki/MacOS
* Set client type in discovery manager based on Qt OSLinus Jahn2019-01-031-1/+6
|
* Use QSysInfo for client OS in VersionManagerLinus Jahn2019-01-031-3/+8
| | | | | | The QXmppVersionManager will use QSysInfo in Qt 5.4 or later to determine the client's OS, so it will also contain the OS version or some codenames.
* Implement XEP-0352: Client State IndicationLinus Jahn2018-10-294-0/+41
| | | | | This commit is based on a pull request by fbeutel (GitHub) (see #87) and was rebased and slightly modified by me.
* Add missed variables initialization in constructors of few classes.Boris Pek2018-09-182-1/+3
|
* auto-connect to next DNS-SRV record server on connection failureMartin Koller2018-09-081-5/+23
| | | | | automatically try next server from DNS SRV record when connection to first can not be established
* Drop support for Qt 4Niels Ole Salscheider2017-09-042-18/+0
|
* Initial CMake build systemNiels Ole Salscheider2017-09-041-46/+0
|
* Add QXmppMamManager (XEP-0313)Niels Ole Salscheider2017-04-293-0/+218
|
* Implement XEP-0198: Stream Management (client only) (#99)Niels Ole Salscheider2017-02-122-52/+183
| | | | | | | | | | | | | | * Some features can be available with different namespaces (e.g. SM) * Provide static functions to convert between strings and stream errors Stream management will reuse this for <failed />. * [travis] test builds using clang * Implement XEP-0198: Stream Management (client only) * QXmppOutgoingClient: Move private methods to QXmppOutgoingClientPrivate
* Tiny cosmetic fix to avoid cppcheck message about memory leak.Boris Pek2017-02-031-1/+1
|
* do not ignore SSL errors by default (closes #113)Jeremy Lainé2016-10-071-2/+2
|
* clarify the fact QXmppConstants_p.h is not APIJeremy Lainé2016-09-0814-14/+14
|
* [carbons] rename QXmppCarbonsManager to QXmppCarbonManagerJeremy Lainé2016-09-043-16/+16
|
* [cosmetic] capitalize XEP-0280: Message CarbonsJeremy Lainé2016-09-041-1/+1
|
* Merge pull request #88 from fbeutel/carbonsfbeutel2016-09-043-0/+188
| | | * Implemented XEP-0280: Message Carbons
* QXmppTransferManager: Close only devices which we opened.Alexandr Akulich2015-10-271-1/+4
| | | | | | | | sendFile() method expects the device to be opened, but QXmppTransferJob::terminate() closes the dev unconditionaly, which breaks reusable QIODevice workflow. Introduce a private boolean variable saying "we created this device".
* QXmppTransferManager: Fixed device ownership.Alexandr Akulich2015-10-271-3/+2
| | | | | | - sendFile() without a device argument now set Job as a parent for the constructed (own) device. - sendFile() with a device argument does not reparent the device anymore.
* File transfer: Make sure the filename is being converted to a QUrl correctlyfbeutel2015-10-211-1/+1
|
* fix typoJeremy Lainé2015-08-311-1/+1
|
* cosmetic tweakJeremy Lainé2015-08-311-5/+4
|
* refactorJeremy Lainé2015-08-311-73/+27
|
* allow QXmppJingleIq to have multiple contentsJeremy Lainé2015-08-311-64/+72
|
* fix compiler warning about unused variableJeremy Lainé2015-08-281-2/+1
|
* QXmppCallManager : set the local SSRC in jingle IQJeremy Lainé2015-08-271-0/+1
|
* check sendFile is actually given a full JIDJeremy Lainé2015-08-151-6/+10
|
* add a note that QXmppTransferManager::sendFile requires a full JIDJeremy Lainé2015-08-151-0/+6
|
* 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-134-9/+9
| | | | This allows compilation with GCC in pedantic mode.
* rename 'error' to 'errors' in socketSslErrors slotJeremy Lainé2015-03-121-4/+4
|
* emit sslErrors in a way they can be ignored on demandJeremy Lainé2015-03-123-1/+9
|
* Add a QXmppClient::sslErrors signal to report SSL errors.Jeremy Lainé2015-03-112-0/+10
|
* clean up support for 'bad-auth' replies, see #36Jeremy Lainé2015-02-251-3/+4
|
* Handle `bad-auth` auth replies, closes #36.0xd34df00d2015-01-281-0/+2
|
* move documentation mainpage to doc/index.docJeremy Lainé2014-08-211-41/+0
|
* Merge pull request #8 from trulabs/feature/XEP-0333Jeremy Lainé2014-06-231-1/+2
|\ | | | | XEP-0333: Chat Markers
| * Advertise support for XEP-0333Juan Aragon2014-05-211-1/+2
| |
* | Added ability to retrieve socket error string for clientNikita Krupenko2014-06-042-0/+9
|/
* add support for legacy SSLJeremy Lainé2014-04-062-5/+15
|
* Use QString() instead of "" for default methods argumentsJeremy Lainé2014-03-282-3/+3
|
* update project homepageJeremy Lainé2014-03-2837-42/+42
|
* update project homepageJeremy Lainé2014-03-2737-42/+42
|
* update copyright notice to 2008-2014Jeremy Lainé2014-03-2637-37/+37
|
* re-order member initialization (silences GCC warning)Jeremy Lainé2013-08-281-2/+2
|
* Fixed possible memory leak in QXmppTransferManagerNikita Krupenko2013-08-281-1/+1
|