Pavel Borzenkov
34137ae324
fix(rpc-spec): fix typo in `editDate` arg description ( #1251 )
...
The argument is actually valid for `torrent-get` only.
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2020-05-24 11:13:17 -05:00
Charles Kerr
44fc571a67
feat: add editDate to RPC ( #1056 )
...
* feat: add tr_stat.infoDate to note tr_info changes
The last time during this session that any tr_info field changed
(e.g. trackers/filenames edited or magnet torrent got metadata).
RPC clients can monitor this to know when to reload fields which
don't usually change.
2019-11-12 17:13:42 -06:00
Charles Kerr
96f76999aa
feat: add "table" format in torrent-get RPC ( #1049 )
...
* feat: add optional "format" arg to torrent-get RPC
If the "format" request was "objects" (default), "torrents" will be an
array of objects, each of which contains the key/value pairs matching
the request's "fields" arg. This is unchanged from previous versions.
If the format was "table", then "torrents" will be an array of arrays.
The first row holds the keys and each remaining row holds a torrent's
values for those keys. This format is more efficient in terms of JSON
generation and JSON parsing.
2019-11-09 17:02:23 -06:00
Chuan Zhang
84f3ba606a
typo
2019-03-16 22:36:18 +08:00
qu1ck
7aa12a025d
Add labels feature ( #822 )
...
* applied changes from https://github.com/Elbandi/transmission/tree/elbandi/labels to official transmission repo
* Fix compilation errors
* Address review comments
Changed `tr_ptrArray* labels` to `tr_ptrArray labels`;
Removed tr_ptrArrayNew() tr_ptrArrayDup() tr_ptrArrayFree()
Use tr_strsep() to split string by delimiters
Update transmission-remote.1
Update rpc-spec.txt
* Fix warning, address comments
* Rebase, fix formatting and address comments
Use uncrustify to format changed files
Fix "const <type>" -> "<type> const"
Fix small comments
* Lock torrent for setLabels, check for duplicates
* Check for empty labels in daemon
* Stop on first error
2019-02-17 04:33:57 -05:00
Peter Dave Hello
7a0d2e63c7
Refactor shell scripts with syntax and styling fixes
2019-01-16 03:22:29 +08:00
Mike Gelfand
94be7dbd9b
Merge branch '2.9x'
2018-01-25 03:07:52 +03:00
Mike Gelfand
c0c2ba0b13
Make host validation not depend on CSRF being enabled (see #468 )
2018-01-17 23:38:12 +03:00
Mike Gelfand
4b359a52b2
Add DNS rebinding notes to RPC spec
...
Fixes : #472
2018-01-17 22:43:01 +03:00
Fish2
d92b1c6a8f
lossless compression of images
2017-11-04 00:26:40 +00:00
Mike Gelfand
a23cd29f07
Recode text files in UTF-8, remove trailing whitespace chars
2017-01-13 00:58:50 +03:00
Mike Gelfand
661e2b513d
Return session ID as part of "session-get" response
2016-09-27 21:18:36 +03:00
Mike Gelfand
ff73e65069
Handle "fields" argument in "session-get" RPC request
...
If "fields" array is present in arguments, only return session fields
specified. Otherwise return all the fields as before.
2016-09-27 21:18:32 +03:00
Mike Gelfand
2248d3670f
Get rid of $Id$ SVN keywords in source files
2016-09-02 23:10:15 +03:00
Mike Gelfand
fb3500242f
Fix "magnetLink" field type in RPC spec (reported by r04r)
2015-01-25 19:57:36 +00:00
Jordan Lee
a95b6c1e6c
(trunk) #5382 : better compression of our bundled png files. recompressed by Mangix
2013-06-26 02:06:43 +00:00
Jordan Lee
027e3f3066
(trunk, libT) #4682 'Add return id from duplicate torrent torrent-add rpc' -- added.
2013-05-22 20:35:38 +00:00
Jordan Lee
a2ce709d8c
(web) #5290 'Use HTML5's FileReader to upload .torrent files': done
2013-02-18 00:12:51 +00:00
Jordan Lee
5040778a92
(libT) restore the RPC download-dir-free-space argument to avoid unscheduled breakage. Document the timetable for its removal in rpc-spec.txt.
2013-02-10 19:36:13 +00:00
Jordan Lee
cd09204a6e
(trunk) first draft of changing the FreeSpace API to behave as https://trac.transmissionbt.com/ticket/4076#comment:25 -- libT, rpc, qt, and gtk implementations.
2013-02-09 04:05:03 +00:00
Jordan Lee
afdd0866bf
mention the updated 'files' and 'name' property after torrent-rename-path
2013-01-22 19:49:57 +00:00
Jordan Lee
f1152c5fad
#5238 'tr_inactvelimit in rpc-spec' -- fix obsolete documentation.
2013-01-21 00:20:50 +00:00
Jordan Lee
dd955b121e
(trunk) #1220 'change top folder names' -- add file-renaming to the Qt client
2013-01-20 01:31:58 +00:00
Jordan Lee
016f38f066
(trunk) #1220 'change top folder names' -- added support for this in libtransmission's C and RPC APIs.
2013-01-19 08:43:26 +00:00
Jordan Lee
03da3e0a60
(libT) #5220 'add etaIdle to torrent-get in RPC' -- done.
2013-01-13 20:39:56 +00:00
Jordan Lee
695c048268
point to 'transmission-remote --debug' as a reference for the RPC syntax of various requests
2012-05-30 16:21:43 +00:00
Jordan Lee
0c4fe00658
(trunk libT) #4511 "fromLpd in rpc" -- add to torrent-get's "peersFrom" response.
2011-09-26 20:49:26 +00:00
Jordan Lee
3c16f7706d
document session's new 'queue-stalled-enabled' property
2011-08-08 01:39:29 +00:00
Jordan Lee
2e9d419bd4
#671 "torrent queuing" -- add a tr_stat.isStalled flag.
2011-08-01 23:27:11 +00:00
Jordan Lee
61174b007e
(trunk) #671 "torrent queuing" -- Preliminary implementation. Covers libtransmission; GTK+ and Qt clients, and rudimentary web client support.
2011-08-01 22:24:24 +00:00
Jordan Lee
6d5defe253
tweak the "idle-seeding-limit" documentation in extras/rpc-spec.txt
2011-06-29 01:08:48 +00:00
Jordan Lee
e7c76b06ee
#4206 "RPC Documentation missing defualt value for 'torrent-set-location' argument 'move'" -- fixed.
2011-04-25 21:11:08 +00:00
Jordan Lee
fee784f1d8
(trunk) #4081 "Add 'cookieString' argument 'torrent-add' method in RPC" -- done.
2011-03-15 04:22:47 +00:00
Mitchell Livingston
86169d92a2
(trunk) tweak NEWS; typo fix
2011-03-04 23:38:25 +00:00
Jordan Lee
b10aea6fcc
(trunk) #4072 "remove the 'know peer count' field in Inspector" -- remove it from libtransmission too
2011-03-04 04:50:50 +00:00
Jordan Lee
80d06d4c34
(trunk libT) add a bool to tr_peer_stat and the RPC peer list to denote whether or not a peer's connected via µTP
2011-02-18 04:07:43 +00:00
Jordan Lee
c4b1d1e6c5
(trunk libT) add C and RPC API for getting/setting uTP enabled flag
2011-02-18 00:33:11 +00:00
Jordan Lee
e3e48781d4
tweak section numbers
2011-01-25 16:39:38 +00:00
Jordan Lee
09d28baeb4
#3915 "RPC Documentation should reflect in the X-Transmission-Session-Id headers" -- fixed.
...
Add documentation for handling 409 error messages from the Transmission RPC server.
2011-01-21 02:40:33 +00:00
Jordan Lee
ab02ba0d2c
Remove the documentation for PUT notation from the rpc spec
...
The PUT hack was useful back when Transmission's RPC was first written, but it doesn't scale well to any of the commands that make its RPC useful. We should deprecate its use and not advertise this feature anymore.
2011-01-21 02:29:26 +00:00
Jordan Lee
a433b0c4cc
#3686 "add rpc command to cleanly shutdown daemon" -- added for libT, tr-daemon, tr-gtk, tr-remote, and the rpc spec
2011-01-15 18:12:45 +00:00
Jordan Lee
69a3b8bbab
(trunk, daemon) #3833 "'freespace' argument for 'session-get' RPC method" -- committing patch from taem, reardon, and rb07
2011-01-05 04:41:19 +00:00
Charles Kerr
b6dde3dff6
(trunk) #1408 (Total downloading and seeding time per torrent) -- add to rpc spec and to transmission-remote --info
2010-12-27 02:01:25 +00:00
Mitchell Livingston
809e1fe6e0
#3740 The session argument cache-size-mb is documented as cache-size
2010-11-14 18:14:59 +00:00
Charles Kerr
92620b72b0
(trunk) #3697 "make blocklist URL configurable" -- implemented in GTK+, Qt, and RPC
2010-10-31 17:16:12 +00:00
Charles Kerr
4d7046fd67
(trunk) #3547 "Wrong speed display in web UI" -- fixed
2010-09-18 23:06:03 +00:00
Daniel Lee
ac53f4792f
switch trackerRemove and trackerReplace rpc calls to use tracker id instead of announce urls as identifiers
2010-09-14 06:23:48 +00:00
Charles Kerr
c86b87a511
(trunk) revert the RPC behavior of rateUpload, rateDownload, rateToClient, and rateToPeer as discussed with Longinus00
2010-09-03 04:30:43 +00:00
Charles Kerr
92e06acf74
(trunk) RPC: add "scrape" to the trackerStats array, making it a proper superset of the "trackers" array. Also, very minor tweaks to the RPC spec
2010-09-01 20:54:04 +00:00
Charles Kerr
fe3d065b21
(trunk) sync to libT changes: rename the 'inactive-seeding-limit' keys as 'idle-seeding-limit'
2010-08-22 18:43:19 +00:00