Commit graph

513 commits

Author SHA1 Message Date
Igor Katson
5384f8c9db
Fix the bug thanks to e2e test 2024-08-14 12:14:57 +01:00
Igor Katson
53d61d0428
fixing bugs 2024-08-14 12:14:57 +01:00
Igor Katson
c196c11860
trying to make tests work with new metadata 2024-08-14 12:14:57 +01:00
Igor Katson
55649e181a
untested support for send_metadata_piece 2024-08-14 12:14:57 +01:00
Igor Katson
35b20f754b
speed up e2e test 2024-08-14 12:09:18 +01:00
Igor Katson
d7e59f3293
rename the e2e test 2024-08-14 12:09:18 +01:00
Igor Katson
c7ed475f54
Use bytes crate for zerocopy and memory re-use (#182)
* Use bytes. Not yet zerocopy everywhere but compiles

* Actually zerocopy

* Actually zerocopy

* Not actually storing the torrent on disk now
2024-08-14 12:08:46 +01:00
Igor Katson
1c1200cc2a
clippy 2024-08-13 19:14:41 +01:00
Igor Katson
a0483e67f8
Remove debugging test that was failing on windows 2024-08-13 19:13:20 +01:00
Igor Katson
d54b67d2dc
Make the /resolve_magnet HTTP endpoint return an actual torrent file, not info 2024-08-13 19:06:17 +01:00
Igor Katson
cd0f38f0fb
Stub for torrent_file_from_info_and_bytes 2024-08-13 15:51:04 +01:00
Igor Katson
e7c7543228
a tiny refactor 2024-08-13 06:52:43 +01:00
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
fe7a1e09ba
Store torrent bytes in memory 2024-08-12 23:43:23 +01:00
Igor Katson
41a2cd58b3
Store torrent bytes 2024-08-12 23:24:11 +01:00
Igor Katson
5740d3ebe9
create InteralAddResult 2024-08-12 23:10:11 +01:00
Igor Katson
f2b28ddbe3
Fix #154 - desktop now can upload files properly 2024-08-12 19:53:00 +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
Igor Katson
e495639322
Merge pull request #168 from ikatson/socks
SOCKS5 proxy support
2024-08-08 08:53:34 +01:00
Igor Katson
70dcb2e6cb
First pass to implement socks5 support 2024-08-08 00:46:39 +01:00
Igor Katson
8c16239a0e
use reqwest client rather than global 2024-08-07 23:28:44 +01: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
95f958ef39
Fix new clippy lints 2024-08-03 11:16:34 +01: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
970bdb8652 Refactor - use better style 2024-08-02 13:29:20 +02:00
Igor Katson
91f03cb81d
Merge pull request #158 from izderadicka/suppress_dead_code_warnings
Mark dead code explicitly
2024-08-02 09:00:33 +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
e08821bff7 Mark dead code explicitly 2024-07-27 08:46:33 +02:00
Ivan
7e8935388c Use BlockingSpawner 2024-07-27 08:17:04 +02:00
Ivan
fdacb7bc16 Fix e2e streaming test 2024-07-21 15:11:23 +02: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
151933b403
remove .inspect_err() 2024-06-21 15:17:48 +01:00
Igor Katson
ace4bed0c6
Folders and files are now deleted more comprehensively 2024-06-21 15:17:41 +01:00
Igor Katson
f63e729da1
Fix magnet links 2024-05-17 23:57:25 +01:00
Igor Katson
b687a1882c
Dont attempt to initialize session persistence folder if its turned off 2024-05-17 18:40:13 +01:00
Igor Katson
108ad74464
Fix a bug in experimental mmap storage 2024-05-06 23:02:10 +03:00
Igor Katson
3b0987ec23
Fix new stealing bug (ppl_cache) 2024-05-04 23:19:36 +01:00
Igor Katson
c07ebbac25
Fix build 2024-05-03 18:20:28 +01:00
Igor Katson
8a86d04631 Dont spam haves 2024-05-03 20:24:39 +04:00
Igor Katson
44aa75f34b Reimplement maybe_transmit_haves with a broadcast channel 2024-05-03 20:24:39 +04:00