Commit graph

50 commits

Author SHA1 Message Date
851e7fe676 Adjust to ObjFW changes
FossilOrigin-Name: 46f67c971bc57abd330349d54d237931079a832baaf20909e77039f6ce4b896d
2021-04-28 23:20:55 +00:00
781af5edef
Use dot syntax 2019-03-16 21:58:13 +01:00
15c922cdad
Adjust to ObjFW changes 2018-12-22 21:59:02 +01:00
d6f82eb3d5
Remove dependency on libresolv 2018-11-05 01:14:15 +01:00
5fa8b0b9b3
Adjust to ObjFW changes 2017-05-13 17:03:44 +02:00
73d3bca240
Fix URL in copyright header 2017-04-30 17:04:04 +02:00
cd292b53fa Get rid of BOOL. 2013-06-23 21:57:46 +02:00
603d3bad7a Coding style. 2013-03-31 12:23:39 +02:00
Florian Zeitz
6ddb1571ca Add classes to support Service Discovery 2013-03-23 18:21:05 +01:00
005771ec2e Rename XMPPJSONFileStorage to XMPPFileStorage.
It uses BinaryPack instead of JSON now.
2013-02-23 14:49:32 +01:00
Florian Zeitz
c59185013e Fix selector for exception handling in XMPPConnection 2013-02-10 18:01:20 +01:00
Florian Zeitz
e951bacb3b Make XMPPPresence comparable 2013-01-14 21:18:09 +01:00
Florian Zeitz
178627a652 Make status/show/priority of XMPPPresence properties 2013-01-09 00:36:21 +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
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
2cae99ef60 Fix a few bugs in roster versioning. 2012-02-06 16:33:50 +01:00
db1a84295d Oops, forgot to adjust tests. 2012-02-04 13:32:11 +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
5386fb6e0b Fix forgotten -[addBody:] -> -[setBody:] in the test. 2012-02-03 11:28:51 +01:00
d1dc839333 Make use of multicast delegates in XMPPRoster. 2012-01-30 18:45:43 +01:00
cb43292ca0 Remove the roster delegate if it gets deallocated.
Maybe it's not a good idea altogether to add/remove the roster
automatically?
2012-01-30 14:35:50 +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
Florian Zeitz
a433727bd5 Merge XMPP*Callback into a single class 2012-01-06 20:18:33 +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
Florian Zeitz
901108dd1c Separate server (where to connect to) and domain (what that server hosts) 2011-05-27 02:17:47 +02:00
Florian Zeitz
dd4022b99c Add support for SRV records 2011-05-24 03:01:47 +02:00
f651384d81 Move all roster handling code to XMPPRoster. 2011-04-25 19:48:30 +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
f504246a1b Change how roster items are stored. 2011-04-01 03:09:04 +02:00
b35525fd2b Adjust to newest ObjFW and greatly improve XML handling. 2011-03-31 14:25:41 +02:00
5b16eaa1f0 Port to ObjC 1. 2011-03-29 03:46:20 +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
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
932d805e95 Improve stanza handling and call delegate for iq, message and presence. 2011-03-17 21:36:04 +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
Florian Zeitz
33d34dc5b1 Adapt tests for checking a stanza's JID 2011-02-19 23:17:39 +01:00
613400a718 Use XMPPJID for from and to. 2011-02-19 17:40:41 +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
12ec7d5f08 Add a basic folder structure 2011-02-11 02:06:53 +01:00
Renamed from test.m (Browse further)