Commit graph

281 commits

Author SHA1 Message Date
Igor Katson
37f295cb95
Add a message when log channel is lagged 2023-12-09 14:03:42 +00:00
Igor Katson
98d6a6f054
Trying to optimize logs JS code 2023-12-09 12:25:14 +00:00
Igor Katson
2017c5ec94
Add an HTTP API endpoint + UI widgets to stream logs (#49)
* Added JSON logs to Desktop

* Move logging config into librqbit for reuse

* Log printer now available in both Desktop and Web UI

* Fix JS type error
2023-12-09 00:26:14 +00:00
Igor Katson
9385524a1a
Desktop: button to show a modal with logs (#48)
* Add an endpoint to stream logs /stream_logs
* Display logs in desktop app
* UI component to stream logs
2023-12-08 19:47:48 +00:00
Igor Katson
0751dbc5fc
Fix a bug that made it impossible to add torrents in desktop 2023-12-08 09:41:54 +00:00
Igor Katson
25ca003b44
Show webui version from server 2023-12-07 12:19:35 +00:00
Igor Katson
bed7433d8e
Use tokio_util::CancellationToken everywhere 2023-12-07 10:22:17 +00:00
Igor Katson
53868ad45e
Desktop state persistence 2023-12-07 00:13:11 +00:00
Igor Katson
d258a9afe2
Processing cancel messages 2023-12-06 23:25:52 +00:00
Igor Katson
9cbe16b387
settings dialog works now and reloads the session properly 2023-12-06 23:18:06 +00:00
Igor Katson
a3475784e9
Initial commit for desktop configuration. Broken now 2023-12-06 14:30:32 +00:00
Igor Katson
2d43f41664
Desktop: run HTTP API, show version 2023-12-06 12:14:26 +00:00
Igor Katson
3a69f04782
Shorten a log line 2023-12-06 11:50:36 +00:00
Igor Katson
0cd875e740
Incoming peers now respect concurrency limits 2023-12-06 00:39:52 +00:00
Igor Katson
91873ed287
Bump seen counters 2023-12-06 00:26:52 +00:00
Igor Katson
fd17ddc46b
Allow peers to reconnect 2023-12-06 00:16:59 +00:00
Igor Katson
a73e0e675f
tweak peer_connection log message 2023-12-05 23:46:18 +00:00
Igor Katson
ca8989f8e6
Saving 2023-12-05 23:38:05 +00:00
Igor Katson
bc243143e5
Do not announce when listing torrents 2023-12-05 23:31:04 +00:00
Igor Katson
156f83dbee
Downgrade an error to debug 2023-12-05 22:24:22 +00:00
Igor Katson
b224ed2397
Flush messages before disconnecting (lame) 2023-12-05 22:22:59 +00:00
Igor Katson
cc92afcdec
Prevent self-connections just in case 2023-12-05 22:19:58 +00:00
Igor Katson
5e238419f4
Fix a bug with sending interested 2023-12-05 22:14:55 +00:00
Igor Katson
6bb5d01c0f
Announcing port on DHT 2023-12-05 21:17:37 +00:00
Igor Katson
80df2c1001
Display upload speed in Web UI 2023-12-05 20:52:30 +00:00
Igor Katson
4784f3f14b
Uploading seems to work fine now 2023-12-05 20:31:06 +00:00
Igor Katson
efaa36a161
SAving, its broken 2023-12-05 20:10:09 +00:00
Igor Katson
b15815d12f
Adding options to test downloading from another instance 2023-12-05 20:10:09 +00:00
Igor Katson
65c69f576b
Code fully compiles for processing incoming peers 2023-12-05 20:10:09 +00:00
Igor Katson
9c7cf61e1a
Handshake clone to owned 2023-12-05 20:10:09 +00:00
Igor Katson
41fb3bfd37
Accepting TCP connections + publishing = works. Still yet to pass it to the live torrent 2023-12-05 20:10:09 +00:00
Igor Katson
71d49a88b6
Create TCP listener 2023-12-05 20:10:09 +00:00
Igor Katson
215bccb89c
Fix build on rust 1.73 2023-12-05 20:08:37 +00:00
Igor Katson
9481ffcb32
Try to fix #41 2023-12-05 18:29:43 +00:00
Igor Katson
006d83d6a7
Update docs, cleanup for 4.0.0 release 2023-12-03 12:14:50 +00:00
Igor Katson
fc62653727
Default subfolder for multi-file torrents 2023-12-03 10:18:34 +00:00
Igor Katson
ca66a70bc1
Fixed base64 error 2023-12-03 09:49:10 +00:00
Igor Katson
28c2db2a37
Made changes for Desktop app to work 2023-12-02 21:12:15 +00:00
Igor Katson
fe04e17d63
Other changes for Tauri 2023-12-02 15:59:20 +00:00
Igor Katson
99db087cf1
Improving typescript types 2023-12-02 15:35:26 +00:00
Igor Katson
e9d4dc4e3a
Made Api struct public 2023-12-02 15:19:05 +00:00
Igor Katson
98d487a5af
external_peer_adder now dies 2023-12-02 14:57:00 +00:00
Igor Katson
21b644e394
Workaround a crash in dev mode 2023-12-02 13:01:50 +00:00
Igor Katson
137d12cb9c
Tweak some things so that we can embed Web UI into Tauri 2023-12-02 12:48:03 +00:00
Igor Katson
950ed816d1
Prep for tauri 2023-12-01 18:08:41 +00:00
Igor Katson
af1facb171
Upgrade some dependencies and librqbit to 4.0.0-beta.1 2023-12-01 11:56:07 +00:00
Igor Katson
4078eacf1d
Better error display in UI 2023-12-01 11:28:35 +00:00
Igor Katson
d1ad2c7d51
Fix a bug in initial_addrs URL parsing 2023-12-01 10:28:20 +00:00
Igor Katson
5ee9390bb1
Initial peers now passed to read_metainfo_from_peer_receiver 2023-12-01 09:44:51 +00:00
Igor Katson
f337ab1837
Pass back peers from Web UI when adding a magnet in attempt to speed it up 2023-12-01 09:30:23 +00:00