Commit Graph

63 Commits (f9c3c4cd0acc4403fcb51304bdd553961ab3d983)

Author SHA1 Message Date
Martin Dosch b004015e18
Don't unwrap errors when checking errors. 1 year ago
Martin Dosch 3a8c00bbed
Remove unnecessary newlines. 1 year ago
Martin Dosch 52564a5b48
Suppress warning about reading from closed channel on shutdown. 1 year ago
Martin Dosch 487be9c845
No Ox for headline. 1 year ago
Martin Dosch 9c80647d91
Revert "Defer closing of xmpp connection."
This reverts commit feaa866e0e.
1 year ago
Martin Dosch feaa866e0e
Defer closing of xmpp connection. 1 year ago
Martin Dosch b0e67b7ff0
Properly quit connection in interactive mode. 1 year ago
Martin Dosch 084f343f8d
[codespell]: Fix typo. 1 year ago
Martin Dosch 5fee45a15e
Properly close connection to server. 1 year ago
Martin Dosch cd49a78be9
Trim trailing newlines in interactive mode. 1 year ago
Martin Dosch fc515cc06f
Add support for type headline. 1 year ago
Martin Dosch a912408d16
Wrap and unwrap errors. 1 year ago
Martin Dosch ea4b1a7de4
Start wrapping errors. 1 year ago
Martin Dosch 61027844d2
[golangci-lint]: Don't use magic numbers. 1 year ago
Martin Dosch b8c7876b77
Remove unused iqc. 1 year ago
Martin Dosch 620130aded
gofumpt 1 year ago
Martin Dosch f173bcf698
[golangci-lint]: Remove unnecessary newlines. 1 year ago
Martin Dosch b9610c81a4
[golangci-lint]: Check for errors on file.Close(). 1 year ago
Martin Dosch de7312a313
[golangci-lint]: Remove unnecessary newlines. 1 year ago
Martin Dosch 5738c9989a
[golangci-lint]: Use constant for chat. 1 year ago
Martin Dosch 85f2ad7409
[golangci-lint]: Use constant for groupchat. 1 year ago
Martin Dosch 437cd7eec6
Remove copyright years. 1 year ago
Martin Dosch 97c5b7013f
Print `--help` output to stdout. 2 years ago
Martin Dosch 4fbd7efb91
Make sending of OOB URLs more robust. 2 years ago
Martin Dosch d481aa688c
Add support for sending files OOB. 2 years ago
Martin Dosch a6c0fe3ca8
Add short option `-h` for http-upload. 2 years ago
Martin Dosch 19ee89197e
Remove unnecessary if condition. 2 years ago
Martin Dosch c8dde8963f
Fix Ox key generation. 2 years ago
Martin Dosch 77e6fe0429
Add previously lost comment. 2 years ago
Martin Dosch dd9566eaee
Move string validation into own helper function. 2 years ago
Martin Dosch 03054643dc
Improve interactive mode. 2 years ago
Martin Dosch 612a43566b
Fix http-upload. 2 years ago
Martin Dosch 36b4d06e88
Don't check for empty message in listen mode. 2 years ago
Martin Dosch 9706f7d5c1
Don't connect to the XMPP server if the message is empty 2 years ago
Martin Dosch 8d27a72b39
Use resource as alias if specified and no alias is specified. 2 years ago
Martin Dosch d7cfbcfb8f Deprecate resource setting and introduce alias setting. 2 years ago
Martin Dosch f0a4bcf10c Reply to IQs. 2 years ago
Martin Dosch c187b83314 Add new lines to stanzas created by go-sendxmpp itself. 2 years ago
Martin Dosch 7623d121aa Added more checks for empty messages. 2 years ago
Martin Dosch 5326b2b558 Ox: Improve error messages for failed key requests. 2 years ago
Martin Dosch 392be78f61 Fix nick in MUCs if not manually set. 2 years ago
Martin Dosch eec7fb2d73 Improve listening mode for groupchats. 2 years ago
Martin Dosch f26a91d965 Add possibility to delete Ox nodes. 2 years ago
Martin Dosch 2f2a2fd4fd Rework receiving stanzas.
Calling client.Recv() multiple times caused messages not appear
in `--listen` mode as calling Recv() for receiving IQs (e.g. for
receiving Ox keys) also received the messages so they were no longer
available for the Recv in the listening function.
2 years ago
Martin Dosch 10c9986e7d Ox: Add support for receiving and decrypting Ox messages. 2 years ago
Martin Dosch 7a6948bf86 Break long line. 2 years ago
Martin Dosch ce463b9bf8 Use stamp for printing time of received messages. 2 years ago
Martin Dosch 82652ba7c6 Fix typo. 2 years ago
Martin Dosch b092039ac3 Ox: Allow also RSA key generation. 2 years ago
Martin Dosch bfb5e28a03 Change variable names and error strings [golint]. 2 years ago