Commit Graph

136 Commits (c540d79a8424b8daf1b789a4c3bf1c4cd8ccb8c8)
 

Author SHA1 Message Date
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
Martin Dosch e5c1f4f51a Add support for password managers. 4 years ago
Martin Dosch 6c6284b383 Update documentation
`jserver` and `port` might not be necessary. Thanks [1] for pointing
this out.

[1] https://www.momi.ca/posts/2020-08-28-sendxmpp.html
4 years ago
Martin Dosch f7ea82a1a4 Update vendored dependencies. 4 years ago
Tyler 7696a9eb09 Allow 640 permissions
Fixes #1
4 years ago
Martin Dosch 8594c80856 Clarify that username should be a JID in the manpages too. 4 years ago
Martin Dosch ce11b65376 Allow localpart as username
If username is not a JID assume it is the local part and append an @
and the server domain.
4 years ago
Martin Dosch 76a747efb4 Clarify that the username should be a JID. 4 years ago
Martin Dosch ea3d939f2e Remove feature-wise comparison to sendxmpp 4 years ago
Martin Dosch dd4b2a91d1 Look at ~/.config/go-sendxmpp/sendxmpprc for the config.
Also look up the config at ~/.config/go-sendxmpp/sendxmpprc
and prefer it over the legacy path used by perl sendxmpp
(~/.sendxmpprc).
4 years ago