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
Philonous
83fe74194d
Merge pull request #47 from MarcosPividori/patch-1
...
Update pontarius-xmpp.cabal
12 years ago
MarcosPividori
19b8785658
Update pontarius-xmpp.cabal
...
Change in build-depends, package stm: version >= 2.4 is needed because of the use of the function 'cloneTChan'
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
c5ec2e3c0a
Merge branch 'master' of git://github.com/rnons/pontarius-xmpp
12 years ago
Philipp Balzarek
a5b6900972
add run tests
...
We lacked a test suite that even just tried connecting to a server and
bouncing a few stanzas back and forth. The "runtests" suite does just
that. It connects to 2 accounts on a server (set in a config
file ~/.pontarius-xmpp-tests/pontarius-xmpp-tests.conf) and tries
passing some messages and IQ stanzas back and forth. This should clear
the way for more interesting scenarios.
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
Philipp Balzarek
00f7221746
fix list of exported modules
12 years ago
Philipp Balzarek
51bbf9b457
fix ChangeLog.md markdown
12 years ago
Jon Kristensen
3c99b715f1
Merge branch 'master' of github.com:pontarius/pontarius-xmpp
12 years ago
Jon Kristensen
2b1b1c8d00
Apply minor Haddock changes
12 years ago
Philipp Balzarek
d2f41b9ac3
fix export declaration of Annotated
12 years ago
Philipp Balzarek
dd654e631c
update cabal file
12 years ago
Philipp Balzarek
7bd9ab5e91
add changelog
12 years ago
Philipp Balzarek
79c368c6eb
additional cleanups and documentation fixes
12 years ago
Philipp Balzarek
3b4c95af0a
add pullMessageA and remove Annotations from pullMessage
12 years ago
Philipp Balzarek
3b8297e2c2
remodel functions to expose STM actions rather than STM datat types
...
TVars and TChans expose the wrong interfaces (e.g. a user shouldn't be
able to add IQRequestTickets to the inbound channel or change the answer
recevied after sending an IQRequest).
12 years ago
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
Jon Kristensen
b56558f82e
README.md: Mention IRC channel
12 years ago
Philipp Balzarek
32df2f7ef6
merge branch '0.3.0.2-entityre_in_attr' of git://github.com/hiratara/pontarius-xmpp into merge
...
Conflicts:
source/Network/Xmpp/Stream.hs
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
5108cd56f9
export IQSendError
12 years ago