Commit graph

109 commits

Author SHA1 Message Date
Igor Katson
55aeb07994
use byte::Bytes instead of ByteBufOwned to store torrent bytes 2024-08-13 06:43:52 +01:00
Igor Katson
5193153e09
Add headers 2024-08-12 23:59:23 +01:00
Igor Katson
5b5352710e
Add an HTTP endpoint to read torrent bytes 2024-08-12 23:50:55 +01:00
Igor Katson
14b023b592
Fix playlist content type 2024-08-10 13:47:02 +01:00
Ivan
ff190e3070 Add comment 2024-08-09 22:15:16 +02:00
Ivan
b38c371d3f Playlist ordering and mime 2024-08-09 21:38:31 +02:00
Igor Katson
56eaa6aa6a
Global playlist 2024-08-09 12:40:03 +01:00
Ivan
b5b74876d6 Sort playlist and fix playlist URL copy 2024-08-09 08:38:50 +02:00
Ivan
e7829bf213 Encode file names in playlist 2024-08-05 09:33:37 +02:00
Ivan
510c2ee231 Add a playlist to torrent 2024-08-04 13:36:39 +02:00
Igor Katson
c86e663f24
Merge pull request #162 from izderadicka/add_content_type_to_stream
Add content type to streams
2024-08-02 12:56:13 +01:00
Ivan
aa2bac8bf5 Use content-lengh when there is no ranges header 2024-07-28 12:15:56 +02:00
Ivan
a77c1caace Add contet-type to stream 2024-07-27 11:44:15 +02:00
Igor Katson
76083be286
Merge pull request #157 from izderadicka/naive_streaming_fix
Add spawn blocking to FileStream
2024-07-27 07:58:38 +01:00
Ivan
1c9aa8ca72 Fist naive attempt to improve streaming
at leat inform executor about blocking call
2024-07-20 20:03:42 +02:00
Ivan
302c6d814d Add redirect for /web 2024-07-20 10:08:10 +02:00
Igor Katson
ea2dfd0500 update URL for streams 2024-05-01 00:43:51 +04:00
Igor Katson
6a9578cc0b Fix a bug 2024-05-01 00:43:51 +04:00
Igor Katson
94589a21fe UI link to video files 2024-05-01 00:43:51 +04:00
Igor Katson
f0788f2c4a Works fine now finally 2024-05-01 00:43:51 +04:00
Igor Katson
7e180c05b3 Fix the bugs 2024-05-01 00:43:51 +04:00
Igor Katson
eadb8872d9 Should be ready to test 2024-05-01 00:43:51 +04:00
Igor Katson
5c90e0cdd9 Fix a broken terst 2024-03-30 20:46:29 +00:00
Igor Katson
efcffdd072 Well, it doesnt crash at least 2024-03-30 20:46:29 +00:00
Igor Katson
a001bb8c97
Shorten Pin<Box to BoxFuture 2024-02-27 08:14:39 +00:00
Igor Katson
34f3ec6c29
Inline(never) more things for rqbit(bin) to compile faster 2024-02-26 23:08:47 +00:00
Igor Katson
15d17355b5
Async http server. Even slower 2024-02-26 22:52:53 +00:00
Igor Katson
55f3b23eed
Cors: more finegrained allowlist, make it simpler 2023-12-17 10:25:56 +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
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
25ca003b44
Show webui version from server 2023-12-07 12:19:35 +00:00
Igor Katson
006d83d6a7
Update docs, cleanup for 4.0.0 release 2023-12-03 12:14:50 +00:00
Igor Katson
e9d4dc4e3a
Made Api struct public 2023-12-02 15:19:05 +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
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
Igor Katson
a0feee27a6
Add a button to increase peer timeouts 2023-11-30 16:05:48 +00:00
Igor Katson
f6ae927d5c
Add a logo as favicon 2023-11-27 17:21:45 +00:00
Igor Katson
1c53aeba2f
Fix a couple bugs 2023-11-25 11:21:45 +00:00
Igor Katson
1bea1f9235
Better API for stats printing 2023-11-25 10:11:40 +00:00
Igor Katson
79bd41a552
Can now reload RUST_LOG at runtime from HTTP API 2023-11-25 01:24:57 +00:00
Igor Katson
17b243921d
Continuing refactor 2023-11-25 00:24:32 +00:00
Igor Katson
f789be22c9
Deleting and forgetting torrents 2023-11-24 21:45:38 +00:00
Igor Katson
d7a37c1b48
Saving 2023-11-24 18:28:46 +00:00
Igor Katson
66d2f224ed
Switch UI to display statuses better 2023-11-24 15:36:37 +00:00