Commit Graph

711 Commits

Author SHA1 Message Date
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