Commit Graph

833 Commits

Author SHA1 Message Date
Charles Kerr 017fa1cf1e fixup! chore: add precommit hook for testing code style (#1448) 2020-09-14 13:02:03 -05:00
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 09cc4c7a68
fix: broken HTML (#1446)
* chore: refresh css files with sass 1.26.10

* fix: css selector for toolbar-separator

* chore: fix duplicate html ids in mac client faq

* fix: duplicate ID 'pagetitle' tags in Mac help

* fix: duplicate ID 'taskbox' tags in Mac help

* chore: fix mismatched div
2020-09-12 21:44:47 -05:00
Charles Kerr 83cc7e04c8
Fix more coverity warnings (#1445)
cast intentionally-ignored function retval to null

remove superfluous JSON polyfill from web client.
2020-09-12 08:17:18 -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
Pedro Scarapicchia Junior 0a897cb3aa
Remove unused html (#1313) 2020-06-14 16:04:26 -05:00
Charles Kerr 8739cb9c88
fixup! (trunk) update credits (#1205) 2020-05-02 11:42:18 -05:00
Mike Gelfand 3ba0b9df15 Fixup some formatting leftovers (JS) 2019-02-17 17:51:13 +03:00
Mike Gelfand c951848a5b Merge branch '2.9x' 2018-05-01 22:44:51 +03:00
Mike Gelfand 913d9d3f37 HTML-escape torrent name displayed in trackers inspector tab
This will prevent injection of arbitrary HTML when multiple torrents are
selected. Follow-up to the previous commit.
2018-04-17 13:25:49 +03:00
Mike Gelfand 523d8c1317 Tracker error XSS in inspector (web client)
Tracker error messages are inadequately output encoded when rendered by the
tracker information page inside the WebUI, allowing a malicious tracker to
inject an XSS payload into the page. Esploiting this issue allows an
attacker to supply arbitrary client-side code that will ultimately be
rendered and executed within the end user's web browser.

Found by Rory McNamara (Gotham Digital Science). CVE pending.
2018-04-17 13:25:49 +03:00
Mike Gelfand aa2730d47c Switch to HTTPS links, adjust wiki links where possible
Fixes #39
2018-01-16 01:12:59 +03:00
Robert Vehse a6ef87b92d Update all instances of the donation link. Fixes #26. 2018-01-15 23:57:46 +03:00
Mike Gelfand edf158b509
Merge pull request #364 from futekov/patch-2
Download/upload speed typography changes for web ui
2017-11-28 22:48:10 +03:00
Mike Gelfand 486f040be4 Fix torrent list styling issue in Chrome 59+ (patch by @kyleinprogress)
Fixes: #384
2017-08-27 09:52:02 +03:00
clyang f21c9109ee Disable browser to autocomplete on torrent url field
It disrupts the view and I can't come up a daily usage scenario that needs to utilize autocomplete function.
2017-08-11 00:52:40 +08:00
Alexander Futekov 660b44da70 DL/UL speed typography changes for web ui
The current icons are very hard to read at the current font size and it's not immediately visible which icon i which.

Additionally, spaces after icons are removed because upload icon is equally positioned between DL/UL speeds (like so `↓ 273 kB/s **↑** 0 kB/s`) which requires reading the whole line to make sense of which number the arrow applies to.

To further separate one type of information from another the hyphen is replaced by the slightly wider en dash.

Old vs New:
Downloading from 7 of 19 peers - ↓ 273 kB/s ↑ 167 kB/s
Downloading from 7 of 19 peers – ▼273 kB/s ▲167 kB/s
2017-08-07 06:34:00 +03:00
Sven Depondt 7ded47bb7c Revert indentation from commit d94f44b
`switch` and `case` are on the same level everywhere else.
2017-07-30 14:36:58 +02:00
Sven Depondt d94f44b777 Rework hotkeys for focused input fields and open dialogs
Also added 2 hotkeys:
    1. `i` Toggle inspector
    2. `l` Set location
2017-07-30 13:54:13 +02:00
Sven Depondt 0978dbf890 Use id when handling hotkeys for specific dialogs
Identifying a dialog by it's header title is kinda dirty and now we use
the dialogs id instead. We also check if the dialog is visible before executing
the hotkey action.
2017-07-28 22:32:18 +02:00
Sven Depondt a52ef89161 Add keyboard hotkeys for web interface 2017-07-28 18:56:50 +02:00
Mike Gelfand 54b786c9f3 Merge pull request #320 from gonstr/master
(web) show upload torrent file button on mobile devices
2017-07-16 21:01:09 +03:00
Mike Gelfand 7e6f1a8dc8 Set idle seed limit range to 1..40320 (4 weeks tops) in all clients
Fixes: #212
2017-07-05 21:07:16 +03:00
gonstr bb426c47c4 Removed freespace-info class from sass file 2017-07-01 19:44:38 +02:00
gonstr 2624c6b73b Unhide upload file button 2017-07-01 19:26:34 +02:00
Fish2 b0e3d4c37d lossless compression of images saved 72KB 2017-06-03 23:52:34 +01:00
Mike Gelfand 4df187885f Merge pull request #146 from tonsV2/master
ETA is now shown in compact view.
2017-05-21 07:24:59 +03:00
Mike Gelfand bcfe147e6a Fix web UI loading on mobile devices 2017-05-21 06:49:41 +03:00
Sebastian Jensen cad82b64d9 ETA is now shown in compact view. 2017-05-21 06:48:56 +03:00
lisenenkov b4068e39f0 Merge branch 'master' into master 2017-02-12 18:44:06 +03:00
lisenenkov 076535e3d3 Update inspector.js
https info not showed
2017-02-12 18:41:50 +03:00
Mike Gelfand a3654c65a5 Replace setInterval() with setTimeout() for web UI refresh (patch by WGH)
Fixes: TRAC-6031
2017-01-15 11:17:31 +03:00
Markus Amalthea Magnuson 727b9671f7 Update all website links to canonical HTTPS version. 2016-10-31 10:00:11 +01:00
Robert Vehse 13bae8179e Update all instances of the donation link. Fixes #26. 2016-09-23 04:36:41 +02:00
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 5e3c60f565 #5974: Torrents queued should be able to "Resume Now" (patch by JJTagy) 2016-01-03 20:57:42 +00:00
Mike Gelfand 8b4da8c22e #4518: Mark appropriate fields in prefs as html5 number fields (patch by e-moe) 2015-10-08 18:54:43 +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
Mike Gelfand 9674df5c4d Use jQuery UI's `ui-helper-hidden` CSS class instead of our own 2015-04-26 03:35:44 +00:00
Mike Gelfand cd8ed4ff10 #5894: Get rid of eval() in JS code (patch by Ancient; 2nd part) 2015-04-23 19:30:40 +00:00
Mike Gelfand fd8e1e25a4 #5894: Get rid of inline styles in HTML (patch by Ancient; 1st part, slightly modified per IRC discussion) 2015-04-23 19:02:38 +00:00
Mike Gelfand 06d73853b9 Even better (and unified) torrent origin logic for GTK+, Qt and web clients 2015-04-22 21:04:49 +00:00
Mike Gelfand ea368388ed Fix JS error on undefined creator during inspector update
Since torrents' info is fetched asynchronously, it may not yet be
available when inspector updates. Account for possibly undefined
creator.

Refine logic used to construct torrent origin phrase to prevent
results such as "Created by  on <date>" or "Created by <creator>
on ".
2015-04-22 20:36:28 +00:00
Mike Gelfand dc1eb80dca #5894: Fix autotools build ("trailing backslash on last line") 2015-04-21 21:23:15 +00:00
Mike Gelfand ff7638d901 #5894: Update jQuery to 1.11.2 (with Migrate plugin 1.2.1), jQuery UI to 1.11.4 2015-04-21 21:17:45 +00:00
Jordan Lee d11f016ae8 (trunk, libT) #5699 'Toggle Inspector's Origin: is incorrect' -- fixed, patch by enzotrew 2014-07-03 19:31:59 +00:00
Jordan Lee 157bbe73f6 (trunk, web) #5620 'Inspector - Clickable urls in Comment field' -- added with patch by e-moe, thanks also to cfpp2p for testing 2014-04-15 21:30:38 +00:00
Jordan Lee e02b244300 (trunk) #5619 'Invalid magnet link gives no error dialog' -- fixed with patch by dale2507 2014-04-15 21:26:52 +00:00
Jordan Lee 5f2daaafb3 (trunk, gtk/qt/web) #5581: 'Inconsistent ordering of Upload and Download speed limits' -- fixed. 2014-01-20 23:56:06 +00:00
Jordan Lee 49c4b8b42a (trunk, web) #5589 'Magnet torrent shows 'retrieving' even when stopped' -- fix by JJTagy 2014-01-20 22:32:20 +00:00
Jordan Lee ce6b9dfad4 (trunk, web) #5510 'add file renaming to transmission web interface' -- whoops, forgot index.html in r14210 2013-10-20 19:41:37 +00:00
Jordan Lee 258b6cf029 (trunk, web) #5510 'add file renaming to transmission web interface' -- added with patch from mark ablov 2013-10-20 18:39:07 +00:00
Jordan Lee c79a5a191f (trunk, web) #5500 - don't add the X-Transmission-Session-Id header if we don't have a value for it. 2013-10-20 17:09:46 +00:00
Jordan Lee f217dc2a60 (trunk, web) #5439: fix web client issue in IE 11 2013-07-24 22:35:52 +00:00
Jordan Lee b38d819690 (trunk, web) #5440: fix syntax error in index.html's meta name='viewport' entry. 2013-07-24 22:33:59 +00:00
Jordan Lee 94fd3b486b (trunk) slightly better image compression by passing them through pngwolf 2013-07-14 23:03:31 +00:00
Jordan Lee a95b6c1e6c (trunk) #5382: better compression of our bundled png files. recompressed by Mangix 2013-06-26 02:06:43 +00:00
Jordan Lee adb8077706 (trunk web) #5380 'numeric input method not compatible with non-querty keyboards' -- fixed w/patch from lechevalierd3on 2013-06-09 19:41:51 +00:00
Jordan Lee 4a28e82f3f #5343 slightly better compression in two jQueryUI png files, compressed by Mangix 2013-04-13 12:31:44 +00:00
Jordan Lee c3be9b9afc (web) fix add-by-URL regression in the nightlies 2013-04-10 03:00:37 +00:00
Jordan Lee c51132ad78 #5335: better compression of .png files by Mangix 2013-04-10 02:27:42 +00:00
Jordan Lee a2ce709d8c (web) #5290 'Use HTML5's FileReader to upload .torrent files': done 2013-02-18 00:12:51 +00:00
Jordan Lee 8ed90f00cf (web) remove vim tmpfiles 2013-02-10 18:46:56 +00:00
Jordan Lee a7c6e78985 In Web Client, use jQuery.ajax() to upload files
If we use FormData and jQuery.ajax() calls to upload a torrent,
we can stop bundling the jquery.form.js module. In addition, this
simplifies passing arguments in the headers s.t. rpc-server.c doesn't
have to look for the CSRF token as one of the multiparts.

This changes the upload POST behavior, so give it a new name (upload2).
The old function (upload) will be deprecated but kept until 2.90 so
that third-party web clients using the old POST semantics will have
time to update.

Bug #5290 <https://trac.transmissionbt.com/ticket/5290>
2013-02-10 18:33:04 +00:00
Jordan Lee 32fc85641a Make accidentally-public function names private
inspector.js' functions, beginning with addSubtreeToView(), are leaked
into the DOM due to a missing comma at the end of the previous func.
Bug #5289 <https://trac.transmissionbt.com/ticket/5289>
2013-02-10 18:32:40 +00:00
Jordan Lee f70c4d88c7 (web) remove the freespace-info label from the web client.
As discussed at https://trac.transmissionbt.com/ticket/4076#comment:25
the freespace indicator is being moved out of the statusbar to another
place.
2013-02-10 18:32:15 +00:00
Jordan Lee 69aeed3226 (web) #5214 'add storage free space indicator' -- added with patch by taem 2013-02-05 14:45:41 +00:00
Jordan Lee 282ef8adfd use 'folder' instead of 'directory' in the freespace tooltips 2013-01-27 18:48:59 +00:00
Jordan Lee 729ef84e62 (web) #5214 'add free space indicator': added with patch by taem 2013-01-27 17:41:35 +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 5b89991e51 (web) #5210 'filter bar on iOS is too short' -- another tweak based on bmw's feedback 2013-01-05 03:05:46 +00:00
Jordan Lee 7e46d5087f (web) #5210 'filter bar on iOS is too short' -- tweak to undo r13756 regression 2013-01-05 02:46:59 +00:00
Jordan Lee 892b01ecff (web) #4873 -- fix the margins of the toolbar buttons in mobile css 2013-01-04 05:59:18 +00:00
Jordan Lee d5bae06433 (web) #4873 -- fix left margin of the torrent list in the mobile css 2013-01-04 05:25:51 +00:00
Jordan Lee dbaf0bcbeb (trunk, web) #5119 'Error when displaying tracker list' -- fixed. 2012-11-11 15:13:47 +00:00
Mitchell Livingston 79c7bab472 #5118 (web client) Tracker tier count should start at 1 2012-11-02 21:42:10 +00:00
Mitchell Livingston 96e77053b4 #5108 Multi-file torrent selection bug 2012-10-29 22:14:46 +00:00
Mitchell Livingston ede2511b03 #5103 Restore DL/UL Arrows and Rates While Downloading 2012-10-25 03:56:57 +00:00
Jordan Lee fcf5690476 remove unused functions 2012-10-19 17:21:45 +00:00
Jordan Lee d6635829d5 remove dead code Inspector.accumulateString 2012-10-19 15:31:42 +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 25bee8d4a2 remove unneeded background-image rules for the inspector's file list's 'file wanted' checkbox; we use the browser's checkbox now 2012-10-15 04:20:55 +00:00
Mitchell Livingston 40a7634c78 #5086 Fix web interface ngettext 2012-10-10 03:03:32 +00:00
Jordan Lee 4dd6e35bd7 (trunk, web) replace Transmission.formatter.plural() with a slightly less brittle pluralization tool 2012-10-07 18:10:26 +00:00
Jordan Lee 7219f26dae (trunk, T) #5072 "In the torrent list, show how many web seeds we're downloading from" -- made the Qt, GTK+, and web client text consistent 2012-10-07 17:51:56 +00:00
Jordan Lee f8f5fa930f (trunk, web) #5072 "web client doesn't show webseed count" -- pluralization refinement to r13551 2012-10-07 16:33:55 +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 682d257808 (trac, web) #5072 'web client does not show webseed download count' -- fixed. 2012-10-05 21:23:50 +00:00
Jordan Lee ed2d2de530 (trunk, web) fix #5055 'torrents that include HTML in the comment section don't display properly in the web browser.' 2012-10-05 02:23:17 +00:00
Jordan Lee d063c4fb1d (trunk, web) #5013: finish by syncing common.css with common.scss 2012-09-26 02:44:24 +00:00
Jordan Lee 245ed7c7e2 (trunk, web) #5013: remove redundant buttons, these were supposed to be removed in r13523 2012-09-26 02:41:47 +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 6438568d66 (trunk web) #5013 fix r13523 tyop 2012-09-23 22:33:55 +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 b4b7483f2e in updateFilesPage(), fix about a dozen variables that leaked into the global namespace 2012-09-23 17:08:27 +00:00
Jordan Lee fe42c6285d (trunk, web) r13437 regex bugfix by cfpp2p 2012-09-19 05:28:13 +00:00
Mitchell Livingston e18f224758 #5040 Improve scrolling experience in Web UI on iPad 2012-09-17 15:10:12 +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
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
Mitchell Livingston f6efebb25c #5007 Web client attempts to post notifications without permission, causing transfers not to update 2012-08-07 23:00:10 +00:00
Mitchell Livingston 0a656a1375 #4987 (web ui) up/down characters are not rendered correctly 2012-08-07 00:14:04 +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
Mitchell Livingston 12b490842f update makefile for notifications.js 2012-06-15 23:23:31 +00:00
Mitchell Livingston d6c1db86cd #4833 regression: Select / Deselect transfers option missing 2012-06-04 00:28:15 +00:00
Mitchell Livingston a484f90975 #4739 Webkit notifications for downloading/seeding complete events 2012-05-19 21:37:29 +00:00
Jordan Lee 72a3a79e92 (trunk, web) fix bug #4642 'Turtle mode no longer visually apparent when selected in WebUI' 2012-04-08 16:29:39 +00:00
Jordan Lee 78b835f097 (trunk, web) fix ticket #4640 'Gear button's menu is displayed as pushed in when hovered over' 2012-04-08 16:17:00 +00:00
Jordan Lee 4727e20aba (trunk, web) fix bug #4621 'seeding progressbars don't show in web ui' 2012-04-08 14:48:57 +00:00
Mitchell Livingston 209fff41b5 jQuery Form Plugin to v1.3.2 2012-03-22 22:36:32 +00:00
Mitchell Livingston deb1b4f126 #4848 Upgrade to jQuery 1.7.2 2012-03-22 22:33:50 +00:00
Mitchell Livingston 306bd497b8 (web) #4841 & #4842 Fix inspector statistics when multiple torrents are selected. Fix the ratio displayed when the download count for a single transfer is 0 but there is data on disk. 2012-03-20 00:41:57 +00:00
Jordan Lee 8f55d04992 (trunk web) remove dead css from the removed filter popup 2012-02-12 17:20:38 +00:00
Mitchell Livingston 72b0086cef spacing fix for r13217 2012-02-11 03:52:57 +00:00
Mitchell Livingston ec28df0bbc (web client) getValue needs to accept all types of html5 text fields 2012-02-11 03:49:21 +00:00
Jordan Lee 44b1eecf12 (trunk web) Include the SASS stylesheet templates in the tarball 2012-02-08 03:49:32 +00:00
Jordan Lee 4c31104f4f (trunk web) fix positioning issue w/the torrent list going directly under the toolbars 2012-02-03 23:05:24 +00:00
Jordan Lee 9a27751d77 (trunk web) #4731 "'Select All' and 'Deselect All' options missing from Inspector>Files" -- fixed. 2012-02-03 22:59:33 +00:00
Jordan Lee fbc7f3dc3c (trunk) use base-10 units for network bandwidth (ie, speed) and disk sizes.
It looks like the Mac client is already doing this and it's clearly the trend in other apps as well. Even apt-get is using kB/s, ferchrissake... :)

Flame away.
2012-02-03 21:21:52 +00:00
Jordan Lee 86d71b0118 Fix minor formatting issue in the web client
1. the formatter listed speed in units of 1000 bytes, but used "KB" rather than "kB"
2. the bytes-per-second speed was listed as "B" rather than "B/s"
2012-02-03 21:15:07 +00:00
Jordan Lee 631f63435c (trunk web) don't listen for drag-and-drop events in mobile mode 2012-01-24 21:01:06 +00:00
Jordan Lee 8277b5e0e8 (trunk web) restore the web ui's toolbar to the 2.42 look-and-feel 2012-01-24 20:49:46 +00:00
Mitchell Livingston 89a35a880e alphabetize the sorting options. with "queue order" at the top 2011-11-28 12:37:14 +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
Mitchell Livingston 749c9a4c7d update jQuery to 1.7.1 2011-11-22 03:19:34 +00:00
Jordan Lee 6f09191a84 (trunk web) #4635 "favicon.ico is not transparent" -- fixed. 2011-11-16 13:53:38 +00:00
Jordan Lee c56938b433 (trunk web) tweak the filterbar's display of the torrent count 2011-11-14 05:22:27 +00:00
Jordan Lee 1ccd8c5602 (trunk web) tweak the filterbar's look again, this time to give a better appearance on FF and Chrome 2011-11-14 01:50:30 +00:00
Jordan Lee 37bd984302 (trunk web) followup to r13087 that makes the filterbar grouping a little nicer. Also use livings124's suggestion of always showing the up/down speeds even when they are zero 2011-11-14 01:44:11 +00:00
Jordan Lee 93708228e2 (trunk web) the filter mode is preserved between sessions, so on startup initialize the filter mode selector properly. 2011-11-13 23:08:49 +00:00
Jordan Lee fab05d7f7b tweak the filter entry field's look on FF 2011-11-13 22:13:47 +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 e2c24f28c4 (trunk web) experiment with making the filterbar more phone-friendly 2011-11-13 18:04:29 +00:00
Jordan Lee 438143f3ed (trunk web) fix minor pluralization issues 2011-11-13 16:51:05 +00:00
Jordan Lee e0e47db352 (trunk web) #4606 "make selected torrents in webui more discernible" -- fixed. 2011-11-11 05:58:51 +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 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 327dfa64d9 remove unused variables 2011-11-06 16:06:48 +00:00
Jordan Lee f1fc3584f4 add fallback implementation of Date.now for IE8 2011-11-06 14:42:52 +00:00
Mitchell Livingston 49ba5f230b #4616 update makefile for update jQuery 2011-11-04 23:26:09 +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
Mitchell Livingston 68a921c40e update JQuery to 1.7 and jQuery form to 2.87 2011-11-04 02:42:22 +00:00
Jordan Lee 244c3f1839 move the prefs button in the footer bar 2011-11-01 00:33:24 +00:00
Jordan Lee 51b54ee97c (trunk web) #4549 "Favicon in trackerlist makes filter popup slow and unresponsive in webui" -- fixed. 2011-10-30 00:08:27 +00:00
Jordan Lee c76af3f52e (trunk web) #4601 -- move preferences button to the left-hand side of the footer 2011-10-29 05:26:28 +00:00
Jordan Lee 3412d5d932 #4600 'missing .png files in web ui' -- fixed. 2011-10-28 15:26:03 +00:00
Jordan Lee 8f7d31c074 oops, missed a file in the previous commit 2011-10-28 03:45:36 +00:00
Jordan Lee 765ad3a915 move preferences button to the footer 2011-10-28 02:11:10 +00:00
Jordan Lee 3352edc5d0 (trunk web) continue removing unnecessary diffs between common.scss and mobile.scss 2011-10-27 15:36:30 +00:00
Jordan Lee 14f1099aba (trunk web) experiment with a very light white/red for button & torrent selection 2011-10-27 05:18:54 +00:00
Jordan Lee b5149fa472 (trunk web) tweak the filter bar and footer bar's gradient again 2011-10-27 03:57:39 +00:00
Jordan Lee 430eddbc4e (trunk web) tweak the filter bar and footer bar's gradient again 2011-10-27 03:49:10 +00:00
Jordan Lee c4a037189d (trunk web) make the filter bar and footer bar's gradients a little softer. 2011-10-27 03:41:16 +00:00
Jordan Lee 599898470d (trunk web) continue merging the two stylesheets' contents.
The endgame for this merge is to extract the common parts into a shared css file. Judging from common.css' filename, that was probably the original intention when Clutch was first written.
2011-10-27 03:00:47 +00:00
Jordan Lee 2d0d8ddae7 (trunk web) give the filter bar a gradient background like the bottom bar's. continue resolving the diffs between common.scss and mobile.scss. 2011-10-27 02:31:58 +00:00
Jordan Lee e6dfbbd94d (trunk web) try increasing the toolbar height by 10px 2011-10-27 02:03:21 +00:00
Jordan Lee 686c115bde (trunk web) use the website's red texture for the toolbar's background 2011-10-27 01:44:49 +00:00
Jordan Lee 54cb963ae0 meh, last commit was too ugly 2011-10-27 00:43:51 +00:00
Jordan Lee 94d12defa8 (trunk web) some (very) experimental changes to the color scheme. I'm not sure what the Right Thing is here, but I do know the previous approach was too grey. 2011-10-26 23:28:39 +00:00
Jordan Lee d67fc13da4 (trunk web) the preferences dialog is now activated from a toolbar button.
This is in preparation for merging about 80% of the scss code between the default and mobile versions of Clutch. Previously the mobile client had the prefs button in the footer and the default client had it in the popup menu. Now both have it in the toolbar instead.
2011-10-26 23:19:38 +00:00
Jordan Lee 7c9fdfa8dd (trunk) run all our pngs through "pngout.exe" and "optipng -zc1-9 -zm1-9 -zs0-3 -f0-5" 2011-10-26 16:11:21 +00:00
Jordan Lee ba8de0fb46 (trunk web) the inspector tabs' icons have resizing artifacts. fix these by resyncing with the mac client's icons. 2011-10-26 16:10:40 +00:00
Jordan Lee 04fd976ccf (trunk web) remove dangling </div> that was introduced in the last commit 2011-10-26 15:53:58 +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 cd13f370f7 (trunk web) buttons/cancel.png isn't used anymore. 2011-10-26 07:30:40 +00:00
Jordan Lee 4e0b6dd73d (trunk web) run the new icons through optipng and pngout 2011-10-26 07:20:16 +00:00
Jordan Lee d59b2d9978 (trunk web) reuse the old gear icon for the settings popup menu 2011-10-26 07:09:14 +00:00
Jordan Lee 3777ebd143 (trunk web) make the button image/gradient code more modular 2011-10-26 04:46:22 +00:00
Jordan Lee 773cd75d0e (trunk web) modify the statusbar's speed display a bit. 2011-10-26 04:14:39 +00:00
Jordan Lee 74cb70503b (trunk web) more changes to the look & feel of the buttons. This is a work in progress.
1. sync the toolbar buttons' appearance to match the footer & inspector buttons' new look from r13016
2. make the buttons a little easier to tap as per ticket #3862
3. try new toolbar icons from the 'wireframe mono icons' (CC attribution/noncommerical 3.0) by gentleface.com, found at iconfinder.com.
2011-10-25 23:36:47 +00:00
Jordan Lee 983c4ab206 fix typo in web/style/transmission/images/Makefile.am -- I think this is what's making hudson-t unhappy 2011-10-23 19:05:07 +00:00
Jordan Lee 611116feb3 add compact.png to the default stylesheet 2011-10-23 18:43:16 +00:00
Jordan Lee 568a6bd119 (trunk web) convert the inspector tab & bottom bar's buttons to use the same css as the inspector's file priority buttons. This is a work in progress & is being checked in for apple testing 2011-10-23 17:10:44 +00:00
Jordan Lee 98b77e89a5 fix torrent-list placement error when the inspector is visible 2011-10-22 06:27:07 +00:00
Jordan Lee 6c9d85d228 (trunk web) since the inspector tab icons aren't hardcoded in javascript anymore, we need to make sure & load them in css 2011-10-21 03:29:18 +00:00
Jordan Lee 97fb725a5c make the file priority buttons slightly narrower in the mobile css 2011-10-21 03:04:49 +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 86cb95820d fix 2.40 error changing file priorities in the web client. 2011-10-21 02:41:53 +00:00
Jordan Lee e3a6c7402d (trunk web) #4579 "lock_icon.png does not display in inspector tab for encrypted peers" -- fixed. 2011-10-20 00:10:06 +00:00
Jordan Lee d6045cba2b avoid double-include of common.css in IE8 2011-10-17 06:10:06 +00:00
Jordan Lee 4f600724a0 (trunk web) revert part of the previous commit. IE didn't add media query support until IE9, so we still have to explicitly call common.css in an "if IE8" block. 2011-10-16 03:02:39 +00:00
Jordan Lee 106ddfdcc3 stylesheet changes for IE as suggested by reardon in #4555 comment 5 2011-10-16 02:40:28 +00:00
Jordan Lee 8755206dac (trunk web) #4564 "web client doesn't run in IE7" -- fixed. 2011-10-15 04:35:20 +00:00
Jordan Lee 1f6d927bac (trunk web) #4568 "Web Client blank content area in Opera Internet Browser" -- fix HTML5 validation errors reported by validator.w3.org. This fixed the blank content area problem seen with Opera. 2011-10-15 01:33:16 +00:00
Jordan Lee 2eea730647 (trunk web) remove some newly-obsoleted directories 2011-10-14 23:00:22 +00:00
Jordan Lee 2186e53649 (trunk web) #4548 "non-local stylesheets and js" -- bundle jqueryui's css and accompanying images so that we don't have to rely on a third-party CDN. 2011-10-14 22:24:23 +00:00
Jordan Lee 854c5542eb fix 'scrollTo is not a function' error reported in IRC. 2011-10-12 00:12:05 +00:00
Jordan Lee dab5fe6bfd #4515 'load jquery via https' -- done. 2011-10-11 23:13:40 +00:00
Jordan Lee 4c018ea26a (trunk web) #4555 "Web UI broken in IE9" -- fixed with patch from reardon. 2011-10-11 15:23:41 +00:00
Jordan Lee 54d5b255e4 (trunk, web) #4515 "don't load jquery via https" -- fixed. Xref: http://encosia.com/cripple-the-google-cdns-caching-with-a-single-character/ 2011-10-11 04:51:12 +00:00
Jordan Lee 0f86650647 parsing uris is expensive, so cache the results. 2011-09-28 18:06:04 +00:00
Jordan Lee 71c06d2953 #4521 '(web) Make urls in comments clickable' -- done. 2011-09-27 16:44:35 +00:00
Mitchell Livingston cee778d694 #4517 mark "add torrent" and "blacklist" url fields as html5 url fields 2011-09-27 02:34:04 +00:00
Jordan Lee fa4b43bb7d #4515 'load jquery-ui via https' -- done. 2011-09-26 23:22:51 +00:00
Mitchell Livingston 313bcabeed #4491 add ieAll.css to the makefile 2011-09-18 23:19:46 +00:00
Mitchell Livingston 234e9715ea update jquery.form.min 2011-09-18 23:12:31 +00:00
Jordan Lee e095bba052 #4486 (trunk, web) 'filter bar no longer displays selected option' -- possible fix 2011-09-16 03:33:53 +00:00
Jordan Lee 35bdec8f5f (trunk web) since disabling context menu items doesn't work anyway, don't bother trying. (Xref: #4485) 2011-09-15 15:28:06 +00:00
Jordan Lee d00ba19cae (trunk web) ...and, also make sure that the three dialogs all use the same effects 2011-09-15 05:27:22 +00:00
Jordan Lee 2dbdeaec95 give the 'about' dialog's titlebar the title 'about' 2011-09-15 05:20:26 +00:00
Jordan Lee 8f3ee91b49 add an 'about' dialog to show the server's version number 2011-09-15 05:16:39 +00:00
Jordan Lee b396ed9f6b when no torrents are selected, have the inspector's piece info show 'N/A' 2011-09-15 04:40:38 +00:00
Jordan Lee 97c80f76db on startup, init the inspector's fields to 'N/A' where appropriate 2011-09-15 03:13:50 +00:00
Jordan Lee 819f453088 minor cleanup -- group a few related functions together. 2011-09-15 00:52:39 +00:00
Jordan Lee 4edaa5f471 add thousands formatting in the filter list 2011-09-14 18:35:31 +00:00
Jordan Lee f08bf73a8f #4482 'Sections in Prefs window make no sense' -- rearranged as per livings suggesion. 2011-09-14 17:40:37 +00:00
Jordan Lee 779316aa37 (trunk web) #4480 "Bottom bar looks bad on iPhone" -- fixed. 2011-09-14 17:17:03 +00:00
Jordan Lee c6b31a6f70 (trunk web) #4481 "preference window no longer provides version info" -- add server version information to the server statistics dialog. 2011-09-14 16:29:24 +00:00
Jordan Lee 9c2e8900a8 fix pluralization bug in formatter.timeInterval() 2011-09-14 16:26:13 +00:00
Jordan Lee 1abe7ce690 fix resize issue in web client's prefs dialog. 2011-09-14 15:38:54 +00:00
Jordan Lee ddbfb07514 (trunk web) minor code cleanup: formatting consistency, move var declarations to the beginning of functions, fit better in 80 columns. 2011-09-14 15:32:12 +00:00
Mitchell Livingston 7cbfc15f20 (trunk web) rephrase idle limit text 2011-09-14 12:21:58 +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
Mitchell Livingston 0a9e2fed45 update jQuery to 1.6.4 2011-09-13 22:49:03 +00:00
Mitchell Livingston 4c423472b2 (trunk web) rename "duration" to "running time"; align the started count with the other fields 2011-09-13 00:44:36 +00:00
Jordan Lee d94e54cb3a (trunk web) normalize the prefs tabs' borders 2011-09-12 20:37:02 +00:00
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 ff9a56b649 remove unused file 'wait20.gif' 2011-09-04 06:15:35 +00:00
Jordan Lee 2928e9e6ee (trunk web) remove unused variable 'tr' in updateFilesPage() 2011-09-03 22:45:41 +00:00
Jordan Lee bd1e5b8e12 avoid unnecessary callback closures in the inspector. 2011-09-03 19:15:03 +00:00
Jordan Lee 3efa1bfba4 remove unused functions 2011-09-03 19:13:32 +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
Mitchell Livingston 0db7e2d242 update jQuery to 1.6.3 2011-09-02 22:08:29 +00:00
Jordan Lee f04a9f89a4 (trunk, web) run the jquery files through a better minifier, uglifyjs 2011-09-02 21:46:13 +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 f65c557048 simplify the construction of the RPC constants object. Add a context argument to remote. 2011-09-02 05:36:00 +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 11ed5784e9 (trunk web) as a followup to r12802 and r12799, run the images through pngout as well. 2011-09-01 17:12:06 +00:00
Jordan Lee dcf4e53559 (trunk web) #4465 "Change WebUI 'file' icon from 'blue circle' to 'paper files'" -- fixed by copying the image from macosx/Images/ 2011-09-01 17:06:43 +00:00
Jordan Lee 2e0986756f make make happy by removing a trailing backslash that came before a blank line. 2011-09-01 14:56:00 +00:00
Jordan Lee 7f3a0c33e3 (trunk web) rename the transmission.remote.js file as remote.js 2011-08-31 22:21:22 +00:00
Jordan Lee a0d456ca9c Undoing change committed in r12789. The root problem was using jQuery.remove() in Transmission.refilter() when we needed to use jQuery.detach(). 2011-08-31 21:18:31 +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 2b65db86ba fix a bug in jquery.transmenu that caused popping the menu up to be very slow if there are a lot of torrents in torrent_list. 2011-08-31 14:22:28 +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 2ca39d9f7b (trunk web) remove TorrentRow's public method "torrentSet()", since the torrent is only set once in the constructor. 2011-08-31 04:37:49 +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 6a57cbc52f #4461 "wrong regular expression for HTTP user-agent" -- fixed. 2011-08-31 00:50:28 +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