Denis Tereshkin
2a4d37b616
Work with lts-17.14
5 years ago
Sergey Alirzaev
140e522a5b
containers-0.6 compatibility
7 years ago
Sergey Alirzaev
3058907bba
StreamFeatures Semigroup instance for ghc-8.4 compat
...
as suggested in https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid#Writingcompatiblecode
fixes #114
7 years ago
Philipp Balzarek
5f72869bc5
Migrate from ErrorT to ExceptT
8 years ago
Sergey Alirzaev
cc9f5ba1b0
adapt to conduit-1.3
8 years ago
Sergey Alirzaev
875b1e695a
don't error if xpStanza fails to grok the input
...
fixes #109
8 years ago
Niklas Hambüchen
0a2ac09325
Compatibility with GHC 8.2 and Cabal 2.0.
...
I have not cared to keep backwards compatibility in this commit.
8 years ago
Gregor Reitzenstein
dd569a714f
Bump tls to version 1.3.9
...
hs-tls fixed an issue regarding ECDSA certificates in version 1.3.9
(https://github.com/vincenthz/hs-tls/issues/152 )
This commit simply requires at least that version of tls and makes
pontarius-xmpp compile using that newer hs-tls version.
9 years ago
Sven Bartscher
e5b880c937
Fix behavior in case no SRV entries are found.
9 years ago
Philipp Balzarek
8d159048ec
Fix Jid Read instance using error
...
(#102 )
10 years ago
Philipp Balzarek
5ddfdc5815
pass old roster to roster update callback
10 years ago
Philipp Balzarek
0b0dcc5fe0
update roster callbacks
10 years ago
Philipp Balzarek
073eb1cdf3
fix tests
10 years ago
Philipp Balzarek
db36ebafe5
add onRosterPushL lens
10 years ago
Philipp Balzarek
30e57ebc21
fix stream input logger ( #100 )
...
Logger tried to decode UTF8 at packet boundaries
10 years ago
Philipp Balzarek
5c76183c7d
fix doctests
10 years ago
Philipp Balzarek
2bd24c4eca
allow "/" and "@" characters in resource part
...
Fixes #98
10 years ago
Philipp Balzarek
3b02df0ba4
implement handling of nonzas ( #96 )
...
https://xmpp.org/extensions/xep-0360.html
10 years ago
Philipp Balzarek
06713295ae
fix exception on unexpected stream end ( #88 )
10 years ago
Philipp Balzarek
62779c4d7f
add option to set initial roster ( #85 )
10 years ago
Philipp Balzarek
1030940ee6
Send session element depending on stream features
...
Fixes #94
10 years ago
Philipp Balzarek
8a87939cdc
add onRosterPush callback to session configuration
10 years ago
Philipp Balzarek
1552bd9191
document Subscription type
10 years ago
Philipp Balzarek
fbcf55df78
rename stream feature fields and export lenses
10 years ago
Philipp Balzarek
c0a8bb502d
pickle pre-approval stream feature
10 years ago
Philipp Balzarek
b0e40e4c94
export getFeatures from Network.Xmpp
10 years ago
Philipp Balzarek
224eb300b2
use getAddrInfo rather than A/AAAA lookups
...
We should use getAddrInfo rather than A/AAAA lookups so host-specific
settings (like /etc/hosts) can take effect.
10 years ago
Jon Kristensen
faeda19744
Fix TLS build problem
11 years ago
Astro
f95b5de91e
port to conduit>1.2
...
fixes GH issue #81
11 years ago
Philipp Balzarek
3fd8a0f16a
fix build issues on ghc 7.10
11 years ago
Philipp Balzarek
d13e6e109a
fix transformers 0.4 compatibility problem
11 years ago
Stephen Paul Weber
a8f631d43b
Make keepAlive time optional
...
Some clients may do manual ping actions that already keep the connection
alive, or be run in environments where they otherwise know the
keep-alive conditions are different from the default.
Especially on mobile, we want to keep radio usage down, so doing
keep-alive in application logic is likely.
11 years ago
Stephen Paul Weber
68b169214a
Need FlexibleContexts on GHC HEAD
11 years ago
Stephen Paul Weber
1b47e0ff7c
This function does not exist with no TH
11 years ago
Philipp Balzarek
faf7e6451f
export PeerStatus
11 years ago
Philipp Balzarek
069b9efb4a
add lens for onPresenceChange
11 years ago
Philipp Balzarek
f99bcf0fd1
pass JID to onPresenceChange callback
11 years ago
Philipp Balzarek
5c8040b80c
add onPresenceChange method
...
onPresenceChange is called when the presence status of a peer changes,
i.e. it goes online or offline or the IM presence is changed
11 years ago
Philipp Balzarek
5bdd200acf
export getRosterSTM from Network.Xmpp.IM
11 years ago
Philipp Balzarek
730b3ce61a
add IQRequestClass, sendIQRequest, runIQHandler
11 years ago
Philipp Balzarek
5db6180fd4
add MessageError default definitions
11 years ago
Philipp Balzarek
0f29daf8d5
add accessor functions for tracked presence
11 years ago
Philipp Balzarek
24a5874197
fix roster pushes not being handled
...
Fix the order of stanza handlers
Allow roster pushes with a from address that is the bare JID of the
client to be handled
11 years ago
Philipp Balzarek
67e4d3d391
add PresenceTracerk.Types
11 years ago
Philipp Balzarek
8f9d54dee3
set upper bound of conduit
11 years ago
Philipp Balzarek
d4fd7ca580
add presence Tracker
12 years ago
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