François-Simon Fauteux-Chapleau
5397f80b87
value: preserve priority when encrypting
...
All encrypted values put on the DHT currently have the default priority
of 0 because the priority information is ignored by the Value::encrypt
function.
2024-10-22 15:22:43 -04:00
Adrien Béraud
fafd2f0233
update copyright year
2023-06-02 23:16:04 -04:00
Adrien Beraud
424fe61a49
dht: send large amounts of values in multiple messages
2023-03-25 17:49:16 -04:00
Adrien Béraud
d825f4e5ae
misc: use std::make_unique
2022-06-08 13:14:09 -04:00
Adrien Béraud
5f743344e5
value: cleanup, move sign & encrypt to cpp
2022-05-25 11:04:46 -04:00
Michael Cho
56442acc84
value: fix build without jsoncpp
2022-05-25 09:49:30 -04:00
Adrien Béraud
5a6b9db60c
securedht: move crypto ops to Value
2022-04-25 13:43:57 -04:00
Adrien Béraud
f9b2285593
use string view literals where relevant
2022-03-29 14:47:01 -04:00
Adrien Béraud
ca5455302d
value: support std::string_view
2022-03-23 13:35:14 -04:00
Adrien Béraud
c59f951e5a
update copyright
2022-03-10 19:51:25 -05:00
Adrien Béraud
1ea7a2994e
value: use non-const PublicKey
2021-06-07 14:45:58 -04:00
Adrien Béraud
f99fe16a46
subset: use const ref
2021-05-28 13:17:25 -04:00
Adrien Béraud
e970cac4d7
infohash: expose toHex
2020-11-16 14:58:35 -05:00
Adrien Béraud
e7c810d5d6
value: don't print large values
2020-03-30 17:54:42 -04:00
Adrien Béraud
bc7c43dfd1
value: cleanup
2020-02-22 19:59:36 -05:00
Adrien Béraud
707fb39975
net: fix sending query in sendGetValues
2020-01-20 12:15:33 -05:00
Adrien Béraud
616d6fe4b8
update copyright date
2020-01-03 15:14:32 -05:00
Adrien Béraud
6a7ad871e2
value: toString prints raw data if text/plain
2019-12-19 15:12:23 -05:00
Adrien Béraud
54b1314ab8
value: optimize json parsing
2019-12-14 13:02:07 -05:00
Adrien Béraud
51c35d8b54
value: add priority
2019-12-14 13:02:07 -05:00
Adrien Béraud
fea736428e
msgpack: take const reference in unpack
2019-12-14 13:01:24 -05:00
Adrien Béraud
26c2e16a42
value: optimize json parsing
2019-12-14 00:41:41 -05:00
Adrien Béraud
e8b385c220
utils: optimize findMapValue
2019-12-13 23:57:22 -05:00
Adrien Béraud
c10aa32596
cpp: include config.h when necessary
2019-12-12 14:51:59 -05:00
Adrien Béraud
5e92777702
fix clang-tidy warnings
2019-03-17 19:22:28 -04:00
Adrien Béraud
4401e47002
cleanup, fix clang-tidy warnings
2019-03-17 17:43:52 -04:00
Adrien Béraud
f418b3651f
update copyright date
2019-03-16 12:37:23 -04:00
Adrien Béraud
989f32eb56
filter: cleanup and optimize
2019-02-19 01:59:59 -05:00
Adrien Béraud
1ca181db1d
value: simplify expression
2019-02-19 01:59:59 -05:00
Adrien Béraud
71b9672b96
value: don't print certificate id in toString by default
2018-12-28 01:38:45 -05:00
Adrien Béraud
aa202b2cd8
dhtrunner: add getNodeInfo()
...
Allow to retrieve all dht stats in a single API call using
the new method getNodeInfo() and the JSON-serializable
new structure NodeInfo.
2018-06-05 19:43:56 -04:00
Adrien Béraud
7b88a2122a
proxy: always use string tokens
2018-04-10 12:48:19 -04:00
Adrien Béraud
12db1f88dc
dht: introduce cache for values and operations
...
Multiplex multiple listen operations on a single key through
a unique listen operation on the network.
2018-03-16 13:34:32 -04:00
Sébastien Blin
547fa2eff5
dht_proxy_client: fix getCallback for push notifications
...
Note: Also fix Value deserialization
2018-03-05 19:15:04 -05:00
Adrien Béraud
15e3696b88
proxy client: fix build when push notifications are disabled
2018-01-13 16:16:19 -05:00
Sébastien Blin
6413571301
clean code
2017-11-06 12:53:35 -05:00
Sébastien Blin
8e43775394
update dhtnode + clean code
2017-11-01 14:52:29 -04:00
Sébastien Blin
dc66b3847a
make code for DHT Proxy Server optionnal
2017-11-01 14:52:29 -04:00
Sébastien Blin
c4ba8670e4
add Putxxx value endpoints
2017-11-01 14:52:29 -04:00
Sébastien Blin
a3348c85d6
value to JSON and begin to clean endpoints
2017-11-01 14:52:29 -04:00
Adrien Beraud
dc99919338
InfoHash: add explicit operator bool()
2017-11-01 11:59:11 -04:00
Adrien Béraud
1a54aff7bc
storage policies: use SockAddr
...
API-breaking change to use const SockAddr& instead of sockaddr*.
2017-10-13 01:10:09 +02:00
Adrien Béraud
323ad774e5
value: restore stream state after change
2017-10-09 15:14:20 +02:00
Adrien Beraud
1d84b34cf6
value: avoid checking failbit directly
...
failbit is implementation defined, use the bool operator instead.
2017-08-30 10:46:30 +02:00
Simon Désaulniers
b96d0de8a2
python: make use of Filter, Where in DhtRunner.get
2017-06-27 09:59:01 +02:00
Adrien Beraud
73bcebf355
license cleanup
2017-04-10 01:43:20 +02:00
Adrien Beraud
70ccbe4e40
value: remove FieldSelectorDescription
...
FieldSelectorDescription is just Value::Field and
adds nothing on top of it.
Remove it in favor of Value::Field.
2017-04-03 19:10:01 +02:00
Simon Désaulniers
b03a8b5b50
update license notice (2017)
2017-01-13 17:27:29 -05:00
Adrien Béraud
65c915fd9d
value: print hex value data contiguously
2016-11-23 11:01:14 -05:00
Adrien Béraud
659d893dee
network: transmit large values in multiple packets
2016-10-09 16:22:33 -04:00