Commit Graph
9562 Commits
Author SHA1 Message Date
wipedlifepotato 0efeaaec6f feat: percentDone torrentRPC 2026-08-22 14:37:52 +03:00
wipedlifepotato f241183fb1 add_jsonrpc2_torrent_get 2026-08-21 16:39:35 +03:00
wipedlifepotato b29f19e100 type: torrrents -> torrent 2026-08-21 16:27:48 +03:00
wipedlifepotato 63236db9c7 add: заглушка для transmission-rpc библиотеки python 2026-08-21 16:20:06 +03:00
user f158e21159 session-get dummy method RPC torrent transsmission-rpc 2026-08-21 07:42:08 +00:00
orignal 726c1b9ec0 use std::mt19937 instead RAND_bytes 2026-08-20 21:42:05 -04:00
orignal d977983034 Merge pull request #2500 from pobregat0/service-owner-weak-ptr
keep service owner of a handler as weak_ptr
2026-08-20 20:20:55 -04:00
PobreGato 4d88d21fe4 keep service owner of a handler as weak_ptr 2026-08-21 03:18:44 +03:00
orignal 8154f8709d handle torrent-get RPC fields: files, wanted, priorities 2026-08-20 17:58:31 -04:00
orignal faceb81e5d store peerid as array<int8_t, 20> 2026-08-20 16:49:12 -04:00
orignal 07a61d3626 response to peers request with peers info 2026-08-20 15:27:22 -04:00
orignal c464814c46 reset peers stats when torrent complete 2026-08-20 09:26:18 -04:00
orignal 9719c193e0 added boost-json 2026-08-20 07:19:37 -04:00
orignal c42051f6b3 Merge pull request #2499 from jpk68/checks-2
libi2pd: add missing checks and limits
2026-08-19 21:33:57 -04:00
jpk68 a57d375bf1 libi2pd: add missing checks and limits 2026-08-19 21:29:25 -04:00
orignal c87925f1ba Merge pull request #2498 from pobregat0/addressbook-timer-after-reload
recreate addressbook timers when shared destination is replaced
2026-08-19 21:03:37 -04:00
orignal b5c2e7d9ea send interested if we sent max requests before 2026-08-19 21:01:50 -04:00
PobreGato 0850b0fc56 recreate addressbook timers when shared destination is replaced 2026-08-20 02:18:20 +03:00
orignal 561958ee32 Merge pull request #2497 from pobregat0/stop-destination-in-its-thread
stop runnable destination in its own thread
2026-08-19 17:54:11 -04:00
orignal 7b1a9d5411 handle pieces field from torrent-get 2026-08-19 17:22:37 -04:00
orignal e7009e561f handle fields list from torrent-get RPC 2026-08-19 16:14:21 -04:00
PobreGato 85b6104080 stop runnable destination in its own thread 2026-08-19 19:12:20 +03:00
orignal 3740e8dc6f count and report num dowloading from/uploading to peers 2026-08-19 09:20:29 -04:00
orignal 77c6dc3ecc Merge pull request #2496 from pobregat0/stop-console-first
stop the web console and I2PControl before what they read
2026-08-18 21:31:56 -04:00
orignal 659a894115 smoother upload rate calculation 2026-08-18 21:28:47 -04:00
PobreGato 4135f9ab9b stop the web console and I2PControl before what they read 2026-08-19 04:21:20 +03:00
orignal 4f138ac630 collect and return unload/download rate stats 2026-08-18 20:53:38 -04:00
orignal 2b37acc525 Merge pull request #2495 from pobregat0/mapping-contains-find
use find in Mapping::Contains
2026-08-18 19:04:25 -04:00
PobreGato bc346f0a88 use find in Mapping::Contains 2026-08-19 02:02:05 +03:00
orignal 6d80583cb5 Merge pull request #2493 from jpk68/memory-bugs-4
chore: fix memory safety issues
2026-08-18 17:00:33 -04:00
jpk68 67404cd82f chore: fix memory safety issues 2026-08-18 15:43:44 -04:00
orignal 0514efcdeb read tag only if presented 2026-08-18 15:11:04 -04:00
orignal 6e09dc0710 Merge pull request #2494 from parsebulb/cmake-cxx
Fix setting C++ standard
2026-08-18 13:30:06 -04:00
parsebulb cddf8899da Fix setting C++ standard
The -std=c++X flag was set in three different places, (1) at the
beginning of the CMakeLists.txt with `set(CMAKE_CXX_STANDARD)`, later
(2) with `CMAKE_CXX_FLAGS` and finally (3) by the combination cmake's
CMP0128=NEW policy, some versions of g++ and the settings of
CMAKE_CXX_STANDARD_REQUIRED=ON and CMAKE_CXX_EXTENSIONS=OFF.

Because of (1) _or_ (2) the MinGW compiler (and possibly others) would
add -std=c++17 to the build arguments _after_ the -std=c++X defined in
`CMAKE_CXX_FLAGS` resulting in the c++17 standard being used regardless
of what `CMAKE_CXX_FLAGS` has to say.

This patch also applies the c++ standard per target to avoid the
`CMAKE_CXX_STANDARD` setting leaking into projects which include this
i2pd's CMakeLists.txt.
2026-08-18 17:40:53 +02:00
orignal 8887afe260 implemented remove torrent and torrent-remove RPC 2026-08-18 09:29:01 -04:00
orignal 04b9cdcd99 Revert "openbsd: fix a issue from IRC chat"
This reverts commit 55ecab7c8d.
2026-08-18 06:56:58 -04:00
orignal 4fa515b4fe Merge pull request #2492 from pobregat0/server-tunnel-acceptor
keep the acceptor of a server tunnel through a reload
2026-08-17 22:40:34 -04:00
PobreGato bde02543b0 take the acceptor off only if this tunnel set it 2026-08-18 05:14:42 +03:00
PobreGato a30e6ae50f keep the acceptor of a server tunnel through a reload 2026-08-18 04:34:47 +03:00
orignal c6a19a594d require higher version for boost for compatibility with std::string_view 2026-08-17 21:27:37 -04:00
orignal 6c9ded8926 Merge pull request #2490 from jpk68/size-checks
libi2pd: add missing size checks
2026-08-17 20:11:27 -04:00
orignal 16c74918c4 Merge pull request #2491 from pobregat0/tag-three-way
compare tags by value in ordered containers
2026-08-17 20:07:37 -04:00
PobreGato 03daaf85be compare tags by value in ordered containers 2026-08-18 03:06:31 +03:00
orignal 71177d649c send some stats and status in torrent-get response 2026-08-17 18:47:48 -04:00
orignal 9b7cda3775 send torrents in result for torrent-get RPC 2026-08-17 17:48:54 -04:00
orignal fad3294ed3 handle torrent-get RPC 2026-08-17 16:34:52 -04:00
jpk68 575acd6f13 libi2pd: add missing size checks 2026-08-17 13:27:12 -04:00
orignal d9cd383b08 Merge pull request #2489 from pobregat0/tunnel-reload-params
apply tunnel parameters on reload
2026-08-16 22:09:55 -04:00
PobreGato 98c0035620 apply tunnel parameters on reload 2026-08-17 05:01:00 +03:00
orignal c3541c3966 implemented rpcaddress param 2026-08-16 21:33:50 -04:00