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>
- macOS-style window controls via gtk-decoration-layout
- torrent file preview and context menu improvements
- single-instance relay for new torrents/magnet links
* Now can update the list of files without pausing/unpausing
* Shrink a few functions
* Reopen write when updating files
* Todos
* opened_file abstraction
* iter_pieces_within iterator
* Simplify iter_pieces_within
* Simplify iter_pieces_within
* Add "iter_file_details"
* temporarily broken: readonly by default
* Live torrent - reopen files
* Reopen files after changing the list
* Now reopening files read only when they are completed
* Fix a bug in opened_file.rs
* update todos
* update help
* Reconnect all peers that are idling
* Add a couple fields to OpenedFile
* Add a couple fields to OpenedFile
* Small cleanups - use the new iterator where possible
* size_of_piece_in_file function
* Updating have
* Include file progress
* Almost nothing
* ugly progress bars
* bad UI, saving
* its not so bad
* Works now
* update progress bar a bit
* Reopen read-only on pause
* Zero bytes isnt too bad! Doesnt break anything
* fix per file progress bars
* progress bar not as ugly anymore?
* ui tweaks
* fix a react bug
* TODO.md update
* Fix js + TODOs
* Compute per-file progress on init
* Fix stats updating live
* Nothing
* Nothing
* cleanup ui a bit
* Nothing
* Final fixes
* Trying to fix rust 1.73
* Sorting filenames
* remove unnecessary indentation
* Remove unnecessary comment
* add tailwindcss
* add header component with logo and add torrent buttons
* remove bootstrap from few files replace it with tailwindcss classes, add card which diplay all nessesarry information about torrent and current state
* Add modal component and reorganize components folder
* add useModal hook to render modal though react portal, remove UrlPromptModal and replace it with useModal.
* add taliwindcss to Desctop app
* removed bootstrap from deleteTorrentModal replace it with useModal
* replacing bootstrap with useModal
* saving
* Saving
* Header and cards now look good
* Modals still broken...
* still doesnt work
* Finally it scrolls
* Continuing to fix bugs
* Continuing to fix bugs
* Aler
* Getting better
* Desktop doesnt work with tailwind somehow
* Desktop now works with tailwind
* Styles fully work
* (De)select all buttons
* fix alert styles
* Animate progress bar
* Progress bar + error colors
* Fix error message
* Torrent status icon (#56)
* add statusIcon component to display icon of the torrent status
* change props name and remove isDownloading variable
* Tweak styles for icon
* Tweak styles
* Update styles
---------
Co-authored-by: Artur Lozovski <arccik@gmail.com>