Philipp Balzarek
fdc3638b5e
clear warnings
12 years ago
Philipp Balzarek
276988ceb5
implement DISCO handlers
12 years ago
Philipp Balzarek
bffde78160
add getAll and relax type of modify to allow use with traversals
12 years ago
Philipp Balzarek
7f9dc0a830
structure Internal module
12 years ago
Philipp Balzarek
e96ec95897
add associatedErrorType and iqErrorResponse
12 years ago
Philipp Balzarek
d67869305a
remove payment-required stanza error condition and add policy-violation condition instead
12 years ago
Philipp Balzarek
bbfa4e9079
add Text parameter to Gone and Redirect error conditions
12 years ago
Philipp Balzarek
9bb7c0933d
add Show instance to Annotation and add getAnnotation
12 years ago
Philipp Balzarek
b921593857
change handling returned annotations: Annotations are appended to the list
12 years ago
Philipp Balzarek
ce97a57392
add Annotations to received stanzas
...
Annotations allow plugins to attach information to processed stanzas, for example to signal that the stanza was received encrypted.
12 years ago
Philipp Balzarek
da64e8758e
remove IQResponseTimeout from IQResponse
...
IQResponseTimeout does not model an XMPP type but is instead an implementation specific signal that a user-set timeout has occured. Removing it keeps our representation closer to the defined protocol.
add IQSendError to keep the result of sendIQ' clear
12 years ago
Philipp Balzarek
664daa540a
add timeout parameter to sendIQ'
12 years ago
Philipp Balzarek
cab8480d91
fix some documentation mistakes
12 years ago
Philipp Balzarek
484b049cd8
add remaining lenses for roster types
12 years ago
Philipp Balzarek
c88c5c5ffa
add lenses for instant messages
12 years ago
Philipp Balzarek
c9f511ebfe
more work on lenses
...
rename stanza classes
add traversable for payload
change sid lens to point to Maybe Text
export pluginsL
12 years ago
Philipp Balzarek
3f22f8d9d6
improve plugin interface
...
Plugins will now be handed the xmpp session once it is created so they can tie the knot if necessary
12 years ago
Philipp Balzarek
022b8885f4
yet more lenses
12 years ago
Philipp Balzarek
c4822899ec
add messagS and presenceS stanza template
12 years ago
Philipp Balzarek
7225f2cdbc
more lenses
12 years ago
Philipp Balzarek
88efc46cdb
improve, document and export lenses
12 years ago
Philipp Balzarek
df146e3975
add plugin interface
12 years ago
Philipp Balzarek
030ea4d02b
correct some documentation errors
12 years ago
Philipp Balzarek
c495a3d17e
export all modules for easier reuse
12 years ago
Philipp Balzarek
a7d5ccf9cd
export writeStanza
12 years ago
Philipp Balzarek
61c5f0dda9
make stanza handler plugins more flexible
...
stanza handlers used to return a Boolean value to indicate whether stanza processing should continue. Now the return lists of stanzas instead. This facilitates plugins that transform stranzas (e.g. encryption)
12 years ago
Michael Snoyman
193e79c051
network 2.3.1.0 support
12 years ago
Michael Snoyman
050a3d83c3
dns 1.0 support
12 years ago
Philipp Balzarek
a00d155739
update to tls >= 1.1.3
12 years ago
Jon Kristensen
47d8fcac49
Apply some additional minor Haddock fixes
12 years ago
Jon Kristensen
7f2146025c
Clear Haddock warnings, create jidQ and newStanzaID Haddock
12 years ago
Philipp Balzarek
5adbe2784a
close stream after failed connection attempt (including exceptions)
12 years ago
Jon Kristensen
e7a6c7cd07
Remove the `StanzaID' type and the `IdGenerator' newtype
12 years ago
Philipp Balzarek
d153c217b0
replace xpPrim with xpJid in ServiceDiscovery
12 years ago
Philipp Balzarek
7d5007096e
clean up some minor problems
12 years ago
Jon Kristensen
f620784a62
Hide Remove Subscription constructor
12 years ago
Philipp Balzarek
29ee35b4cb
export reconnect'
12 years ago
Philipp Balzarek
e9ff7537ae
let reconnect return a Bool that indicates whether the reconnect was successful
12 years ago
Philipp Balzarek
8d555b6790
make disco code compile again
12 years ago
Philipp Balzarek
121287a3ea
split up reconnect function
12 years ago
Philipp Balzarek
f9e572e3ca
remove waitingTimes function
12 years ago
Philipp Balzarek
5f4c4d5419
twiddle with reconnect times
12 years ago
Philipp Balzarek
86a6aa5f68
export reconnectNow from Concurrent.hs
12 years ago
Philipp Balzarek
1ce5aaf222
improve reconnect
...
rename reconnect to reconnectNow
* reconnect immediately
* function returns failure mode on error
add reconnect function
* retries when reconnect failes
* waits exponentially increasing amount of seconds between attemps
* returns last encountered error when all attempts fail
12 years ago
Philipp Balzarek
bd90cbe903
add tlsConnect function
12 years ago
Michael Snoyman
57944095ab
Support for containers 0.4
12 years ago
Philipp Balzarek
40639bfcf9
add generic connection method
12 years ago
Philipp Balzarek
f7230b1aa8
add missing cases in unpickle functions
12 years ago
Philipp Balzarek
20d3d9cbf6
add flag to control use of template haskell
12 years ago
Philipp Balzarek
d859e087be
clear warnings
13 years ago