Philipp Balzarek
6c2830f852
fix log messages in Network.Xmpp.Stream (XMPP => Xmpp)
13 years ago
Philipp Balzarek
e0821567de
run connectionClosedHandler on calls of closeConnection
13 years ago
Philipp Balzarek
53b73bc905
allow read Worker to close streams on read failure and prevent it from stopping itself in this case
13 years ago
Philipp Balzarek
f0d558a528
reinstate withConnection and fix closeConnection
13 years ago
Philipp Balzarek
c56f9c88cd
fix documentation type in Network.Xmpp.Types
13 years ago
Philipp Balzarek
c5f8886152
rename sessionClosedHandler configuration option to onConnectionClosed
13 years ago
Philipp Balzarek
24a97e84eb
remove duplicate export of InstantMessage in Network.Xmpp.IM
13 years ago
Philipp Balzarek
414aa33f86
change loggers in Network.Xmpp.Tls to log to Pontarius.Xmpp.Tls (was Pontarius.Xmpp)
13 years ago
Philipp Balzarek
3ac2079f27
add Finished state to ConnectionState
13 years ago
Philipp Balzarek
2aab7710e1
move SessionConfiguration to Network.Xmpp.Concurrent.Types
13 years ago
Philipp Balzarek
34e80d8fe2
export setConnectionClosedHandler
13 years ago
Philipp Balzarek
dd442a4446
add Default instance for InstantMessage and IMPresence
13 years ago
Stephen Paul Weber
46f9ecdd45
Try error before normal
...
Since the normal message parser will actually match the error parser.
Closes #25
13 years ago
Philipp Balzarek
a2bab58525
add Default instance for Message and Presence
13 years ago
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