Commit Graph

26 Commits

Author SHA1 Message Date
Karmanyaah Malhotra b461e5f926 a 2021-09-15 22:14:59 -05:00
Karmanyaah Malhotra 5d34dfb506 Update storage lib references 2021-09-15 21:44:49 -05:00
Karmanyaah Malhotra 41e0cfccaf remove mellium replace 2021-09-15 21:44:30 -05:00
genofire 498cf67f14 distributor: fix register if storage was successful 2021-09-16 04:07:49 +02:00
Geno bca172eff1 distributor: fix config toml storage_path 2021-09-16 03:14:57 +02:00
Geno 929ed83c28 distributor: improve storage handling after fixes 2021-09-16 03:14:49 +02:00
Geno 057f8045ed docs: fix typos 2021-09-16 01:04:43 +02:00
Geno 42e8289f2f distributor: timeout for XMPP connection setup from 1s to 10s 2021-09-15 20:47:29 +02:00
Geno 47b46549ee distributor: timeout XMPP requests 2021-09-15 19:06:11 +02:00
Geno 889563b8b2 distributor: make loglevel configurable 2021-09-15 18:54:23 +02:00
Geno caf4ccb205 distributor: drop gateway on default config 2021-09-15 18:44:07 +02:00
Geno e2562c93c2 distributor: use service discovery to check gateway (and fallback to demo)
fix #12
2021-09-15 18:42:08 +02:00
Geno 63aa921252 distributor: check server for msgoffline support XEP-0160
with discovery XEP-0030 ;)

wip #8
2021-09-15 17:04:55 +02:00
Geno f21db8eaa8 distributor: generate example config file if not exists 2021-09-15 13:28:16 +02:00
Geno 33b1c21c4e docs: token definition 2021-09-14 22:14:25 +02:00
Geno 8fda0be59c distributor: storage and file handling
fix #11 #2
2021-09-14 21:51:26 +02:00
Geno 05eaff3e20 distributor: improve logging 2021-09-14 09:49:59 +02:00
Geno 748e4ca5d7 be sure TokenReadClosed always closed
also if decode of response does not work
2021-09-14 09:14:11 +02:00
karmanyaahm 7647fc1631 fix deadlock on distributor register (#7)
Closes #6

I'm not sure if this is the correct solution according to the library, but it *is* one that works.

Co-authored-by: Karmanyaah Malhotra <karmanyaahm@gmail.com>
Reviewed-on: genofire/unified-push-xmpp#7
Co-authored-by: karmanyaahm <karmanyaahm@noreply.%(DOMAIN)s>
Co-committed-by: karmanyaahm <karmanyaahm@noreply.%(DOMAIN)s>
2021-09-14 08:09:03 +02:00
Geno 531c267473 alpha 2021-09-12 12:14:09 +02:00
Geno be6e6c4154 xmpp works with components (distribute Encoding hangs) - dirty without Webserver, and nice tokens 2021-09-12 00:31:03 +02:00
Geno 950a147042 xmpp works - sadly with new generated ressource on gateway (we need an component) 2021-09-11 17:16:43 +02:00
Geno 1eecc83e49 first xmpp tries 2021-09-09 23:12:29 +02:00
Geno ffbc834ada dbus replaced by unifiedpush.org/go/np2p_dbus/distributor 2021-09-09 18:31:26 +02:00
Geno 49e2b06b00 init distributor dbus 2021-09-05 19:20:27 +02:00
Geno f7ccd08b2e init 2021-09-05 13:31:06 +02:00