Commit Graph

39 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
rcorniere 3c9b0db5b8 Fixed decoder usage.
4 years ago
Wichert Akkerman 2f8ec7b36f Only try startTls if the connection is not secure
5 years ago
Wichert Akkerman 6da1962962 Correctly open new streams after StartTLS and auth
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 8db608ccc1 Add IsSecure() to Transport
5 years ago
Wichert Akkerman 96fccbd399 Split out TransportConfiguration
5 years ago
Wichert Akkerman a3c62e515e Introduce Transport interface
5 years ago
Mickael Remond 9c8353d081 Introduce Credential structure to define auth type
5 years ago
Mickael Remond 80d2e0fa1e Remove debug print-out
5 years ago
Mickael Remond 2e864ff7f6 Clean-up: remove test/debug code
5 years ago
Mickael Remond 3de99e0e0e Add initial support for stream management
5 years ago
Mickael Remond e531370dc9
An invalid certificate is a permanent error if we do not skip cert check
5 years ago
Martin/Geno e05f36c69f init empty TLSConfig, if nothing given
5 years ago
Mickael Remond d36428fb2f
Avoid copying tls.Config lock
5 years ago
Mickael Remond 9577036327 Add support for self-signed certificates
5 years ago
Mickael Remond 604d2c6c1e
Improves comments
5 years ago
Mickael Remond 7c71d93026
Remove unused channels
5 years ago
Mickael Remond cca0919b8a
Fix session element parsing on IQ
5 years ago
Mickael Remond 40e907e8ee
Clean-up & refactor
5 years ago
Mickael Remond 5992cc2231 Fix XMPP logger consistency
5 years ago
Mickael Remond 428787d7ab
Refactor and move parsing and stanza to a separate package
5 years ago
genofire d9fdff0839 Add constants (enumlike) for stanza types and simplify packet creation (#62)
5 years ago
Mickael Remond af0ae525b8 An IQ can only have a single payload
5 years ago
Mickael Remond 4d015e5b29
With go modules, we should be able to remove import comments
5 years ago
Mickael Remond 709a95129e
Clean up and fix StartTLS feature discovery
5 years ago
Mickael Remond 1be04b0fba
Expose JID fields and rename to match XEP-0029 wording
5 years ago
Mickael Remond 2d8d4516fd
Handling basic unrecoverable errors
5 years ago
Mickael Remond f45829916c Add tool to check XMPP certificate on starttls
5 years ago
Mickaël Rémond b030e8dd4b
Merge pull request #13 from hypafrag/xml_charset_reader_support
5 years ago
Mickael Remond 5eae7f4ef7
Move project to gosrc.io/xmpp
5 years ago
hypafrag 3a51dce786 added charsets support
6 years ago
Mickael Remond fa5590e921
Rename Options to Config
6 years ago
Mickael Remond d33490cdc0
Work-in-progress on dynamic IQ parsing
6 years ago
Mickael Remond dade3504f0
Improve generic IQ parsing
6 years ago
Mickael Remond 10219ec1e6
Refactor parsing / improve typing
6 years ago
Mickael Remond 710174b165
Moving XMPP library to Fluux project
6 years ago