Commit Graph

146 Commits

Author SHA1 Message Date
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
2f76178a22
Replace invalid characters with UTF8 replacement char. 2023-08-10 13:42:31 +02:00
Martin Dosch
b0e67b7ff0
Properly quit connection in interactive mode. 2023-07-27 19:31:56 +02:00
Martin Dosch
48d50b5667
Start new development cycle. 2023-07-25 19:14:56 +02:00
Martin Dosch
0d45544ae1
Prepare release v0.6.1 2023-07-25 19:12:34 +02:00
Martin Dosch
5fee45a15e
Properly close connection to server. 2023-07-25 19:05:39 +02:00
Martin Dosch
db2a82217d
Start new development cycle. 2023-07-02 10:54:40 +03:00
Martin Dosch
dd9f29d986
Prepare release v0.6.0 2023-07-02 10:51:36 +03: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
8f844b1cde
Fall back to direct TLS on port 5223
Fall back to direct TLS on port 5223 if direct tls is set and no SRV
records are provided.
2023-06-04 11:47:56 +02:00
Martin Dosch
599f96211a
Add SCRAM support. 2023-05-21 11:26:19 +02:00
Martin Dosch
66581030a4
Mention etree v1.1.4. 2023-05-11 20:26:12 +02:00
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.
2023-05-09 21:23:29 +02:00
Martin Dosch
a333b8761c
Add missing changelog note regarding SRV lookup and CNAME. 2023-05-05 21:01:14 +02:00
Martin Dosch
062614ee7a
Allow JIDs without localpart. 2023-03-02 20:28:51 +01:00
Martin Dosch
847e816266
Print sent stanzas for --debug. 2023-03-02 16:42:12 +01:00
Martin Dosch
97c5b7013f
Print --help output to stdout. 2023-02-18 18:56:07 +01:00
Martin Dosch
d481aa688c
Add support for sending files OOB. 2023-02-18 15:42:04 +01:00
Martin Dosch
b0e25e25ab
Start new development cycle. 2022-11-11 18:26:22 +01:00
Martin Dosch
83c384ceaa
Prepare release v0.5.6 2022-11-11 18:24:49 +01:00
Martin Dosch
a6c0fe3ca8
Add short option -h for http-upload. 2022-11-11 17:54:00 +01:00
Martin Dosch
c8dde8963f
Fix Ox key generation. 2022-11-06 14:30:22 +01:00
Martin Dosch
9d2acdad0d
Fix typo. 2022-10-16 12:19:46 +02:00
Martin Dosch
11cf49557c
Start a new development cycle. 2022-10-16 12:00:02 +02:00
Martin Dosch
cba05b1def
Prepare release v0.5.5. 2022-10-16 11:58:37 +02:00
Martin Dosch
03054643dc
Improve interactive mode. 2022-10-16 10:57:35 +02:00
Martin Dosch
e92f6b6b96
Start new development cycle. 2022-09-30 07:27:55 +02:00
Martin Dosch
22dcb65bfc
Prepare release v0.5.4 2022-09-30 07:26:03 +02:00
Martin Dosch
2a5973eca3
Update changelog. 2022-09-30 07:25:11 +02:00
Martin Dosch
eb4d1a7098
Start new development cycle. 2022-09-29 15:39:24 +02:00
Martin Dosch
f31bb9af7a
Prepare release v0.5.3 2022-09-29 15:37:40 +02:00
Martin Dosch
36b4d06e88
Don't check for empty message in listen mode. 2022-09-29 15:35:38 +02:00
Martin Dosch
8fbccd975e
Start new development cycle. 2022-09-29 14:46:46 +02:00
Martin Dosch
7c7980359a
Release v0.5.2 2022-09-29 14:44:30 +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
cb033bbf59
Improve error handling in XML parsing. 2022-09-02 11:05:42 +02:00
Martin Dosch
d7cfbcfb8f Deprecate resource setting and introduce alias setting. 2022-08-06 11:52:47 +02:00
Martin Dosch
3058cffbb2 Detect CNAME loops. 2022-08-05 12:46:04 +02:00
Martin Dosch
8c1931877a Perform CNAME look ups.
Always look up CNAME before doing SRV
look up (via xmppsrv v0.2.3).
2022-07-31 22:09:14 +02:00
Martin Dosch
f0a4bcf10c Reply to IQs. 2022-07-26 22:28:04 +02:00
Martin Dosch
792472f737 Words… 2022-07-10 13:45:29 +02:00
Martin Dosch
0c992ebf3d Fix tense. 2022-07-04 17:18:01 +02:00
Martin Dosch
7623d121aa Added more checks for empty messages. 2022-07-04 17:16:40 +02:00
Martin Dosch
ce8f783301 Ox: Don't encrypt empty messages. 2022-07-04 16:20:17 +02:00
Martin Dosch
5326b2b558 Ox: Improve error messages for failed key requests. 2022-06-28 18:31:03 +02:00
Martin Dosch
3e4a93c808 Start new development cycle. 2022-05-22 12:37:35 +02:00
Martin Dosch
81cfc0b6c2 Prepare v0.5.1 release. 2022-05-22 12:34:25 +02:00
Martin Dosch
1d2ef175a5 Fix changelog. 2022-05-07 10:29:54 +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
4aac059c4e Prepare new development cycle. 2022-05-05 18:23:18 +02:00
Martin Dosch
49e97981cb Prepare v0.5.0 release. 2022-05-05 18:20:53 +02:00
Martin Dosch
4d38661174 Ox: Improve private key import. 2022-05-04 11:42:42 +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
917dabe6af Ox: Improve rpad generation. 2022-05-02 15:07:58 +02:00
Martin Dosch
0b0feffb69 Prepare new development cycle. 2022-04-30 13:52:07 +02:00
Martin Dosch
d4de1abcc9 Release v0.4.0 2022-04-30 13:48:39 +02:00
Martin Dosch
ce463b9bf8 Use stamp for printing time of received messages. 2022-04-30 10:23:34 +02:00
Martin Dosch
4ce9daec09 Update changelog. 2022-04-25 16:55:49 +02:00
Martin Dosch
644b1f809d Use shorter random string for resource. 2022-04-23 23:40:15 +02:00
Martin Dosch
e9e0d8c735 Add experimental Ox (OpenPGP for XMPP) support. 2022-04-17 17:16:29 +02:00
Martin Dosch
47a4c19cfb Prepare new development cycle. 2022-03-21 09:17:28 +08:00
Martin Dosch
910f1976d8 Release v0.3.0 2022-03-21 09:16:26 +08:00
Martin Dosch
35f4d05a9e Release v0.3.0 2022-03-21 09:12:40 +08:00
Martin Dosch
2d4cde999b Don't block on IQs of type "error". 2022-03-19 22:28:58 +08:00
Martin Dosch
908bc1b753 Revert "Added timeout for IQs."
This reverts commit 89c884c3d6.
2022-03-09 22:31:53 +08:00
Martin Dosch
89c884c3d6 Added timeout for IQs. 2022-03-06 15:25:23 +08:00
Martin Dosch
11071ad98e Add release dates to changelog. 2022-02-24 10:41:33 +08:00
Martin Dosch
469495d556 Change default config location. 2022-02-23 02:57:03 +08:00
Martin Dosch
fdd57eb82c Fix a crash when config was non-existant or non-readable. 2022-02-23 02:39:59 +08:00
Martin Dosch
e2b2f279e6 Update changelog 2022-02-23 02:35:47 +08:00
Martin Dosch
5c42aa6873 Fix typo. 2022-02-22 20:51:46 +08:00
Martin Dosch
c80c2aad0f Remove invalid code points.
See https://logs.xmpp.org/jdev/2020-11-11#2020-11-11-3b27e8d157e76e30
2022-02-22 20:51:15 +08:00
Martin Dosch
e1130aa34a Add support for password protected MUCs. 2022-02-19 08:30:35 +01:00
Martin Dosch
c88f83a47c Start new development cycle. 2022-02-12 12:32:18 +01:00
Martin Dosch
679cbbda03 Prepare v0.2.0 release 2022-02-12 12:30:08 +01:00
Martin Dosch
5b86e1b48f Add --version flag. 2022-02-12 11:16:45 +01:00
Martin Dosch
5b72f3cee0 Add flag to configure minimum TLS version. 2022-02-12 09:36:12 +01:00
Martin Dosch
a866e98e1e Add --timeout flag. 2022-02-12 09:18:02 +01:00
Martin Dosch
30a51df5cf Update changelog. 2022-02-07 16:57:31 +01:00
Martin Dosch
f7efd8a9c5 Update changelog. 2022-02-07 16:22:53 +01:00
Martin Dosch
018a7eac84 Start new development cycle. 2022-01-29 14:37:51 +01:00
Martin Dosch
27b17d885b Prepare v0.1.3 release. 2022-01-29 14:36:30 +01:00
Martin Dosch
2c2a576152 Improve renaming of files for http-uplad
Characters get replaced by `_` now instead of being removed and
`-`, `_`, `.` and `+` won't be removed anymore. (Thx Holger Weiß)
2022-01-29 14:11:52 +01:00
Martin Dosch
fa1356d05d Change file name for http-uploads.
Use alpha numerical names only to workaround
https://github.com/mattn/go-xmpp/issues/132
2022-01-29 13:44:00 +01:00
Martin Dosch
4e6f3f60a2 Start new development cycle. 2021-11-18 14:23:29 +01:00
Martin Dosch
9ba96e934c Prepare release v0.1.2 2021-11-18 14:20:50 +01:00
Martin Dosch
ca8dec5ca1 Use xmppsrv for SRV lookups. 2021-09-29 18:18:58 +02:00
Martin Dosch
57892a8901 Update changelog. 2021-09-29 18:17:54 +02:00
Martin Dosch
02137f4327 Bump version to v0.1.1. 2021-09-12 10:11:03 +02:00
Martin Dosch
318912d72d Update changelog. 2021-09-12 10:08:46 +02:00
Martin Dosch
fee768943b Bump version to v0.1.0. 2021-09-11 12:49:05 +02:00
Martin Dosch
de7029ffdb Add Changelog. 2021-09-11 12:48:23 +02:00