rcorniere
0459144512
First commit with dirty tests
2020-03-06 16:44:01 +01:00
remicorniere
1822089db6
Tests for Component and code style fixes ( #129 )
...
* Tests for Component and code style fixes
2019-11-28 17:15:15 +01:00
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
428787d7ab
Refactor and move parsing and stanza to a separate package
2019-06-26 17:14:52 +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
Mickael Remond
4d015e5b29
With go modules, we should be able to remove import comments
2019-06-18 16:28:30 +02:00
Mickael Remond
b05e68c844
Add router to make it easier to set up routing info
...
- Using the router, the dispatch is not done anymore by receiving from
receive channel, but by registering callback functions in routers,
with matchers.
- Make IQPayload a real interface to make it easier to match namespaces.
- The StreamManager Run command is now blocking, waiting for StreamManager
to terminate.
2019-06-18 14:36:56 +02:00
Mickael Remond
709a95129e
Clean up and fix StartTLS feature discovery
...
Required field was never set to true
2019-06-10 16:27:52 +02:00
Mickael Remond
2d8d4516fd
Handling basic unrecoverable errors
...
Fix #43
2019-06-07 15:23:23 +02:00
Mickael Remond
7a4364be95
Refactor / clean up registry
2019-06-04 18:47:44 +02:00
Mickael Remond
f45829916c
Add tool to check XMPP certificate on starttls
...
Minor refactoring
2019-05-16 17:48:53 +02:00
Mickael Remond
5eae7f4ef7
Move project to gosrc.io/xmpp
...
The URL will be more permanent as this is a place we dedicate as short URL for our go projects.
2018-12-26 18:50:01 +01:00
Mickael Remond
d33490cdc0
Work-in-progress on dynamic IQ parsing
2018-01-16 22:33:21 +01:00
Mickael Remond
ec95020ac2
Fix failing test
2018-01-13 18:56:38 +01:00
Mickael Remond
10219ec1e6
Refactor parsing / improve typing
2018-01-13 18:50:17 +01:00
Mickael Remond
710174b165
Moving XMPP library to Fluux project
2018-01-01 18:12:33 +01:00