Jon Kristensen
354335fd9d
minor correction
14 years ago
Jon Kristensen
31633cfbde
remove any expectations for received xml:lang tag
...
the way i understand rfc 6120, clients will not have any assumptions
about the received xml:lang tag
14 years ago
Jon Kristensen
f9324a0c72
accept missing to header from server
...
Interoperability Note: It is possible that implementations based on
[RFC3920] will not include the 'to' address on stream headers; an entity
SHOULD be liberal in accepting such stream headers.
14 years ago
Jon Kristensen
4798838f20
minor documentation/formatting changes
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
aec8b3e2c3
update to conduit 0.5 and xml-conduit 1.0
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
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
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
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
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
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
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
Philipp Balzarek
5b536428a9
Change more all-caps names to camel case
...
rename Sasl.Sasl to Sasl.Common
14 years ago
Philipp Balzarek
97b08fa277
rename more occurences of DIGEST_MD5 and PLAIN to DigestMD5 and Plain respectively
14 years ago
Philipp Balzarek
d23ae0f149
replace XMPP with Xmpp everywhere to unify style
...
replace SASL with Sasl
replace DIGEST_MD5 with DigestMD5
replace PLAIN with Plain
14 years ago
Jon Kristensen
188cc252d3
Eq instance for JID, PLAIN now base64-encoded, EchoClient compiles,
...
isBare/Full functions exposed
14 years ago
Jon Kristensen
24ba65edbf
(untested) sasl plain implementation
14 years ago
Jon Kristensen
55d8d52623
prepared to extend sasl functionality, put digest-md5 code in its own
...
module
14 years ago
Jon Kristensen
ce927ddcbf
moved 'src' to 'source'
14 years ago