Commit graph

88 commits

Author SHA1 Message Date
Florian Zeitz
2f7b349539 Add capability to register callbacks when sending IQs 2012-01-01 03:42:01 +01:00
7e9672b76f Get rid of a warning. 2011-12-12 00:40:36 +01:00
fdf33f356a Add a delegate for incoming/outgoing elements. 2011-12-12 00:27:32 +01:00
Florian Zeitz
4aaa754a4d Implement certificate checking. 2011-11-22 23:07:01 +01:00
cfb0c5f9bd Don't retain the delegate to prevent a reference cycle. 2011-10-24 20:32:44 +02:00
616aa8b9cd Make it possible to require TLS. 2011-09-14 22:09:46 +02:00
Florian Zeitz
62d2bd2ba5 Add support for SCRAM-SHA-1-PLUS 2011-09-10 16:08:25 +02:00
Florian Zeitz
901108dd1c Separate server (where to connect to) and domain (what that server hosts) 2011-05-27 02:17:47 +02:00
39d57946d9 Move namespaces to namespaces.h and add missing files to Xcode project. 2011-05-12 22:51:55 +02:00
f651384d81 Move all roster handling code to XMPPRoster. 2011-04-25 19:48:30 +02:00
82982768bc Correctly handle stream restart. 2011-04-24 00:41:18 +02:00
f36f92f515 Adjust to recent ObjFW changes. 2011-04-23 22:40:32 +02:00
Florian Zeitz
d47fdd3380 Handle stream errors 2011-04-15 02:41:23 +02:00
Florian Zeitz
683fc1e3ae Split up XMPP_handleStanza.
Non-Stanzas are now handled in separate functions
2011-04-07 23:13:19 +02:00
Florian Zeitz
91b2a0b119 Clean up roster handling 2011-04-04 01:53:00 +02:00
Florian Zeitz
5fd19a3d1f Handle roster pushs 2011-04-04 00:48:37 +02:00
a9443417bc Add two delegates for TLS upgrades.
This way, an OFStreamObserver can be used even with TLS.
2011-04-03 13:48:59 +02:00
4121a434b7 Add -[socket] to XMPPConnection. 2011-04-01 04:26:54 +02:00
673daaf20b Add -[parseBuffer:withSize:] to XMPPConnection. 2011-04-01 04:23:18 +02:00
2554b3a778 Add convenience header and method. 2011-04-01 03:14:19 +02:00
5b16eaa1f0 Port to ObjC 1. 2011-03-29 03:46:20 +02:00
50012ba975 Get rid of unused variable useTLS. 2011-03-29 02:04:53 +02:00
823ea0eb5e Move namespace definitions and add -[XMPPRoster addRosterItem:]. 2011-03-28 17:30:40 +02:00
915d5b5cab Add XMPPRoster class. 2011-03-28 15:14:27 +02:00
08e9104a17 Send an error reply for unhandled IQ stanzas. 2011-03-21 21:36:59 +01:00
e71c601cbe Request and handle roster. 2011-03-21 20:51:17 +01:00
456cc295bc Generate unique IDs and free all instance variables on dealloc. 2011-03-21 19:27:01 +01:00
ae01053f1c Request session and send initial presence in tests. 2011-03-21 16:15:35 +01:00
4eb4d6bc9c Move auth and bound handling to delegate. 2011-03-21 15:44:42 +01:00
b6314ccbc9 Make use of optional protocols. 2011-03-21 14:56:06 +01:00
Florian Zeitz
b1439941ba Stop caching authentication mechanisms
We don't need to do that. In fact we had to do additional work.
2011-03-10 22:14:32 +01:00
Florian Zeitz
d6227ca0a1 Add SCRAM-SHA-1 support
This adds the new base class XMPPAuthenticator and the derived
classes XMPPSCRAMAuth and XMPPPLAINAuth.
They are now used for authentication from within XMPPConnection.

Also adds XMPPAuthFailedException which is thrown in appropriate places.
2011-02-21 04:09:39 +01:00
fa34006321 Add license. 2011-02-16 21:12:01 +01:00
4690b47ae9 Clean up the code. 2011-02-16 21:05:14 +01:00
2fa82b833c Make it compile. 2011-02-16 20:23:53 +01:00
Florian Zeitz
6dc9e5e217 Add a class for handling JIDs. 2011-02-13 01:36:25 +01:00
Florian Zeitz
0c7b90ec2d Add some documentation 2011-02-12 01:04:19 +01:00
Florian Zeitz
12ec7d5f08 Add a basic folder structure 2011-02-11 02:06:53 +01:00
Renamed from XMPPConnection.h (Browse further)