Mickael Remond
e9c704eff5
Fix router after #62 merge
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
Mickaël Rémond
145fce6b3f
Add StanzaType matcher / Clarify empty route behaviour ( #65 )
...
* Add route to match on stanza type
* Add test checking that an empty route "always" matches
5 years ago
Mickael Remond
5d362b505b
Priority is an int
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
a6cbc0c08f
Properly decode an IQ with both a payload and an error
5 years ago
Mickael Remond
3f81465c6c
Update examples
5 years ago
Mickael Remond
24502f7cd7
Expand test
5 years ago
Mickael Remond
af0ae525b8
An IQ can only have a single payload
...
"An IQ stanza of type "get" or "set" MUST contain exactly one
child element, which specifies the semantics of the particular
request."
5 years ago
Mickaël Rémond
d455f29258
Fix installation note
5 years ago
Mickael Remond
683fdea2ec
Fix installation note
5 years ago
Mickael Remond
7f889909fd
Add initial doc for xmpp-check
5 years ago
Mickael Remond
4d015e5b29
With go modules, we should be able to remove import comments
5 years ago
Mickael Remond
c8ded1462f
Fix import path
5 years ago
Mickael Remond
28ae759144
Fix import path
5 years ago
Mickael Remond
55c7251fac
Fix import for go get
5 years ago
Mickael Remond
398ba224e7
Mention Namespace Delegation and Privileged Entity support
5 years ago
Mickael Remond
00e9dd4e47
Add link to examples directory.
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
715bf6976f
Fix client tests
5 years ago
Mickael Remond
348f29e055
Update example client to use router
5 years ago
Mickael Remond
45c7ca74b1
Make client use the new Router
5 years ago
Mickael Remond
7aef8357ed
Clean-up
5 years ago
Mickael Remond
2c7b03fcea
Clean-up
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
61cdac89e0
Add support for generating delegation forwarded iq response
5 years ago
Mickael Remond
c6f0d03f60
Add support for delegation namespace packet parsing
...
Refactor and clean up pubsub & pep files
5 years ago
Mickael Remond
cc2fa7307f
Ignore directory where I put private notes
5 years ago
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