Commit Graph

38 Commits

Author SHA1 Message Date
Mickael Remond
4f68c5eee2 Add X-OAUTH2 authentication and example 2019-10-01 11:40:31 +02:00
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.
2019-10-01 11:40:31 +02:00
Mickael Remond
2cdda48467 Update xerrors dependency for go 1.13 2019-09-27 16:32:53 +02:00
Mickael Remond
e531370dc9
An invalid certificate is a permanent error if we do not skip cert check 2019-07-31 11:43:54 +02:00
Mickael Remond
4e185f4bb6
Use intermediate version (before 0.2.0) to fix stanza package usage 2019-07-30 10:55:49 +02:00
Mickael Remond
4f1e0ded97 Simplify disco with builder helpers 2019-07-30 10:45:20 +02:00
Mickael Remond
176dcdce33 Simplify disco and software version
Make use of helpers.
2019-07-30 10:45:20 +02:00
Mickael Remond
1c74d102c7
Fix reference to missing tag 2019-07-30 10:39:19 +02:00
Mickael Remond
6ff7812ac4
go mod tidy 2019-07-27 17:34:10 -07:00
Mickael Remond
6a5f2750f1
Clean-up 2019-07-27 16:50:10 -07:00
Mickael Remond
9f095cb90f
Update dependencies 2019-07-27 09:22:44 -07:00
Mickael Remond
9577036327 Add support for self-signed certificates 2019-07-15 12:22:21 +02:00
Mickael Remond
5992cc2231 Fix XMPP logger consistency
- Rename socketProxy to StreamLogger
- Ensure client send traffic through the logger
2019-06-29 10:47:07 +02:00
Mickael Remond
e3c0747cbb
Improves documentation: Explain how to create a custom stanza extension 2019-06-28 16:19:09 +02:00
Mickael Remond
5db9a80605
Move example to new data structure 2019-06-27 14:35:03 +02:00
Mickael Remond
20a66dc47d
Use an approach to build stanza that do not require a "builder" abstraction 2019-06-27 14:30:23 +02:00
Mickael Remond
428787d7ab
Refactor and move parsing and stanza to a separate package 2019-06-26 17:14:52 +02:00
Mickael Remond
7a386ec8d0 Examples should use local repository version 2019-06-24 12:24:45 +02:00
Mickael Remond
555cbe12b4
Update example dependency to latest code version 2019-06-22 11:28:01 +02:00
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
2019-06-22 11:13:33 +02:00
genofire
923fd61587 compress iq checking in component 2019-06-20 15:10:41 +02:00
genofire
44681e8053 fix iq - get after refactoring routing on #55 2019-06-20 15:10:41 +02:00
Mickael Remond
1a7aa94bae
Update dependencies for examples 2019-06-19 14:33:14 +02:00
Mickael Remond
3f81465c6c Update examples 2019-06-19 14:03:42 +02:00
Mickael Remond
398ba224e7
Mention Namespace Delegation and Privileged Entity support 2019-06-18 15:16:19 +02:00
Mickael Remond
ddff6527bd
Update examples dependencies 2019-06-18 14:39:58 +02:00
Mickael Remond
9219bf5aa9 Add namespace delegation and priviledged entity example 2019-06-18 14:36:56 +02:00
Mickael Remond
348f29e055 Update example client to use router 2019-06-18 14:36:56 +02:00
Mickael Remond
9b57809e9d Adapt examples to new routing library for components 2019-06-18 14:36:56 +02:00
Mickael Remond
f0f0d5a285 Improve component README 2019-06-18 14:36:56 +02:00
Mickael Remond
eb54ec9fb1
Update Fluux XMPP version for examples 2019-06-11 15:31:28 +02:00
Mickael Remond
08bb9965b8
Update component to advertise version feature and return it 2019-06-10 12:35:48 +02:00
Mickael Remond
36e3379f5a
Update examples dependencies 2019-06-09 13:18:54 +02:00
Mickael Remond
bc2fad6693 Let component handle discovery for now 2019-06-09 13:08:25 +02:00
Mickael Remond
2d95ca9384 Simplify component writing and make it similar to client 2019-06-09 13:08:25 +02:00
Mickael Remond
736a60cd1b Use StreamClient interface in StreamManager 2019-06-09 13:08:25 +02:00
Mickael Remond
021f6d3740 Refactor ClientManager into a more generic StreamManager 2019-06-09 13:08:25 +02:00
Mickael Remond
d4a8616da2
Move examples out of the cmd directory
They are now in _examples dir.
Fix #26
2019-06-08 11:34:09 +02:00