Commit Graph

92 Commits

Author SHA1 Message Date
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
dependabot[bot]
88e5c91452 Update enum-iterator requirement from 0.7.0 to 0.8.1
Updates the requirements on [enum-iterator](https://github.com/stephaneyfx/enum-iterator) to permit the latest version.
- [Release notes](https://github.com/stephaneyfx/enum-iterator/releases)
- [Commits](https://github.com/stephaneyfx/enum-iterator/compare/0.7.0...0.8.1)

---
updated-dependencies:
- dependency-name: enum-iterator
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-14 22:03:23 +02:00
Marek S. Łukasiewicz
4b466ae8ce Fix link to RPC spec 2022-04-22 17:46:35 +02:00
Aleksandr
d98dc008c5
Update Cargo.toml
bump version
2021-12-20 21:22:40 +01: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ô
d2e95c5528 Integrational 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
Aleksandr
c28cfc6630
Update FUNDING.yml 2021-11-08 15:59:09 +01:00
Aleksandr
c0a097e897
Update FUNDING.yml 2021-11-08 15:58:46 +01:00
Aleksandr
71121c45a6
Create FUNDING.yml 2021-11-08 15:57:14 +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
Aleksandr
018d94f51e
Update release.yml 2021-11-08 10:45:17 +01:00
Aleksandr
a410d3f773
Update Cargo.toml 2021-11-08 10:36:13 +01:00
Quang Ngô
4a3c0e4118 Add session-stats. 2021-11-08 10:25:06 +01:00
Aleksandr
42f58b6707
Update ci.yml 2021-11-08 10:22:42 +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
dependabot[bot]
988187abd5 Update enum-iterator requirement from 0.6.0 to 0.7.0
Updates the requirements on [enum-iterator](https://github.com/stephaneyfx/enum-iterator) to permit the latest version.
- [Release notes](https://github.com/stephaneyfx/enum-iterator/releases)
- [Commits](https://github.com/stephaneyfx/enum-iterator/compare/0.6.0...0.7.0)

---
updated-dependencies:
- dependency-name: enum-iterator
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 09:12:43 +02:00
Aleksandr
a56abb2e93
Merge pull request #20 from j0rsa/dependabot/cargo/env_logger-0.9.0 2021-08-04 09:12:10 +02:00
Aleksandr
3967562a87
Merge pull request #22 from Yneluki/main 2021-08-04 09:11:41 +02: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
dependabot[bot]
3b213e3782
Update env_logger requirement from 0.8.3 to 0.9.0
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.3...v0.9.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 17:06:55 +00:00
Aleksandr
810ef71537
Merge pull request #18 from nickzana/ubuntu-torrent-add
Replace outdated Ubuntu 20.04 with 20.04.2.0.
2021-03-14 17:39:52 +01:00
Nick Zana
b2d43ef941 Replace outdated Ubuntu 20.04 with 20.04.2.0. 2021-03-14 12:36:56 -04:00
Aleksandr
7a50ac33ab
Merge pull request #16 from nickzana/fix-tests-no-auth
Fix Examples to support configuration with no authentication
2021-03-14 17:20:03 +01:00
Nick Zana
bf13ba4981 Merge branch 'main' into fix-tests-no-auth 2021-03-14 12:09:04 -04:00
Nick Zana
3df01c4389 Add support for no auth to examples
Changes client setup in every example so that it checks whether both the
TUSER and TPASS environment variables are set and, if not, assumes no
basic auth.
2021-03-14 11:58:11 -04:00
Aleksandr
5b174a69f4
Merge pull request #14 from j0rsa/env_examples
[0.3.4] Dependencies bump
2021-03-14 11:35:10 +01:00
red
9b2cf6dda9 bumped dependencies versions 2021-03-14 11:27:34 +01:00
red
273ee4ab0c added env example 2021-03-14 11:03:06 +01:00
Aleksandr
e089cda4bc
Merge pull request #12 from nickzana/move-tokio-to-dev-dep
Move tokio to dev and add rt-multi-threaded
2021-03-14 10:54:49 +01:00
Nick Zana
23330680d6 Make test_malformed_url work with no BasicAuth 2021-03-13 21:55:05 -05:00
Nick Zana
c75029f59e Move tokio to dev and add rt-multi-threaded
Tokio is not needed in the main library and is only used for tests, and
thus can be safely moved to a dev-dependency.

The rt-multi-threaded feature of tokio is needed for some examples.
2021-03-13 18:40:54 -05:00
red
773c9d81f7 limit release event types to created 2021-02-07 18:45:09 +01:00
red
79d8fd1805 updated release pipeline name 2021-02-07 18:42:32 +01:00
red
721eaa7d01 update ci
added automatic release pipeline
2021-02-07 18:39:41 +01:00
red
eac1c9c6e9 bump version to release lib updates 2021-02-07 18:30:12 +01:00
red
3733645ead added CI 2021-02-07 18:28:29 +01:00
Aleksandr
282f7995c1
Merge pull request #9 from j0rsa/dependabot/cargo/tokio-1.2
Update tokio requirement from 0.2 to 1.2
2021-02-07 18:23:33 +01:00
Aleksandr
c153559348
Merge branch 'master' into dependabot/cargo/tokio-1.2 2021-02-07 18:23:19 +01:00
Aleksandr
4f4c0e8d5d
Merge pull request #8 from j0rsa/dependabot/cargo/env_logger-0.8.2
Update env_logger requirement from 0.7.1 to 0.8.2
2021-02-07 18:22:27 +01:00