Martin Dosch
1382d06180
Update vendored dependencies.
3 years ago
Martin Dosch
2661ef6cd0
Update documentation.
3 years ago
Martin Dosch
d36c836276
Add `resource` config option.
3 years ago
Martin Dosch
da765d9172
Update vendored dependencies.
3 years ago
Martin Dosch
d70e5e529a
Update vendored dependencies.
3 years ago
Martin Dosch
1aabc74de2
Delete binary. D'Oh!
3 years ago
Martin Dosch
04232fb4e5
Update vendored dependencies.
3 years ago
Martin Dosch
f1a9a1f462
Add link to sendxmpp alternatives collection
...
There's more than go-sendxmpp out there!
4 years ago
Martin Dosch
e2a8f78f81
Update vendored dependencies
4 years ago
Martin Dosch
c540d79a84
Update vendored dependencies
4 years ago
Martin Dosch
a30eeecafb
Update README.md
4 years ago
Martin Dosch
af17660614
Remove unnecessary else clause.
4 years ago
Martin Dosch
23cf25caa6
Split on first @ instead of the last to get the domain (thx Sam)
4 years ago
Martin Dosch
9044bbb998
Remove trailing . of hostnames.
4 years ago
Martin Dosch
4ac87d88e1
Use net.JoinHostPort for adding the port to the host (thx Sam)
4 years ago
Martin Dosch
6df64d2446
Don't use xmpps-client SRV records if target is "."
4 years ago
Martin Dosch
ec185d75d7
Update copyright year
4 years ago
Martin Dosch
b74e921c13
Merge branch 'srvlookup'
4 years ago
Martin Dosch
fde531b977
Update documentation.
4 years ago
Martin Dosch
d00ca7cd37
Mix xmpp-client and xmpps-client SRV records (sorted by prio)
4 years ago
Martin Dosch
d68a7071b7
Update default config location in .
4 years ago
Martin Dosch
4297630c32
Put back accidentally removed package declaration.
4 years ago
Martin Dosch
b097e89a53
Add license header.
4 years ago
Martin Dosch
adc2231f25
Fall back to 5222 if no xmpp-client SRV records are provided
4 years ago
Martin Dosch
0811f434cb
Remove nonsense TODO
4 years ago
Martin Dosch
702ce9ff47
Look up SRV records for xmpp- and xmpps-client
4 years ago
Martin Dosch
afcbe65bc1
Fix leaving MUCs before closing the connection.
4 years ago
Martin Dosch
4d633ef677
Allow joining multiple MUCs before sending raw xml messages.
4 years ago
Martin Dosch
866a5d40f3
Add `--raw` documentation.
4 years ago
Martin Dosch
57bff89256
Add option '--raw'.
4 years ago
Martin Dosch
1a01b68ef7
Update usage info.
4 years ago
Martin Dosch
4f65c8439b
Advertise the brand new chat.
4 years ago
Martin Dosch
6984f634e7
Always use StartTLS.
4 years ago
Martin Dosch
f472a43b53
Update vendored dependencies
4 years ago
Martin Dosch
756157ca1d
Use external package to get proper MIME types
4 years ago
Martin Dosch
9ad95a24d5
Fix format [gofmt]
4 years ago
Martin Dosch
0d26691606
Use certain headers provided by http-upload component (thx Zash)
4 years ago
Martin Dosch
e4e33cdf75
Fix issue with SRV lookup for xmpps-client.
4 years ago
Martin Dosch
6c3fe6246a
Clarify `-t` means "direct TLS".
4 years ago
Martin Dosch
9c7dc43658
Add SRV lookup for xmpps DNS records.
4 years ago
Martin Dosch
c4f813d056
Clarify that the `-t` flag is *direct* TLS.
4 years ago
Martin Dosch
aba6bb2099
Don't require the `--jserver` command line flag.
...
Just assume the JIDs domain part to be the server.
The mattn/go-xmpp lib will find the appropriate server
to connect to by resolving the xmpp-client SRV record.
4 years ago
Martin Dosch
24a13d3c61
Update vendored dependencies.
4 years ago
Martin Dosch
a7958e64e9
Don't recommend eval_password
...
It's not up to me whether people use a password manager
or put their password in a file with 600 access rights.
As go-sendxmpp is probably often used when no one is in
front to unlock the password manager.
4 years ago
Martin Dosch
953a52560d
Update allowed config file permissions.
4 years ago
Martin Dosch
16256985bf
Rework config manpage.
4 years ago
Martin Dosch
8a93c57f47
Add support for password managers.
...
Most of this is taken from xmpp-daemon [1] (thanks).
[1] https://git.dagestad.fr/~nicolai/xmpp-daemon/tree/main/README.md
4 years ago
Martin Dosch
c4714e9f8f
Merge branch 'patch-1' into 'master'
...
Allow 640 (group read) permissions
Closes #1
See merge request mdosch/go-sendxmpp!3
4 years ago
Martin Dosch
39c321a12c
Fix manpage formatting.
4 years ago
Martin Dosch
740f7f73b2
Compile updated manpage.
4 years ago