Commit graph

122 commits

Author SHA1 Message Date
1cf318f91e
Adjust to ObjFW changes 2016-07-10 00:39:19 +02:00
6b901fc4f5
Adjust to new ObjOpenSSL
This disables the new automatic certificate verification and still does
the manual verification.
2015-05-24 21:42:13 +02:00
Florian Zeitz
3dd1196bbe XMPPConnection: Don't negotiate a session feature, when marked optional
The session feature has been deprecated as of RFC 6120.
Some servers still offer it for client compatibility, but
mark it as optional. Not negotiating it in this case
saves us a round trip
2014-02-04 00:00:09 +01:00
Florian Zeitz
3e150f18d6 XMPPConnection: Verify origin of IQ responses 2014-02-03 23:36:13 +01:00
ed5604447a Coding style. 2013-07-01 22:33:49 +02:00
9ae39edeb4 Use instancetype. 2013-06-23 23:41:47 +02:00
cd292b53fa Get rid of BOOL. 2013-06-23 21:57:46 +02:00
7f5c58ffc7 Adjust to reworked exception API. 2013-06-23 16:19:42 +02:00
2889711e69 Adjust to ObjOpenSSL changes. 2013-03-31 12:16:04 +02:00
f186c4f302 Improve documentation. 2013-02-15 15:32:44 +01:00
4a016c271f Prefix all ivars with an underscore. 2013-02-12 22:36:39 +01:00
Florian Zeitz
c59185013e Fix selector for exception handling in XMPPConnection 2013-02-10 18:01:20 +01:00
Florian Zeitz
5554e3a51f Never send starttls when the connection is already encrypted 2013-01-31 15:16:30 +01:00
Florian Zeitz
089f994131 Remove redundant IDNAToASCII 2013-01-09 19:32:57 +01:00
Florian Zeitz
6f1bcd5c6b Make various XMPPConnection setter accept nil 2013-01-03 23:02:57 +01:00
77543c786d Adjust to recent ObjFW changes. 2012-12-22 17:41:23 +01:00
4978c42916 Add -[asyncConnectAndHandle]. 2012-12-13 23:29:12 +01:00
00a064a4a5 Make method names more consistent with ObjFW. 2012-12-13 23:09:30 +01:00
Florian Zeitz
6331f5695f Make reconnecting possible. 2012-12-13 22:20:34 +01:00
6a89ab76d0 Make it possible to get exceptions in async mode. 2012-11-24 01:36:29 +01:00
f9912bd3ad Fix an evil typo. 2012-11-09 22:00:06 +01:00
1602ca3148 Close connection when an exception occurs. 2012-10-17 22:24:03 +02:00
8f2cdce7b4 Handle the connection in the run loop. 2012-09-20 02:35:14 +02:00
Florian Zeitz
72bc705800 Add very basic Stream Management (XEP-0198) support
This implementation only counts incomming stanzas and
sends ACKs on request.
While basic this already allows servers to write
messages to offline storage that were sent to,
but never received by a client.
2012-08-10 14:08:23 +02:00
Florian Zeitz
882b088fbb Close the stream when restricted XML is received 2012-08-10 14:08:23 +02:00
f590ff46fe Don't access isa directly. 2012-07-12 05:34:20 +02:00
867450105e Adjust to latest ObjFW API changes. 2012-06-07 14:19:03 +02:00
d314c1b32d Update URL in copyright. 2012-03-21 11:56:56 +01:00
19fcc192d7 Having a category for each delegate is not required anymore.
This is thanks to XMPPMulticastDelegate.
2012-02-17 18:17:10 +01:00
cf420076c2 Implement roster versioning.
Still needs some testing.
2012-02-06 16:17:37 +01:00
f6c537a9e9 Detect support for roster versioning. 2012-02-06 14:49:37 +01:00
af04bf7088 Add storage to the connection and roster. 2012-02-06 14:32:20 +01:00
4a02854dec Oops, forgot a few changes. 2012-02-04 13:57:49 +01:00
39e245987c Add the XMPPConnection to xmpp_calback_block_t. 2012-02-04 12:52:49 +01:00
6ddf416e50 Add xml:lang support. 2012-02-03 17:26:34 +01:00
1b9c63195a Let -[checkCertificate] return a BOOL and a reason.
Throwing an exception there was strange.
2012-02-03 16:46:06 +01:00
Florian Zeitz
ed82ae1799 Add missing import 2012-02-03 16:00:33 +01:00
066a1644f0 Comments and PIs are not allowed in XMPP -> throw an exception. 2012-02-03 15:35:28 +01:00
33969934b2 Allow IDNs for server and not only domain. 2012-02-03 11:54:23 +01:00
d1dc839333 Make use of multicast delegates in XMPPRoster. 2012-01-30 18:45:43 +01:00
Florian Zeitz
0815f46784 Decouple XMPPRoster and XMPPConnection 2012-01-28 01:43:31 +01:00
7fb28f25c8 Add multicast delegates. 2012-01-27 00:23:04 +01:00
da76528178 Style improvements. 2012-01-26 13:35:05 +01:00
Florian Zeitz
ee08eadf81 Implement SASL EXTERNAL 2012-01-25 16:42:29 +01:00
Florian Zeitz
71b02af421 Generate stanza errors 2012-01-25 15:05:09 +01:00
Florian Zeitz
446490ebc5 Add -close method 2012-01-25 13:18:57 +01:00
Florian Zeitz
4efd9d8881 Better handling of remote stream close 2012-01-25 01:12:42 +01:00
Florian Zeitz
f6bfef0615 Add missing messages 2012-01-16 23:33:53 +01:00
Florian Zeitz
a433727bd5 Merge XMPP*Callback into a single class 2012-01-06 20:18:33 +01:00
Florian Zeitz
2f7b349539 Add capability to register callbacks when sending IQs 2012-01-01 03:42:01 +01:00