Commit Graph

438 Commits

Author SHA1 Message Date
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 8192c38fcc (trunk web) remove an unneccesary field: the "trackerStats" field is a superset of of the "trackers" field, so our Torrent objects don't need to keep both -- the former can replace the latter. 2011-08-26 18:10:53 +00:00
Jordan Lee f744bb583c (trunk web) don't request the torrentFile field -- we don't use it 2011-08-26 17:56:49 +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 5e701872a7 (trunk web) lazy-create Torrent's collatedName and collatedTrackers fields. 2011-08-26 01:58:12 +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 ab7305fe64 (trunk web) fix issue with the "open torrent" dialog being covered by the inspector 2011-08-25 23:24:49 +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 7bccb21bd9 (trunk web) remove an unnecessary link from the torrents' file objects to the torrent object that "owns" it 2011-08-25 12:04:20 +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
Jordan Lee f2b255a33d (trunk web) #4443 "progress bar colors for queued transfers" -- fixed. 2011-08-25 06:18:42 +00:00
Mitchell Livingston 741f3190dc (trunk web) adjust common.css 2011-08-25 04:06:08 +00:00
Mitchell Livingston e77b81c14e (trunk web) r12732 for the iphone 2011-08-25 04:04:13 +00:00
Mitchell Livingston 14f655285a (trunk web) for non-active seeds (paused or queued), draw the whole bar gray (r12731 was only for paused) 2011-08-25 03:27:33 +00:00
Mitchell Livingston f4ee57253a (trunk web) show the dark green bar for the complete side of the seeding progress bar, and the light green bar for the incomplete side 2011-08-25 02:50:47 +00:00
Mitchell Livingston ad5788feae (trunk web) for paused seeds, for the entire progress bar to be gray instead of only the finished-seeding section 2011-08-25 02:42:56 +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 2d0a59954a (trunk web) #4273 "Display ratio in web client compact view" -- fixed. 2011-08-24 19:20:59 +00:00
Jordan Lee e0410cd17b (trunk web) when sorting by ratio, use tr_stat.ratio rather than deriving it ourselves. 2011-08-24 19:20:22 +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 652811502a (trunk web) #4436 "odd behavior and display" -- fixed. 2011-08-23 15:32:52 +00:00
Jordan Lee f19a8a60f3 (trunk web) use the same CDN cache of jQuery that everyone else does s.t. users can avoid redownloading jquery.min.js when using the web client. 2011-08-21 16:59:00 +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 25fa1d9401 (trunk web) rename torrent-renderer.js as torrent-row.js 2011-08-20 23:32:21 +00:00
Jordan Lee b46317faa9 (trunk web) simplify Transmission.updateButtonStates() 2011-08-20 23:20:12 +00:00
Jordan Lee 825706b823 (trunk web) minor tweaks to r12702 for clarity. 2011-08-20 22:30:34 +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 ed68f59ea6 tell Makefile.am about file-row.js and torrent-renderer.js 2011-08-17 04:45:17 +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 abea9d306f queuing: tweak the status messages for queued torrents 2011-08-08 16:31:52 +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 307754e807 #671 "torrent queuing" -- modify the queue implementation s.t. every torrent has a queuePosition, even if it's not currently in the queue. 2011-08-02 03:59:54 +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
Mitchell Livingston 179022bb8f update jQuery to 1.6.2 2011-07-04 18:03:33 +00:00
Jordan Lee 4f0abde80b (trunk web) #4096 "IPv6 addresses in peer tab of daemon overflow" -- fixed with patch by Harry 2011-06-24 17:02:10 +00:00
Mitchell Livingston 878f8c775e #4176 Add torrent by info hash 2011-06-16 02:19:39 +00:00
Jordan Lee 97d80b72aa (trunk web) #4312 "Add sorting by ratio" -- implemented. 2011-06-10 14:04:32 +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
Mitchell Livingston 9ea0a9ff80 update jquery.form.min 2011-05-21 02:57:17 +00:00
Mitchell Livingston 6bd919cf91 bump jquery.form to 2.75 2011-05-21 02:51:34 +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
Mitchell Livingston e0754c8b98 update jQuery to 1.6.1 2011-05-12 22:13:55 +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
Mitchell Livingston a0fd938fae #4002 Update to jQuery 1.6 2011-05-03 21:52:37 +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 034d9a4964 update jQuery to 1.5.2 2011-03-31 21:52:30 +00:00
Mitchell Livingston a0afcac4b0 #4093 Peer and network settings accessible through the Web Client 2011-03-10 01:37:58 +00:00
Jordan Lee 9bf2434e14 (trunk) copyediting: remove trailing spaces from source code lines in daemon/ gtk/ libtransmission/ and utils/ 2011-03-04 23:26:10 +00:00
Mitchell Livingston 957b14a7f6 update jquery to 1.5.1 2011-02-25 00:06:16 +00:00
Mitchell Livingston 4c4a248c02 #4002 Update to JQuery 1.5 2011-02-09 02:45:54 +00:00
Jordan Lee 879a2afcbd Update the copyright year in the source code comments.
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.

Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00
Jordan Lee 8c36d86d4a #3519 "webseeds don't work" -- the `active' filter in the web client didn't test for webseed activity. 2011-01-19 00:07:59 +00:00
Mitchell Livingston f74e3b5b3a #3881 Right click torrent context menu does not work with Firefox / Firegestures / Ubuntu 2011-01-15 17:00:52 +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
Charles Kerr 373fefcb6f #3785 (web) "Webui image tb_backgrounds_highlight.png missing from Makefile.am" -- fixed. 2010-12-02 16:13:53 +00:00
Mitchell Livingston 655c22a033 update jQuery to 1.4.4 2010-11-28 16:52:52 +00:00
Charles Kerr ffe54a20ed (trunk) #3698 "creation date of magnet links are set before the epoch." -- fixed. 2010-11-08 19:16:03 +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 bd30dd291f (trunk web) #3671 "web client regression: new use of Array.indexOf() breaks in IE7 and IE8" -- fixed. 2010-10-26 00:18:41 +00:00
Daniel Lee 0e9fba8d46 undo r11341 formatting changes 2010-10-23 03:22:03 +00:00
Mitchell Livingston 9c47adad79 add image for r11341 2010-10-20 22:15:13 +00:00
Mitchell Livingston 2ca7f36488 update the web client's inspector tab selectors (https://forum.transmissionbt.com/viewtopic.php?f=8&t=10726) 2010-10-20 22:14:43 +00:00
Mitchell Livingston 5e908d0662 fix jquery makefile 2010-10-17 03:09:22 +00:00
Mitchell Livingston bc6648a06b update json2.js to 2010-08-25 2010-10-17 03:07:37 +00:00
Mitchell Livingston f42031891f update jquery.form to 2.47 2010-10-17 02:57:32 +00:00
Mitchell Livingston f0786efc40 bump jquery to 1.43 2010-10-17 02:46:46 +00:00
Mitchell Livingston 81f5f82330 #3630 rename and reorder homepage link in the web client 2010-10-16 00:12:14 +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
Daniel Lee 99a1d0a123 (web) Fix some spacing in the tracker display 2010-09-23 04:21:18 +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 1e163ec77d (trunk) fix clutch Makefiles 2010-09-09 18:23:06 +00:00
Charles Kerr ec524cb5f8 readd dialog.js. :/ 2010-09-05 03:02:02 +00:00
Charles Kerr ea3db15ccb and the css and index.html change 2010-09-03 00:41:17 +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 d927c6b280 (web) remove cruft 2010-08-10 00:12:42 +00:00
Daniel Lee c231e01e59 (web) yet another test fix 2010-08-10 00:10:08 +00:00
Daniel Lee 783b15e559 (web) yet another test fix 2010-08-09 23:13:46 +00:00
Daniel Lee 822bf99b0d (web) Another try at iphone fix 2010-08-09 22:57:29 +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 cbf9792701 (trunk web) #3485 "Add ratio to compact seeding display" -- fixed. 2010-08-09 00:25:02 +00:00
Charles Kerr 0761c52e8d (trunk web) tweak the statistics dialog size a little 2010-08-08 23:25:34 +00:00
Charles Kerr cbf51842c8 (trunk web) #3278 "add sorting by size support to web client" -- fixed. 2010-08-08 21:11:20 +00:00
Charles Kerr ead0ea9800 (trunk web) use the preference dialog's "compact" mode based on browser window size, rather than whether or not it's an iPhone -- that way it should work for other mobile devices too. 2010-08-08 20:58:58 +00:00
Charles Kerr fa7f51f130 (trunk web) rewrite the dialogs to use jQuery.UI instead of a homerolled dialog. This partially to use more standardized components, and partially to get rid of as many browser/platform-specific hardcodings as possible to make the code more flexible. I'm flying blind wrt iPhone support, so for a little while this may be a two-steps-forward-one-step-back process. Feedback from users runnin the web client on their phones is encouraged... 2010-08-08 20:06:46 +00:00
Charles Kerr 0e03b5e287 (trunk) run all our PNG files through pngout <http://advsys.net/ken/util/pngout.htm> to shrink 'em down 2010-08-06 07:51:24 +00:00
Daniel Lee 222261cb64 (web) #3456:Improve web client torrent list display 2010-07-31 16:28:00 +00:00
Charles Kerr 2f09baa8b9 (trunk clutch) #2996 "turn error torrents red in the main window" -- added. 2010-07-29 17:45:23 +00:00
Daniel Lee 066d261f8c (web) #2908:Retrieve info for selected torrents 2010-07-15 15:16:10 +00:00
Charles Kerr 99315a273b (trunk, web) #2758 "Transmission web interface is missing a compact view mode" -- fix regression that broke the display of seeding torrents.(trunk, web) #2758 "Transmission web interface is missing a compact view mode" -- fix regression that broke the display of seeding torrents.(trunk, web) #2758 "Transmission web interface is missing a compact view mode" -- fix regression that broke the display of seeding torrents. 2010-07-11 21:03:21 +00:00
Charles Kerr 71cadc02b6 (trunk web) #3413 "download speed bad format in web interface" -- fixed. 2010-07-10 02:05:25 +00:00
Charles Kerr e35eaf06ac (trunk web) #2758 "Transmission web interface is missing a compact view mode" -- revised patch 2010-07-04 22:37:14 +00:00
Charles Kerr cdcc4705aa (trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while. 2010-07-03 00:25:22 +00:00
Charles Kerr b0e108838c (trunk web) add an "undefined" test to common.setInnerHTML() 2010-06-26 16:47:15 +00:00
Daniel Lee 58084f5b32 (web) r10834, whoops 2010-06-24 05:23:48 +00:00
Daniel Lee 03ea4a35e8 (web) Math.roundWithPrecision does the exact same thing as toFixed. 2010-06-24 05:22:56 +00:00
Daniel Lee 4d486fc2c2 (web) un-uglify the peer list transfer speed colums from r10804 2010-06-23 08:58:23 +00:00
Daniel Lee 6ef82d3056 (web) #3331:Tracker and peer lists should work when more than one torrent is selected 2010-06-22 22:32:44 +00:00
Daniel Lee bbe9e9843a #3298:Prettier formating of percentages 2010-06-22 22:30:58 +00:00
Daniel Lee ad9814612d (web) fix whitepsaces 2010-06-21 13:14:33 +00:00
Daniel Lee 1b15ec9879 refactor formatter.js 2010-06-19 21:42:16 +00:00
Daniel Lee a9671b93ac Goodbye 2010-06-19 20:54:20 +00:00
Daniel Lee f07921bad2 fix r10804 2010-06-19 20:43:26 +00:00
Charles Kerr 1aba1c8d66 (trunk web) add a more flexible speed / size formatter to the web client 2010-06-19 18:40:07 +00:00
Charles Kerr 25b966fe24 (trunk) #2758 "add compact mode to web gui" -- patch by fx and kim 2010-06-19 16:36:00 +00:00
Daniel Lee dbcd1c942f (web) Improve upon r10773 fix for #3296 2010-06-18 13:53:54 +00:00
Daniel Lee fb8bcfb05d left out makefile changes for r10788 2010-06-17 05:28:49 +00:00
Daniel Lee e8432b769a (web) #3285:Add peer list to inspector 2010-06-17 04:40:06 +00:00
Daniel Lee 2db4b86a12 (web) #3281:Filter by active 2010-06-17 04:38:03 +00:00
Daniel Lee 59821c65c7 (web) #3296: Deleting a torrent hidden in the webui corrupts the row model 2010-06-16 03:04:40 +00:00
Charles Kerr 06f044680a (trunk) #3174 "Use IEC standard units (KiB, MiB, GiB) instead of (KB, MB, GB)" -- implemented for gtk, qt, daemon, cli, and web client 2010-04-28 01:26:46 +00:00
Charles Kerr d3ac3b27e0 (trunk) #2960 "add torrent availability to web interface and remote" -- implemented via a patch from Longinus00 2010-04-20 01:48:40 +00:00
Mitchell Livingston 6a4954e867 #1869 Move the finished state to libtransmission. This setting is now remembered between launches. This also causes torrents that hit the seed ratio to not have this setting changed to unlimited until start. 2010-04-02 17:57:25 +00:00
Charles Kerr a373330d52 (trunk web) "impossible to set sorting direction in the web ui" -- use Longinus00's quick & dirty patch to fix this in trunk for 2.00 2010-03-31 19:22:42 +00:00
Charles Kerr e1607c8354 (trunk) #2898 "add pausing and deletion to daemon" -- committed patch from Longinus00 to trunk for 2.00 2010-03-17 19:23:03 +00:00
Mitchell Livingston 6db5b1523b #3042 Can't do context menu actions with multi entries in web interface 2010-03-14 17:31:16 +00:00
Charles Kerr baab619c93 (trunk web) #3043 "show eta for seeding torrents in webui" -- imlemented in trunk for 2.00 2010-03-14 05:28:25 +00:00
Charles Kerr 83e43a81b5 (trunk web) #2774 "Support stats display feature in the web client" -- fix potential layout issue described @ http://trac.transmissionbt.com/ticket/2774#comment:13. Bug created, spotted, and fixed by Longinus00. Welcome to the club. :) 2010-03-12 19:39:37 +00:00
Charles Kerr 5363c7d89b (trunk web) #2774 "Support stats display feature in the web client" -- implemented for 2.00 2010-03-11 04:50:04 +00:00
Charles Kerr fe54fded77 (trunk web) #2917 "Turtle mode button tooltip" -- added to trunk for 1.92 2010-03-01 16:35:54 +00:00
Charles Kerr 14beb6f5a3 (trunk web) #2992: "web client reports ratios of -1 and -2" -- fixed in trunk for 1.92. Thanks to Longinus00 for the patch. 2010-02-28 14:31:45 +00:00
Charles Kerr 4d748e5cbf (trunk web) #2981 "update jQuery to v1.4.2" -- fixed in trunk for 1.92 2010-02-26 18:02:51 +00:00