Commit Graph

324 Commits

Author SHA1 Message Date
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
Martin Dosch
bf4ec88e00 Update copyright notice. 2020-04-03 14:18:20 +02:00
Martin Dosch
0d55af6c0a Always try to close XMPP connection before quitting. 2020-04-03 14:14:48 +02:00
Martin Dosch
6907535153 Add ALPN support
This should make go-sendxmpp work on servers using ALPN e.g. when
using sslh on port 443 to use a httpd and XMPP over TLS on the
same port.
2020-04-02 19:35:12 +02:00
Martin Dosch
a31a70c43d Updated vendored dependency go-xmpp 2020-03-25 00:34:16 +01:00
Martin Dosch
2266cecd0d Pulled former jid package into main package. This time for real. 2020-01-22 19:51:40 +01:00
Martin Dosch
2283a54a33 [golangci-lint] Fixed some comparisons to bool and an ineffective err generation 2020-01-22 19:49:32 +01:00
Martin Dosch
330e15f532 Moved jid package into the main package. 2020-01-22 19:31:31 +01:00
Martin Dosch
5f81ef367e Updated dependencies and added go module support 2020-01-22 18:32:35 +01:00
Martin Dosch
cc992a54fc Fixed vendored packages. 2019-08-18 09:00:37 +02:00
Martin Dosch
42a794c1aa Updated vendored dependencies. 2019-08-18 08:41:16 +02:00
Martin Dosch
a258d35367 Added manpages (forgotten in last commit). 2019-03-25 19:16:44 +01:00
Martin Dosch
da59269f1c Renamed docs to man. 2019-02-25 21:15:50 +01:00
Martin Dosch
7e79269431 Updated manpages after ronn update. 2019-02-21 20:37:53 +01:00
Martin Dosch
20b7cd2d57 Added unnecessary whitespaces. 2019-02-21 19:50:40 +01:00
Martin Dosch
596a2b9cc2 Added first manpage experiments. 2019-02-21 19:37:58 +01:00
Martin Dosch
ba73e67f88 Merge branch 'master' of https://salsa.debian.org/mdosch-guest/go-sendxmpp 2019-02-21 18:24:59 +01:00
Martin Dosch
359aa28d07 Removed check for file access rights on windows. 2019-02-21 18:20:54 +01:00
Martin Dosch
efc88c94f6 Removed unnecessary deferring of closing file. 2019-02-21 18:15:46 +01:00
Martin Dosch
f0ccc244b8 Moved manual account data override behind reading config. 2019-02-21 18:14:10 +01:00
Martin Dosch
f4357fc51b Changed output for wrong file permissions to also mention 400 as valid access rights. 2019-02-21 13:00:43 +00:00
Martin Dosch
f61c0edda0 Skipped reading of config file if all connection parameters are specified via command line arguments. 2019-02-20 22:23:29 +01:00
Martin Dosch
c845972b1f Added waiting time before closing connection. 2019-02-20 21:22:31 +01:00