Commit Graph

446 Commits

Author SHA1 Message Date
Martin Dosch
740f7f73b2 Compile updated manpage. 2020-10-01 18:57:42 +02:00
Martin Dosch
e5c1f4f51a Add support for password managers. 2020-10-01 18:55:41 +02:00
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
2020-10-01 17:33:43 +02:00
Martin Dosch
f7ea82a1a4 Update vendored dependencies. 2020-08-30 10:40:54 +02:00
Tyler
7696a9eb09 Allow 640 permissions
Fixes #1
2020-06-24 20:44:17 +00:00
Martin Dosch
8594c80856 Clarify that username should be a JID in the manpages too. 2020-06-06 12:42:19 +02:00
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.
2020-06-06 12:06:55 +02:00
Martin Dosch
76a747efb4 Clarify that the username should be a JID. 2020-06-06 12:06:09 +02:00
Martin Dosch
ea3d939f2e Remove feature-wise comparison to sendxmpp 2020-06-06 12:04:45 +02:00
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).
2020-05-23 18:21:42 +02:00
Martin Dosch
cbac6dbe8d Move repo from mdosch-guest to mdosch 2020-04-23 09:11:37 +02:00
Martin Dosch
ad499e4bc0 Use the library for sending oob message
instead of handcrafting the message
Why I didn't see this option in the first place?
2020-04-11 18:59:32 +02:00
Martin Dosch
828ba165e9 Move handrafting OOB messages in own function. 2020-04-11 16:44:20 +02:00
Martin Dosch
c0d7514674 Check for http status code. 2020-04-11 16:08:15 +02:00
Martin Dosch
758cb6a3f2 Check IQ replies for type="result". 2020-04-10 12:16:57 +02:00
Martin Dosch
45de883aa2 Update README.md 2020-04-10 11:21:17 +02:00
Martin Dosch
6d6de2f03c Remove already done TODO item 2020-04-10 11:19:32 +02:00
Martin Dosch
bb150b6954 Use string variables for handcrafted messages. 2020-04-10 11:19:16 +02:00
Martin Dosch
2e3e0e113d Also check to be in the right FORM. 2020-04-09 21:13:07 +02:00
Martin Dosch
21983f6555 Fix a sed failure in a comment. 2020-04-09 20:52:07 +02:00
Martin Dosch
ff90c6b538 Update TODO for http upload. 2020-04-09 20:49:31 +02:00
Martin Dosch
9702df6c84 Propery determine the http-upload max-file-size. 2020-04-09 20:42:07 +02:00
Martin Dosch
0d6d4a5479 Check if file is exceeding maximum http upload size. 2020-04-09 17:54:49 +02:00
Martin Dosch
854cff096e Update manpage. 2020-04-09 17:06:26 +02:00
Martin Dosch
11883b8961 Don't allow usage of http upload and sending a message at the same time. 2020-04-09 17:01:48 +02:00
Martin Dosch
db2ccee50e Send http-upload in OOB message 2020-04-09 16:49:27 +02:00
Martin Dosch
2622081bad Use tlsConfig.ServerName as server for calling httpUpload
The server we connect to might be xmpp.example.org while we have to
disco example.org for user@example.org
2020-04-09 15:47:03 +02:00
Martin Dosch
45e69386f4 Remove debugging output 2020-04-09 15:14:13 +02:00
Martin Dosch
6a781a7b97 Add error checks. 2020-04-09 15:08:52 +02:00
Martin Dosch
74967028d6 Update TODO 2020-04-09 15:00:35 +02:00
Martin Dosch
9fd205f90f Add experimental http-upload 2020-04-09 14:58:03 +02:00
Martin Dosch
e674de5df1 Fix typos 2020-04-05 22:02:09 +02:00
Martin Dosch
21ed1c5ff6 User username instead of server to determine ServerName for TLS
certificate check.
2020-04-05 21:50:28 +02:00
Martin Dosch
f06dff7321 Add --no-tls-verify command line flag. 2020-04-05 21:49:17 +02:00
Martin Dosch
2cec0711fb Fix whitespaces in licenses. 2020-04-04 14:20:03 +02:00
Martin Dosch
595e5f8791 Add own copyright notice to jid.go 2020-04-04 14:05:28 +02:00
Martin Dosch
44c9bc4637 Remove debian packaging folder (moved to branch debian/master). 2020-04-04 13:55:39 +02:00
Martin Dosch
f251ea15d0 Fix a typo in go-sendxmpp.1 manual page. 2020-04-04 10:53:47 +02:00
Martin Dosch
229b3e3391 Debian: Set section to net 2020-04-04 10:43:34 +02:00
Martin Dosch
6f69835e27 Remove debian build remains. 2020-04-04 10:03:59 +02:00
Martin Dosch
4e5e7df424 Add debian packaging. 2020-04-04 10:02:56 +02:00
Martin Dosch
c292b4b320 Update copyright year in manpages. 2020-04-04 09:45:46 +02:00
Martin Dosch
9645773bd4 Change license information in manpages. 2020-04-04 09:44:48 +02:00
Martin Dosch
a81835b3d9 Change from MIT to BSD 2-Clause license. 2020-04-04 09:42:09 +02:00
Martin Dosch
55914460bd Revert "Remove MarshalJID function."
This reverts commit a631fa057b.
2020-04-04 09:40:24 +02:00
Martin Dosch
a631fa057b Remove MarshalJID function. 2020-04-03 18:12:58 +02:00
Martin Dosch
7062ca68e4 Add proper license information for mellium part. 2020-04-03 16:45:26 +02:00
Martin Dosch
c4bc32d330 Add license info about mellium/xmpp 2020-04-03 16:21:40 +02:00
Martin Dosch
c36bd5cb40 Declare tlsConfig properly instead of using xmpp.DefaultConfig. 2020-04-03 14:35:03 +02:00
Martin Dosch
ee7bf1fb71 Instantly quit if it's not possible to read the config file. 2020-04-03 14:28:08 +02:00