Commit Graph

391 Commits (80ba7905559be1612803006c92d21e27601c13e8)
 

Author SHA1 Message Date
remicorniere 80ba790555
Added coverage
4 years ago
remicorniere c60edf4771
Added "-race" flag to tests run command
4 years ago
Wichert Akkerman 6f35ae4103 Fix triggers
4 years ago
Wichert Akkerman 1539e4f193 Setup GitHub actions to run tests
5 years ago
Mickael Remond 47976624c9
Preparing v0.2.0 Changelog before version release
5 years ago
Mickael Remond 4efde692a2
Add placeholder in README for routing packets and get IQ responses
5 years ago
Mickael Remond 08878ed4a2
Update go.sum file
5 years ago
Mickael Remond ce05c3226c
Fix failing tests
5 years ago
Mickael Remond 3e94880916
Merge branch 'master' of https://github.com/FluuxIO/go-xmpp
5 years ago
Wichert Akkerman eda5c23c54 Add SendIQ to StreamClient and Sender
5 years ago
Wichert Akkerman a0e74051fd Use a channel based API for SendIQ
5 years ago
Wichert Akkerman 83bc8581fd Cleanup the IQ result route API
5 years ago
Wichert Akkerman 8088e3fa7e Add Client.SendIQ method
5 years ago
Wichert Akkerman 070934743f Add tests for iq result routes
5 years ago
Wichert Akkerman 6a25856e85 We need to lock isResultRoutes
5 years ago
Wichert Akkerman 8e1dac6ffa Add IQ result routes to the Router
5 years ago
Wichert Akkerman 21f6a549db Always add an id to IQ queries
5 years ago
Mickael Remond 1d7db9ceee
Comments clean-up
5 years ago
Wichert Akkerman 0227596f90 Increase size of XML decoder internal buffers
5 years ago
Mickael Remond ebb6e845bf
Update requirements to go1.13 as required by new websockets dependencies
5 years ago
Mickael Remond a16483397d
Update test platform to go1.13
5 years ago
Mickael Remond ef2c0b465e
Update examples
5 years ago
Wichert Akkerman 2f8ec7b36f Only try startTls if the connection is not secure
5 years ago
Wichert Akkerman 6da1962962 Correctly open new streams after StartTLS and auth
5 years ago
Wichert Akkerman 33446ad0ba Create a new stream after StartTLS
5 years ago
Wichert Akkerman 390f9b065e Replace readWriter and decoder after StartTLS
5 years ago
Wichert Akkerman 60e2cdd088 Close the transport if NewSession fails
5 years ago
Wichert Akkerman a6709a1f71 Do not try to create a stream logger before we have a net.Conn
5 years ago
Wichert Akkerman 38bdcaec36 Do not copy more bytes than were read
5 years ago
Wichert Akkerman ffadd331dd Add a go function to always read websockets
5 years ago
Wichert Akkerman 92329b48e6 Transports need to handle open/close stanzas
5 years ago
Wichert Akkerman 25fd476328 Negotiate xmpp websocket subprotocol
5 years ago
Wichert Akkerman 36e153f981 Allow transports to define their own ping mechanism
5 years ago
Wichert Akkerman d0f2b492ac Fix XMPP TLS config
5 years ago
Wichert Akkerman 87ff01ac68 Fix websocket connect timeout
5 years ago
Wichert Akkerman 01d78a1e5c Fix error result from Transport.Connect errors
5 years ago
Wichert Akkerman 8fb3e33a1f Only do ensurePort for XMPP transport
5 years ago
Wichert Akkerman a189748b9c Fix test for ws connection
5 years ago
Wichert Akkerman 06a76160c8 Use transport factory function
5 years ago
Wichert Akkerman 8db608ccc1 Add IsSecure() to Transport
5 years ago
Wichert Akkerman 7fa4b06705 Move address into transport config
5 years ago
Wichert Akkerman f8d0e99696 Move XMPP transport to separate file
5 years ago
Wichert Akkerman e97d290e2b Use Transport in Component
5 years ago
Wichert Akkerman 96fccbd399 Split out TransportConfiguration
5 years ago
Wichert Akkerman 66e219844b Add a websocket transport
5 years ago
Wichert Akkerman a3c62e515e Introduce Transport interface
5 years ago
Mickael Remond 2781563ea7 Update go.sum file
5 years ago
Mickael Remond 4f68c5eee2 Add X-OAUTH2 authentication and example
5 years ago
Mickael Remond 9c8353d081 Introduce Credential structure to define auth type
5 years ago
Mickael Remond 3b66e31888 We do not need the Content to be innerxml. cdata is enough.
5 years ago