47 Commits

Author SHA1 Message Date
Damien Churchill
c33cf71b62 stop using get_stats and fix the protocol overheads in the statusbar 2009-08-12 00:59:19 +00:00
Damien Churchill
b74fdcf558 fix calling core methods 2009-08-12 00:10:07 +00:00
Damien Churchill
3e8c17b071 complete the new auth system using cookies & sessions 2009-08-11 23:39:58 +00:00
Damien Churchill
6334820a5d stop the update_ui method from calling core methods when the client isn't connected
make the current http request available to exported methods via a __request__ global that gets set before each call
2009-08-11 15:22:59 +00:00
Damien Churchill
bf0218d785 update the doc string for export 2009-08-07 07:09:53 +00:00
Damien Churchill
76587be1a7 change the pluginmanager component name to Web.PluginManager 2009-08-03 19:21:53 +00:00
John Garland
92a37b7d81 Make sure url, filename and headers are strings before downloading. 2009-08-01 03:00:04 +00:00
John Garland
9b0d4f6118 Add support for cookies when adding a torrent by url.
Don't set torrent if torrentId is null.
Fix typo.
2009-08-01 02:38:30 +00:00
John Garland
ac28a01e0b download_file now returns the filename of the downloaded file
when the deferred is successfully fired.
Updated the docstrings in HTTPDownloader.
2009-07-25 03:56:33 +00:00
Damien Churchill
5f89f5239e add autodoc for ui.common
fix some docstrings in the json_api module
2009-07-23 00:24:07 +00:00
Damien Churchill
5ca119827b update documentation about the webui 2009-07-22 23:53:30 +00:00
Damien Churchill
3a94a33b56 just return the deferred created by httpdownloader 2009-07-20 08:39:46 +00:00
Damien Churchill
a2893cc1b7 change download_torrent_from_url to use the httpdownloader module 2009-07-20 08:20:17 +00:00
Damien Churchill
cdf2f79c66 fix some indentation issues 2009-06-27 11:36:34 +00:00
Damien Churchill
a29904fefd fix bug in get_hosts if host[x:y] is not a list 2009-06-23 10:02:22 +00:00
Damien Churchill
2e0bd1bd3c fix an error in the doc string for add_torrents 2009-06-23 09:36:30 +00:00
Damien Churchill
46163b992f split out getting host status from getting the host list to greatly improve performance of the connection manager 2009-06-22 18:28:51 +00:00
Damien Churchill
f6b90c0097 improve the docstring for the add_torrents method 2009-06-18 08:25:14 +00:00
Andrew Resch
d67477f6e2 Add OpenSSL exception to all GPL headers 2009-05-18 21:51:49 +00:00
Damien Churchill
62bc9d1844 make use of the DeferredList rather than chaining one request after another 2009-05-18 17:43:29 +00:00
Damien Churchill
901038b3c2 improvements to the doc strings 2009-05-11 19:31:29 +00:00
Damien Churchill
af4c73a594 big change to the webui auth system
added converting of old 1.1 config files
added converting of old md5 passwords to sha1
2009-05-07 16:27:22 +00:00
Damien Churchill
d011c61971 use list comprehension over lambda 2009-04-29 20:15:56 +00:00
Damien Churchill
96b38188fc add a doc string 2009-04-28 15:59:56 +00:00
Damien Churchill
d4cfebadbc fix adding torrents on windows 2009-04-27 22:19:18 +00:00
Damien Churchill
e837493757 add basic session support 2009-04-27 13:01:20 +00:00
Damien Churchill
a60bf912fb fix displaying the host-list 2009-04-21 07:26:20 +00:00
Damien Churchill
8fef414054 begin messing about with the plugin manager 2009-04-16 22:03:50 +00:00
Damien Churchill
1f63e3de1a remove get_torrent_info from ui.common
add an "as_dict" method to TorrentInfo
utilise the TorrentInfo class rather than get_torrent_info
2009-04-02 20:55:46 +00:00
Damien Churchill
031ec92799 handle an invalid torrent file and show an error message box 2009-04-02 19:43:08 +00:00
Damien Churchill
4087dd38cb implement setting the file priority via the context menu 2009-04-01 21:31:36 +00:00
Damien Churchill
0d5c30b5f9 add in the file priorities to the file tree on the details tab
add some icons for the priorities
2009-04-01 18:42:04 +00:00
Damien Churchill
cab504c90e fix a typo in a doc string 2009-03-30 22:07:47 +00:00
Damien Churchill
5c7d1e6576 use consts/vars rather than merely numbers 2009-03-30 21:37:16 +00:00
Damien Churchill
7c1d16a51c add a method to return a torrents files as a tree 2009-03-25 09:12:48 +00:00
Damien Churchill
2193905fa6 implement disconnecting from a connected daemon 2009-03-22 23:52:34 +00:00
Damien Churchill
b2f01c177f implement basic adding of torrents via url 2009-03-21 12:28:48 +00:00
Damien Churchill
3f8ef6c66e fix adding hosts and clearing the form after changing password to _password 2009-03-21 11:21:05 +00:00
Damien Churchill
f9f2a55d93 implement a basic add connection window
implement remove connection
2009-03-20 22:36:58 +00:00
Damien Churchill
a97fbbc1ef fix status when a host is connected 2009-03-20 19:00:11 +00:00
Damien Churchill
9ca7634ec9 make the stop daemon button actually stop the daemon 2009-03-20 18:26:47 +00:00
Damien Churchill
89e7198e21 add a logging statement to update_ui 2009-03-20 17:14:28 +00:00
Damien Churchill
fc68ec2929 add the improvements to the export deco 2009-03-17 01:09:23 +00:00
Damien Churchill
233ed89318 fix get_torrent_info 2009-03-17 01:03:09 +00:00
Damien Churchill
306961ed75 fix download_torrent_from_url 2009-03-17 00:45:43 +00:00
Damien Churchill
467afb5d63 slight tweak to the get_hosts method 2009-03-16 15:51:51 +00:00
Damien Churchill
0ac64da5c6 move the json resource into its own module
split the json-rpc methods and the rpc server into seperate classes
make the json-rpc server a component to allow for extension
2009-03-12 18:57:35 +00:00