Commit graph

1490 commits

Author SHA1 Message Date
Igor Katson
932836d4cf
Merge pull request #250 from PastaPastaPasta/refactor/byteorder
refactor: use byteorder crate to enhance portability (to BE systems), and enhance code readability, avoiding manual byte manipulations
2024-10-03 07:46:38 +01:00
pasta
eaba7955d7
refactor: use byteorder crate to enhance portability (to BE systems), and enhance code readability, avoiding manual byte manipulations 2024-10-02 19:09:32 -05:00
Igor Katson
7ca3232aa6
Merge pull request #248 from PastaPastaPasta/feat/bep-53-support
feat: implement BEP-53 support
2024-10-02 21:24:13 +01:00
pasta
57db99e9b8
fixup: only set only_files if it was none 2024-10-02 15:16:32 -05:00
Igor Katson
6fffe6d90b
Merge pull request #249 from PastaPastaPasta/feat/tauri-v2-support
feat: upgrade to tauri 2.0
2024-10-02 21:08:32 +01:00
pasta
db420f3a52
fixup: use if instead of match 2024-10-02 14:33:40 -05:00
pasta
da7fd268b6
feat: upgrade to tauri 2.0
Steps taken:
1. install tauri via cargo install tauri-cli
2. see errors when running cargo tauri build
3. run cargo tauri migrate as recommended by docs https://tauri.app/start/migrate/from-tauri-1/
4. manually fix some .ts includes as recommeneded by docs https://tauri.app/start/migrate/from-tauri-1/#migrate-to-core-module
5. successfully build using cargo tauri build
2024-10-02 14:30:28 -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
60728f1699
Merge pull request #247 from ikatson/stream-capacity
[Perf] Increase http_api stream capacity (perf optimisation)
2024-10-01 11:30:31 +01:00
Igor Katson
b1b76edf10
Increase http_api stream capacity (testing perf optimisation) 2024-10-01 09:52:57 +01:00
Igor Katson
e97e26f97f
Merge pull request #246 from ikatson/peer-ip-generic
[Refactor] Generic peer IP
2024-10-01 09:49:04 +01:00
Igor Katson
29758c6d8f
Generic peer IP 2024-10-01 09:32:04 +01:00
Igor Katson
abe4cf58a5
Merge pull request #244 from izderadicka/correct_peer_address
Correct peer outgoing address for incomming peers
2024-10-01 09:27:14 +01:00
Ivan
7640218488 Make outgoing addr Option 2024-09-30 19:55:37 +02:00
Ivan
23bd537dd7 Remove commented code 2024-09-28 19:47:48 +02:00
Ivan
1ce5971f07 Add debug and remove unneeded 2024-09-28 19:36:54 +02:00
Ivan
cd7349121c Queuing only peers that will be retried 2024-09-26 21:30:25 +02:00
Ivan
a31e8344b2 Format - delete trailing spaces 2024-09-26 19:19:56 +02:00
Ivan
aec1eeef34 Enum pro outgoing addr and some fixes 2024-09-26 19:15:16 +02:00
Ivan
4bd757173d Set outgoing IP address for incomming peers after Ext. handshake 2024-09-26 18:11:05 +02:00
Ivan
a483bc6586 Update outgoing address for incoming peers 2024-09-25 22:32:38 +02:00
Igor Katson
5994d84a14
Merge pull request #243 from Moeweb647252/main
Add support for adding custom trackers
2024-09-24 16:56:10 +01:00
Misaka
f184e7f5bf Add support for adding custom trackers 2024-09-24 21:55:02 +08:00
Igor Katson
fb15e070a0
trying to figure out new github sporadic errors 2024-09-22 12:15:21 +01:00
Ivan Zderadicka
f7a812439b
Change to restarting of dead peers (#239)
* Logging died peers

* Ignore incoming for retry,  cancel retries after download is complete

* Remove cancel

* Add incoming flag to PeerHandler

* Cleaning up, plus debug

* Fix debug style
2024-09-22 08:31:57 +01:00
Igor Katson
14cd2a4d9c
Merge pull request #240 from ikatson/merge-streams-reuse
[Refactor] Re-use code in "merge_streams"
2024-09-20 09:44:24 +01:00
Igor Katson
2c6a9f7a14
Remove custom "merge_streams" in favor of tokio_stream 2024-09-20 09:38:54 +01:00
Igor Katson
decf29a910
merge_streams: shorten the code a tiny bit 2024-09-20 09:38:53 +01:00
Igor Katson
d9a56acacb
Merge pull request #238 from ikatson/ssdp-ipv6
[Feature] SSDP IPv6 support
2024-09-20 09:38:29 +01:00
Igor Katson
189dea36a0
Windows doesnt have ipv6 netamasks! at least in networkinterfaces package 2024-09-16 17:51:47 +01:00
Igor Katson
406947f997
debugging 2024-09-16 17:25:19 +01:00
Igor Katson
03391764cc
Remove scope_id when non link local addr 2024-09-16 17:09:51 +01:00
Igor Katson
f7e0835452
Remove custom libc/winapi code in favor of duplicating the socket and using both socket2 and tokio 2024-09-16 11:16:46 +01:00
Igor Katson
403a4ce480
works on linux now too 2024-09-16 10:49:56 +01:00
Igor Katson
6193cc942b
doesnt help... maybe set_mcast_if need to call on ipv6 too 2024-09-16 10:21:40 +01:00
Igor Katson
028addcf6a
Nothing: renames and tiny refactors 2024-09-16 09:21:21 +01:00
Igor Katson
8d8d5491f9
trying to fix windows multicast 2024-09-15 22:43:59 +01:00
Igor Katson
b3263c24d3
fixed span.enter in session 2024-09-15 21:57:50 +01:00
Igor Katson
7fd4730b47
dont error SSDP on cancel 2024-09-15 21:57:50 +01:00
Igor Katson
3acc53a11f
IPv6 support for SSDP (for UPNP) 2024-09-15 21:57:34 +01:00
Igor Katson
932131b18d
Merge pull request #237 from ikatson/watch
[Feature] watching a directory for .torrent files and adding them automatically
2024-09-13 13:24:02 +01:00
Igor Katson
a38385f3b5
use walkdir create in another place instead of custom code 2024-09-13 13:04:37 +01:00
Igor Katson
dedee2ef08
Watching works fine 2024-09-13 12:58:09 +01:00
Igor Katson
a73f921c5f
one line anyhow error formatting 2024-09-13 12:36:32 +01:00
Igor Katson
06613d9ef1
watching basic version works 2024-09-13 12:34:51 +01:00
Igor Katson
624b41a297
Merge pull request #236 from ikatson/upload-multiple-files-ui
Upload multiple files through UI (fix #68)
2024-09-13 10:59:41 +01:00
Igor Katson
e1dcb2602b
Upload multiple files through UI 2024-09-13 10:52:39 +01:00
Igor Katson
7a807f39e0
cargo update deps and mark 7.1.0-beta.1 2024-09-13 09:28:12 +01:00