Commit graph

585 commits

Author SHA1 Message Date
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
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