Commit graph

83 commits

Author SHA1 Message Date
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
2020-01-09 15:33:11 +01:00
CORNIERE Rémi 1ba2add651 Example client with TUI 2019-12-16 01:42:27 +01:00
Mickael Remond 08878ed4a2
Update go.sum file 2019-11-04 16:32:59 +01:00
Mickael Remond ebb6e845bf
Update requirements to go1.13 as required by new websockets dependencies 2019-10-29 14:52:31 +01:00
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()
2019-10-28 16:38:10 +01:00
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.
2019-10-01 11:40:31 +02:00
Mickael Remond 2cdda48467 Update xerrors dependency for go 1.13 2019-09-27 16:32:53 +02:00
Martin/Geno 6f9808fe16 fix(doc): typos 2019-09-05 10:54:28 +02:00
Mickael Remond d3b45b42a5
Fix typo 2019-08-06 18:27:51 +02:00
Martin/Geno 6e65ba2a0b fix naming from fluxxmpp to fluuxmpp 2019-08-06 18:06:34 +02:00
Martin/Geno 76f59be5ed merge commandline tools 2019-08-06 18:06:34 +02:00
Mickael Remond 4e185f4bb6
Use intermediate version (before 0.2.0) to fix stanza package usage 2019-07-30 10:55:49 +02:00
Mickael Remond 1c74d102c7
Fix reference to missing tag 2019-07-30 10:39:19 +02:00
Mickael Remond 7ab6c3a62d
Refactor to start removing global variables 2019-07-27 18:06:55 -07:00
Mickael Remond a3867dd0b3
Expand TODO list 2019-07-27 17:50:45 -07:00
Mickael Remond d2a1329dc6
Report errors 2019-07-27 17:50:28 -07:00
Mickael Remond 6ff7812ac4
go mod tidy 2019-07-27 17:34:10 -07:00
Mickael Remond 3453336f27
For now we need to use master version for xmpp module 2019-07-27 17:31:11 -07:00
Mickael Remond a23194ad96
Add submodule for commands
The goal is to keep dependencies list minimal for users of the xmpp
modules. We do not want to force to increase largely the number of
indirect dependencies when you require xmpp.

The command-line stuff may not likely be needed in the end developer
application.
2019-07-27 17:15:28 -07:00
Mickael Remond 6a5f2750f1
Clean-up 2019-07-27 16:50:10 -07:00
Mickaël Rémond e553028754 Minor wording fixes 2019-07-27 16:36:35 -07:00
Mickaël Rémond fed23ad7ad Minor improvements for sendxmpp doc 2019-07-27 16:36:35 -07:00
Mickaël Rémond 244acdc02a Fix typos 2019-07-27 16:36:35 -07:00
Mickaël Rémond 4d6c783619 Improve wording 2019-07-27 16:36:35 -07:00
Martin/Geno 5697d40e5c use - instatt of --stdin to detect stdin 2019-07-27 16:36:35 -07:00
genofire ff5885f29d todo for sendxmpp 2019-07-27 16:36:35 -07:00
Martin/Geno e3e57ac803 add parameter and config for address to sendxmpp 2019-07-27 16:36:35 -07:00
Martin/Geno 3daa5c505c fix README.md 2019-07-27 16:36:35 -07:00
Martin/Geno 0fb90abcf7 improve authentification 2019-07-27 16:36:35 -07:00
Martin/Geno 6aa942dd58 first idea of sendxmpp 2019-07-27 16:36:35 -07:00
Martin/Geno 323de704f6 improve command xmpp-check 2019-07-17 10:41:49 +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 d4a8616da2
Move examples out of the cmd directory
They are now in _examples dir.
Fix #26
2019-06-08 11:34:09 +02:00
Mickael Remond 3689448c90
Adds an example directly in README file to get a feel of the API 2019-06-07 16:33:10 +02:00
Mickael Remond 0865f4e35c
Improves comments 2019-06-07 16:30:57 +02:00
Mickael Remond 2d8d4516fd
Handling basic unrecoverable errors
Fix #43
2019-06-07 15:23:23 +02:00
Mickael Remond a451e64638
Improves comments 2019-06-06 12:01:49 +02:00
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
2019-06-06 11:58:50 +02:00
Mickael Remond 80d8d6d231
Apply namespace fixes from #33 2019-06-05 08:51:21 +02:00
Mickael Remond 7a4364be95 Refactor / clean up registry 2019-06-04 18:47:44 +02:00
Mickael Remond b3a6429e0e
Check for errors in component connect. 2019-05-31 19:41:32 +02:00
Mickaël Rémond c55257cbed
Merge branch 'master' into xmpp-check 2019-05-31 19:02:10 +02:00
Mickael Remond f390433700
Add README for component. 2019-05-31 18:56:24 +02:00
Mickaël Rémond 95dded61a1
Update README.md 2019-05-16 18:10:06 +02:00