Philipp Balzarek
96b6e5b6e9
derive Show for IMPresence
13 years ago
Philipp Balzarek
c01fe10999
add cleseConnection and endSession
13 years ago
Philipp Balzarek
a03df77a04
fix xpPresence
13 years ago
Philipp Balzarek
a7ac1e59e2
change reader conduit to buffered source
...
kill reader thread when end of stream is reached
13 years ago
Jon Kristensen
fc2ececcf4
Modify `PresenceType'; update pickler; skip Maybe in `presenceType'
...
Fixes #15 .
13 years ago
Philipp Balzarek
a130d611f4
add getStanza and getStanzaChan
13 years ago
Jon Kristensen
b64c61299c
Export various types
...
Types that are exported are:
Network.Xmpp:
* SaslFailure (..)
* StanzaHandler (..)
Network.Xmpp.Internal
* ConnectionState (..)
* Stanza (..)
* TlsBehaviour (..)
Network.Xmpp.IM
* InstantMessage (..)
* Subscription (..)
Fixes #10 .
Fixes #12 .
Fixes #16 .
13 years ago
Jon Kristensen
f0346b92e9
answerMessage: Set "from" to Nothing
...
For some reason, answerMessage used to set messageFrom = messageTo,
while I believe that it should just set it to Nothing (the server will
set the "from" attribute for us).
Fixes #7 .
13 years ago
Philipp Balzarek
008398e75f
export nsHack from Network.Xmpp.Stream
13 years ago
Philipp Balzarek
3fd8859e2d
fix debug messages in Network.Xmpp.TLS
13 years ago
Philipp Balzarek
8211794a30
Use the name space hack in the writer thread
13 years ago
Philipp Balzarek
f69d5ca7df
export InstantMessage, simpleIM and answerIM
13 years ago
Philipp Balzarek
1f3a18f2ef
change pullStanza to not block the stream
...
add debugging information for outgoing stanzas over TLS
cleanup in Xmpp.Concurrent.Threads
13 years ago
Philipp Balzarek
0bb4f4dabb
refactor answerIQ. The ticket now contains the method to answer itself, so tickets can now be answered without needing access to the unerlying session.
13 years ago
Philipp Balzarek
b83de8a11b
add getJid
13 years ago
Philipp Balzarek
48d0f6dbbb
fix IM Message and Presence pickler
...
Avoid errors when there are other elements as well
13 years ago
Philipp Balzarek
570cdafd43
Improve RFC 6121 (XMPP-IM) code.
...
Move the functionality from Network.Xmpp.IM.Message and *.Presence to Network.Xmpp.Stanza since it is not specific to RFC 6121.
Implement presence functionality of RFC 6121
Fix hslint errors and warning
13 years ago
Philipp Balzarek
2303f31c2b
use cryptohash-cryptoapi (cryptohash 0.9 deprecates cryptoapi api)
13 years ago
Philipp Balzarek
520a2457f9
update types for conduit 1.0
13 years ago
Philipp Balzarek
c0f97175d4
fix haddock documentation
13 years ago
Philipp Balzarek
fad5e37384
add dropIQChan
13 years ago
Philipp Balzarek
13b27686db
clear warning in Network.Xmpp.Tls
13 years ago
Philipp Balzarek
058d63f0e0
add rosterAdd and rosterRemove
13 years ago
Philipp Balzarek
c7c4a29219
Fix loggin in Network.Xmpp.Tls and minor cleanups
13 years ago
Philipp Balzarek
1e2772c2b7
jabber.org compatibility
13 years ago
Philipp Balzarek
1c5203204c
move host name checks from Network.Xmpp.Types to Network.Xmpp.Utilities
13 years ago
Philipp Balzarek
d8ae2d074e
integrate roster management
13 years ago
Philipp Balzarek
fea7e3f7ac
fix debugging messaages in Network.Xmpp.Sasl and write inbound TCP messages to debug logger
13 years ago
Philipp Balzarek
2be98f544a
fix deadlock in Network.Xmpp.Sasl
13 years ago
Philipp Balzarek
48f1e515fc
clear modules necessare for cabal install of warnings
...
clear Network.Xmpp of warnings
clear Network.XMpp.Tls of Warnings
clear Network.Xmpp.Utilities of Warnings
clear Network.Xmpp.Stream of warnings
clear Network.Xmpp.Sasl of warnings
clear Network.Xmpp.Concurrent of warnings
clear Network.Xmpp.Concurrent.IQ of warnings
clear Network.Xmpp.Concurrent.Message of warnings
clear Network.Xmpp.Concurrent.Monad of warnings
clear Network.Xmpp.Concurrent.Presence of Warnings
clear Network.Xmpp.Concurrent.Threads of warnings
clear Network.Xmpp.Concurrent.Types of warnings
clear Network.Xmpp.IM.Presence of warnings
clear Network.Xmpp.Sasl.Common of warnings
clear Network.Xmpp.Sasl.StringPrep of warnings
clear Network.Xmpp.Sasl.Mechanisms.DIgestMd5 of warnings
clear Network.Xmpp.Sasl.Mechanisms.Plain of warnings
clear Network.Xmpp.Sasl.Mechanisms.Scram of warnings
clear Network.Xmpp.Xep.DataForms of warnings
clear Network.Xmpp.Internal of warnings
13 years ago
Philipp Balzarek
477dbc14c7
elaborate connectionDetails
...
add ConnectionDetails type
remove Hostname type
rename hostname to checkHostname
13 years ago
Philipp Balzarek
97bd16b6df
fix stanza ID generator
13 years ago
Philipp Balzarek
c776cb6305
Make Network.Xmpp.Types warning-clean
13 years ago
Philipp Balzarek
79117606dc
add roster handling
13 years ago
Philipp Balzarek
c9e0ddd1f8
Add support for reader plugins
13 years ago
Philipp Balzarek
74f4b409c1
fix stanza ID generator
13 years ago
Philipp Balzarek
652384c4b0
Make Network.Xmpp.Types warning-clean
13 years ago
Philipp Balzarek
3d0c5cc72b
add roster handling
13 years ago
Philipp Balzarek
7a5699ee9b
Add support for reader plugins
13 years ago
Jon Kristensen
d5bcf66fab
Support backward XMPP servers by default
13 years ago
Philipp Balzarek
14bdc12af7
let session fail on authentication failure
13 years ago
Philipp Balzarek
e318696981
wrap the stream object (TMVar Stream) in a newtype
...
rename StreamState to ConnectionState
rename Stream to StreamState
add Stream newtype
13 years ago
Philipp Balzarek
8875fca4d7
move TLS preference check to startTLS and add PreferPlain
13 years ago
Jon Kristensen
f4d0ac4eb3
Minor documentation enhancements
13 years ago
Jon Kristensen
2143ad17ff
Rename fromText(s) to jidFromText(s)
13 years ago
Jon Kristensen
3af74f31f7
Concurrent.hs: Respect specified TLS behaviour
13 years ago
Jon Kristensen
2548c94310
Add TLS behaviour and settings to the `StreamConfiguration' object
13 years ago
Jon Kristensen
5923d07f51
Add stanza identifier generator to the `SessionConfiguration' object
13 years ago
Jon Kristensen
03ae8c9d65
Add connection closed handler to `SessionConfiguration' object
13 years ago
Jon Kristensen
500b8c1063
Add `SessionConfiguration' object
13 years ago