Commit graph

296 commits

Author SHA1 Message Date
Igor Katson
b289f1eeaa
Fix file selection window on Windows that didnt split file with proper separator 2024-01-03 14:36:16 +00:00
Igor Katson
b808382169
Fix a bug when remarking already have pieces broken 2024-01-02 18:52:00 +00:00
Igor Katson
8ee98548f5
A tiny optimisation to not memcpy the buffer as often if we have many messages already buffered 2024-01-02 18:36:07 +00:00
Igor Katson
d5d98aff60
Extract ReadBuf logic into a separate struct 2024-01-02 18:36:07 +00:00
Igor Katson
09252c0397
Remove "read_one" macro 2024-01-02 18:36:07 +00:00
Igor Katson
dfdb6b5fae
Do not ignore errors in reserve_next_needed_piece() 2024-01-02 18:16:16 +00:00
Igor Katson
8cdf44c4fd
Make final stealing less aggressive 2023-12-30 18:27:19 -05:00
Igor Katson
5d4ffae6de
When stealing pieces, only steal from slower peers 2023-12-30 18:27:19 -05:00
Igor Katson
1e525eb91e
Move per-peer piece stats into methods 2023-12-30 18:27:19 -05:00
Igor Katson
fc28e18ffd
Try to increase limits on start 2023-12-17 13:01:59 +00:00
Igor Katson
55f3b23eed
Cors: more finegrained allowlist, make it simpler 2023-12-17 10:25:56 +00:00
Igor Katson
f49346c151
Re-use the open file when logging to file 2023-12-16 18:40:37 +00:00
Igor Katson
1758af98a0
Ignore a test 2023-12-16 11:15:42 +00:00
Igor Katson
325855ba56
Fix only files not working properly (#59)
* 1/n fixing only files - tracking stats better

* 2/n proper tracking of stats when only certain files selected
2023-12-14 11:58:09 +00:00
Igor Katson
50fc7f2f01
Rewrite all styles to tailwind CSS from Bootstrap by @arccik (#58)
* add tailwindcss

* add header component with logo and add torrent buttons

* remove bootstrap from few files replace it with tailwindcss classes, add card which diplay all nessesarry information about torrent and current state

* Add modal component and reorganize components folder

* add useModal hook to render modal though react portal, remove UrlPromptModal and replace it with useModal.

* add taliwindcss to Desctop app

* removed bootstrap from deleteTorrentModal replace it with useModal

* replacing bootstrap with useModal

* saving

* Saving

* Header and cards now look good

* Modals still broken...

* still doesnt work

* Finally it scrolls

* Continuing to fix bugs

* Continuing to fix bugs

* Aler

* Getting better

* Desktop doesnt work with tailwind somehow

* Desktop now works with tailwind

* Styles fully work

* (De)select all buttons

* fix alert styles

* Animate progress bar

* Progress bar + error colors

* Fix error message

* Torrent status icon (#56)

* add statusIcon component to display icon of the torrent status

* change props name and remove isDownloading variable

* Tweak styles for icon

* Tweak styles

* Update styles

---------

Co-authored-by: Artur Lozovski <arccik@gmail.com>
2023-12-14 10:37:29 +00:00
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