Jordan Lee
442d9fbea9
(trunk web) use "===" instead of "==" when appropriate.
2011-09-05 07:46:55 +00:00
Jordan Lee
165efa4f00
(trunk web) remove unused image 'transfer_arrows.png'
2011-09-04 06:17:37 +00:00
Jordan Lee
2944752972
tweak r12834. I shouldn't commit when I'm tired.
2011-09-03 07:29:53 +00:00
Jordan Lee
b18c1b2087
avoid closures in Transmission.refilter, to prevent cyclic references
2011-09-03 07:10:03 +00:00
Jordan Lee
9951f8af9f
plug a handful of context leaks.
2011-09-03 05:12:14 +00:00
Jordan Lee
f836308b42
(trunk web) better encapsulation of FileRow -- make most of its fields and methods private. transmission.js and remote.js don't know about FileRow anymore.
2011-09-03 04:33:04 +00:00
Jordan Lee
3b4fccadf1
(trunk web) refactor the inspector into its own class; make most of the methods private.
2011-09-02 19:29:41 +00:00
Jordan Lee
29c225623f
don't use Object.keys(), since it's not supported in IE8.
2011-09-01 17:24:49 +00:00
Jordan Lee
d6c5817ffe
(trunk web) #4462 "Selecting rows on iPhone doesn't work" -- possible fix.
2011-08-31 16:23:38 +00:00
Jordan Lee
0e74c86e61
(trunk web) minor code cleanup -- fixing comments, grouping argument lists, etc.
2011-08-31 14:24:35 +00:00
Jordan Lee
8a678b304a
(trunk web) add minor SFX when showing/hiding the stats and prefs dialogs
2011-08-31 05:59:24 +00:00
Jordan Lee
50336ff3f1
(trunk web) #4452 "stop/start toggle button doesn't work properly on Chrome 13" -- fixed. Gunzip deserves danger pay for all this web client testing.
2011-08-31 04:39:24 +00:00
Jordan Lee
1d9ba2a21b
(trunk web) #4446 "some trackerless torrents with magnet link don't update the name" -- fixed.
2011-08-31 03:31:10 +00:00
Jordan Lee
1e24f764c1
(trunk web) #4452 "Pause / Resume buttons to the right of all torrents are nonfunctional" -- fixed.
2011-08-31 01:12:04 +00:00
Jordan Lee
0980112555
try to avoid unnecessary reflows in two more ways: (1) use jQuery.css() to set a batch of style properties at once, instead of doing it one at a time (2) when appending rows to the torrent list, use a document fragment to batch them into a single append.
2011-08-31 00:09:21 +00:00
Jordan Lee
49458dcb2f
use jQuery.proxy where useful.
2011-08-30 21:55:44 +00:00
Jordan Lee
4984bf0274
(trunk web) decouple the inspector's dataChanged listener from the torrent list's dataChanged listener.
2011-08-30 21:40:18 +00:00
Jordan Lee
e0ef0effc1
setSelectedRow(), selectRow(), deselectRow(), selectAll(), deselectAll() -- use jQuery selectors
2011-08-30 21:31:10 +00:00
Jordan Lee
0c221893d3
(trunk web) in tr.refilter(), instead of calling the expensive tr.getSelectedRows(), use a cheaper jQuery equivalent.
2011-08-30 21:27:30 +00:00
Jordan Lee
af1d2b76c0
now that refiltering is faster, shrink the delay between torrent updates and refiltering
2011-08-30 05:49:23 +00:00
Jordan Lee
8d90bcee39
(trunk web) Remove the "inspector is open" cookie. It doesn't make sense for the inspector to be open when we first open the app, since there will be no torrent selection anyway.
2011-08-30 04:54:37 +00:00
Jordan Lee
f6bcaad44b
(trunk web) #4452 "'Remove from List' doesn't update unless you manually refresh the page" -- fixed.
2011-08-30 04:27:09 +00:00
Jordan Lee
03b5f7e4da
fix accidental tab indentation damage in r12797
2011-08-30 02:57:00 +00:00
Jordan Lee
b23131a5b4
(trunk web) #4452 "file list not refreshing" -- instead of only requesting file info for the inspector when the inspector is opened (and also when torrent selection changes while the inspector is open), keep re-requesting the file info util we've got it. That way if the first request fails, we'll pick it up on subsequent updates.
2011-08-30 02:49:01 +00:00
Jordan Lee
27c6f96271
(trunk web) #4460 "Weird behavior when using up/down keys" -- fixed.
2011-08-30 02:03:17 +00:00
Jordan Lee
895f8ca465
(trunk web) #4459 "Remove 'Compact View' from the action menu" -- done.
2011-08-30 01:54:34 +00:00
Jordan Lee
05155db22c
(trunk web) make the corners of the footer buttons handle transparency.
2011-08-30 00:16:34 +00:00
Jordan Lee
c1013ff1a4
in transmission.updateFileList(), move the var declarations to the front of the function.
2011-08-29 21:12:05 +00:00
Jordan Lee
4803b12a09
#4452 'Error: file.name is undefined' at file-row.js line 113 -- fixed.
2011-08-29 21:07:50 +00:00
Jordan Lee
2ef53ca5dd
#4455 'Action on N>1 torrents doesn't work properly in web interface' -- when right-clicking in the torrent list, don't change the selection if the row we're hovering over is already selected.
2011-08-29 20:29:45 +00:00
Mitchell Livingston
50c03d585d
(trunk web) selecting the up arrow when no transfers are selected selects the bottom transfer; eliminate an error when pushing the up/down arrow keys with a blank torrent list
2011-08-28 19:30:17 +00:00
Jordan Lee
2faba73c5b
(trunk web) rename "iphone" variables and css files as "mobile", since they also work on iPods and Android phones.
2011-08-28 17:24:56 +00:00
Jordan Lee
6d4a7a2f10
(trunk web) fix event propagation in keypress events
2011-08-28 16:33:22 +00:00
Jordan Lee
f8195180ba
(trunk web) fix regression that broke toolbar refresh
2011-08-28 15:16:54 +00:00
Jordan Lee
e6b8b0339e
(trunk web) code futzing: (1) fix mixed tab & space use (2) try to declare local variables at the front of the function, since there is no block scope in javascript.
2011-08-28 13:57:25 +00:00
Jordan Lee
ab7fe4470e
remove dead code
2011-08-28 06:20:32 +00:00
Jordan Lee
228e1064e1
(trunk web) add context arguments for the RPC methods' callbacks.
2011-08-28 06:05:46 +00:00
Jordan Lee
02c0f7355b
(trunk web) some cleanup for r12770 -- better handling of the rebuildEverything flag in Transmission.refiler().
2011-08-28 04:14:58 +00:00
Mitchell Livingston
f2f0dc1861
(trunk web) fix selecting files
2011-08-27 21:42:34 +00:00
Jordan Lee
4c1f32836f
(trunk web) in Transmission.refilter(), only refilter/resort the torrents that have changed since the last update. This makes the web client scale reasonably well even up to 1000s of torrents.
2011-08-27 21:35:19 +00:00
Jordan Lee
9cb9fd56d9
(trunk web) slightly faster Transmission.refilter(). Modify Transmission.refreshFilterPopup(), Torrent.getCollatedName(), and Torrent.getCollatedTrackers() for clarity.
2011-08-27 00:22:56 +00:00
Jordan Lee
4517155353
(trunk web) better bootstrapping when first loading all the torrents.
2011-08-26 23:34:43 +00:00
Jordan Lee
5715bae7fd
(trunk web) Reduce the torrent-get RPC wrapper down to a single function. Annotate the torrent bootstrap process in Transmission.js.
2011-08-26 22:49:57 +00:00
Jordan Lee
05ce6674b6
(trunk web) in the statusbar, don't show idle speeds
2011-08-26 20:02:40 +00:00
Jordan Lee
6cff13feba
fix r12756 oops
2011-08-26 19:59:26 +00:00
Jordan Lee
57962e7a60
(trunk web) simplify the periodic RPC request for info on recently-changed torrents
2011-08-26 19:42:07 +00:00
Jordan Lee
c113975ec9
(trunk web) a batch of code cleanups that were too minor for individual commits
2011-08-26 18:36:09 +00:00
Jordan Lee
40b2cb4513
(trunk web) minor network traffic improvement: Transmission.js was periodically requesting redundant "Torrent.Fields.Stats" fields for selected torrents.
2011-08-26 17:34:09 +00:00
Jordan Lee
e081ecbd12
(trunk web) minor code sorting in Transmission.js: group the inspector functions together
2011-08-26 01:46:07 +00:00
Jordan Lee
6c02ff1012
(trunk web) when compact mode is toggled, force the torrent list to rebuild even if no torrents have changed
2011-08-26 01:27:16 +00:00
Jordan Lee
e1641792e9
(trunk web) in Transmission.refilter(), don't rebuild the row array if the filtered + sorted list of torrents hasn't changed. This is a big CPU win on large torrent lists.
2011-08-26 00:43:35 +00:00
Jordan Lee
3f7540675e
(trunk web) significant shrinkage of our memory + network footprint by only loading torrent's fields when they're needed.
2011-08-25 23:06:41 +00:00
Jordan Lee
ac86d3d740
(trunk web) fix accidental global variable introduced in r12742
2011-08-25 11:25:13 +00:00
Jordan Lee
398ee0cc18
(trunk web) #4271 "selecting multiple files with shift-arrow doesn't work" -- fixed.
2011-08-25 10:23:19 +00:00
Jordan Lee
dd762bc7ea
(trunk web) remove cruft from Transmission.onRowClicked()
2011-08-25 09:21:05 +00:00
Jordan Lee
00dfd6ce67
(trunk web) simplify the prefs tab selection code
2011-08-25 08:03:19 +00:00
Jordan Lee
465d57eb71
(trunk web) remove a handful of unnecessary wrapper functions.
2011-08-25 07:15:38 +00:00
Jordan Lee
2cff49a247
(trunk web) #4444 "'Show Transfers' missing Seeding category" -- fixed.
2011-08-25 06:26:07 +00:00
Mitchell Livingston
cee1bfd139
(trunk web) allow select all/deselect all in the files table when there's only a single file changed
2011-08-24 23:51:07 +00:00
Jordan Lee
2da83079f9
(trunk web) #4438 "Add tooltip for peer status in web interface" -- patch by niol
2011-08-24 18:42:10 +00:00
Jordan Lee
296a2064f7
(trunk web) #4442 "WebUI doesn't update after performing 'Remove From List' - r12723" -- fixed.
2011-08-24 17:04:59 +00:00
Jordan Lee
9ae9c2e56e
(trunk web) safer use of 'arguments', which is a reserved word
2011-08-24 13:17:45 +00:00
Jordan Lee
07129ccd08
(trunk web) apply the even/odd property to the row's class before adding the fragment, rather than after
2011-08-24 12:54:10 +00:00
Jordan Lee
6d2f186959
(trunk web) use jQuery's API when populating/saving the prefs dialog
2011-08-24 12:49:10 +00:00
Mitchell Livingston
71750426ae
(trunk web) fix queue reordering
2011-08-24 11:49:36 +00:00
Jordan Lee
dd8c7f5030
(trunk web) fix tracker counts in the filter popup
2011-08-24 03:49:33 +00:00
Jordan Lee
4b16ef8896
speedups found by chrome's profiler
2011-08-24 03:40:23 +00:00
Jordan Lee
2dc746a7b6
(trunk web) A lot of web cleanup, refactoring, bugfixes, and probably new breakage. Filterbar/statusbar has been reworked. Added filter-by-tracker. Compact mode now works in "iPhone" mode.
2011-08-24 02:04:35 +00:00
Mitchell Livingston
25ca73dca5
spacing, yay!
2011-08-24 00:27:27 +00:00
Mitchell Livingston
6add1bc28b
fix "Error: remove is not defined"
2011-08-24 00:05:50 +00:00
Jordan Lee
340a403c69
(trunk web) remove unused function Transmission.getDeselectedTorrents()
2011-08-21 14:37:12 +00:00
Jordan Lee
97016a2149
(trunk web) remove cruft from Transmission.js' setupSearchBox()
2011-08-21 14:16:27 +00:00
Jordan Lee
d42973b607
(trunk web) make Transmission.js' keyDown() function more efficient & a little more readable
2011-08-21 14:02:28 +00:00
Jordan Lee
f1d91b1ff8
(trunk web) use jQuery to limit the preference dialog's numberic entry fields to only accept numbers. (the HOWTO for this was at http://www.west-wind.com/weblog/posts/2011/Apr/22/Restricting-Input-in-HTML-Textboxes-to-Numeric-Values )
2011-08-21 05:54:02 +00:00
Jordan Lee
b46317faa9
(trunk web) simplify Transmission.updateButtonStates()
2011-08-20 23:20:12 +00:00
Jordan Lee
b36c648b31
(trunk web) Torrent class cleanup:
...
1. remove some of its unnecessary coupling to other classes
2. make more of its method names consistent with each other
3. make its field names consistent with the RPC spec
4. better grouping of methods by relevance
5. syntactical cleanup
2011-08-20 21:17:12 +00:00
Jordan Lee
2efb69dda3
(trunk web) code cleanup in torrent-row: (1) add a progressbar builder helper function to reduce redundant code between the different view types (2) decouple TorrentRow's constructor from transmission.js
2011-08-20 15:31:34 +00:00
Jordan Lee
f88297e6b3
Use 'ev' rather than 'event' in Transmission.onRowClicked(). Thanks to mjpieters for reporting this.
2011-08-16 19:47:44 +00:00
Jordan Lee
485733c36a
(trunk web) #3624 "Compact mode is very slow for large number of torrents" -- fixed.
2011-08-16 18:49:26 +00:00
Jordan Lee
897e2f2e51
whitespace tweak
2011-08-06 15:21:52 +00:00
Jordan Lee
e8e812f787
#671 "torrent queuing" -- better Web Client support of queue by deltasquare4
2011-08-06 15:19:29 +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
b8eca962d4
(trunk web) #1188 "comments and announce address are cut off" -- tell the browser (via word-wrap: break-word;) that it's okay to insert word breaks inside long URLs in the inspector.
2011-07-21 16:07:56 +00:00
Jordan Lee
12270afcb2
(trunk libT) #4004 "allow drag-and-drop links into the web client" -- implemented via a patch from Mook
2011-05-30 15:12:42 +00:00
Jordan Lee
a6f90b6a2e
(trunk web) #4170 "Ask tracker for more peers" -- implemented by a nice patch from Dmitry
2011-05-15 17:46:26 +00:00
Jordan Lee
c1427b6d18
(trunk web) #3820 "Web UI flicking to selection" -- apply a patch from buljit to fix a keyboard navigation regression reported by Tenzer in comment:8
2011-05-12 20:32:01 +00:00
Jordan Lee
3d366c2892
(trunk web) #3820 "web ui flicking to selection" -- apply test patch suggested by fx
2011-04-10 04:30:20 +00:00
Mitchell Livingston
a0afcac4b0
#4093 Peer and network settings accessible through the Web Client
2011-03-10 01:37:58 +00:00
Charles Kerr
3a5d17cfde
(trunk) #1538 "Make Web UI URL configurable" -- added to trunk. Patch by wereHamster
2010-12-12 18:22:11 +00:00
Mitchell Livingston
fc66d430df
#3724 Make adding by url in web interface more usable
2010-11-07 15:35:29 +00:00
Charles Kerr
35ac787457
(trunk web) #3630 "add a link to the Transmission homepage from the web client" -- added.
2010-10-13 19:28:55 +00:00
Charles Kerr
7ab8aec224
(trunk web) #3624 "Web client very slow for large number of torrents" -- minor tweaks to avoid excessive string concatenation in javascript
2010-10-12 17:38:03 +00:00
Charles Kerr
4d7046fd67
(trunk) #3547 "Wrong speed display in web UI" -- fixed
2010-09-18 23:06:03 +00:00
Charles Kerr
aab93bc8d7
(trunk, web) we were appending lots and lots of strings. instead, use array.join()
2010-09-12 02:07:43 +00:00
Charles Kerr
bda694b6da
(trunk, web client) fix speed display
2010-09-12 01:13:38 +00:00
Charles Kerr
d3f755957c
(trunk web) part 2 of reverting the web client changes: adding Longinus00's filter-by-finished patch back in. I've learned my lesson -- no more hacking in clutch. http://github.com/charlesk/gearbox
2010-09-03 00:20:40 +00:00
Charles Kerr
d77abbea63
(trunk web) revert the web client back to r11156 to erase the traces of the attempt to get clutch working with jQuery's GUI widgets.
2010-09-03 00:03:21 +00:00
Daniel Lee
b5dbdfd25b
(web) Left out some stuff from the last commit
2010-08-09 21:05:56 +00:00
Daniel Lee
4c0361f496
(trunk) #3483:Add 'finished' filter to webui
2010-08-09 00:40:46 +00:00
Charles Kerr
0761c52e8d
(trunk web) tweak the statistics dialog size a little
2010-08-08 23:25:34 +00:00