Commit Graph

130 Commits

Author SHA1 Message Date
Charles Kerr be219ddee0
chore: add precommit hook for testing code style (#1448)
* chore: add precommit hook for testing code style

* chore: use prettier + eslint for js code
2020-09-13 21:41:32 -05:00
Mike Gelfand 5569efc3d4 #6089: Beautified JavaScript (patch by skybon) 2016-03-10 19:05:13 +00:00
Mike Gelfand 5e3c60f565 #5974: Torrents queued should be able to "Resume Now" (patch by JJTagy) 2016-01-03 20:57:42 +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
Jordan Lee 4f64831711 (web, trunk) #5072 'web client does not show webseed download count' -- use cfpp2p's patch to make it behave like the Mac client. 2012-10-06 18:22:57 +00:00
Jordan Lee b150f1158e (trunk web) #4993 "Add Set Location on WebUI" -- use luizpaulo's patch to implement this 2012-08-18 15:46:22 +00:00
Mitchell Livingston a484f90975 #4739 Webkit notifications for downloading/seeding complete events 2012-05-19 21:37:29 +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 919c6b52fc (trunk web) #4621 "seeding progressbars aren't shown in Web UI" -- fixed. 2011-11-11 04:58:00 +00:00
Jordan Lee 69d782c2de (trunk web) sync the web client's inspector's info tab with the one in the GTK+ and Qt clients. This fixes #4609 and #4608. 2011-11-04 21:05:24 +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 c44ce249d2 (trunk web) use String.localeCompare() instead of rolling our own compareTo() function. 2011-08-30 07:27:59 +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 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 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 354a92c73d (trunk web) safeguard against exceptions when sorting-by-name when a torrent's name hasn't yet finished downloading. 2011-08-26 22:59:42 +00:00
Jordan Lee 6f8be90491 remove unnecessary field test 2011-08-26 21:51:14 +00:00
Jordan Lee a1094bafe4 (trunk web) another minor network/memory win: remove more fields that we don't use. 2011-08-26 19:47:23 +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 5e701872a7 (trunk web) lazy-create Torrent's collatedName and collatedTrackers fields. 2011-08-26 01:58:12 +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 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 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 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 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 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
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
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 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 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 cbf51842c8 (trunk web) #3278 "add sorting by size support to web client" -- fixed. 2010-08-08 21:11:20 +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
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
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