CORNIERE Rémi
1d1adb0c48
Example pubsub code cleanup
5 years ago
CORNIERE Rémi
20e02cc9ad
Added node config
5 years ago
CORNIERE Rémi
9ca9f48c89
Added README.md
5 years ago
CORNIERE Rémi
f3218c4afa
PubSub example
5 years ago
remicorniere
947fcf0432
PubSub protocol support ( #142 )
...
* PubSub protocol support
Added support for :
- XEP-0050 (Command))
- XEP-0060 (PubSub)
- XEP-0004 (Forms)
Fixed the NewClient function by adding parsing of the domain from the JID if no domain is provided in transport config.
Updated xmpp_jukebox example
* Delete useless pubsub errors
* README.md update
Fixed import in echo example
* Typo
* Fixed raw send on client example
* Fixed jukebox example and added a README.md
5 years ago
Jerome Sautret
600f7d5246
Merge branch 'master' of github.com:FluuxIO/go-xmpp
5 years ago
Jerome Sautret
ab80709aeb
Added xmpp_component2 example.
5 years ago
remicorniere
94aceac802
Changed "Disconnect" to wait for the closing stream tag. ( #141 )
...
Updated example with a README.md and fixed some logs.
5 years ago
remicorniere
ccc573c3b2
Update xmpp_chat_client.go
...
Quickfix : go back to menu when contacts are updated from server.
5 years ago
CORNIERE Rémi
f3252346c4
Added roster update to chat client example
5 years ago
remicorniere
f8f820170e
Merge branch 'master' into IQ_Roster
5 years ago
CORNIERE Rémi
390336b894
Added Roster IQs
...
Added an overly primitive "disconnect" for the client to use in the chat client example
5 years ago
CORNIERE Rémi
c006990c20
Logging.
...
Added menus.
Can now send raw stanzas.
5 years ago
CORNIERE Rémi
f0179ad90e
Logging.
...
Added menus.
Can now send raw stanzas.
5 years ago
CORNIERE Rémi
1ba2add651
Example client with TUI
5 years ago
CORNIERE Rémi
5eff2d7623
Added callback to process errors after connection.
...
Added tests and refactored a bit.
5 years ago
remicorniere
1822089db6
Tests for Component and code style fixes ( #129 )
...
* Tests for Component and code style fixes
5 years ago
Mickael Remond
6aa1e668ee
Fix issues after refactor
...
Relates to #126
5 years ago
Mickael Remond
08878ed4a2
Update go.sum file
5 years ago
Mickael Remond
ebb6e845bf
Update requirements to go1.13 as required by new websockets dependencies
5 years ago
Mickael Remond
ef2c0b465e
Update examples
5 years ago
Wichert Akkerman
92329b48e6
Transports need to handle open/close stanzas
...
XMPP and WebSocket transports require different open and close stanzas. To
handle this the responsibility handling those and creating the XML decoder is
moved to the Transport.
5 years ago
Wichert Akkerman
7fa4b06705
Move address into transport config
...
This makes it possible to use a factory function to create a transport of the right type and not having to repeat the address when calling Transport.Connect()
5 years ago
Mickael Remond
2781563ea7
Update go.sum file
5 years ago
Mickael Remond
4f68c5eee2
Add X-OAUTH2 authentication and example
5 years ago
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.
5 years ago
Mickael Remond
2cdda48467
Update xerrors dependency for go 1.13
5 years ago
Mickael Remond
e531370dc9
An invalid certificate is a permanent error if we do not skip cert check
5 years ago
Mickael Remond
4e185f4bb6
Use intermediate version (before 0.2.0) to fix stanza package usage
5 years ago
Mickael Remond
4f1e0ded97
Simplify disco with builder helpers
5 years ago
Mickael Remond
176dcdce33
Simplify disco and software version
...
Make use of helpers.
5 years ago
Mickael Remond
1c74d102c7
Fix reference to missing tag
5 years ago
Mickael Remond
6ff7812ac4
go mod tidy
5 years ago
Mickael Remond
6a5f2750f1
Clean-up
5 years ago
Mickael Remond
9f095cb90f
Update dependencies
5 years ago
Mickael Remond
9577036327
Add support for self-signed certificates
5 years ago
Mickael Remond
5992cc2231
Fix XMPP logger consistency
...
- Rename socketProxy to StreamLogger
- Ensure client send traffic through the logger
5 years ago
Mickael Remond
e3c0747cbb
Improves documentation: Explain how to create a custom stanza extension
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
428787d7ab
Refactor and move parsing and stanza to a separate package
5 years ago
Mickael Remond
7a386ec8d0
Examples should use local repository version
5 years ago
Mickael Remond
555cbe12b4
Update example dependency to latest code version
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
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
3f81465c6c
Update examples
5 years ago
Mickael Remond
398ba224e7
Mention Namespace Delegation and Privileged Entity support
5 years ago
Mickael Remond
ddff6527bd
Update examples dependencies
5 years ago