Commit Graph

264 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
Charles Kerr 8739cb9c88
fixup! (trunk) update credits (#1205) 2020-05-02 11:42:18 -05: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 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 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
Mike Gelfand 50364a7883 #4866: Replace existing menus with jQueryUI menu 2015-04-30 05:20:48 +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
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 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 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 c3be9b9afc (web) fix add-by-URL regression in the nightlies 2013-04-10 03:00:37 +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 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 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 729ef84e62 (web) #5214 'add free space indicator': added with patch by taem 2013-01-27 17:41:35 +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 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 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 4727e20aba (trunk, web) fix bug #4621 'seeding progressbars don't show in web ui' 2012-04-08 14:48:57 +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
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 e2c24f28c4 (trunk web) experiment with making the filterbar more phone-friendly 2011-11-13 18:04:29 +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 8f7d31c074 oops, missed a file in the previous commit 2011-10-28 03:45:36 +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 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 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 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 0f86650647 parsing uris is expensive, so cache the results. 2011-09-28 18:06:04 +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 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 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