Igor Katson
e11744cd63
Add fastresume session option
2024-08-20 21:31:52 +01:00
Igor Katson
bc9e72df60
Use actual BitV and factory everywhere
2024-08-20 20:42:24 +01:00
Igor Katson
ab2d73c2b3
Fix a bug in torrent deletion
2024-08-19 19:21:09 +01:00
Igor Katson
d028e2e3c2
fix buggy "merge_two_streams"
2024-08-18 17:37:03 +01:00
Igor Katson
675aecf44b
More anyhow.context()
2024-08-18 17:20:59 +01:00
Igor Katson
3f1ad390be
Add session parent spans possibility
2024-08-18 15:01:12 +01:00
Igor Katson
726a5e14f9
Limit concurrency of torrent initialization
2024-08-15 18:55:46 +01:00
Igor Katson
473edf28dd
Hash-based API in addition to integer based
2024-08-15 16:02:45 +01:00
Igor Katson
2871c358e3
postgres session storage backend
2024-08-15 14:18:55 +01:00
Igor Katson
275b3b0185
Update desktop app to support new persistence config
2024-08-15 11:39:12 +01:00
Igor Katson
d77d96bd48
Now saving torrent updates properly to the new db
2024-08-15 11:20:20 +01:00
Igor Katson
f29dccf8bd
remove deprecated branch
2024-08-15 11:04:47 +01:00
Igor Katson
2154ddf33e
tweak shitty id handling - a bit better now
2024-08-15 10:57:44 +01:00
Igor Katson
83592ca866
Session persistence rewritten completely
2024-08-15 10:40:48 +01:00
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
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
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
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
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
c07ebbac25
Fix build
2024-05-03 18:20:28 +01:00
Igor Katson
eafd274a0b
--defer-writes-up-to
2024-05-03 20:24:39 +04:00
Igor Katson
427f490a61
Clone storage factories...
2024-05-03 02:53:52 +04:00
Igor Katson
07a5b69a25
Hacked in mmap default
2024-05-03 02:53:52 +04:00
Igor Katson
6233cc9d12
better type_id for nested storages
2024-05-03 02:53:52 +04:00
Igor Katson
d25309e358
Defer writes command line flag
2024-05-03 02:53:52 +04:00
Igor Katson
5027d8ccd1
All storage factories are generic now
2024-05-03 02:53:52 +04:00
Igor Katson
fd30ad9cbf
Tweak everything for APIs to support everything while not changing too much
2024-05-02 12:29:46 +04:00
Igor Katson
6c3dfbc52f
Add storage example
2024-05-02 12:29:46 +04:00
Igor Katson
67c22c9313
It compiles now
2024-05-02 12:29:46 +04:00
Igor Katson
42bbf84ea5
Fixing up initialization to allow passing in custom storages
2024-05-02 12:29:46 +04:00
Igor Katson
1b49257019
Storages
2024-05-02 12:29:46 +04:00
Igor Katson
7c83240a1a
Fix merging DHT and tracker streams
2024-04-29 13:57:29 +01:00
Igor Katson
1001a44a24
Disable trackers propagate
2024-04-23 22:17:15 +01:00
Igor Katson
5eb01ac226
Ability to change the list of files at any time, including through UI ( #115 )
...
* Now can update the list of files without pausing/unpausing
* Shrink a few functions
* Reopen write when updating files
* Todos
* opened_file abstraction
* iter_pieces_within iterator
* Simplify iter_pieces_within
* Simplify iter_pieces_within
* Add "iter_file_details"
* temporarily broken: readonly by default
* Live torrent - reopen files
* Reopen files after changing the list
* Now reopening files read only when they are completed
* Fix a bug in opened_file.rs
* update todos
* update help
* Reconnect all peers that are idling
* Add a couple fields to OpenedFile
* Add a couple fields to OpenedFile
* Small cleanups - use the new iterator where possible
* size_of_piece_in_file function
* Updating have
* Include file progress
* Almost nothing
* ugly progress bars
* bad UI, saving
* its not so bad
* Works now
* update progress bar a bit
* Reopen read-only on pause
* Zero bytes isnt too bad! Doesnt break anything
* fix per file progress bars
* progress bar not as ugly anymore?
* ui tweaks
* fix a react bug
* TODO.md update
* Fix js + TODOs
* Compute per-file progress on init
* Fix stats updating live
* Nothing
* Nothing
* cleanup ui a bit
* Nothing
* Final fixes
* Trying to fix rust 1.73
* Sorting filenames
* remove unnecessary indentation
* Remove unnecessary comment
2024-04-06 09:20:03 +01:00
Igor Katson
efcffdd072
Well, it doesnt crash at least
2024-03-30 20:46:29 +00:00