Commit Graph

16 Commits

Author SHA1 Message Date
Travis Burtrum 7aff2080df Update tokio-xmpp, switch to rustls
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit Details
2022-11-04 22:59:46 -04:00
Travis Burtrum 294da89d22 sendxmpp-rs v3.0.0
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit Details
2022-11-04 21:52:14 -04:00
Travis Burtrum f1aae8e3c2
Merge pull request #5 from Ppjet6/muc-support
Muc support
2022-11-04 21:26:18 -04:00
Maxime “pep” Buquet 3b36852749
Allow optional nick in config file
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-25 11:13:43 +02:00
Maxime “pep” Buquet 06ecb97f4c Initial MUC support
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-25 00:42:38 +02:00
pteromys b643665354 Add env_logger to ease troubleshooting.
Apparently I had an empty /etc/resolv.conf on one host due to systemd
growing pains, which I only discovered by adding the logger and seeing

> [2021-12-31T20:22:01Z WARN  trust_dns_resolver::system_conf::unix] no nameservers found in config

Without env_logger, the only output I had was an unhelpful

> could not connect to xmpp server

and changing die() to unwrap() only narrowed it down slightly to

> Connection(Resolve(ResolveError { kind: Message("No connections available") }))

One can set the environment variable RUST_LOG=debug for more verbosity.
Under the default setting it seems to be silent if nothing goes wrong.
2021-12-31 16:01:04 -05:00
Travis Burtrum d2ee6168fb Add --raw option to support sending a stream of raw XML
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit Details
2021-03-23 21:17:00 -04:00
Travis Burtrum 062571c3a4 Version 2.0.0 as released on crates.io
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit Details
2021-01-16 02:06:05 -05:00
Travis Burtrum b86c277c8b Add some better PGP header stripping code
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit Details
2021-01-15 02:08:42 -05:00
Travis Burtrum 209a0ae2a3 Version 2.0.0, with added XEP-0027 PGP support
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit Details
2021-01-15 01:05:15 -05:00
Travis Burtrum d12a548793 Upgrade deps, specifically tokio-xmpp 3.0.0 2021-01-14 23:34:52 -05:00
Travis Burtrum 37b5efd4b6 Switch unwrap/expect to use die crate for proper messages and error codes 2019-03-02 13:19:48 -05:00
Travis Burtrum 12ea8c5531 Close xmpp stream properly 2019-01-31 22:14:35 -05:00
Travis Burtrum be37b512a5 rewrite using tokio-xmpp 2019-01-25 21:56:50 -05:00
Travis Burtrum 5112be68a9 Tweaks and cleanup 2017-08-12 23:59:43 -04:00
Travis Burtrum e72fbf5f75 Initial commit 2017-08-11 00:37:50 -04:00