Commit Graph

81 Commits

Author SHA1 Message Date
TANIGUCHI Takaki
65ba721276 implement session-set method 2023-11-05 13:15:48 +01:00
TANIGUCHI Takaki
3e927eb03b update ubuntu torrent link 2023-11-05 12:39:37 +01:00
Leopith
4fe84956da Enumify the torrent error type 2023-01-19 21:43:00 +01:00
George Miao
3f59edec6e chore: binary op 2022-11-06 00:10:19 +01:00
George Miao
ed924a5a51 feat: helper 2022-11-06 00:10:19 +01:00
George Miao
f61a41be8a fix: wrong logging level 2022-11-02 13:24:20 +01:00
George Miao
67959046e8 style: add rustfmt.toml 2022-10-31 16:25:19 +01:00
George Miao
da48966953 style: fmt 2022-10-31 16:25:19 +01:00
George Miao
50fbfe9f35 fix: prevent double init 2022-10-31 16:25:19 +01:00
George Miao
837dbf5421 doc 2022-10-31 16:25:19 +01:00
George Miao
69760035f3 feat: make sync optional 2022-10-31 16:25:19 +01:00
George Miao
6791807f3f chore: fix log level 2022-10-31 16:25:19 +01:00
George Miao
598171837c feat: new_with_client 2022-10-31 16:25:19 +01:00
George Miao
0528429754 feat: remove mut 2022-10-31 16:25:19 +01:00
George Miao
bb413f8331 chore: move unnecessary dependency to dev-dep 2022-10-31 16:25:19 +01:00
George Miao
1081f5b1d9 feat: SharableTransClient 2022-10-31 16:25:19 +01:00
Artem Vorotnikov
7d9b03e3f5 don't need serialize 2022-10-16 11:42:20 +02:00
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