Mickaël Rémond
0fd1bb2483
Merge pull request #79 : Stanza package & pattern to help building stanzas
...
- Move parsing and stanza marshalling / unmarshalling to stanza package
- Add pattern & basic helpers to simplify stanza building.
This was requested on #61
5 years ago
Mickael Remond
4a4fc39cf6
Merge with changes from master
5 years ago
Mickael Remond
5db9a80605
Move example to new data structure
5 years ago
Mickael Remond
20a66dc47d
Use an approach to build stanza that do not require a "builder" abstraction
5 years ago
Mickael Remond
1dacc663d3
Add basic builder support
5 years ago
Mickael Remond
cb9016693c
Move some IQ declaration in their own files
5 years ago
Mickael Remond
0c7e4588c6
Add initial documentation
5 years ago
Mickael Remond
3fa1a4b387
Remove useless reference to IQPayload
5 years ago
Mickaël Rémond
80f32b4af7
Update README.md
5 years ago
Mickael Remond
781b875cf1
Resync with Master
...
Support NullableInt on MUC presence history element
5 years ago
Mickael Remond
3d088a6078
Use NullableInt to encode presence history values
5 years ago
Mickael Remond
0ee4764d31
Update error.go
...
Fix typo in comment
5 years ago
Martin/Geno
1971772394
fix everything
5 years ago
genofire
6fbfe9fd0a
Update pres_muc_test.go
5 years ago
Mickael Remond
5ed66de79e
Fix tests after refactor
5 years ago
Mickael Remond
428787d7ab
Refactor and move parsing and stanza to a separate package
5 years ago
Mickael Remond
0acf824217
Fix typo in error const enum
5 years ago
Mickael Remond
445bb8efa3
Fix crash on send when disconnected
...
Fixes #74
5 years ago
Mickael Remond
f79a3a219b
Improves IPV6 examples
5 years ago
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.
5 years ago
genofire
fde524ef98
fix connection to ipv6 address + use fallback to jid domain
5 years ago
Mickael Remond
7a386ec8d0
Examples should use local repository version
5 years ago
Mickael Remond
83f96fbd41
Fix error code
5 years ago
Mickael Remond
def9629a0b
Make it possible to extract unknown iq payload, in field Any
5 years ago
Mickael Remond
1542110f1b
If there is no match in router, properly send not-implemented reply for iq set & get
5 years ago
Mickael Remond
d6d371df4d
Do not export Router.route as it is not supposed to be called directly
5 years ago
Mickael Remond
3521c488ea
Initial HTML message support
5 years ago
Mickael Remond
8f7b4ba8a4
Implement MUC Presence Extension
...
See #67
5 years ago
Mickael Remond
4a4c4850d1
Add msg.Get method to match and extract message extensions
5 years ago
Mickael Remond
6ddfa781e5
Update example in README
5 years ago
Mickael Remond
555cbe12b4
Update example dependency to latest code version
5 years ago
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