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
Philipp Balzarek
a073417470
add jid QuasiQuoter (synonym to jidQ)
12 years ago
Philipp Balzarek
31efaaf1c8
fix documentation of StanzaError
12 years ago
Philipp Balzarek
047b03109b
add mkStanzaError and export iqResult and associatedErrorType
12 years ago
Philipp Balzarek
b41882f4cc
integrate incomplete pickler
...
move xpStanzaErrorCondition into the body of xpErrorCondition because it
is meaningless by itself and rename xpErrorCondition to xpStanzaErrorCondition
12 years ago
Philipp Balzarek
389389804c
add NonemptyText type and adapt code where necessary
12 years ago
Philipp Balzarek
7c0b6527d7
check for empty domain part in jidFromTexts
12 years ago
Philipp Balzarek
45ad595ac3
bump stringprep to 0.1.5
12 years ago
Philipp Balzarek
faacff422e
fix minor problems in Marshal
12 years ago
Philipp Balzarek
387d5f885f
fix jidParts (would not parse domain/resource without localpart)
12 years ago
Philipp Balzarek
0e2a750004
move TLS default parameters to Network.Xmpp.Types and add weaker AES-SHA1-based ciphers for compatibility with facebook
12 years ago
Philipp Balzarek
1edaab5b92
move from exceptions as StreamHandle error indicator to XmppFailure error values.
...
This changes the return type of at least the following functions from IO Bool to IO (Either XmppFailure ())
* sendIQ
* sendIQ'
* answerIQ
* sendMessage
* sendPresence
12 years ago
Philipp Balzarek
3f8848825f
add type delcaration to runHandlers and don't pass write sem to startThreadsWith
12 years ago
Philipp Balzarek
82c546bab3
fix exports in Internal
12 years ago
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