Commit Graph

10 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 49ba5f230b #4616 update makefile for update jQuery 2011-11-04 23:26:09 +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 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 5e908d0662 fix jquery makefile 2010-10-17 03:09:22 +00:00
Charles Kerr 1e163ec77d (trunk) fix clutch Makefiles 2010-09-09 18:23:06 +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 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