Mickael Remond
781b875cf1
Resync with Master
...
Support NullableInt on MUC presence history element
2019-06-26 18:42:40 +02:00
Mickael Remond
5ed66de79e
Fix tests after refactor
2019-06-26 17:28:54 +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
0acf824217
Fix typo in error const enum
2019-06-26 16:21:18 +02:00
Mickael Remond
445bb8efa3
Fix crash on send when disconnected
...
Fixes #74
2019-06-26 15:58:42 +02:00
Mickael Remond
f79a3a219b
Improves IPV6 examples
2019-06-26 14:00:39 +02:00
Mickael Remond
1c792e61c6
Adding tests and always use brackets in IPV6 addresses
...
Code also ensures that brackets are properly added when encoding an IPV6 address.
2019-06-26 12:37:59 +02:00
genofire
fde524ef98
fix connection to ipv6 address + use fallback to jid domain
2019-06-26 12:37:59 +02:00
Mickael Remond
7a386ec8d0
Examples should use local repository version
2019-06-24 12:24:45 +02:00
Mickael Remond
83f96fbd41
Fix error code
2019-06-24 12:24:45 +02:00
Mickael Remond
def9629a0b
Make it possible to extract unknown iq payload, in field Any
2019-06-24 12:24:45 +02:00
Mickael Remond
1542110f1b
If there is no match in router, properly send not-implemented reply for iq set & get
2019-06-24 12:24:45 +02:00
Mickael Remond
d6d371df4d
Do not export Router.route as it is not supposed to be called directly
2019-06-24 12:24:45 +02:00
Mickael Remond
3521c488ea
Initial HTML message support
2019-06-23 15:53:24 +02:00
Mickael Remond
8f7b4ba8a4
Implement MUC Presence Extension
...
See #67
2019-06-23 12:21:56 +02:00
Mickael Remond
4a4c4850d1
Add msg.Get method to match and extract message extensions
2019-06-22 18:36:16 +02:00
Mickael Remond
6ddfa781e5
Update example in README
2019-06-22 11:29:47 +02:00
Mickael Remond
555cbe12b4
Update example dependency to latest code version
2019-06-22 11:28:01 +02:00
Mickael Remond
e9c704eff5
Fix router after #62 merge
2019-06-22 11:24:14 +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
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
2019-06-21 16:48:13 +02:00
Mickael Remond
5d362b505b
Priority is an int
2019-06-20 18:36:57 +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
a6cbc0c08f
Properly decode an IQ with both a payload and an error
2019-06-19 14:03:42 +02:00
Mickael Remond
3f81465c6c
Update examples
2019-06-19 14:03:42 +02:00
Mickael Remond
24502f7cd7
Expand test
2019-06-19 14:03:42 +02:00
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."
2019-06-19 14:03:42 +02:00
Mickaël Rémond
d455f29258
Fix installation note
2019-06-19 11:43:16 +02:00
Mickael Remond
683fdea2ec
Fix installation note
2019-06-18 17:18:17 +02:00
Mickael Remond
7f889909fd
Add initial doc for xmpp-check
2019-06-18 17:01:26 +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
c8ded1462f
Fix import path
2019-06-18 16:13:52 +02:00
Mickael Remond
28ae759144
Fix import path
2019-06-18 16:11:00 +02:00
Mickael Remond
55c7251fac
Fix import for go get
2019-06-18 15:33:37 +02:00
Mickael Remond
398ba224e7
Mention Namespace Delegation and Privileged Entity support
2019-06-18 15:16:19 +02:00
Mickael Remond
00e9dd4e47
Add link to examples directory.
2019-06-18 15:01:21 +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
715bf6976f
Fix client tests
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
45c7ca74b1
Make client use the new Router
2019-06-18 14:36:56 +02:00
Mickael Remond
7aef8357ed
Clean-up
2019-06-18 14:36:56 +02:00
Mickael Remond
2c7b03fcea
Clean-up
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
61cdac89e0
Add support for generating delegation forwarded iq response
2019-06-18 14:36:56 +02:00
Mickael Remond
c6f0d03f60
Add support for delegation namespace packet parsing
...
Refactor and clean up pubsub & pep files
2019-06-18 14:36:56 +02:00
Mickael Remond
cc2fa7307f
Ignore directory where I put private notes
2019-06-18 14:36:56 +02:00