Commit graph

51 commits

Author SHA1 Message Date
Igor Katson
707d4be631
The server now doesnt read files by itself, client must do it 2023-11-22 18:06:09 +00:00
Igor Katson
7d6ed06166
Selective download modal 2023-11-22 17:19:35 +00:00
Igor Katson
0574888ef2
Add "only_files=1,2,3" option to API 2023-11-22 15:26:24 +00:00
Igor Katson
795ae82439
Webui starting to work a bit better 2023-11-21 13:24:55 +00:00
Igor Katson
e5d96243d4
JS and its ecosystem is absolute garbage 2023-11-21 03:48:11 +00:00
Igor Katson
aef1ffbd90
More chatgpt modifications 2023-11-20 22:10:01 +00:00
Igor Katson
88ca5960df
Basic webui works 2023-11-20 20:27:30 +00:00
Igor Katson
1585a7e04a
Ability to upload torrents + other stuff for Web UI to work 2023-11-20 19:52:48 +00:00
Igor Katson
a93a588ae9
Peer stats snapshot move around 2023-11-20 14:05:38 +00:00
Igor Katson
e214dd47a5
Exposing counters through HTTP 2023-11-20 13:55:42 +00:00
Igor Katson
123859328f
Remove old slow peer stats computation 2023-11-20 01:19:24 +00:00
Igor Katson
0c89ee9248
Add parameter with_peers to stats_snapshot while its slow 2023-11-19 23:11:11 +00:00
Igor Katson
124c6057be
more counters 2023-11-19 20:15:42 +00:00
Igor Katson
48a14823fa
Changed log to tracing 2023-11-19 13:05:42 +00:00
Adrien Delorme
29d43dfafb
allow to use ApiInternal as a library 2023-05-07 13:12:57 +02:00
Igor Katson
b52824df6f
HTTP API: moved everything back to functions 2022-12-08 23:56:14 +00:00
Igor Katson
aacb8caaa3
Serde errors 2022-12-08 20:43:02 +00:00
Igor Katson
8b621059c1
Reorder code in http_api 2022-12-08 15:56:09 +00:00
Igor Katson
8cb368e73c
Prettify API a bit 2022-12-08 11:06:29 +00:00
Igor Katson
66e62d61e4
Playing with axum HTTP error handling 2022-12-08 09:28:01 +00:00
Igor Katson
15ae48e5af
Changed warp to axum 2022-12-04 12:53:55 +00:00
Igor Katson
804303c526
Merge pull request #9 from pcmid/pcmid/update/target_dir
Update: add sub_folder in AddTorrentOptions
2021-10-25 17:18:02 +01:00
pcmid
681e93a066
Update: add sub_folder in AddTorrentOptions 2021-10-25 22:00:47 +08:00
pcmid
18713515b9
Update: change Mbps to MiB/s 2021-10-25 18:11:46 +08:00
pcmid
8b4027e3d6
Format: cargo fmt 2021-10-25 16:46:30 +08:00
pcmid
188055c812
Fix: multiply the number of bytes by 8 2021-10-25 16:39:14 +08:00
Igor Katson
967a06a196
Enhance the HTTP API with more detail. 2021-10-23 10:06:28 +01:00
Igor Katson
a8efcfdd26 Completely change the CLI so that we have a server and a client. 2021-10-22 21:01:23 +01:00
Igor Katson
218aa4d9ee Safety note 2021-10-10 11:43:44 +01:00
Igor Katson
9b73a8ff2f Add "overwrite=true" option to torrent add API 2021-10-10 11:39:25 +01:00
Igor Katson
2ac76683e6 Now actually downloads 2 files at a time 2021-10-10 10:46:09 +01:00
Igor Katson
64900e1fd4 Add API to add a torrent 2021-10-10 09:57:21 +01:00
Igor Katson
6e9e79a02e Move stats printing to main 2021-10-09 16:49:55 +01:00
Igor Katson
175d5c7a97 API refactor 2021-07-19 09:04:25 +01:00
Igor Katson
bd0df49591 Nothing, small cleanups 2021-07-16 13:58:10 +01:00
Igor Katson
ca11caf902 nothing 2021-07-14 18:09:12 +01:00
Igor Katson
98dff76c40 DHT stats in HTTP API 2021-07-14 13:40:56 +01:00
Igor Katson
9e3e3a27ff Nothing much 2021-07-13 14:59:44 +01:00
Igor Katson
951f610cfd Nothing 2021-07-13 09:18:45 +01:00
Igor Katson
6eef3b9b66 A small refactor 2021-07-12 21:59:08 +01:00
Igor Katson
e7c310a1df JSON torrent detail api 2021-07-08 23:49:25 +01:00
Igor Katson
3beac77e5d JSON HTTP API 2021-07-08 23:03:58 +01:00
Igor Katson
c401b79bd3 Make HTTP API track multiple torrents 2021-07-08 00:09:00 +01:00
Igor Katson
44c760bcc2 Nothing 2021-07-04 14:38:44 +01:00
Igor Katson
64b1e47c77 Add a semaphore around peers 2021-07-04 11:36:16 +01:00
Igor Katson
9472d66bf9 Update visiibilty 2021-07-04 11:05:20 +01:00
Igor Katson
ad867e8e3c Move everything to workspaces 2021-07-03 19:10:59 +01:00
Igor Katson
47966e094c Add speed estimator 2021-06-30 23:26:22 +01:00
Igor Katson
c1f34a6599 Just messing around with Rust typing 2021-06-30 18:42:16 +01:00
Igor Katson
32f2ea4953 Poor mans speed computation 2021-06-30 10:31:30 +01:00