Commit graph

44 commits

Author SHA1 Message Date
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
69a638fb81
Poor mans desktop (UI) widgets for ratelimits 2024-11-20 16:12:42 +00:00
Igor Katson
990c5f866b
Disable upload: do not expose in default builds, move under a feature flag. 2024-10-03 09:07:19 +01: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
Igor Katson
8379672f01
Add disable upload checkbox to UI 2024-08-29 10:23:07 +01:00
Igor Katson
fef068d809
Fix desktop to support this 2024-08-28 13:56:12 +01:00
Igor Katson
9f340d92e5
UPnP server configurable from UI 2024-08-24 00:36:25 +01:00
Igor Katson
eb2b9e5a41
Add fastresume to desktop app 2024-08-21 22:58:02 +01:00
Igor Katson
93c53b4285
Add session stats to desktop app 2024-08-21 13:22:22 +01:00
Igor Katson
275b3b0185
Update desktop app to support new persistence config 2024-08-15 11:39:12 +01:00
Igor Katson
65e4f1b0a6
Copy playlist to clipboard, native UI (not alert) 2024-08-08 09:56:16 +01:00
Igor Katson
94589a21fe UI link to video files 2024-05-01 00:43:51 +04:00
Igor Katson
e18a711abf
v5.6.0-beta.1 (#116)
* Fix displaying versions in web/desktop
* Update deps
* Tag 5.6.0-beta.1
2024-04-06 09:37:31 +01:00
Igor Katson
5eb01ac226
Ability to change the list of files at any time, including through UI (#115)
* 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
2024-04-06 09:20:03 +01:00
Igor Katson
c6d3a972c4 desktop support to modify selected files 2024-03-30 20:46:29 +00:00
Igor Katson
a60738ff89
Fix color name for progress 2023-12-17 12:53:05 +00:00
Igor Katson
55f3b23eed
Cors: more finegrained allowlist, make it simpler 2023-12-17 10:25:56 +00:00
Igor Katson
33c8b11c6e
2/n Fixing dark mode bugs 2023-12-16 11:09:51 +00:00
Igor Katson
74ae3cfca2
Magnet input: keydown 2023-12-14 12:42:22 +00:00
Igor Katson
50fc7f2f01
Rewrite all styles to tailwind CSS from Bootstrap by @arccik (#58)
* 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>
2023-12-14 10:37:29 +00:00
Igor Katson
29c2db1ab4
Remove symlinks in nodejs setup 2023-12-11 19:58:53 +00:00
Igor Katson
1331145333
Fix Web UI logs in compiled server 2023-12-09 13:50:56 +00:00
Igor Katson
2017c5ec94
Add an HTTP API endpoint + UI widgets to stream logs (#49)
* Added JSON logs to Desktop

* Move logging config into librqbit for reuse

* Log printer now available in both Desktop and Web UI

* Fix JS type error
2023-12-09 00:26:14 +00:00
Igor Katson
9385524a1a
Desktop: button to show a modal with logs (#48)
* Add an endpoint to stream logs /stream_logs
* Display logs in desktop app
* UI component to stream logs
2023-12-08 19:47:48 +00:00
Igor Katson
808bef11db
Desktop: fix bugs when changing numbers in configuration 2023-12-08 12:14:39 +00:00
Igor Katson
0751dbc5fc
Fix a bug that made it impossible to add torrents in desktop 2023-12-08 09:41:54 +00:00
Igor Katson
d768211457
Use react-bs icons, remove bootstrap-icons css 2023-12-07 22:42:19 +00:00
Igor Katson
ec63e1cef7
setup vscode for consistent JS formatting 2023-12-07 14:11:12 +00:00
Igor Katson
a01a07464c
Webui build 2023-12-07 11:56:02 +00:00
Igor Katson
53868ad45e
Desktop state persistence 2023-12-07 00:13:11 +00:00
Igor Katson
9cbe16b387
settings dialog works now and reloads the session properly 2023-12-06 23:18:06 +00:00
Igor Katson
e4543e1ba2
Add settings button to desktop 2023-12-06 22:38:55 +00:00
Igor Katson
ea4193aa2e
Add help to desktop configuration options 2023-12-06 22:09:31 +00:00
Igor Katson
66561e64a1
Styling configure - extract components 2023-12-06 21:57:11 +00:00
Igor Katson
9ab6fb03ce
Styling configure - a more consistent style 2023-12-06 21:35:00 +00:00
Igor Katson
11953883c9
Styling configure 2023-12-06 21:09:05 +00:00
Igor Katson
0459fe7358
Configuration moved to Tabs 2023-12-06 15:39:20 +00:00
Igor Katson
ee996012af
rqbit desktop configuration before startup works 2023-12-06 15:29:11 +00:00
Igor Katson
2d43f41664
Desktop: run HTTP API, show version 2023-12-06 12:14:26 +00:00
Igor Katson
22d7f655a7
Update version strings in web UI 2023-12-06 01:31:23 +00:00
Igor Katson
006d83d6a7
Update docs, cleanup for 4.0.0 release 2023-12-03 12:14:50 +00:00
Igor Katson
9b96eca041
Update tags 2023-12-02 22:42:24 +00:00
Igor Katson
30da40555a
Add a desktop app with tauri 2023-12-02 22:24:36 +00:00