Commit graph

1494 commits

Author SHA1 Message Date
f703bb15b7 chore: fige Cargo.lock (mimalloc) 2026-09-04 10:48:53 +02:00
6ea975935f perf(rqbit): mimalloc comme allocateur global
Declare mimalloc en #[global_allocator] sur le binaire rqbit. L'alloca-
teur systeme se comporte mal sur la charge de rqbit, faite de tres
nombreuses petites allocations concurrentes sur les buffers de pieces.

default-features = false pour ne pas embarquer les variantes secure et
les stats de debug, inutiles ici.

Ce patch tournait deja dans les paquets installes sans exister dans git,
comme la feature « delete all ». Repere par le check hygiene.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 19:32:49 +02:00
fbd052bc04 feat(http-api): cabler la route POST /torrents/delete_all
Le commit precedent ajoutait api_torrents_delete_all et la commande
Tauri, mais aucune route HTTP ne l'exposait : la WebUI servie en mode
navigateur appelait POST /torrents/delete_all et recevait un 404. Seul
le chemin desktop, qui passe par invokeAPI, fonctionnait.

Ajoute h_torrents_delete_all, avec remove_files lu en query param et
defaut a false, puis enregistre la route dans le bloc !read_only aux
cotes de /torrents/{id}/delete. Segment statique, donc prioritaire sur
/torrents/{id} — meme schema que /torrents/resolve_magnet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 19:25:48 +02:00
5d68aaf352 feat(desktop): supprimer tous les torrents en une action
Ajoute api_torrents_delete_all sur l'Api librqbit : itere sur tous les
torrents de la session, les supprime avec ou sans les donnees selon
remove_files, collecte les erreurs sans interrompre la boucle et ne
renvoie une 500 qu'a la fin si au moins une suppression a echoue.

Cote desktop, la commande Tauri torrents_delete_all expose l'appel, et
la WebUI ajoute un bouton corbeille dans RootContent avec une modale de
confirmation DeleteAllTorrentsModal.

Limite connue : aucune route HTTP /torrents/delete_all n'est enregistree
dans http_api/handlers. Le chemin Tauri fonctionne (desktop/src/api.tsx
passe par invokeAPI), mais la WebUI servie en mode navigateur appellera
POST /torrents/delete_all et recevra un 404. La route reste a cabler
pour que le bouton fonctionne hors application desktop.

