Commit Graph

64 Commits

Author SHA1 Message Date
Artem Vorotnikov
cc452dd8c2 Represent torrent status as enum 2022-10-16 11:42:20 +02:00
Artem Vorotnikov
405bc6dba6 Use serde's rename_all everywhere 2022-10-15 08:44:17 +02:00
Artem Vorotnikov
cf720e36cd Add torrentFile field 2022-10-14 11:06:03 +02:00
Artem Vorotnikov
fa98488a78 Expand torrent-set 2022-10-10 09:17:42 +02:00
Artem Vorotnikov
94efa0c4c4 Clippy fix 2022-10-09 21:39:25 +02:00
Artem Vorotnikov
6a797e71d7 doc fix 2022-10-09 21:23:58 +02:00
Artem Vorotnikov
e384dd0288 Use reqwest::Url for TransClient argument 2022-10-09 21:23:58 +02:00
Aleksandr Bochev
f39a6eb1d4 updated enum iterator 2022-10-02 17:37:56 +02:00
Aleksandr Bochev
1b017f6381 fixed imports 2022-10-02 11:46:26 +02:00
Aleksandr Bochev
cf97ab0eea rebase 2022-10-02 11:29:26 +02:00
Leopith
fc0f3bd023 Support setting labels on torrent add 2022-10-02 11:29:26 +02:00
Leopith
88abc70010 Implement basic torrent-set rpc to set labels and file priorities 2022-10-02 11:29:26 +02:00
Leopith
d246908d55 Support torrent seconds seeding 2022-10-02 11:29:26 +02:00
Leopith
a685434b83 Support torrent labels 2022-10-02 11:29:26 +02:00
Leopith
a20648d1a5 Support torrent is private 2022-10-02 11:29:26 +02:00
Leopith
ced5d5ed37 Support torrent edit date 2022-10-02 11:29:26 +02:00
Leopith
4a8a351e5b Support torrent activity date 2022-10-02 11:29:26 +02:00
Leopith
6d12272018 Cargo upgrade, IntoEnumIterator -> Sequence 2022-10-02 11:29:26 +02:00
Leopith
3b2adef3bf Make TorrentGetField variants TitleCase 2022-10-02 11:29:26 +02:00
Leopith
4054fac63b cargo fmt 2022-10-02 11:29:26 +02:00
Aleksandr Bochev
c9ca587420 updated test url
kick off the docker after static checks
2022-10-02 10:33:10 +02:00
Aleksandr Bochev
18f35a09b3 formatting 2022-10-02 10:33:10 +02:00
Aleksandr Bochev
c3a586a73d fixed merge 2022-10-02 10:33:10 +02:00
Artem Vorotnikov
fe596672ea Edition 2021, rustfmt, clippy, better CI 2022-10-02 10:33:10 +02:00
Aleksei Fedotov
e71bc1c665 Handle adding duplicated torrent.
Starting from Transmission 2.80 (rpc-version-semver 5.1.0, rpc-version:
15) 'torrent-add' could return 'torrent-duplicated' from torrent-add if
the torrent already exists. Replace 'TorrentAdded' with
'TorrentAddedOrDuplicate'.
2022-10-02 09:31:11 +02:00
Quang Ngô
2eafef4fe1 Handle CSRF protection according to 2.3.1. CSRF Protection spec. 2022-08-28 19:26:44 +02:00
Andreas Fuchs
75574cbdb1 Add support for doneDate Torrent field 2021-12-20 23:08:22 +03:00
Quang Ngô
4ac95a6ffa Make FreeSpace's fields public. 2021-12-08 16:00:14 +01:00
Quang Ngô
1e603ff839 Add session-close. 2021-12-08 15:59:38 +01:00
Quang Ngô
d114bda4ca TorrentRenamePath: Make fields Optional. We should check parent struct's result instead!
Fix crashing tests.
2021-11-16 09:22:12 +01:00
Quang Ngô
78c9980844 Remove deprecated rustc-serialize 2021-11-16 09:18:45 +01:00
k0ur0x
2e9dbdf2cc Fix typo 2021-11-15 11:26:06 +01:00
Quang Ngô
709214c7d8 blocklist-update: fix example comment. 2021-11-10 17:52:15 +01:00
Quang Ngô
c3f2197694 Add free-space. 2021-11-09 11:24:58 +01:00
Quang Ngô
13c0d50ef8 Add port-test. 2021-11-08 15:55:34 +01:00
Quang Ngô
301a0c43c1 Add blocklist-update. 2021-11-08 15:35:49 +01:00
Quang Ngô
bf0cb365d9 Check for HTTP response errors. 2021-11-08 15:33:36 +01:00
Quang Ngô
4a3c0e4118 Add session-stats. 2021-11-08 10:25:06 +01:00
Christopher Hasse
981e09f173 Added support for torrent-rename-path
Including examples and updated readme to reflect support.
2021-11-03 11:56:46 +01:00
Raphaël BILAND
21f0b62bac handle files wanted/unwanted/priorities for torrent-add & torrent-get 2021-08-03 12:44:18 +08:00
Raphaël BILAND
cf1bdb95d2 add files field for torrent-get 2021-08-03 11:29:50 +08:00
Nick Zana
23330680d6 Make test_malformed_url work with no BasicAuth 2021-03-13 21:55:05 -05:00
red
3733645ead added CI 2021-02-07 18:28:29 +01:00
Christiaan Biesterbosch
2ca1444f18
Format the code with rustfmt 2020-12-27 17:51:17 +01:00
Christiaan Biesterbosch
6587f19aa7
Add support for the torrent-set-location call 2020-12-27 17:32:02 +01:00
red
989f1cf8d0 expected header not to be present 2020-11-01 14:06:22 +01:00
red
8d98d1f4bc made get sessionId silent 2020-11-01 13:56:31 +01:00
red
4e932deb49 no panic on failed torrent_add 2020-08-27 21:28:50 +02:00
red
06e1c1a87d added Clone to response 2020-07-13 11:40:23 +02:00
red
4547ce5262 updated example docs 2020-04-25 18:38:53 +02:00