Commit graph

429 commits

Author SHA1 Message Date
Mickael Remond b8fdc510a6
Further improvements on JID parsing 2019-06-07 11:40:31 +02:00
Martin/Geno 3ccc2680b0 Add typing support: XEP-0085: Chat State Notifications 2019-06-07 09:25:13 +02:00
Martin/Geno 3ea0e38f98 fix chat markers - id is a attribute not element 2019-06-07 09:24:00 +02:00
Mickael Remond b7c21871b1
Add TODO 2019-06-06 19:12:31 +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 6cdadc95e9
Expose type registry for custom user-defined payload and extensions 2019-06-05 10:23:18 +02:00
Mickael Remond b93a3a2550
Improve JID parsing
Clean up tests
Fix #1
2019-06-05 10:02:24 +02:00
Mickael Remond 80d8d6d231
Apply namespace fixes from #33 2019-06-05 08:51:21 +02:00
Martin/Geno f034b74b54 fix import after moving 2019-06-05 08:41:40 +02:00
Martin/Geno e7c57cad97 complete XEP-0333 support (with displayed) 2019-06-05 08:39:35 +02:00
Mickaël Rémond 4e597505f4
Remove unused import 2019-06-04 19:38:15 +02:00
Martin/Geno 15ceab9fc4 easy xmlformat output 2019-06-04 19:11:46 +02:00
Mickael Remond 4c23014051
Test clean up 2019-06-04 19:01:19 +02:00
Mickael Remond 06ee607f53
Run tests on Golang 1.12 2019-06-04 18:59:34 +02:00
Mickael Remond 0e110bc412 Fix vanity URL import 2019-06-04 18:47:44 +02:00
Mickael Remond 57ed387f4f Add support for Out of Band markers (OOB) from XEP-0066 2019-06-04 18:47:44 +02:00
Mickael Remond 67eaed98b6 Add support for chat markers parsing (XEP-0333) 2019-06-04 18:47:44 +02:00
Mickael Remond 7a4364be95 Refactor / clean up registry 2019-06-04 18:47:44 +02:00
Mickael Remond 836e723273 Refactor / extract the registry
Work in progress
2019-06-04 18:47:44 +02:00
Mickael Remond b05efea81d Quick prototype of message extension
This is a work-in-progress, needs refactor.
2019-06-04 18:47:44 +02:00
Mickael Remond f74f276a22 Fix me note 2019-06-04 18:47:44 +02:00
Mickaël Rémond 0f6ff41792
Merge pull request #22 from genofire/fix-component
[BUGFIX] no pointer in type case in component
2019-05-31 19:44:44 +02:00
Mickael Remond b3a6429e0e
Check for errors in component connect. 2019-05-31 19:41:32 +02:00
Mickael Remond e54260ec68
Clarify use of insecure flag 2019-05-31 19:22:36 +02:00
Mickael Remond 996feb1a40
Better documentation for config 2019-05-31 19:11:15 +02:00
Mickael Remond b62533d005
Fix codecov badge 2019-05-31 19:10:42 +02:00
Mickael Remond d31fc9b34c
Disable Codecov comments on PR 2019-05-31 19:08:20 +02:00
Mickaël Rémond afe2017b8b
Merge pull request #23 from FluuxIO/xmpp-check
Merge XMPP check branch
2019-05-31 19:02:48 +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
Martin/Geno 757e339946
[BUGFIX] no pointer in type case in component 2019-05-31 13:46:57 +02:00
Mickaël Rémond 95dded61a1
Update README.md 2019-05-16 18:10:06 +02:00
Mickaël Rémond da0a8b9c29
Add readme for XMPP check domain 2019-05-16 18:09:39 +02:00
Mickaël Rémond 53916900d4
Update xmpp_test.go 2019-05-16 18:04:09 +02:00
Mickaël Rémond 5d6329f0b4
Update presence_test.go 2019-05-16 18:03:44 +02:00
Mickaël Rémond 23a710b36f
Update message_test.go 2019-05-16 18:03:12 +02:00
Mickaël Rémond 1a6e4f266b
Fix import path 2019-05-16 18:01:47 +02:00
Mickael Remond f45829916c Add tool to check XMPP certificate on starttls
Minor refactoring
2019-05-16 17:48:53 +02:00
Mickael Remond c642ad79fc More file to ignore 2019-05-16 17:48:53 +02:00
Mickael Remond d16c4cbba4
Add tool to check XMPP certificate on starttls
Minor refactoring
2019-05-16 17:46:36 +02:00
Mickael Remond 67d9170354
More file to ignore 2019-05-16 16:13:19 +02:00
Mickaël Rémond 91a7cc9c64
Merge pull request #16 from TheoMcGinley/infinite-retries-fix
Fixed infinite retries for failed TCP dial
2019-02-11 09:48:30 +01:00
Mickaël Rémond ffcde39ba6
Add test (and refactor them) for PR#15 (#18)
* Add test (and refactor them) for #15
* Update Dockerfile to support Go modules on Codeship
2019-02-10 17:53:18 +01:00
Mickaël Rémond 392d3a1ae7
Merge pull request #15 from TheoMcGinley/presence-parsing-fix
Parse show, status, and priority of presence stanzas as child elements
2019-02-10 17:17:37 +01:00
Mickaël Rémond da4ae4693e
Merge pull request #17 from TheoMcGinley/close-channel-after-error
Closed receiver chan on error
2019-02-09 22:49:38 +01:00
Theo McGinley 48bc14b3e0 Closed receiver chan on error 2019-02-09 15:48:27 +00:00
Theo McGinley adf2c13a8c Fixed infinite retries for failed TCP dial 2019-02-09 14:35:31 +00:00
Theo McGinley e1cb9ac037 Parse show, status, and priority of presence stanzas as child elements instead of attributes 2019-02-09 14:18:37 +00:00
Mickael Remond c0f3d20440
Use tagged version for soundcloud and mgp123 2019-01-23 09:22:15 +01:00