Igor Katson
2a7c632b2b
Expose ratelimits in CLI
2024-11-18 17:40:04 +00:00
Igor Katson
1168307189
change RwLock<Option<Arc>> to ArcSwapOption
2024-11-18 17:34:50 +00:00
Igor Katson
855e7ccaeb
Swap Arc<Option> into Option<Arc>
2024-11-18 17:34:50 +00:00
Igor Katson
1dbdeb5bbe
Replace leaky_bucket with governor crate
2024-11-18 17:34:50 +00:00
Igor Katson
3924197461
Ready to test session limits
2024-11-18 17:34:50 +00:00
Igor Katson
37810443df
Ability to set limits
2024-11-18 17:34:50 +00:00
Igor Katson
25b309867b
Initial impl of up/down ratelimits
2024-11-18 17:34:50 +00:00
Igor Katson
616498f500
Update minimal Rust version to 1.76
2024-11-18 17:34:32 +00:00
Igor Katson
835acbce6b
Merge pull request #271 from ikatson/infohash-only-url
...
[feature] support 40-byte infohash (not a magnet) as a way to add torrents
2024-11-07 20:28:38 +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
8d2aa93a78
Merge pull request #270 from ikatson/bep-47-2
...
BEP-47 - UI support and updates
2024-11-07 16:14:08 +00:00
Igor Katson
c3c413c14b
Do not display padding files in UI
2024-11-07 16:07:16 +00:00
Igor Katson
ecc094a444
Do not create empty folders for padding files
2024-11-07 15:58:03 +00:00
Igor Katson
cc002a4ed3
Fix initial peers for HTTP client
2024-11-07 15:19:11 +00:00
Igor Katson
c2b2e8e8e7
Merge pull request #269 from ikatson/bep-47
...
BEP-47 padding files + refactor related code
2024-11-07 15:08:20 +00:00
Igor Katson
312cdb03c9
Fix a bug and tests
2024-11-07 14:08:24 +00:00
Igor Katson
8bb029bbc0
do not create padding files
2024-11-07 13:46:12 +00:00
Igor Katson
af7a0ddb4f
do not read/write/set_len to padding files
2024-11-07 13:46:12 +00:00
Igor Katson
32d658e2d9
Reuse file_infos in a couple places
2024-11-07 13:46:12 +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
60cea68985
Add days to UI ETA and uptime calculations
2024-11-07 13:26:32 +00:00
Igor Katson
a90f245dc9
Add with_stats=true to torrents list
2024-11-07 08:57:16 +00:00
Igor Katson
30bfb3ea19
Unify API types a bit (remove list item)
2024-11-07 08:57:16 +00:00
Igor Katson
03022f16c2
Fix a lint
2024-11-06 16:30:12 +00:00
Igor Katson
e371522a80
Fix num_tasks == 1 assertion
2024-11-06 16:28:32 +00:00
Igor Katson
a72c6a6224
Add rustfmt to check
2024-11-06 16:06:54 +00:00
Igor Katson
87e09a60f7
wait_until_i_am_the_last_task() - num_alive should be 0, not 1
2024-11-06 16:05:58 +00:00
Igor Katson
78363d65ca
run cargo fmt --check on PRs
2024-11-06 15:01:59 +00:00
Igor Katson
e31854cb5a
Canonical address in HTTP requests
2024-11-05 18:51:21 +00:00
Mark Mendoza
fb6822ca41
Added destination_fodler to TorrentDetailsResponse ( #263 )
...
* Added destination folder to torrent detail response.
* clean up changes not needed
* cleaned up launch.json and renamed to destination_folder to output_folder
2024-10-29 09:50:21 +00:00
Igor Katson
588e6cdd77
Merge pull request #257 from izderadicka/client-api-only
...
Add CLI parameter to allow send downloads to remote server
2024-10-27 15:09:15 +00:00
Ivan
bac364760e
fmt
2024-10-19 19:50:26 +02:00
Ivan
6d08173159
Add parameter for remote server to download client
2024-10-19 19:47:57 +02:00
Igor Katson
946ad36258
Merge pull request #254 from Mrreadiness/fix/transactional-pause
...
Fix: transactional pause
2024-10-12 19:37:33 +01:00
Ivan Moiseev
be9716e6a7
fix: simlify
2024-10-12 16:08:30 +02:00
Ivan Moiseev
bbdb78f773
feat: remove drop
2024-10-12 15:56:26 +02:00
Ivan Moiseev
b105a3bb22
fix: transactional pause
2024-10-12 15:17:19 +02:00
Igor Katson
7147313846
Fix a bug in id32 printing code
2024-10-09 15:34:00 +01:00
Igor Katson
8389235b46
Merge pull request #253 from ikatson/linux-paths
...
Migrate linux configuration to a better named path.
2024-10-06 11:10:28 +01:00
Igor Katson
aaca88be39
Migrate linux configuration to a better named path.
2024-10-06 11:06:02 +01:00
Igor Katson
61a01b4253
Remove python3 build dependency
2024-10-03 13:54:23 +01:00
Igor Katson
8b66119746
Update deps
2024-10-03 13:46:19 +01:00
Igor Katson
a954cd8ced
Merge pull request #251 from ikatson/no-disable-upload
...
Disable upload: do not expose in default builds, move under a feature flag.
2024-10-03 09:23:06 +01:00
Igor Katson
990c5f866b
Disable upload: do not expose in default builds, move under a feature flag.
2024-10-03 09:07:19 +01:00
Igor Katson
b99a1e2b73
Update .gitignore
2024-10-03 08:50:50 +01:00