Mickael Remond
9db33d5792
Introduce Sender interface to abstract client sending in router handlers
5 years ago
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.
5 years ago
Mickaël Rémond
f7b7482d2e
Update README.md
5 years ago
genofire
355401aa84
wrong package import url let it failed
5 years ago
Mickael Remond
eb54ec9fb1
Update Fluux XMPP version for examples
5 years ago
Mickaël Rémond
4d4710463d
Add basic support for keep-alive ( #48 )
...
Fix #35
This should also help with #8
5 years ago
Mickael Remond
2af9521036
Add support for detecting ProcessOne extensions
5 years ago
Mickael Remond
30e6adc073
Add support for detecting Stream Management
5 years ago
Mickael Remond
709a95129e
Clean up and fix StartTLS feature discovery
...
Required field was never set to true
5 years ago
Mickael Remond
44568fcf2b
Remove dead code
...
For now the component is not able to handle the discovery requests on its own.
5 years ago
Mickael Remond
08bb9965b8
Update component to advertise version feature and return it
5 years ago
Mickael Remond
322a6594e7
Fix missing entry in payload registry
5 years ago
Mickael Remond
45cb2e6f34
Add support for Software Version parsing
5 years ago
Mickael Remond
411619c2ef
Make channel type more specific (Packet instead of interface{})
...
Thanks to Genofire for spotting this
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
909cf753c9
Fix missing default channel creation
5 years ago
Mickael Remond
83ae778d33
Return errors on SendRaw
5 years ago
Mickael Remond
6fc12e9779
Fix import and test
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
54dfa60f12
Clean-up
5 years ago
Mickaël Rémond
36900cee20
Update README.md
5 years ago
Mickael Remond
d4a8616da2
Move examples out of the cmd directory
...
They are now in _examples dir.
Fix #26
5 years ago
Mickael Remond
b7461ae97f
Do not reconnect on "connection replaced" stream errors
...
Fix #45
5 years ago
Mickael Remond
3689448c90
Adds an example directly in README file to get a feel of the API
5 years ago
Mickael Remond
0865f4e35c
Improves comments
5 years ago
Mickael Remond
eb2b506e3b
Add helpers to access full / bare jid as string
5 years ago
Mickael Remond
ae153e1ee5
Fix filename
5 years ago
Mickael Remond
1be04b0fba
Expose JID fields and rename to match XEP-0029 wording
...
See: XEP-0029 - Definition of Jabber Identifiers (JIDs)
https://xmpp.org/extensions/xep-0029.html
5 years ago
Mickael Remond
269f78b30d
Fix typo
5 years ago
Mickael Remond
2d8d4516fd
Handling basic unrecoverable errors
...
Fix #43
5 years ago
Mickael Remond
d45dd6a44a
Returned client will be nil if parameter are incorrect
5 years ago
Mickael Remond
b8fdc510a6
Further improvements on JID parsing
5 years ago
Martin/Geno
3ccc2680b0
Add typing support: XEP-0085: Chat State Notifications
5 years ago
Martin/Geno
3ea0e38f98
fix chat markers - id is a attribute not element
5 years ago
Mickael Remond
b7c21871b1
Add TODO
5 years ago
Mickael Remond
a451e64638
Improves comments
5 years ago
Mickaël Rémond
2f391fde80
Add Client Manager to monitor connection state and trigger reconnect ( #39 )
...
- Support for exponential backoff on reconnect to be gentle on the server.
- Clean up client by moving metrics and retry strategy to the connection manager.
- Update echo_client to use client manager
- Fix echo client XMPP message matching
Fixes #21
Improvements for #8
5 years ago
Mickael Remond
6cdadc95e9
Expose type registry for custom user-defined payload and extensions
5 years ago
Mickael Remond
b93a3a2550
Improve JID parsing
...
Clean up tests
Fix #1
5 years ago
Mickael Remond
80d8d6d231
Apply namespace fixes from #33
5 years ago
Martin/Geno
f034b74b54
fix import after moving
5 years ago
Martin/Geno
e7c57cad97
complete XEP-0333 support (with displayed)
5 years ago
Mickaël Rémond
4e597505f4
Remove unused import
5 years ago
Martin/Geno
15ceab9fc4
easy xmlformat output
5 years ago
Mickael Remond
4c23014051
Test clean up
5 years ago
Mickael Remond
06ee607f53
Run tests on Golang 1.12
5 years ago
Mickael Remond
0e110bc412
Fix vanity URL import
5 years ago