Commit graph

  • 7864876087
    Update subcrates and versions Igor Katson 2025-01-06 15:27:44 +00:00
  • b9f949c6c1
    Merge pull request #292 from ikatson/deferred-torrents-2 Igor Katson 2024-12-07 15:33:30 +01:00
  • 9e4c465336
    A couple touch-ups Igor Katson 2024-12-07 12:17:17 +00:00
  • 82f167d50d
    Removed the overly conservative check Igor Katson 2024-12-07 12:14:59 +00:00
  • afca0fbbe3
    Remove unnecessary initial_peers merging code Igor Katson 2024-12-07 12:06:06 +00:00
  • e4845e2368
    Add a clarifying comment Igor Katson 2024-12-07 11:51:58 +00:00
  • 0fabb453aa
    Storing torrent name in ManagedTorrentShared Igor Katson 2024-12-06 12:57:26 +00:00
  • 0a92cf1d65
    cleanup a couple unnecessary drop(g) calls Igor Katson 2024-12-06 12:37:53 +00:00
  • 5df342e442
    Nothing: move a comment Igor Katson 2024-12-06 12:25:05 +00:00
  • 4c654a0631
    Tiny optimisation for code size Igor Katson 2024-12-06 12:17:52 +00:00
  • 5f07872725
    Docs for _start() Igor Katson 2024-12-06 12:14:34 +00:00
  • 38fec48879
    Reorganize _start() a bit Igor Katson 2024-12-06 12:08:03 +00:00
  • 7ed037cba8
    comments Igor Katson 2024-12-06 11:30:04 +00:00
  • f637959ba7
    Group session fields + add comments (Claude) Igor Katson 2024-12-06 00:08:11 +00:00
  • 456a51d4db
    Split up "add_torrent" method Igor Katson 2024-12-05 23:37:13 +00:00
  • 100b7116df
    Split out TorrentMetadata Igor Katson 2024-12-05 22:57:34 +00:00
  • e440f03970
    spawn_peer_adder: Option<PeerStream> -> PeerStream Igor Katson 2024-12-05 22:05:04 +00:00
  • b796a8767b
    "main_torrent_info" -> "add_torrent_internal" Igor Katson 2024-12-05 21:58:12 +00:00
  • 96946d5a81
    "make_peer_rx_managed_torrent" Igor Katson 2024-12-05 21:57:44 +00:00
  • 8131ba0482
    Store initial_peers in state Igor Katson 2024-12-05 21:47:37 +00:00
  • e22132bba0
    "make_peer_rx" - include initial peers Igor Katson 2024-12-05 21:40:40 +00:00
  • fce467e005
    [feature] HTTP API timeouts (#290) Igor Katson 2024-12-04 18:28:28 +01:00
  • a1de63e486
    Merge pull request #284 from ikatson/pex-send-updates Igor Katson 2024-12-04 13:00:01 +01:00
  • fb760b282e
    Only successful outgoing connections marked Igor Katson 2024-12-04 10:36:22 +00:00
  • ac775affef
    nit: decrease branch nesting Igor Katson 2024-12-04 10:21:10 +00:00
  • 9d71eb4872
    Remove PeerStateNoMut Igor Katson 2024-12-04 10:17:42 +00:00
  • 956e6d4f08
    Move all methods to Peer, not PeerStateNoMut Igor Katson 2024-12-04 10:12:04 +00:00
  • 85b65dcef5
    Rename a couple methods Igor Katson 2024-12-04 10:08:51 +00:00
  • fa3e8d949b
    Peer struct knows its addr Igor Katson 2024-12-04 10:06:08 +00:00
  • adc2ca97b3
    A bit of refactoring to store live_peers Igor Katson 2024-12-04 10:03:08 +00:00
  • 7a52721af9
    Refactor for readability Igor Katson 2024-11-28 10:32:58 +01:00
  • c8cd17ce8e
    Format comments Igor Katson 2024-11-28 09:58:44 +01:00
  • 90a823b3ed
    Small fixes base on comments in PR #261 Ivan 2024-11-09 11:42:48 +01:00
  • 42d184ff6b
    Logging Ivan 2024-10-23 13:42:52 +02:00
  • 1fa05837fb
    Include only addresses with known working connections Ivan 2024-10-23 12:57:29 +02:00
  • 1129d5b6e6
    Fix missing fn Ivan 2024-10-21 17:05:52 +02:00
  • 3c470e1670
    Sending PEX - initial concept Ivan 2024-10-21 13:12:05 +02:00
  • fb4e4c5741
    Merge pull request #289 from ikatson/clippy-1.83 Igor Katson 2024-12-03 22:22:09 +01:00
  • 131e978a22
    Cargo fmt Igor Katson 2024-12-03 21:12:33 +00:00
  • 1fb3d7cf55
    Trying to fix Rust 1.78 Igor Katson 2024-12-03 21:10:09 +00:00
  • 301232c9bd
    Trying to fix Rust 1.78 Igor Katson 2024-12-03 21:07:44 +00:00
  • 44c54ed3ce
    Try to remove default features from "url" to compile on older Rusts Igor Katson 2024-12-03 20:58:21 +00:00
  • 1998f7d859
    Bump min Rust version to 1.78. Check on 1.78 and 1.83 Igor Katson 2024-12-03 20:51:36 +00:00
  • 76cf1eb00a
    Update cargo crates Igor Katson 2024-12-03 20:44:23 +00:00
  • 438e164ffd
    Fix clippy errors Igor Katson 2024-12-03 20:40:02 +00:00
  • a728b6666c
    Merge pull request #283 from luigi311/lto Igor Katson 2024-11-28 09:49:55 +01:00
  • 9e998c67bc disable lto on release-github Luis Garcia 2024-11-24 04:11:57 -07:00
  • b84f606825 Enable thin LTO Luis Garcia 2024-11-24 03:23:20 -07:00
  • 3378ecb5b4
    Merge pull request #279 from ikatson/http-api-auth Igor Katson 2024-11-21 14:50:53 +00:00
  • 6213481732
    WWW-Authenticate header Igor Katson 2024-11-20 17:29:21 +00:00
  • 3e8a39314b
    Basic auth in HTTP API Igor Katson 2024-11-20 17:20:44 +00:00
  • 09c9659b88
    Merge pull request #275 from ikatson/updown-ratelimits Igor Katson 2024-11-20 16:26:57 +00:00
  • e5c11e778a
    Trying to fix rust compat Igor Katson 2024-11-20 16:13:37 +00:00
  • 69a638fb81
    Poor mans desktop (UI) widgets for ratelimits Igor Katson 2024-11-20 16:12:37 +00:00
  • 06b50d65ab
    Desktop config: ratelimits Igor Katson 2024-11-20 15:30:56 +00:00
  • 2a7c632b2b
    Expose ratelimits in CLI Igor Katson 2024-11-18 17:40:04 +00:00
  • 1168307189
    change RwLock<Option<Arc>> to ArcSwapOption Igor Katson 2024-11-16 11:11:56 +00:00
  • 855e7ccaeb
    Swap Arc<Option> into Option<Arc> Igor Katson 2024-11-16 10:58:26 +00:00
  • 1dbdeb5bbe
    Replace leaky_bucket with governor crate Igor Katson 2024-11-16 10:55:33 +00:00
  • 3924197461
    Ready to test session limits Igor Katson 2024-11-07 22:00:55 +00:00
  • 37810443df
    Ability to set limits Igor Katson 2024-11-07 21:55:31 +00:00
  • 25b309867b
    Initial impl of up/down ratelimits Igor Katson 2024-11-07 21:40:17 +00:00
  • 616498f500 Update minimal Rust version to 1.76 Igor Katson 2024-11-16 11:13:58 +00:00
  • 835acbce6b
    Merge pull request #271 from ikatson/infohash-only-url Igor Katson 2024-11-07 20:28:38 +00:00
  • 95f5a322f6
    [feature] support 40-byte infohash (not a magnet) as a way to add torrents Igor Katson 2024-11-07 19:35:02 +00:00
  • 8d2aa93a78
    Merge pull request #270 from ikatson/bep-47-2 Igor Katson 2024-11-07 16:14:08 +00:00
  • c3c413c14b
    Do not display padding files in UI Igor Katson 2024-11-07 16:07:16 +00:00
  • ecc094a444
    Do not create empty folders for padding files Igor Katson 2024-11-07 15:58:03 +00:00
  • cc002a4ed3
    Fix initial peers for HTTP client Igor Katson 2024-11-07 15:19:11 +00:00
  • c2b2e8e8e7
    Merge pull request #269 from ikatson/bep-47 Igor Katson 2024-11-07 15:08:20 +00:00
  • 312cdb03c9
    Fix a bug and tests Igor Katson 2024-11-07 14:08:24 +00:00
  • 8bb029bbc0
    do not create padding files Igor Katson 2024-10-14 15:53:50 +01:00
  • af7a0ddb4f
    do not read/write/set_len to padding files Igor Katson 2024-10-14 15:51:25 +01:00
  • 32d658e2d9
    Reuse file_infos in a couple places Igor Katson 2024-10-14 15:41:44 +01:00
  • 2e7c7216e3
    compute "attrs" field Igor Katson 2024-10-14 15:35:37 +01:00
  • ab173c00f6
    parse "attrs" field Igor Katson 2024-10-14 15:30:53 +01:00
  • 18755d8971
    Add access to new fields Igor Katson 2024-10-14 15:16:55 +01:00
  • 98f011673e
    iter_file_details_ext update impl Igor Katson 2024-10-14 15:06:47 +01:00
  • abce0c6629
    rename iter_file_details -> iter_file_details_ext Igor Katson 2024-10-14 15:00:59 +01:00
  • af0389de05
    bep 47: serialize/deserialize new fields Igor Katson 2024-10-14 14:55:48 +01:00
  • 60cea68985
    Add days to UI ETA and uptime calculations Igor Katson 2024-11-07 13:26:32 +00:00
  • a90f245dc9 Add with_stats=true to torrents list Igor Katson 2024-11-06 17:19:33 +00:00
  • 30bfb3ea19 Unify API types a bit (remove list item) Igor Katson 2024-11-06 17:08:47 +00:00
  • 03022f16c2
    Fix a lint Igor Katson 2024-11-06 16:30:12 +00:00
  • e371522a80
    Fix num_tasks == 1 assertion Igor Katson 2024-11-06 16:28:32 +00:00
  • a72c6a6224
    Add rustfmt to check Igor Katson 2024-11-06 16:06:54 +00:00
  • 87e09a60f7
    wait_until_i_am_the_last_task() - num_alive should be 0, not 1 Igor Katson 2024-11-06 16:05:58 +00:00
  • 78363d65ca
    run cargo fmt --check on PRs Igor Katson 2024-11-06 15:01:59 +00:00
  • e31854cb5a
    Canonical address in HTTP requests Igor Katson 2024-10-15 09:27:46 +01:00
  • fb6822ca41
    Added destination_fodler to TorrentDetailsResponse (#263) Mark Mendoza 2024-10-29 02:50:21 -07:00
  • 588e6cdd77
    Merge pull request #257 from izderadicka/client-api-only Igor Katson 2024-10-27 15:09:15 +00:00
  • bac364760e fmt Ivan 2024-10-19 19:50:26 +02:00
  • 6d08173159 Add parameter for remote server to download client Ivan 2024-10-19 19:47:57 +02:00
  • 946ad36258
    Merge pull request #254 from Mrreadiness/fix/transactional-pause Igor Katson 2024-10-12 19:37:33 +01:00
  • be9716e6a7 fix: simlify Ivan Moiseev 2024-10-12 16:08:30 +02:00
  • bbdb78f773 feat: remove drop Ivan Moiseev 2024-10-12 15:56:26 +02:00
  • b105a3bb22 fix: transactional pause Ivan Moiseev 2024-10-12 15:17:19 +02:00
  • 7147313846
    Fix a bug in id32 printing code Igor Katson 2024-10-09 15:33:14 +01:00
  • 8389235b46
    Merge pull request #253 from ikatson/linux-paths Igor Katson 2024-10-06 11:10:28 +01:00
  • aaca88be39
    Migrate linux configuration to a better named path. Igor Katson 2024-10-06 10:54:00 +01:00