Commit Graph

35 Commits (master)

Author SHA1 Message Date
Martin Dosch d2f758b4f9
Use `fmt.Errorf()` instead of `errors.New()` to create new error messages. 2 weeks ago
Martin Dosch 9aea1e294a
Improve listening mode. 2 months ago
Martin Dosch c87f1bdb83
Move stanza receiving goroutine outside of for loop. 2 months ago
Martin Dosch 25b8a8e243
Reintroduce context and cancel func
There are still some rare races without.
2 months ago
Martin Dosch c392eeb858
Close receiving of stanzas if io.EOF is received. 2 months ago
Martin Dosch 99689ea2cd
Ignore EOF errors when receiving stanzas. 2 months ago
Martin Dosch 11a31d6ad0
Remove mutex and context.
Those should hopefully no longer be necessary as the races
have been fixed in the library.
2 months ago
Martin Dosch dbed11323d
Remove mutex as the locking is now done in the library. 2 months ago
Martin Dosch 4483863795
Lock mutex before starting the goroutine. 2 months ago
Martin Dosch 09693ba1bf
Further improvements to make race conditions less likely. 2 months ago
Martin Dosch 5704798b09
Improve stanza reading. 2 months ago
Martin Dosch 54fb96431e
Remove mutex as it might block go-sendxmpp forever. 3 months ago
Martin Dosch c0493f3cdd
Remove unnecessary passing around of mutex
…it's a global variable anyway…
3 months ago
Martin Dosch 613a9c8639
Improve closing connection. 3 months ago
Martin Dosch a3cd1fe0a9
Don't block on unanswered IQs. 3 months ago
Martin Dosch 6b2c78d2c2
Stanzahandling: Check if xmlns is set. 3 months ago
Martin Dosch d74b86c30c
Properly handle lost connection. 3 months ago
Martin Dosch fc1342ab29
Update go modules. 5 months ago
Martin Dosch 802f57d404
[gofumpt]: Improve formatting. 6 months ago
Martin Dosch d482347310
Switch back to upstream go-xmpp library. 7 months ago
Martin Dosch 7dbbcf45e7
Add support for SCRAM PLUS variants and mechanism pinning. 7 months ago
Martin Dosch a034a8e501
Temporarily switch to go-xmpp fork. 7 months ago
Martin Dosch 268953a445 Reply to XEP-0092 software version requests. 7 months ago
Martin Dosch b004015e18
Don't unwrap errors when checking errors. 10 months ago
Martin Dosch 1e39ba0cb0
Remove unnecessary newline. 10 months ago
Martin Dosch 52564a5b48
Suppress warning about reading from closed channel on shutdown. 10 months ago
Martin Dosch aad725b721
Unbreak function heads. 1 year ago
Martin Dosch a912408d16
Wrap and unwrap errors. 1 year ago
Martin Dosch 620130aded
gofumpt 1 year ago
Martin Dosch a86970a796
[golangci-lint]: Remove unused client. 1 year ago
Martin Dosch d85cf8fee7
[golangci-lint]: Use constant for error. 1 year ago
Martin Dosch 437cd7eec6
Remove copyright years. 1 year ago
Martin Dosch e381942708
Use single quotes for stanzas created by beevik/etree.
Squashed commit of the following:

commit 8e33952869831f620fa289f1bc997128a40eaee3
Author: Martin Dosch <martin@mdosch.de>
Date:   Tue May 9 21:22:40 2023 +0200

    Clean go.mod

commit 11bb88fca2d4bb76557e912f46f726e675e0b0cb
Merge: 8d45413 b01ed4b
Author: Martin Dosch <martin@mdosch.de>
Date:   Tue May 9 21:21:48 2023 +0200

    Merge branch 'master' into singlequotes

commit 8d45413f05
Author: Martin Dosch <martin@mdosch.de>
Date:   Tue May 2 09:39:54 2023 +0200

    Add more singlequotes. :)

commit c496e2596a
Author: Martin Dosch <martin@mdosch.de>
Date:   Tue May 2 09:35:12 2023 +0200

    Use single quotes.

commit e4556759d8
Author: Martin Dosch <martin@mdosch.de>
Date:   Tue May 2 07:25:09 2023 +0200

    Use single quotes for XML attributes.
1 year ago
Martin Dosch cb033bbf59
Improve error handling in XML parsing. 2 years ago
Martin Dosch f0a4bcf10c Reply to IQs. 2 years ago