Martin Dosch
b004015e18
Don't unwrap errors when checking errors.
2023-08-16 08:49:43 +02:00
Martin Dosch
3a8c00bbed
Remove unnecessary newlines.
2023-08-14 10:34:21 +02:00
Martin Dosch
52564a5b48
Suppress warning about reading from closed channel on shutdown.
2023-08-14 09:34:39 +02:00
Martin Dosch
487be9c845
No Ox for headline.
2023-08-11 15:20:06 +02:00
Martin Dosch
9c80647d91
Revert "Defer closing of xmpp connection."
...
This reverts commit feaa866e0e
.
2023-07-29 11:28:47 +02:00
Martin Dosch
feaa866e0e
Defer closing of xmpp connection.
2023-07-29 10:27:28 +02:00
Martin Dosch
b0e67b7ff0
Properly quit connection in interactive mode.
2023-07-27 19:31:56 +02:00
Martin Dosch
084f343f8d
[codespell]: Fix typo.
2023-07-25 19:10:29 +02:00
Martin Dosch
5fee45a15e
Properly close connection to server.
2023-07-25 19:05:39 +02:00
Martin Dosch
cd49a78be9
Trim trailing newlines in interactive mode.
2023-06-19 21:25:29 +02:00
Martin Dosch
fc515cc06f
Add support for type headline.
2023-06-18 22:21:18 +02:00
Martin Dosch
a912408d16
Wrap and unwrap errors.
2023-06-07 22:28:01 +02:00
Martin Dosch
ea4b1a7de4
Start wrapping errors.
2023-06-06 22:09:59 +02:00
Martin Dosch
61027844d2
[golangci-lint]: Don't use magic numbers.
2023-06-06 10:47:41 +02:00
Martin Dosch
b8c7876b77
Remove unused iqc.
2023-06-06 10:47:41 +02:00
Martin Dosch
620130aded
gofumpt
2023-06-06 10:47:40 +02:00
Martin Dosch
f173bcf698
[golangci-lint]: Remove unnecessary newlines.
2023-06-04 16:49:50 +02:00
Martin Dosch
b9610c81a4
[golangci-lint]: Check for errors on file.Close().
2023-06-04 16:39:00 +02:00
Martin Dosch
de7312a313
[golangci-lint]: Remove unnecessary newlines.
2023-06-04 16:20:10 +02:00
Martin Dosch
5738c9989a
[golangci-lint]: Use constant for chat.
2023-06-04 15:25:15 +02:00
Martin Dosch
85f2ad7409
[golangci-lint]: Use constant for groupchat.
2023-06-04 15:23:40 +02:00
Martin Dosch
437cd7eec6
Remove copyright years.
2023-05-11 20:06:23 +02:00
Martin Dosch
97c5b7013f
Print --help
output to stdout.
2023-02-18 18:56:07 +01:00
Martin Dosch
4fbd7efb91
Make sending of OOB URLs more robust.
2023-02-18 16:24:46 +01:00
Martin Dosch
d481aa688c
Add support for sending files OOB.
2023-02-18 15:42:04 +01:00
Martin Dosch
a6c0fe3ca8
Add short option -h
for http-upload.
2022-11-11 17:54:00 +01:00
Martin Dosch
19ee89197e
Remove unnecessary if condition.
2022-11-06 14:38:31 +01:00
Martin Dosch
c8dde8963f
Fix Ox key generation.
2022-11-06 14:30:22 +01:00
Martin Dosch
77e6fe0429
Add previously lost comment.
2022-11-05 13:22:35 +01:00
Martin Dosch
dd9566eaee
Move string validation into own helper function.
2022-11-05 12:40:40 +01:00
Martin Dosch
03054643dc
Improve interactive mode.
2022-10-16 10:57:35 +02:00
Martin Dosch
612a43566b
Fix http-upload.
2022-09-29 20:02:05 +02:00
Martin Dosch
36b4d06e88
Don't check for empty message in listen mode.
2022-09-29 15:35:38 +02:00
Martin Dosch
9706f7d5c1
Don't connect to the XMPP server if the message is empty
2022-09-29 14:38:33 +02:00
Martin Dosch
8d27a72b39
Use resource as alias if specified and no alias is specified.
2022-08-12 12:42:29 +02:00
Martin Dosch
d7cfbcfb8f
Deprecate resource setting and introduce alias setting.
2022-08-06 11:52:47 +02:00
Martin Dosch
f0a4bcf10c
Reply to IQs.
2022-07-26 22:28:04 +02:00
Martin Dosch
c187b83314
Add new lines to stanzas created by go-sendxmpp itself.
2022-07-15 11:27:36 +02:00
Martin Dosch
7623d121aa
Added more checks for empty messages.
2022-07-04 17:16:40 +02:00
Martin Dosch
5326b2b558
Ox: Improve error messages for failed key requests.
2022-06-28 18:31:03 +02:00
Martin Dosch
392be78f61
Fix nick in MUCs if not manually set.
2022-05-05 20:04:50 +02:00
Martin Dosch
eec7fb2d73
Improve listening mode for groupchats.
2022-05-05 20:01:35 +02:00
Martin Dosch
f26a91d965
Add possibility to delete Ox nodes.
2022-05-04 11:18:24 +02:00
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.
2022-05-03 12:25:43 +02:00
Martin Dosch
10c9986e7d
Ox: Add support for receiving and decrypting Ox messages.
2022-04-30 13:06:04 +02:00
Martin Dosch
7a6948bf86
Break long line.
2022-04-30 10:24:14 +02:00
Martin Dosch
ce463b9bf8
Use stamp for printing time of received messages.
2022-04-30 10:23:34 +02:00
Martin Dosch
82652ba7c6
Fix typo.
2022-04-27 14:31:44 +02:00
Martin Dosch
b092039ac3
Ox: Allow also RSA key generation.
2022-04-26 19:47:22 +02:00
Martin Dosch
bfb5e28a03
Change variable names and error strings [golint].
2022-04-25 21:29:14 +02:00