Philipp Balzarek
faf7e6451f
export PeerStatus
11 years ago
Philipp Balzarek
069b9efb4a
add lens for onPresenceChange
11 years ago
Philipp Balzarek
f99bcf0fd1
pass JID to onPresenceChange callback
11 years ago
Philipp Balzarek
5c8040b80c
add onPresenceChange method
...
onPresenceChange is called when the presence status of a peer changes,
i.e. it goes online or offline or the IM presence is changed
11 years ago
Philipp Balzarek
5bdd200acf
export getRosterSTM from Network.Xmpp.IM
11 years ago
Philipp Balzarek
730b3ce61a
add IQRequestClass, sendIQRequest, runIQHandler
11 years ago
Philipp Balzarek
5db6180fd4
add MessageError default definitions
11 years ago
Philipp Balzarek
0f29daf8d5
add accessor functions for tracked presence
11 years ago
Philipp Balzarek
24a5874197
fix roster pushes not being handled
...
Fix the order of stanza handlers
Allow roster pushes with a from address that is the bare JID of the
client to be handled
11 years ago
Philipp Balzarek
67e4d3d391
add PresenceTracerk.Types
11 years ago
Philipp Balzarek
8f9d54dee3
set upper bound of conduit
11 years ago
Philipp Balzarek
d4fd7ca580
add presence Tracker
12 years ago
Philipp Balzarek
d17a918510
lens and type cleanup
12 years ago
Philipp Balzarek
e3b9494553
lens updates
12 years ago
Philipp Balzarek
9e776a39a6
export streamState
12 years ago
Jon Kristensen
0afba3f39a
Parse version numbers properly; allow for >=1.1 and <2.0 versions
...
Fixes #50 .
12 years ago
Philipp Balzarek
a5e25a5657
fix some discrepancies to RFC6120/6121/6122
12 years ago
Philipp Balzarek
873c7c82d6
let plugins process IQ answers
12 years ago
Philipp Balzarek
294face290
implement §6.4.2 (send single equals sign)
...
Instead of an inital payload, send a single equals sign.
( https://tools.ietf.org/html/rfc6120#section-6.4.2 )
12 years ago
Philipp Balzarek
32784840f7
stop SRV process when single "." is received
12 years ago
Philipp Balzarek
302b2603d8
remove superfluous field from default StreamConfiguration
12 years ago
Philipp Balzarek
716290a32f
Use realm as TLS for server identification
...
... if clientServerIdentification is set to the empty string
12 years ago
Philipp Balzarek
4d9fa5f28e
fix defined condition picklers being too strict
12 years ago
Philipp Balzarek
91b8d1b5ae
fix connection to google talk servers failing
...
google talk only supports RC4 as TLS cipher
12 years ago
Philipp Balzarek
8f24a5e7bc
give TLS necessary information to check certificates
12 years ago
Philipp Balzarek
4bb213688b
add support for extended attributes
...
See RFC6120 §8.4
( http://xmpp.org/rfcs/rfc6120.html#stanzas-extended )
12 years ago
Philipp Balzarek
648941cdaf
fix some outdated comments
12 years ago
Philipp Balzarek
e56c425691
re-add debug output to outbound stanzas
12 years ago
rnons
edeadf6ef7
Simplify datatype XmppTlsError.
12 years ago
rnons
54aff36366
Update to tls-1.2, drop the dependency of tls-extra.
12 years ago
Philipp Balzarek
08a0300071
handle code attribute in stanza errors
...
rfc 3920 allowed a "code" attribute in stanza errors. For compatibility,
we allow for (but ignore) it.
12 years ago
Philipp Balzarek
f9db716dd8
export everything from Internal module
12 years ago
Jon Kristensen
2b1b1c8d00
Apply minor Haddock changes
12 years ago
Philipp Balzarek
d2f41b9ac3
fix export declaration of Annotated
12 years ago
Philipp Balzarek
79c368c6eb
additional cleanups and documentation fixes
12 years ago
Philipp Balzarek
3b4c95af0a
add pullMessageA and remove Annotations from pullMessage
12 years ago
Philipp Balzarek
3b8297e2c2
remodel functions to expose STM actions rather than STM datat types
...
TVars and TChans expose the wrong interfaces (e.g. a user shouldn't be
able to add IQRequestTickets to the inbound channel or change the answer
recevied after sending an IQRequest).
12 years ago
Philipp Balzarek
e6a559faa2
use cloneTChan instead of dubTChan in dupSession
12 years ago
Philipp Balzarek
c6743bd12b
quench warnings
12 years ago
Philipp Balzarek
1c44e4fd23
improve documentation and export annotated functions
12 years ago
Philipp Balzarek
30a1408689
fix handling IQ responses
...
IQs sent to the server may evoke responses with "from" attribute different
from the "to" attribute the request was sent to. Specifically, it might
be either empty, the JID of the server (that is, only domain part set) or either
the bare or full JID of the client.
12 years ago
Philipp Balzarek
1e1fbab2f8
fix presenceSubscribe(d) stanzas
12 years ago
Philipp Balzarek
4efb81758c
Check IQ response from addresses
12 years ago
Philipp Balzarek
e3ac3ef560
export simpleAuth and re-export def (from data-default)
12 years ago
Philipp Balzarek
f966919668
improve documentation
...
Add type synonyms: Username, Password, AuthZID, AuthData and Resource
12 years ago
Masahiro Honma
49edb20811
Unpickle an element even if it contains ContextEntity in its attributes
12 years ago
Jon Kristensen
3e8daeeab5
Specify stringprep >=1.0.0 dependency
12 years ago
Jon Kristensen
2e3f2a3903
Export Plugin, Plugin', and Annotation from Network.Xmpp.Internal
12 years ago
Philipp Balzarek
f751ac374c
decide stringprep imports by version
12 years ago
Philipp Balzarek
d64d322078
add doctests
...
doctests need some build magic in order for ghci to use the right
modules. The support code is taken and adapted from the lens package.
12 years ago