Commit Graph

52 Commits (160-regression)

Author SHA1 Message Date
rcorniere e59a86c380 Refactor tests
4 years ago
rcorniere 8798ff6fc1 - Changed IQ stanzas to pointer semantics
4 years ago
remicorniere 94aceac802 Changed "Disconnect" to wait for the closing stream tag. (#141)
4 years ago
CORNIERE Rémi 390336b894 Added Roster IQs
4 years ago
CORNIERE Rémi 6d8e9d325a Try removing decoder from IQ tests and changing writing method
4 years ago
CORNIERE Rémi e675e65a59 Added callback to process errors after connection.
4 years ago
remicorniere 1822089db6 Tests for Component and code style fixes (#129)
4 years ago
remicorniere 7d89353156 Fix SIGSEGV in xmpp_component (#126)
4 years ago
Mickael Remond 6aa1e668ee
Fix issues after refactor
5 years ago
Wichert Akkerman eda5c23c54 Add SendIQ to StreamClient and Sender
5 years ago
Wichert Akkerman 33446ad0ba Create a new stream after StartTLS
5 years ago
Wichert Akkerman 92329b48e6 Transports need to handle open/close stanzas
5 years ago
Wichert Akkerman 06a76160c8 Use transport factory function
5 years ago
Wichert Akkerman 7fa4b06705 Move address into transport config
5 years ago
Wichert Akkerman e97d290e2b Use Transport in Component
5 years ago
Mickael Remond 8794ea6ed8
Check if we have a connection open before trying to close it
5 years ago
Martin/Geno 7e596fc33c quick fix for component see #47
5 years ago
Martin/Geno 6005a964ba fix stream management for component + add test
5 years ago
Mickael Remond 3de99e0e0e Add initial support for stream management
5 years ago
Mickael Remond 428787d7ab
Refactor and move parsing and stanza to a separate package
5 years ago
Mickael Remond 445bb8efa3
Fix crash on send when disconnected
5 years ago
Mickael Remond d6d371df4d Do not export Router.route as it is not supposed to be called directly
5 years ago
genofire d9fdff0839 Add constants (enumlike) for stanza types and simplify packet creation (#62)
5 years ago
Mickael Remond 4d015e5b29
With go modules, we should be able to remove import comments
5 years ago
Mickael Remond 7aef8357ed Clean-up
5 years ago
Mickael Remond 2c7b03fcea Clean-up
5 years ago
Mickael Remond 61cdac89e0 Add support for generating delegation forwarded iq response
5 years ago
Mickael Remond c6f0d03f60 Add support for delegation namespace packet parsing
5 years ago
Mickael Remond 9db33d5792 Introduce Sender interface to abstract client sending in router handlers
5 years ago
Mickael Remond b05e68c844 Add router to make it easier to set up routing info
5 years ago
Mickael Remond 44568fcf2b
Remove dead code
5 years ago
Mickael Remond 411619c2ef
Make channel type more specific (Packet instead of interface{})
5 years ago
Mickael Remond bc2fad6693 Let component handle discovery for now
5 years ago
Mickael Remond 909cf753c9 Fix missing default channel creation
5 years ago
Mickael Remond 83ae778d33 Return errors on SendRaw
5 years ago
Mickael Remond 6fc12e9779 Fix import and test
5 years ago
Mickael Remond 2d95ca9384 Simplify component writing and make it similar to client
5 years ago
Mickael Remond 54dfa60f12 Clean-up
5 years ago
Martin/Geno 757e339946
[BUGFIX] no pointer in type case in component
5 years ago
Mickael Remond 5eae7f4ef7
Move project to gosrc.io/xmpp
5 years ago
Mickael Remond 07b0d2d14d
Cleanup and add test for IOT control set parsing
6 years ago
Mickael Remond ad6e09a0f6
Implements send / send raw
6 years ago
Mickael Remond bdfd035bf3
Handshake minor refactor
6 years ago
Mickael Remond fb8d050a00
IQ error management
6 years ago
Mickael Remond 993ca630f7
Test and code refactor
6 years ago
Mickael Remond ff2da776d3
Basic test component (disco Info)
6 years ago
Mickael Remond 10219ec1e6
Refactor parsing / improve typing
6 years ago
Mickael Remond 24ac2c0526
Keeps component connection open
6 years ago
Mickael Remond b21fee420f
Code clean-up
6 years ago
Mickael Remond 90865aeb8e
Adhoc test component can successfully connect to ejabberd
6 years ago