Adrien Béraud
95fdadf16b
build: update version to 3.1.2
v3.1.2
2023-11-07 13:15:56 -05:00
Adrien Béraud
a271ab1680
python: add putSigned, putEncrypted to DhtRunner
2023-11-07 13:15:56 -05:00
Moreno Giussani
ac9d7942ce
Add loadIdentity
2023-11-07 09:29:46 -05:00
Adrien Béraud
5ca7b8d6dc
python: add cancelPut
v3.1
2023-11-07 09:15:11 -05:00
Adrien Béraud
805cdbed1d
python: add biding for missing DhtConfig fields
2023-11-06 22:57:50 -05:00
Adrien Béraud
29efd42de3
python: add binding for SockAddr.resolve
2023-11-06 22:57:50 -05:00
Adrien Béraud
ae2a1d83cf
python: use shared_ptr, make_shared from Cython
2023-11-06 21:59:22 -05:00
Adrien Béraud
bad8bdfe13
python: support 'permanent' argument for put
2023-11-06 21:55:16 -05:00
Adrien Béraud
13194b66d3
proxy client: retry permanent put after reconnect
v3.0.1
2023-11-02 15:58:11 -04:00
Adrien Béraud
601758f5fd
proxy server: use isMember for timeout
2023-09-27 13:56:43 -04:00
Adrien Béraud
3191498855
update version to 3.0.0
v3.0.0
2023-09-24 18:13:22 -04:00
Adrien Béraud
4882826f58
ci, docker: update restinio
2023-09-24 18:13:22 -04:00
Kateryna Kostiuk
61f43c6b05
iOS: use high priority for resubscribe notifications
2023-09-18 15:27:41 -04:00
Adrien Béraud
8b91c24414
python: make callbacks noexcept
v2.6.0.4
2023-09-11 11:52:55 -04:00
Adrien Béraud
dbebaae1f3
callbacks: make raw callbacks except
v2.6.0.3
2023-09-11 11:42:05 -04:00
Adrien Béraud
7cc743ff5e
callbacks: make raw callbacks noexcept
v2.6.0.2
2023-09-11 11:30:22 -04:00
Adrien Béraud
3b02cee495
python: update classifiers
2023-09-11 11:30:04 -04:00
Adrien Béraud
2e520bea4f
unit tests: make testListen run 256 times
...
Makes the test pass in many more cases.
v2.6.0.1
2023-09-09 12:51:15 -04:00
Adrien Béraud
f9f57b50b1
update README.md
v2.6.0
2023-09-09 12:41:16 -04:00
Adrien Béraud
fb9e6eee48
Revert "build: do not define ASN1_time_parse when using openssl"
...
This reverts commit 3a8adb4e17 .
2023-08-30 17:59:07 -04:00
Adrien Béraud
b53af75a7f
meson, autotools: link with fmt
2023-08-30 17:58:45 -04:00
Adrien Béraud
2ed40aeefe
proxy client: use [[maybe_unused]]
2023-08-30 17:58:45 -04:00
Adrien Béraud
bb61b8468b
proxy client: implement OnPublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
55688a25aa
http: don't encode whole url
...
url encoding should be used for url components
by users of the library,
otherwise characters like '/' get escaped.
2023-08-30 17:58:45 -04:00
Adrien Béraud
21fd58a39c
tools: show log on PublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
ae56d4e9be
dht: implement OnPublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
982896a718
dht interface: add OnPublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
2ae092e266
storage: remove unused variable
2023-08-30 17:58:45 -04:00
Adrien Béraud
27ce8b00ed
add syncLevel to send announce/listen early
2023-08-30 16:31:47 -04:00
Kateryna Kostiuk
3a8adb4e17
build: do not define ASN1_time_parse when using openssl
2023-08-27 16:54:16 -04:00
Adrien Béraud
899d18968e
thread pool: add missing header
2023-08-20 23:44:49 -04:00
Adrien Béraud
285105c8d1
thread pool: simplify cleanup logic
2023-08-20 23:02:41 -04:00
Adrien Béraud
9e0ad9d926
thread pool: wait for tasks to complete on stop
2023-08-19 18:48:53 -04:00
Adrien Béraud
0fdded0606
thread pool: allow pool to reduce in size after some time
2023-08-19 18:48:53 -04:00
Adrien Béraud
9947172abb
tests/http: wait for the server to start
2023-08-19 18:48:53 -04:00
Adrien Béraud
b034a823a9
dhtcnode: reduce exposed stack storage
2023-08-19 18:48:53 -04:00
Jakob Haufe
7baee925f6
doc: fix dhtnode(1) man page formatting
...
This fixes the following lintian issue:
22: warning: macro 'mF' not defined [usr/share/man/man1/dhtnode.1.gz:1]
2023-08-16 22:44:06 -04:00
Adrien Béraud
ed6c5381d8
http: remove incorrect static usage
v2.6.0rc7
2023-07-29 00:02:48 -04:00
Adrien Béraud
d58e4c8a89
build/cmake: remove unsupported attribute
v2.6.0rc6
2023-07-28 23:58:46 -04:00
Léo Banno-Cloutier
2f2ed9bca7
url_encode: escape url query
...
For routes such as /api/auth/directory/search, when searching for names such as
"Léo", jams would not respond to the request
since the URL contained invalid characters defined in RFC3986. `url_encode`
turns such characters into their equivalent escaped characters.
2023-07-25 10:28:22 -04:00
Amna
3e888d8e2d
network engine: remove link-local condition from isMartian()
2023-07-05 19:38:24 -04:00
Adrien Béraud
f461eaa191
log: cleanup, avoid using default constructor
2023-06-28 11:27:03 -04:00
Adrien Béraud
411d8dbe62
network_engine: add missing headers
2023-06-28 11:27:03 -04:00
Lanius-collaris
825cf98bf4
dhtnode.cpp: fix void print_usage()
...
Print pushserver parameter instead of openpush
2023-06-28 09:08:52 -04:00
Adrien Béraud
aff1ed4575
network engine: make UA private, constexpr
2023-06-27 20:07:03 -04:00
Adrien Béraud
6b1e7513b3
logger: make class public
2023-06-26 18:25:43 -04:00
Adrien Béraud
8c94dc8f89
dht: update User-Agent (UA) to "o2"
...
The update reflects the slow evolution of the protocol.
Also, saves two bytes in every packet.
2023-06-26 18:25:31 -04:00
Adrien Béraud
a7f459eab9
log: fix build on Windows
2023-06-26 16:10:11 -04:00
Adrien Béraud
7383e3ea29
node cache: increase cleanup period
v2.6.0rc5
2023-06-19 18:36:58 -04:00
Adrien Béraud
a416d472fb
node: properly skip id 0
2023-06-19 18:36:17 -04:00