Jon Kristensen
4798838f20
minor documentation/formatting changes
14 years ago
Philipp Balzarek
40b7176229
Merge remote-tracking branch 'nejla/master'
14 years ago
Jon Kristensen
d4390c3e62
changed listenIQChan to return the current channel, if one
14 years ago
Philipp Balzarek
3500b7ad7c
add Network.Xmpp.Xep.ServiceDiscovery
14 years ago
Philipp Balzarek
bcbe68bcac
Update to xml-picklers 0.2.2 Add LangTag to Network.Xmpp re-export list
14 years ago
Philipp Balzarek
9b748870dc
update to xml-picklers 0.2
14 years ago
Philipp Balzarek
aec8b3e2c3
update to conduit 0.5 and xml-conduit 1.0
14 years ago
Philipp Balzarek
7689a71fa3
change submodule xml-types-pickle to xml-picklers
14 years ago
Philipp Balzarek
81b7460d53
Thread-safe error reporting in test client
14 years ago
Philipp Balzarek
ef607f550b
Add debug support (controlled by debug constant in Network.Xmpp.Monad)
14 years ago
Philipp Balzarek
786b8cd487
unsplit picklers
14 years ago
Jon Kristensen
f53abf0176
stream id now stored in connection state
14 years ago
Jon Kristensen
581f088aee
correction of last patch: actually closed the stream following the stream errors
...
provided a single threaded counterpart for closeConnection
14 years ago
Jon Kristensen
67a37371be
XmppConnection fields for jid to put in outgoing stream `from'
...
validate incoming stream `to'
using Jid instead of Text in pickleOutStream
don't read xmlns:stream attribute on incoming stream
close the stream after sending the stream errors
save `from' as specified by the server
documentation corrections
14 years ago
Jon Kristensen
ccf3c4c007
merged branches, removed xmppStream print
14 years ago
Jon Kristensen
bf4ad45961
Merge branch 'master' of https://github.com/Philonous/pontarius
...
Conflicts:
source/Network/Xmpp/Stream.hs
14 years ago
Jon Kristensen
cd9f42e58f
extended stream pickling and validation
...
pickleStream now (liberal) pickleInStream and (strict) pickleOutStream
xmppStream validates most of the stream element received and throws errors
connect catches the errors thrown by xmppStream, generates stream errors
made it possible to have the prefered language for the stream in the state
communicate the prefered stream language if it's set
extract stream language from incoming stream
exported langTag function in Types
14 years ago
Philipp Balzarek
fe5da1a5bc
fix xpLangTag
...
add language tag to stream pickler
14 years ago
Philipp Balzarek
7f4929c289
document StremErrorCondition
...
some minor documentation improvements
14 years ago
Jon Kristensen
63507a4276
additional cabal modification
...
renamed cabal file
modified copyright to adhere to the LICENSE file
added homepage and package-url
added GHC ==7.0.4 to the tested-with field
14 years ago
Jon Kristensen
c107ae3956
modified cabal file for new project name and location
14 years ago
Jon Kristensen
00ab24c3cb
documentation clarification and some formatting
14 years ago
Jon Kristensen
bb733cd6da
fromJust patch analogous to the last one
14 years ago
Philipp Balzarek
a9ff4c8335
fix a fromJust in Read LangTag
14 years ago
Jon Kristensen
dd8694d8db
Merge remote-tracking branch 'philonous/master'
14 years ago
Jon Kristensen
038129c5b7
miscellaneous Version and LangTag improvements
...
removed parseLangTag, using langTag instead
versionFromString renamed versionFromText
versionFromText, versionParser, langTag, langTagParser moved to Types
case-insensitive Eq instance for LangTag
Read instance for Version
minor documentation and formatting enhancements
formatting and other clean-up in the Utilities modules
14 years ago
Philipp Balzarek
4e24d6f16a
do proper disconnects
14 years ago
Philipp Balzarek
bd8e5c670b
Merge remote-tracking branch 'remotes/nejla/master'
14 years ago
Philipp Balzarek
2c797c8bca
remove sessionEndHandler
14 years ago
Philipp Balzarek
3161404679
clean up Types
14 years ago
Jon Kristensen
5bca5a16b9
minor EchoClient modifications; exported simpleAuth
...
started to use simpleAuth in EchoClient
stripped password from EchoClient
14 years ago
Jon Kristensen
f0e8e2d4eb
send xml declaration
14 years ago
Philipp Balzarek
684646e3db
split auth in auth (takes mechanism list) and simpleAuth (defaults to Scram and DigestMd5)
...
swap authzic and authcid parameters in DigestMd5
14 years ago
Philipp Balzarek
4ee34b49a0
add error handling to Bind
14 years ago
Philipp Balzarek
3091a43914
move mechanisms to Sasl/Mechanisms
...
factor out prepCredentials
14 years ago
Philipp Balzarek
b81c3307e8
Merge remote-tracking branch 'nejla/master'
...
Conflicts:
source/Network/Xmpp.hs
source/Network/Xmpp/Sasl.hs
source/Network/Xmpp/Sasl/Plain.hs
source/Network/Xmpp/Sasl/Scram.hs
source/Network/Xmpp/Sasl/Types.hs
fix DigestMd5.hs filename
make DigestMd5 compile again
14 years ago
Jon Kristensen
b37c126282
miscellaneous sasl changes
...
stopped wrapping passwd in a SaslM computation for the time-being
SaslHandler now takes password and does not take hostname
minor formatting and documentation changes
runSasl where-local
SaslElement moved to Sasl/Types.hs
14 years ago
Philipp Balzarek
e7be002c5e
add space-folding to Sasl/StringPrep
14 years ago
Philipp Balzarek
697b1398be
make bind save the received JID
14 years ago
Philipp Balzarek
1d54682baa
rename JID to Jid
...
remove sUsername, aAuthzid, sResource from XmppConnection
add sJid to XmppConnection
14 years ago
Philipp Balzarek
ff4358c3a4
add stringprep to scram
...
rename DigestMD5 to DigestMd5
Don't thread credentials through xmppSasl
14 years ago
Jon Kristensen
1f40d33c60
minor formatting and documentation changes
...
type signatures for where-local functions
made xorBS, merge, and (+++) where-local
removed putStrLn calls
14 years ago
Jon Kristensen
d46caa7afa
i was wrong about the possibility of encountering an empty
...
stream:features element
14 years ago
Jon Kristensen
c5841a6325
Merge remote-tracking branch 'philonous/master'
14 years ago
Jon Kristensen
ce14ae0fc3
some general documentation
14 years ago
Philipp Balzarek
136c5f8b1e
add server authentication
14 years ago
Philipp Balzarek
b69f8e839e
add documentation to Scram.hs and Common.hs
14 years ago
Philipp Balzarek
cfb3597feb
add scram
...
add sAuthzid to XmppConnection
add sAuthzid to XmppConnection more work on sasl infrastructure
move more stuff from DigestMd5 to Common
more work on sasl infrastructure
14 years ago
Philipp Balzarek
7b80923433
refactor digestMd5 to move common functionality to module Common
14 years ago
Jon Kristensen
e7eff3ea50
fixed stream features unpickle bug that appeared when no stream:features
...
element was provided by the server
14 years ago