Commit graph

1456 commits

Author SHA1 Message Date
Igor Katson
1fb3d7cf55
Trying to fix Rust 1.78 2024-12-03 21:10:09 +00:00
Igor Katson
301232c9bd
Trying to fix Rust 1.78 2024-12-03 21:07:44 +00:00
Igor Katson
44c54ed3ce
Try to remove default features from "url" to compile on older Rusts 2024-12-03 20:58:21 +00:00
Igor Katson
1998f7d859
Bump min Rust version to 1.78. Check on 1.78 and 1.83 2024-12-03 20:51:36 +00:00
Igor Katson
76cf1eb00a
Update cargo crates 2024-12-03 20:44:23 +00:00
Igor Katson
438e164ffd
Fix clippy errors 2024-12-03 20:40:02 +00:00
Igor Katson
a728b6666c
Merge pull request #283 from luigi311/lto
Enable thin LTO release but not release-github
2024-11-28 09:49:55 +01:00
Luis Garcia
9e998c67bc disable lto on release-github
Signed-off-by: Luis Garcia <git@luigi311.com>
2024-11-24 04:11:57 -07:00
Luis Garcia
b84f606825 Enable thin LTO
Signed-off-by: Luis Garcia <git@luigi311.com>
2024-11-24 03:23:20 -07:00
Igor Katson
3378ecb5b4
Merge pull request #279 from ikatson/http-api-auth
Basic auth in HTTP API
2024-11-21 14:50:53 +00:00
Igor Katson
6213481732
WWW-Authenticate header 2024-11-20 17:29:21 +00:00
Igor Katson
3e8a39314b
Basic auth in HTTP API 2024-11-20 17:20:44 +00:00
Igor Katson
09c9659b88
Merge pull request #275 from ikatson/updown-ratelimits
undefined
2024-11-20 16:26:57 +00:00
Igor Katson
e5c11e778a
Trying to fix rust compat 2024-11-20 16:17:32 +00:00
Igor Katson
69a638fb81
Poor mans desktop (UI) widgets for ratelimits 2024-11-20 16:12:42 +00:00
Igor Katson
06b50d65ab
Desktop config: ratelimits 2024-11-20 15:30:56 +00:00
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