Commit Graph

46 Commits

Author SHA1 Message Date
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
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 749c9a4c7d update jQuery to 1.7.1 2011-11-22 03:19:34 +00:00
Mitchell Livingston 49ba5f230b #4616 update makefile for update jQuery 2011-11-04 23:26:09 +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 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
Mitchell Livingston 234e9715ea update jquery.form.min 2011-09-18 23:12:31 +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 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 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 92babd4141 #4455 'Action on N>1 torrents doesn't work properly in web interface' -- fix bug in jquery.contextmenu that clobbered jQuery.delegate bindings. 2011-08-29 20:28:19 +00:00
Jordan Lee dd2033107f (trunk web) migrate from json.js to json2.js. <http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/> 2011-08-28 14:51:49 +00:00
Jordan Lee f19a8a60f3 (trunk web) use the same CDN cache of jQuery that everyone else does s.t. users can avoid redownloading jquery.min.js when using the web client. 2011-08-21 16:59:00 +00:00
Mitchell Livingston 179022bb8f update jQuery to 1.6.2 2011-07-04 18:03:33 +00:00
Mitchell Livingston 9ea0a9ff80 update jquery.form.min 2011-05-21 02:57:17 +00:00
Mitchell Livingston 6bd919cf91 bump jquery.form to 2.75 2011-05-21 02:51:34 +00:00
Mitchell Livingston e0754c8b98 update jQuery to 1.6.1 2011-05-12 22:13:55 +00:00
Mitchell Livingston a0fd938fae #4002 Update to jQuery 1.6 2011-05-03 21:52:37 +00:00
Mitchell Livingston 034d9a4964 update jQuery to 1.5.2 2011-03-31 21:52:30 +00:00
Mitchell Livingston 957b14a7f6 update jquery to 1.5.1 2011-02-25 00:06:16 +00:00
Mitchell Livingston 4c4a248c02 #4002 Update to JQuery 1.5 2011-02-09 02:45:54 +00:00
Mitchell Livingston f74e3b5b3a #3881 Right click torrent context menu does not work with Firefox / Firegestures / Ubuntu 2011-01-15 17:00:52 +00:00
Mitchell Livingston 655c22a033 update jQuery to 1.4.4 2010-11-28 16:52:52 +00:00
Mitchell Livingston 5e908d0662 fix jquery makefile 2010-10-17 03:09:22 +00:00
Mitchell Livingston bc6648a06b update json2.js to 2010-08-25 2010-10-17 03:07:37 +00:00
Mitchell Livingston f42031891f update jquery.form to 2.47 2010-10-17 02:57:32 +00:00
Mitchell Livingston f0786efc40 bump jquery to 1.43 2010-10-17 02:46:46 +00:00
Charles Kerr 1e163ec77d (trunk) fix clutch Makefiles 2010-09-09 18:23:06 +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
Charles Kerr fa7f51f130 (trunk web) rewrite the dialogs to use jQuery.UI instead of a homerolled dialog. This partially to use more standardized components, and partially to get rid of as many browser/platform-specific hardcodings as possible to make the code more flexible. I'm flying blind wrt iPhone support, so for a little while this may be a two-steps-forward-one-step-back process. Feedback from users runnin the web client on their phones is encouraged... 2010-08-08 20:06:46 +00:00
Charles Kerr 4d748e5cbf (trunk web) #2981 "update jQuery to v1.4.2" -- fixed in trunk for 1.92 2010-02-26 18:02:51 +00:00
Kevin Glowacz 762307a1d6 (trunk web) update jQuery to 1.4.1 2010-01-26 20:03:04 +00:00
Kevin Glowacz 30eabcb7aa (trunk web) update to jQuery 1.4 2010-01-15 03:41:57 +00:00
Kevin Glowacz 985438143f (trunk web) there is really no reason to keep the unminified jquery around 2010-01-15 03:41:51 +00:00
Charles Kerr 19e8753300 (trunk) #2674 "Do not put the .svn directories to released tar file" -- that's all well and good, but it would be nice if the web client's files *were* released to the tarfile. 2009-12-16 01:44:33 +00:00
Charles Kerr 5ea18bc4ec (trunk) #2674 "Do not put the .svn directories to released tar file" -- fixed for 1.80 2009-12-15 16:24:03 +00:00
Kevin Glowacz 840e258e87 (trunk web) don't let the context menu go off the right side or bottom of screen. Fixes #2358 2009-12-15 01:17:17 +00:00
Kevin Glowacz fe8743be5c (trunk web) Add turtle mode. Patch from Grug. Fixes #2157 2009-11-10 05:42:57 +00:00
Charles Kerr b3bd122108 (trunk clutch) #2272: Web UI list items do not "match" in FF 3.5 2009-07-13 14:03:17 +00:00
Charles Kerr 57ac99d6a1 (trunk web) don't use jquery.dimensions as a separate file anymore; it's been integrated into the JQuery core. http://forum.transmissionbt.com/viewtopic.php?f=8&t=7193&p=35322#p35322 2009-03-10 23:00:17 +00:00
Charles Kerr e3fe892c0a (trunk web) update jquery from 1.3.1 to 1.3.2 2009-03-10 02:00:53 +00:00
Charles Kerr fb1826bcf8 (trunk web) use a better minifier for jquery.form.min.js. 2009-03-03 14:06:56 +00:00
Charles Kerr 0aac8e2077 (trunk web) upgrade jquery from 1.2.6 to 1.3.1; upgrade jquery.form from 2.12 to 2.21 2009-03-03 05:13:48 +00:00
Charles Kerr 545414c632 fix jquery-dimensions include bug reported by Spry 2008-10-19 18:52:47 +00:00
Charles Kerr 2a1f6c8923 add the rest of Clutch to m0k.org's svn 2008-07-10 23:57:46 +00:00