Philipp Balzarek
2bd24c4eca
allow "/" and "@" characters in resource part
...
Fixes #98
10 years ago
Philipp Balzarek
3b02df0ba4
implement handling of nonzas ( #96 )
...
https://xmpp.org/extensions/xep-0360.html
10 years ago
Philipp Balzarek
06713295ae
fix exception on unexpected stream end ( #88 )
10 years ago
Philipp Balzarek
62779c4d7f
add option to set initial roster ( #85 )
10 years ago
Philipp Balzarek
1030940ee6
Send session element depending on stream features
...
Fixes #94
10 years ago
Philipp Balzarek
8a87939cdc
add onRosterPush callback to session configuration
10 years ago
Philipp Balzarek
1552bd9191
document Subscription type
10 years ago
Philipp Balzarek
fbcf55df78
rename stream feature fields and export lenses
10 years ago
Philipp Balzarek
c0a8bb502d
pickle pre-approval stream feature
10 years ago
Philipp Balzarek
b0e40e4c94
export getFeatures from Network.Xmpp
10 years ago
Philipp Balzarek
224eb300b2
use getAddrInfo rather than A/AAAA lookups
...
We should use getAddrInfo rather than A/AAAA lookups so host-specific
settings (like /etc/hosts) can take effect.
10 years ago
Jon Kristensen
faeda19744
Fix TLS build problem
11 years ago
Astro
f95b5de91e
port to conduit>1.2
...
fixes GH issue #81
11 years ago
Philipp Balzarek
3fd8a0f16a
fix build issues on ghc 7.10
11 years ago
Philipp Balzarek
d13e6e109a
fix transformers 0.4 compatibility problem
11 years ago
Stephen Paul Weber
a8f631d43b
Make keepAlive time optional
...
Some clients may do manual ping actions that already keep the connection
alive, or be run in environments where they otherwise know the
keep-alive conditions are different from the default.
Especially on mobile, we want to keep radio usage down, so doing
keep-alive in application logic is likely.
11 years ago
Stephen Paul Weber
68b169214a
Need FlexibleContexts on GHC HEAD
11 years ago
Stephen Paul Weber
1b47e0ff7c
This function does not exist with no TH
11 years ago
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