Igor Katson
438e164ffd
Fix clippy errors
2024-12-03 20:40:02 +00:00
Igor Katson
95f5a322f6
[feature] support 40-byte infohash (not a magnet) as a way to add torrents
2024-11-07 19:35:02 +00:00
Igor Katson
c3c413c14b
Do not display padding files in UI
2024-11-07 16:07:16 +00:00
Igor Katson
312cdb03c9
Fix a bug and tests
2024-11-07 14:08:24 +00:00
Igor Katson
2e7c7216e3
compute "attrs" field
2024-11-07 13:46:12 +00:00
Igor Katson
ab173c00f6
parse "attrs" field
2024-11-07 13:46:12 +00:00
Igor Katson
18755d8971
Add access to new fields
2024-11-07 13:46:12 +00:00
Igor Katson
98f011673e
iter_file_details_ext update impl
2024-11-07 13:46:12 +00:00
Igor Katson
abce0c6629
rename iter_file_details -> iter_file_details_ext
2024-11-07 13:46:12 +00:00
Igor Katson
af0389de05
bep 47: serialize/deserialize new fields
2024-11-07 13:46:11 +00:00
Igor Katson
7147313846
Fix a bug in id32 printing code
2024-10-09 15:34:00 +01:00
Igor Katson
aaca88be39
Migrate linux configuration to a better named path.
2024-10-06 11:06:02 +01:00
pasta
db420f3a52
fixup: use if instead of match
2024-10-02 14:33:40 -05:00
pasta
d480b14bea
chore: run cargo fmt
2024-10-02 13:50:48 -05:00
pasta
1b6e7edb6b
fixup: allow 'so' validation to fail, and just continue
2024-10-02 13:42:59 -05:00
pasta
aa0c287fe5
feat: implement BEP-53 support
2024-10-01 13:22:54 -05:00
Igor Katson
e9acbaa9dc
Merged v7.0.1
2024-08-31 12:15:22 +01:00
Igor Katson
7e40c71852
More granular feature handling
2024-08-31 12:15:22 +01:00
Igor Katson
0bb1c77456
Decode more peer ids
2024-08-29 12:48:14 +01:00
Igor Katson
d6b1c47d45
Add #[track_caller] to all spawns so that tokio-console works (if enabled)
2024-08-29 10:30:06 +01:00
Igor Katson
0214817122
Fix root crate compilation dependencies to force sha1*
2024-08-28 13:32:42 +01:00
Igor Katson
3067ad21d5
Cleanups
2024-08-21 16:20:46 +01:00
Igor Katson
2871c358e3
postgres session storage backend
2024-08-15 14:18:55 +01:00
Igor Katson
f22814c77b
Postgres example storage
2024-08-15 13:31:56 +01:00
Igor Katson
2618f8b389
Add tests for magnet to string
2024-08-14 12:23:31 +01:00
Igor Katson
bf557e4bbc
type annotation for older rust versions
2024-08-14 12:20:16 +01:00
Igor Katson
cd87acdab2
fix magnet link Display code
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
d54b67d2dc
Make the /resolve_magnet HTTP endpoint return an actual torrent file, not info
2024-08-13 19:06:17 +01:00
Evrins Hu
a7cd3758ab
fix: can not add base32 encoded magnet url
2024-07-16 13:49:51 +08:00
Igor Katson
36359150a7
Remove annoying error message when task is cancelled
2024-06-21 15:17:48 +01:00
Igor Katson
54b17d5ee1
Write through cache impl
2024-05-03 02:53:52 +04:00
Igor Katson
dc137c075f
Move to storage folder
2024-05-02 12:29:46 +04:00
Igor Katson
ffc662e370
Less spammy log message
2024-05-01 00:43:51 +04:00
Igor Katson
3d46d7cb97
Fix clippy lints related to recent bug
2024-04-24 14:19:04 +01:00
Igor Katson
6a23f311e1
Send cancellations on steal
2024-04-07 22:45:47 +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
2972b0c87b
Remove a redundant method
2024-03-30 20:22:04 +00:00
Igor Katson
0cc90f19ab
Simplify chunk_size
2024-03-30 20:22:04 +00:00
Igor Katson
3e2fac81b1
Trying to check / simplify / improve math
2024-03-30 20:22:04 +00:00
Igor Katson
c5b21992e6
Make test compile
2024-03-30 20:22:04 +00:00
Igor Katson
304b2c6328
Add extensive tests for Lengths.
2024-03-30 20:22:04 +00:00
Igor Katson
950e0cd50e
Remove custom ceil_div_u64
2024-03-30 20:22:04 +00:00
Igor Katson
9722dd8cb7
Fewer unwraps
2024-03-30 20:22:04 +00:00
Igor Katson
2ef5124a2d
Nothing
2024-03-29 20:16:44 +00:00
Igor Katson
c481f77354
Rename generic bounds for clarity
2024-03-29 13:44:30 +00:00
Igor Katson
fa05fe8376
Box<[u8]> instead of Vec<u8> for ByteBufOwned
2024-03-29 13:44:10 +00:00
Igor Katson
f42de46878
Revert "Box<[u8]> instead of Vec<u8> for ByteBufOwned"
...
This reverts commit deee41cd93 .
2024-03-29 13:00:57 +00:00
Igor Katson
e862d34cb4
Revert "Rename generic bounds for clarity"
...
This reverts commit 8870fb2d5f .
2024-03-29 13:00:54 +00:00