Commit Graph

56 Commits

Author SHA1 Message Date
Mike Gelfand 66285a525b Web UI: main() refactoring (patch by skybon @ GH-9)
Less jQuery, more Web API. Moved main() away from common.
2016-04-12 19:03:01 +00:00
Mike Gelfand 5569efc3d4 #6089: Beautified JavaScript (patch by skybon) 2016-03-10 19:05:13 +00:00
Mike Gelfand 7177d43ba1 #5944: Unify indentation style and strip trailing whitespaces across JS code, no functional changes (patch by xzcvczx + a lot more) 2015-05-05 19:12:48 +00:00
Mike Gelfand 50364a7883 #4866: Replace existing menus with jQueryUI menu 2015-04-30 05:20:48 +00:00
Jordan Lee 0644020154 (web) #5138 'sort setting lost after some days' -- set the cookies to expire after a year, rather than a month. 2013-01-05 03:29:22 +00:00
Jordan Lee 4a344d0656 (trunk web) #4979 "CSS Issues in Web Client" -- proposed fix. See ticket for more details. 2012-07-20 17:37:50 +00:00
Jordan Lee 2d4d29793c (trunk web) #4637 "sorting by size in the web ui" -- patch added. 2011-11-28 03:35:33 +00:00
Jordan Lee d17e9ff1c9 (trunk web) fix a startup timing issue by deferring the Transmission object's instantiation to the end of our $(document).ready() function. 2011-11-13 20:13:25 +00:00
Jordan Lee 1f97292ec7 (trunk web) #4168 "web client in r13075 not working in IE8" -- fixed, sort of.
IE8 can't handle the W3C method of stacking an image on a linear gradient. Since all supported browsers have other ways besides the W3C method of doing this, we can 'fix' this by removing the W3C method. At some point in the future when browsers all use the W3C method, we can look for a different solution, or drop IE8 support ;)
2011-11-11 04:44:49 +00:00
Jordan Lee f1fc3584f4 add fallback implementation of Date.now for IE8 2011-11-06 14:42:52 +00:00
Jordan Lee 6b8a224059 (trunk web) refactor the preferences dialog into its own class. Make the prefs dialog invokable on iPhones/Androids (#1131) and add stop ratio functionality (#2006). 2011-09-14 05:10:51 +00:00
Jordan Lee 442d9fbea9 (trunk web) use "===" instead of "==" when appropriate. 2011-09-05 07:46:55 +00:00
Jordan Lee 6a57cbc52f #4461 "wrong regular expression for HTTP user-agent" -- fixed. 2011-08-31 00:50:28 +00:00
Jordan Lee c44ce249d2 (trunk web) use String.localeCompare() instead of rolling our own compareTo() function. 2011-08-30 07:27:59 +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 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 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 00dfd6ce67 (trunk web) simplify the prefs tab selection code 2011-08-25 08:03:19 +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
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 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 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 97d80b72aa (trunk web) #4312 "Add sorting by ratio" -- implemented. 2011-06-10 14:04:32 +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
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 4c0361f496 (trunk) #3483:Add 'finished' filter to webui 2010-08-09 00:40:46 +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 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
Daniel Lee 222261cb64 (web) #3456:Improve web client torrent list display 2010-07-31 16:28:00 +00:00
Charles Kerr b0e108838c (trunk web) add an "undefined" test to common.setInnerHTML() 2010-06-26 16:47:15 +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 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
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 2db4b86a12 (web) #3281:Filter by active 2010-06-17 04:38:03 +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 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
Charles Kerr 7138a3e346 (trunk web) #2966: "Patch: Present time with correct number of digits in the web interface" -- added to trunk for 1.92. thanks to gongloo for the patch. 2010-02-24 04:35:51 +00:00
Kevin Glowacz 830cd92822 (trunk web) friendlier formatTimestamp display 2010-02-01 01:08:11 +00:00
Charles Kerr 7840d85a24 (trunk web) #2157: web ui should support turtle mode 2009-11-14 14:57:47 +00:00
Kevin Glowacz fe8743be5c (trunk web) Add turtle mode. Patch from Grug. Fixes #2157 2009-11-10 05:42:57 +00:00
Charles Kerr bf1a544939 (trunk) all this commit does is remove trailing whitespace from some c, c++, and javascript source 2009-08-12 14:40:32 +00:00
Kevin Glowacz 8aef0564d6 (trunk web) enable open dialog on iPhone 2009-07-07 01:11:30 +00:00
Kevin Glowacz 7dd74187b0 (trunk web) hide the iPhone address bar on orientation change 2009-06-23 01:52:25 +00:00
Kevin Glowacz 4193f2b201 (trunk web) move ie specific stylesheet logic into the html to prevent a js race condition 2009-05-31 17:05:22 +00:00
Charles Kerr 998c6e6e8e (trunk web) a simple tweak to setInnerHTML() clears out about 20% of the periodic refresh overhead on my setup... 2009-05-23 21:14:03 +00:00
Malcolm Jarvis 85b33e22be Hopefully put an end to all these percentage bugs in the web client 2009-04-24 03:21:15 +00:00