Mickael Remond
ebb6e845bf
Update requirements to go1.13 as required by new websockets dependencies
5 years ago
Mickael Remond
ef2c0b465e
Update examples
5 years ago
Wichert Akkerman
92329b48e6
Transports need to handle open/close stanzas
...
XMPP and WebSocket transports require different open and close stanzas. To
handle this the responsibility handling those and creating the XML decoder is
moved to the Transport.
5 years ago
Wichert Akkerman
7fa4b06705
Move address into transport config
...
This makes it possible to use a factory function to create a transport of the right type and not having to repeat the address when calling Transport.Connect()
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
...
For now we are planning to support Password and OAuthToken.
In the future, we would like to add certificate-based authentication.
5 years ago
Mickael Remond
2cdda48467
Update xerrors dependency for go 1.13
5 years ago
Mickael Remond
e531370dc9
An invalid certificate is a permanent error if we do not skip cert check
5 years ago
Mickael Remond
4e185f4bb6
Use intermediate version (before 0.2.0) to fix stanza package usage
5 years ago
Mickael Remond
4f1e0ded97
Simplify disco with builder helpers
5 years ago
Mickael Remond
176dcdce33
Simplify disco and software version
...
Make use of helpers.
5 years ago
Mickael Remond
1c74d102c7
Fix reference to missing tag
5 years ago
Mickael Remond
6ff7812ac4
go mod tidy
5 years ago
Mickael Remond
6a5f2750f1
Clean-up
5 years ago
Mickael Remond
9f095cb90f
Update dependencies
5 years ago
Mickael Remond
9577036327
Add support for self-signed certificates
5 years ago
Mickael Remond
5992cc2231
Fix XMPP logger consistency
...
- Rename socketProxy to StreamLogger
- Ensure client send traffic through the logger
5 years ago
Mickael Remond
e3c0747cbb
Improves documentation: Explain how to create a custom stanza extension
5 years ago
Mickael Remond
5db9a80605
Move example to new data structure
5 years ago
Mickael Remond
20a66dc47d
Use an approach to build stanza that do not require a "builder" abstraction
5 years ago
Mickael Remond
428787d7ab
Refactor and move parsing and stanza to a separate package
5 years ago
Mickael Remond
7a386ec8d0
Examples should use local repository version
5 years ago
Mickael Remond
555cbe12b4
Update example dependency to latest code version
5 years ago
genofire
d9fdff0839
Add constants (enumlike) for stanza types and simplify packet creation ( #62 )
...
* Add constants (enumlike) for stanza types
* NewIQ, NewMessage and NewPresence are now initialized with the Attrs struct
* Update examples
* Do not export backoff code. For now, we do not need to expose backoff in the documentation
* Make presence priority an int8
5 years ago
genofire
923fd61587
compress iq checking in component
5 years ago
genofire
44681e8053
fix iq - get after refactoring routing on #55
5 years ago
Mickael Remond
1a7aa94bae
Update dependencies for examples
5 years ago
Mickael Remond
3f81465c6c
Update examples
5 years ago
Mickael Remond
398ba224e7
Mention Namespace Delegation and Privileged Entity support
5 years ago
Mickael Remond
ddff6527bd
Update examples dependencies
5 years ago
Mickael Remond
9219bf5aa9
Add namespace delegation and priviledged entity example
5 years ago
Mickael Remond
348f29e055
Update example client to use router
5 years ago
Mickael Remond
9b57809e9d
Adapt examples to new routing library for components
5 years ago
Mickael Remond
f0f0d5a285
Improve component README
5 years ago
Mickael Remond
eb54ec9fb1
Update Fluux XMPP version for examples
5 years ago
Mickael Remond
08bb9965b8
Update component to advertise version feature and return it
5 years ago
Mickael Remond
36e3379f5a
Update examples dependencies
5 years ago
Mickael Remond
bc2fad6693
Let component handle discovery for now
5 years ago
Mickael Remond
2d95ca9384
Simplify component writing and make it similar to client
5 years ago
Mickael Remond
736a60cd1b
Use StreamClient interface in StreamManager
5 years ago
Mickael Remond
021f6d3740
Refactor ClientManager into a more generic StreamManager
5 years ago
Mickael Remond
d4a8616da2
Move examples out of the cmd directory
...
They are now in _examples dir.
Fix #26
5 years ago