Adrien Beraud
8516e35e5f
ci/github: cleanup
v2.5.0rc2
2023-03-25 18:40:22 -04:00
Adrien Beraud
41eabc7261
thread pool: handle exceptions starting threads
2023-03-25 18:22:58 -04:00
Adrien Beraud
424fe61a49
dht: send large amounts of values in multiple messages
2023-03-25 17:49:16 -04:00
Adrien Beraud
02e03771d4
docker: add Alpine deps
2023-03-25 17:49:08 -04:00
Adrien Beraud
e35f8c29ee
ci/github: don't run ci with autotools
2023-03-25 17:17:40 -04:00
Adrien Beraud
64e3bcf0dc
ci/github: use ninja with meson
2023-03-25 15:08:31 -04:00
Adrien Beraud
a9f3883bfa
meson: install, include public dir from tools
2023-03-25 15:04:11 -04:00
Adrien Beraud
3c3b3dc303
ci/github: add meson build
2023-03-25 14:42:46 -04:00
Adrien Beraud
970e71d215
ci/github: add meson build
2023-03-25 14:38:48 -04:00
Adrien Beraud
b6552ec300
NodeExport: add missing include
2023-03-25 10:46:12 -04:00
Adrien Béraud
58bc772256
NodeExport: use SockAddr, move to separate header
2023-03-23 16:50:19 -04:00
Adrien Béraud
31af08feaa
build/meson: build durl with http and tools
2023-03-23 16:50:19 -04:00
Adrien Béraud
9e60a681f3
use ostringstream instead of stringstream where possible
2023-03-23 16:50:19 -04:00
Adrien Beraud
51525d144b
certificate: add public key cache
2023-03-15 20:44:29 -04:00
Adrien Beraud
965fbb43c7
more attempts to find msgpackc-cxx in a universal way
2023-03-15 12:50:06 -04:00
Adrien Béraud
133d77d985
thread pool: increase max io pool size to 512
2023-03-14 13:11:29 -04:00
Adrien Béraud
9451861f51
update version to 2.5.0
v2.5.0rc1
2023-03-13 13:24:21 -04:00
Adrien Béraud
4b489fb7d7
build/meson: make tools an option
2023-03-13 13:24:05 -04:00
Adrien Béraud
7fcaf19ca3
meson: add initial support
2023-03-12 23:57:32 -04:00
Adrien Béraud
c51d59a3a3
Revert "cmake: update msgpack package name"
...
This reverts commit b9d7957bf6 .
v2.4.12beta4
2023-03-11 22:30:19 -05:00
Adrien Béraud
bcc02837d3
use proper image name for github action
2023-03-11 22:25:22 -05:00
Adrien Béraud
611017e187
add Alpine image
2023-03-11 22:21:50 -05:00
Adrien Béraud
7f7bff6a28
readme: cleanup
2023-03-11 22:18:52 -05:00
Adrien Béraud
b9d7957bf6
cmake: update msgpack package name
2023-03-11 22:18:27 -05:00
Adrien Béraud
fa31cec73e
pkgconfig: gnutls jsoncpp, openssl are public dependencies
2023-03-09 00:37:46 -05:00
Adrien Béraud
550a8cf362
cmake: use CTest
2023-02-28 19:45:05 -05:00
Adrien Béraud
50996eaf7e
build/cmake: unify static and shared build
2023-02-28 12:58:13 -05:00
Adrien Béraud
813c3b43d2
move filter
2023-02-28 12:58:13 -05:00
Adrien Béraud
4ce9292b28
proxy server: allow to ping push
2023-02-23 15:43:16 -05:00
Adrien Béraud
655aa074bf
update version to 2.4.11
v2.4.12
2023-01-31 23:47:01 -05:00
Adrien Béraud
2e9c119dca
build/cmake: add SOVERSION for c binding
2023-01-31 23:45:48 -05:00
Adrien Béraud
7bf2d2a7a9
update version to 2.4.11
v2.4.11
2023-01-30 12:05:02 -05:00
Adrien Béraud
d9a97e2cec
use pkg-config for gnutls, fix msgpack
2023-01-29 18:30:28 -05:00
Adrien Béraud
6395399c2d
cmake: use IMPORTED_TARGET with pkg_search_module
2023-01-29 18:30:28 -05:00
Adrien Béraud
e6971c196b
dht: fix value edition, add unit test
2023-01-27 17:31:59 -05:00
Adrien Béraud
b1009a54e3
crypto: compare public keys with longId
2023-01-27 17:31:59 -05:00
Adrien Béraud
33d73d5d55
securedht: compare public key content instead of pointer
2023-01-27 17:31:59 -05:00
Amin Bandali
f42d94da59
build/cmake: Set variables needed by pkg-config files.
...
Up until now, these were only set by the GNU Build System in
configure.ac, and so the pkg-config files generated from CMake builds
did not have the right Libs.private and Requires.private, especially
useful when linking statically.
2023-01-26 21:31:59 -05:00
Adrien Béraud
2418b355d7
ci: build macOS with push notifications
2023-01-25 19:53:53 -05:00
Adrien Béraud
2cb57251a1
proxy client: protect resolver
2023-01-25 19:53:53 -05:00
Adrien Béraud
446da4b792
value: use move in where
2022-12-30 20:42:16 -05:00
Adrien Béraud
aa958b0f1d
value: inline filter
2022-12-30 20:42:14 -05:00
Adrien Béraud
58be07a8b0
infohash: add to_view()
2022-12-30 20:42:11 -05:00
Adrien Béraud
6c61ac53c4
proxy client: cleanup
2022-12-30 20:42:08 -05:00
Sébastien Blin
6e73a78a8b
unifiedpush: remove unifiedpush parameter
...
Because there is multiple unifiedpush endpoint (ntfy.sh is one),
we should not pass it as an option to dhtnode, but use the one
provided by the user in the token (from unified push library).
2022-12-30 20:36:49 -05:00
Amin Bandali
f2623bd51d
build/cmake: Set opendht-c-static's OUTPUT_NAME to opendht-c.
2022-12-30 20:35:17 -05:00
Sébastien Blin
d6a99d0edd
proxyclient: add possibility to set the platform
...
This allow android to change the platform to "unifiedpush".
2022-11-17 11:46:09 -05:00
Sébastien Blin
b9ccc968b2
proxyserver: add support for UnifiedPush standard
...
Make the proxy able to support the UnifiedPush platform, so that
applications using the proxy server can use any UnifiedPush provider.
Documentation: https://unifiedpush.org/
How to test:
+ Install a UnifiedPush provider on a device (e.g. https://ntfy.sh )
+ Run dhtnode with a proxyserver and --unifiedpush https://ntfy.sh
+ Subscribe to a random topic on ntfy (e.g. "dhtproxytest")
+ Subscribe to a hash on the DHT:
curl -X SUBSCRIBE http://my.dht.proxy:8000/key/foo \
-d '{"key":"dhtproxytest", "platform":"unifiedpush"}'
+ Send data on the subscribed hash
Note: the topic should be completely random.
2022-10-11 15:14:51 -04:00
Sébastien Blin
7e33c4fc76
dht_proxy_server: fix push notifications if tls is enabled
...
If the proxy got TLS enabled, this doesn't mean that the REST
endpoint for push notifications is also using TLS.
Also, fix an incorrect log.
2022-10-11 11:54:37 -04:00
Adrien Béraud
39bb520339
proxy server: don't send refresh notification for non-push operations
2022-09-22 12:46:54 -04:00