Ce correctif tournait depuis des semaines uniquement dans l'arbre de
travail, non versionne, alors qu'il etait deja compile dans les paquets
rqbit et rqbit-desktop installes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 17:29:33 +02:00
99219f90bc feat(desktop): Yoda integration patches on v8.1.1
- macOS-style window controls via gtk-decoration-layout
- torrent file preview and context menu improvements
- single-instance relay for new torrents/magnet links
2026-07-09 14:18:06 +02:00
Igor Katson
00b9748516
Update crate versions
Some checks failed
Release binaries for Linux and Docker / release-linux (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Release binaries for Linux and Docker / build-docker-cross (linux/amd64) (push) Has been cancelled
Release binaries for Linux and Docker / build-docker-cross (linux/arm/v7) (push) Has been cancelled
Release binaries for Linux and Docker / build-docker-cross (linux/arm64) (push) Has been cancelled
Release binaries for Linux and Docker / build-push-docker-multiarch (push) Has been cancelled
Release binaries for OSX / release-macos (push) Has been cancelled
Release binaries for Windows / release-windows (push) Has been cancelled
Release binaries for Linux and Docker / release-linux (amd64, ubuntu-24.04) (push) Has been cancelled
2025-06-12 12:31:23 +01:00
Igor Katson
99bf295028
Do not try to delete padding files as they dont exist 2025-06-12 12:29:14 +01:00
Igor Katson
1409dffb8f
Fix invalid torrent names to use from_utf8_lossy #316 2025-06-12 12:28:51 +01:00
Igor Katson
acf67b2439
WebUI: padding files are not checked by default 2025-06-12 12:28:10 +01:00
Igor Katson
963f8167de
Fix a very rare bug where DHT paniced 2025-06-12 12:27:23 +01:00
Igor Katson
559fca8552
Merge pull request #376 from ikatson/prepare-8.1.0
Prepare for releasing 8.1.0
2025-06-05 11:58:20 +01:00
Igor Katson
9b5b9e6ba7
Update all subcrates versions 2025-06-05 11:52:50 +01:00
Igor Katson
68a85ab41b
Update npm packages 2025-06-05 11:46:35 +01:00
Igor Katson
4307efe112
Update min Rust to 1.85 2025-06-05 11:42:35 +01:00
Igor Katson
28332fd4b9
Prepare for releasing 8.1.0 2025-06-05 11:38:50 +01:00
Igor Katson
3fa55bdc14
Merge pull request #374 from av-gal/main
Include crate version in client fingerprint portion of `peer_id`
2025-06-02 09:00:55 +01:00
Alex Galvin
efad73dbe1 chore: bump librqbit-core to 5.0.0 2025-06-02 03:29:16 -04:00
Alex Galvin
610140cff6 feat: include crate version in peer_id 2025-06-02 03:29:16 -04:00
Igor Katson
093673064a
Merge pull request #358 from djmango/master
⬆️ (librqbit) Update dep requirement for url to compatible w/ current version
2025-05-28 23:01:56 +01:00
Igor Katson
e83da0b194
Merge pull request #370 from illfygli/fix-path-traversal
fix: improve path traversal check
2025-05-09 07:37:13 +09:00
owl
f020673032
fix: improve path traversal check
The previous implementation would falsely detect a path traversal in a
filename such as "foo... bar".
This patch changes the check function so that it inspects `PathBuf`
components instead of substrings.
2025-05-09 00:07:17 +02:00
Igor Katson
1307148a05
Merge pull request #367 from FrancescElies/cesc/watch-magnets
watch .magnet files too
2025-04-27 21:07:42 +09:00
Francesc Elies
cc771f8713 feat: watch magnet files too 2025-04-27 10:35:16 +02:00
Francesc Elies
1522e0ac25 chore: gitignore 2025-04-26 20:15:33 +02:00
Igor Katson
bde5a2e634
Merge pull request #364 from av-gal/private-no-pex
Do not exchange peers or torrent metadata in private swarms/
2025-04-22 13:32:12 +09:00
Alex Galvin
8e929b3710 Do not exchange peers or torrent metadata in private swarms 2025-04-20 01:01:23 -04:00
Igor Katson
b1ab65140d
Merge pull request #365 from luigi311/linux-tauri
CI: Tauri build linux
2025-04-20 13:35:20 +09:00
Luis Garcia
ff8363dafc CI: Tauri build linux
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-04-17 02:06:38 +00:00
Igor Katson
77c0cc98d1
Merge pull request #360 from KevinT3Hu/main
fix: make SessionStatsSnapshot fields pub
2025-04-13 17:32:27 +09:00
KevinT3Hu
f6c58add58
fix: make SessionStatsSnapshot fields pub 2025-04-13 14:09:57 +08:00
Sulaiman Khan Ghori
411eb73577 ⬆️ (librqbit) Update dep requirement for url to compatible w/ current version
Less strict than =, can use as dep in other projects :)
2025-04-12 12:06:56 -07:00
Igor Katson
e4595a76c4
Merge pull request #282 from luigi311/binstall
CI: Use binstall, Always run tests/linux
2025-03-08 10:39:15 +00:00
Luis Garcia
68e1c5649e CI: Linux: Dont fail if dockerhub_username is not set
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-03-07 17:53:12 -07:00
Luis Garcia
8ec6b11c8e CI: Spacing between commands
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-03-07 17:30:53 -07:00
Luis Garcia
60f84bdbb9 CI: Use binstall for tauri-cli
Signed-off-by: Luis Garcia <git@luigi311.com>
2025-03-07 17:29:18 -07:00
Igor Katson
f6c52d3da3
Merge pull request #339 from ikatson/increase-max-metadata-size
Increase min metadata size
2025-02-28 13:58:03 +00:00
Igor Katson
e371ec3c6f
Increase min metadata size 2025-02-28 12:08:22 +00:00
Igor Katson
24a9f83a48
Bump the timeout on "wait_until_i_am_the_last_task" 2025-02-28 11:58:47 +00:00
Igor Katson
3c28c2fdf7
Ulimit in macos tests 2025-02-28 11:49:11 +00:00
Igor Katson
a16247aadd
Merge pull request #338 from ikatson/udp-tracker-socket-reuse
[enhancement] UDP tracker socket reuse
2025-02-27 15:13:01 +00:00
Igor Katson
b1bd5ca02c
Parsing UDP tracker error responses 2025-02-27 15:05:50 +00:00
Igor Katson
75354069f0
Fix debug repr for URLs in tracker comms 2025-02-27 14:36:44 +00:00
Igor Katson
29508014b8
Trackers: reuse UDP socket 2025-02-27 14:25:24 +00:00
Igor Katson
94877aec6f
Merge pull request #337 from ikatson/tracker-list
[feature] List of trackers from file
2025-02-27 13:04:31 +00:00
Igor Katson
52be6d7cef
Trackers list from outside 2025-02-27 12:55:10 +00:00
Igor Katson
d709557372
Change tracker type to be url::Url in most places 2025-02-27 12:35:37 +00:00
Igor Katson
3eb1558451
Parsing tracker list 2025-02-27 12:26:23 +00:00
Igor Katson
8ea5dfae87
Clippy + small tweaks 2025-02-27 10:58:58 +00:00
Igor Katson
03c63986d1
Merge pull request #330 from xobust/main
Add support for P2P blocklists
2025-02-25 09:26:06 +00:00
Alexander WB
1a31340076 👌 Fix remaining pr comments 2025-02-25 04:25:24 +01:00