Commit Graph

23 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
Charles Kerr efaa66a920
fix: resolve some lgtm warnings (#1444)
* fix: warnings found by LGTM static analyzer
2020-09-11 16:07:45 -05: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
Mitchell Livingston 96e77053b4 #5108 Multi-file torrent selection bug 2012-10-29 22:14:46 +00:00
Jordan Lee 2dedc1c4c6 (trunk, web) #5091 'Disable file selection for non-multi-file transfers' -- fixed. 2012-10-15 04:32:48 +00:00
Jordan Lee ee3eca112d (trunk web) #5013 fix r13523 regression with initializing file priority buttons 2012-09-23 22:55:21 +00:00
Jordan Lee 53ef843cbd (trunk web) #5013 "WebUI Inspector file tree" -- possible reimplementation. 2012-09-23 22:05:21 +00:00
Jordan Lee 7b7da2d315 in file-row getPath(), don't leak 'path' into the global namespace 2012-09-23 17:21:19 +00:00
Jordan Lee a06a48dad3 (trunk web) #5013 "WebUI Inspector file tree" -- use patch submitted by PsychoMario 2012-08-18 15:04:06 +00:00
Jordan Lee 9221f8a248 (trunk, web) #5008 'html entitiy not correctly rendered' -- use patch submitted by jfc 2012-08-18 14:59:09 +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 a2145b188b (trunk web) changes to clutch's file priority UI:
1. use form checkboxes for the 'file wanted' toggle
2. remove unused file_wanted_buttons.png
3. narrow the priority buttons a little
4. narrow the priority buttons' gradient range by about 2/3 so that the colors don't look harsh when there is row after row of priority buttons
2011-10-26 15:50:31 +00:00
Jordan Lee b677c18b03 (trunk web) #3862 "on iPhone web ui, some buttons are too small to tap" -- fix file priority buttons. 2011-10-21 02:58:19 +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 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 4803b12a09 #4452 'Error: file.name is undefined' at file-row.js line 113 -- fixed. 2011-08-29 21:07:50 +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 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 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 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 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