Commit Graph

3472 Commits

Author SHA1 Message Date
John Garland 8dd4d2f094 Fixed typo. 2010-02-21 02:32:24 +11:00
Damien Churchill 9ad59d5f48 fix #1148, saving execute commands, tuples can't be assigned to stupid me 2010-02-19 23:48:54 +00:00
Damien Churchill 7999bd1e8c now the size and speed formatters hide on 0 fix the status tab so it displays the same as the gtkui 2010-02-19 20:43:27 +00:00
Damien Churchill c81b1620ca fix the doc for fspeed and hide if speed == 0 2010-02-19 20:22:37 +00:00
Damien Churchill 6d4cf138c8 fix #1147 in trunk as well 2010-02-19 19:50:24 +00:00
Damien Churchill a011d6d659 Merge branch 'master' of deluge-torrent.org:deluge
Conflicts:
	libtorrent
2010-02-19 00:39:11 +00:00
Damien Churchill bb00387903 fix the peers progress renderer 2010-02-18 02:20:43 +00:00
Damien Churchill ea365bf671 fix the cancel button in the edit trackers window 2010-02-18 02:02:32 +00:00
Damien Churchill 1d2a6f7f0e implement a better remote events system 2010-02-17 01:50:05 +00:00
Damien Churchill 7bd5ba3cdb use createDelegate and add the onHide method that stops updating the hosts grid 2010-02-17 01:34:42 +00:00
Damien Churchill 68b5f92ec0 build up the details tab html within the javascript as well as making it easy for plugins to add extra items 2010-02-10 23:16:17 +00:00
Damien Churchill 04242ba91c fix the broken torrent menu and use icon classes rather than straight icon urls 2010-02-10 22:35:47 +00:00
Damien Churchill eef9d8ec13 update the copyright header year for all the js files
implement a new update method that will be compatible with the torrent status deltas
add a new script containing a record for a Torrent
2010-02-10 22:15:29 +00:00
John Garland 0e9a691954 Fix weird gtk bug that breaks create dialog box's pieces size selection. 2010-02-04 11:17:26 +00:00
Andrew Resch 9b23ce9e06 Use the preferred locale encoding when renaming files on add 2010-02-03 02:41:24 +00:00
Damien Churchill f9d2e96d39 fix the ip address sort function 2010-01-29 16:40:49 +00:00
Damien Churchill caed5accea use get_host() in connect() 2010-01-29 15:35:51 +00:00
Damien Churchill 343521ca25 stop the torrent grid from resetting its position upon update 2010-01-29 11:04:26 +00:00
Damien Churchill 1d29f67a75 fix the progress bar in the grid 2010-01-28 22:49:56 +00:00
Damien Churchill da8367de4d fix the row height 2010-01-28 18:43:30 +00:00
Damien Churchill 0647c4e3d7 use the BufferView to ease torrent loading in the interface 2010-01-28 18:39:16 +00:00
Damien Churchill 976824ad99 revert to the default theme if the selected themes stylesheet is missing 2010-01-27 20:23:15 +00:00
Damien Churchill a4e12c1d94 change the favicon on the docs template 2010-01-27 11:14:05 +00:00
Damien Churchill db4d0fabe7 remove the entry for jsdoc 2010-01-26 18:21:09 +00:00
Damien Churchill 25b282fdb8 add the full path to the info returned by the file tree 2010-01-26 18:20:43 +00:00
Damien Churchill 518a73079a fix some issues with the add window 2010-01-26 18:18:14 +00:00
Damien Churchill 0634592bd9 add a doc string 2010-01-26 18:17:24 +00:00
Damien Churchill 3e13fe1229 change the formatting 2010-01-26 17:42:17 +00:00
Damien Churchill 7125eab8b2 add a doc string 2010-01-26 17:42:02 +00:00
Damien Churchill 57a9e925a7 no need to have this wrapped in an inline function
add a solitary doc string
2010-01-26 17:35:18 +00:00
Damien Churchill 4afcae325a use createDelegate rather than bind, saving implementing our own method of setting a functions scope 2010-01-26 17:31:32 +00:00
Damien Churchill dc764b2ad5 add some basic doc strings 2010-01-26 17:26:53 +00:00
Damien Churchill 454321614b update the doc strings 2010-01-26 17:07:23 +00:00
Damien Churchill d39f6843c9 add the deluge docs template and a build_docs shell script 2010-01-26 17:05:48 +00:00
Damien Churchill f63435db90 remove the old jsdoc-toolkit docs folder 2010-01-26 15:25:38 +00:00
Damien Churchill 8c3b6cb0db add a project file for ext-doc 2010-01-26 15:23:45 +00:00
Damien Churchill a89d0d42aa rebuild the non-dev scripts 2010-01-26 14:03:14 +00:00
Damien Churchill 3368c4c67d re-enable a number of disabled scripts
use hbox for the buttonPanel and remove the pre ext3 hack
2010-01-26 13:59:25 +00:00
Damien Churchill 447cb52bf1 add .x-mixed-download to the priorities css
fix the way the directory stats are updated (parent directories weren't being updated)
2010-01-26 13:25:44 +00:00
Damien Churchill 2afd0a4e97 fix the progressbar renderer for the file tree
add a new file priority "Mixed"
add progress bars and priorities for directories using the new tree format
2010-01-26 13:18:16 +00:00
Damien Churchill 7727a98c45 add a second FileTree class that stores everything as a dict within the tree so information can be stored for directories 2010-01-26 13:12:32 +00:00
Damien Churchill 744f11e19b rename the TreeGridCustomColumn to TreeGridRenderColumn and add the column object to the template so its accessible from the renderer 2010-01-26 13:11:29 +00:00
Andrew Resch 0a86a30c2a Initialize session_id to -1 so that it will always return something even
if no connections to the daemon have been established
2010-01-26 02:42:30 +00:00
Andrew Resch ec410fc1a9 Remove some debug code 2010-01-26 02:01:53 +00:00
Damien Churchill 7af689e57f change the priority renderer to return '' if there is no value 2010-01-25 15:10:14 +00:00
John Garland fa0d6b1aa0 Increased GTK UI limit for download / upload to 60000. 2010-01-25 09:46:08 +00:00
Andrew Resch 8fc4caa2f1 Wait on the session state before requesting torrent status updates 2010-01-25 04:58:01 +00:00
Andrew Resch 25afa04ba3 Use torrent status diffs in the TorrentView to reduce the amount of rpc
traffic from the core->gtkui
2010-01-25 00:15:12 +00:00
Andrew Resch c202f7727f Add some rpc stats to the gtkui debug logging 2010-01-24 22:44:44 +00:00
Damien Churchill d74050e7a6 partially working files tab added back in 2010-01-24 04:06:06 +00:00
Damien Churchill c7635b0ff0 remove commented out line that scanned for the width which is redundant now width is a property of the renderer 2010-01-24 03:29:44 +00:00
Damien Churchill 0d069d0fe8 change the queue number server side 2010-01-24 03:27:43 +00:00
Damien Churchill e441f96204 use Ext.ux.StatusBar 2010-01-24 03:01:12 +00:00
Damien Churchill 92d19fd58d initial commit of the big js layout overhall (ui loads but there are parts missing) 2010-01-24 02:55:32 +00:00
Andrew Resch e79f6ada2f Move the formatting of RPCRequests to a function so that it's not done every time a rpc request comes
in
2010-01-23 23:50:43 +00:00
Andrew Resch 0e0cc30128 Add ability to get the session id and validate it.
Fix up some docstrings
2010-01-23 23:41:06 +00:00
Andrew Resch 30280b0803 Remove debug print 2010-01-23 22:05:49 +00:00
Damien Churchill fe6bcd62be remove all the torrents from the store upon logout 2010-01-23 20:34:32 +00:00
Damien Churchill 14cea4fbc7 change the data store to a json store to save translating the data into an array first 2010-01-23 15:50:32 +00:00
Damien Churchill 899ac7c86e remove starting the events manager upon client connect 2010-01-23 15:39:05 +00:00
Damien Churchill 39341f623f fix the formatting and change it so the events manager is started on the login event 2010-01-23 15:38:07 +00:00
Damien Churchill 42cbf4f5c6 change the default theme to gray 2010-01-23 15:37:04 +00:00
Damien Churchill a3d98029f9 fix formatting and set Ext.USE_NATIVE_JSON to true 2010-01-23 15:35:44 +00:00
Damien Churchill 031f75a2bb disable the override to formlayout for the time being 2010-01-23 15:34:50 +00:00
Damien Churchill a59332b4ef fix logging in 2010-01-23 15:34:32 +00:00
Damien Churchill 1b2d5bc6ad tweak the way the login is built up 2010-01-23 15:31:17 +00:00
Damien Churchill f14b3a8459 fix typo 2010-01-23 14:38:28 +00:00
Damien Churchill 76fcfa498d add gzip encoding to responses that are just text 2010-01-22 12:39:33 +00:00
Damien Churchill 2073ae0221 change the default theme to blue for the time being 2010-01-21 21:17:18 +00:00
Damien Churchill cd24acd74f upgrade to ext js 3.1 2010-01-21 21:01:02 +00:00
Damien Churchill 1ac0403f05 switch the css file in the server list 2010-01-21 20:28:10 +00:00
Damien Churchill 90e562ff98 update the rest of the css files 2010-01-21 19:53:02 +00:00
Damien Churchill e010a789c4 remove the carriage returns 2010-01-21 19:50:55 +00:00
Damien Churchill 964d85d908 update the theme images 2010-01-21 19:34:05 +00:00
Damien Churchill 3068f006e2 remove the slate theme that is no longer supported 2010-01-21 19:28:40 +00:00
Damien Churchill f4cf3d9893 convert spaces to tabs 2010-01-21 19:19:37 +00:00
Damien Churchill 708ad2e665 add a __contains__ method to the config class
fix upgrading old configs when the key doesn't exist in the old config
2010-01-20 21:04:40 +00:00
Damien Churchill 0819697c5b update the gettext.js generation script and gettext.js 2010-01-20 20:37:14 +00:00
John Garland 0121d721cb Make sure all data is passed to pagePart. Accept x-gzip encodings. 2010-01-20 12:36:07 +00:00
Andrew Resch 4420f2fae5 Fix hanging when using commands from the command-line
Fix displaying plugin command output on the command-line
2010-01-19 23:00:48 +00:00
Andrew Resch f8f9438950 Fix #1128 Show an error dialog when unable to start a 'deluged' process 2010-01-18 02:36:03 +00:00
Andrew Resch e211b6feca Update main window glade orientations 2010-01-17 22:18:45 +00:00
John Garland d9b9f22998 Completely disable gzip decoding when allow_compression=False. Add extra test. 2010-01-16 04:50:01 +00:00
John Garland 0e2dd9f389 Add gzip decoding support to httpdownloader (implements #1012). 2010-01-14 12:43:59 +00:00
John Garland cbac2fbd5a Fix typo. Remove obselete function. 2010-01-14 12:32:04 +00:00
Pedro Algarvio be70305365 Make sure that the port test status image is always reset between tests. Added a "loading" image when the test is in course. 2010-01-12 03:15:50 +00:00
Andrew Resch f586b91a59 Remove workaround for lt 0.15 when setting the trackers 2010-01-10 20:17:59 +00:00
Andrew Resch 623c5ab57b Fix displaying new release dialog in Windows 2010-01-10 19:47:31 +00:00
Pedro Algarvio ed00536468 Add missing import(removed on a previous check-in???). 2010-01-10 16:26:41 +00:00
Andrew Resch 430b96f4f5 Do not save_state right away, but rather wait for the timer loop 2010-01-08 23:36:44 +00:00
Andrew Resch ac66f305e7 Fix displaying root folder when using the 'path.utf-8' keys in torrents 2010-01-08 21:26:33 +00:00
John Garland 8175b2af58 Use cStringIO to open zip files in python 2.5 2010-01-07 15:27:05 +00:00
John Garland 4dbc93b1fa Rewrote call to use maybeDeferred (this handles methods that return deferreds).
Fixes #1114.
2010-01-07 00:45:47 +00:00
Andrew Resch 97375f1a7c Fix #1117 can't use the '3' key 2010-01-04 00:18:53 +00:00
John Garland 6312ad4a7e Add rudimentary support for local files 2010-01-03 18:02:30 +00:00
John Garland b06f46ea7c Fix blocklist ignoring try_times.
Make blocklist print error messages on failures.
2010-01-03 16:27:05 +00:00
Andrew Resch a570e67a4d Fix #1116 not being able to use command aliases when not connected to a daemon 2010-01-03 01:37:57 +00:00
Andrew Resch 221c9984d6 Fix #1115 not showing usage for the 'debug' command 2010-01-02 23:25:45 +00:00
Pedro Algarvio ccc97f83a8 Yet, some more logging clean-ups.... 2010-01-01 22:49:02 +00:00
Pedro Algarvio d557cda55c Clean-up logging. 2010-01-01 22:45:03 +00:00
Pedro Algarvio eee6d4c030 The !FreeSpace plugin only calculates free-space on existing directories. Cleaned-up logging. 2010-01-01 21:44:55 +00:00
Pedro Algarvio 177ec7d5c2 Allow choosing which columns are seen on the torrent view by right-clicking it's headers. 2010-01-01 21:27:13 +00:00
Pedro Algarvio f30a10f2b8 Add "Save Path" column to the torrent view. 2010-01-01 21:23:57 +00:00
John Garland 1c665b7d2f Simplify logic flow a bit (should make local file support easier).
Improve docstrings.
2010-01-01 16:02:20 +00:00
Andrew Resch 717897b343 Don't apply 'stop/remove on completed' rules to torrents in a Queued or Paused state 2009-12-28 21:50:13 +00:00
John Garland 7f33292aca Fix not being able to rename folder due to constant updating 2009-12-26 17:10:14 +00:00
John Garland 3e67620e55 Fix torrent info name not being utf-8 decoded when root file/folder name is blank 2009-12-26 17:09:05 +00:00
Andrew Resch ec9564d0c1 #496: Remove deprecated functions in favour of get_session_status() 2009-12-25 21:29:47 +00:00
Andrew Resch ffb241a4de Strip lines/spaces 2009-12-25 21:27:07 +00:00
Andrew Resch d57b2b43ec Implement #457 progress bars for folders 2009-12-24 20:06:23 +00:00
Andrew Resch 19e2ab2187 Have the .desktop file run 'deluge-gtk' 2009-12-23 23:54:00 +00:00
Andrew Resch 8e7d4f2cd4 Change share ratio calculation to use the total done instead of the all time downloaded value. This change will make the share ratio calculation not use data downloaded in failed hash checks. 2009-12-23 18:44:00 +00:00
Andrew Resch ef2ca43c3d Add in a '_' builtin method if unable to initialize gettext 2009-12-23 01:34:58 +00:00
Andrew Resch 8bedc613a0 Fix possible TorrentFinishedEvents being emitted on startup for already completed torrents 2009-12-23 01:28:33 +00:00
Andrew Resch cd3221baf6 Fix exceptions when gettext/locale cannot be initialized properly 2009-12-21 19:41:31 +00:00
John Garland e0ebffb8fa More relaxed definition of what a commented line is in a blocklist.
Decorate readranges with raiseError rather than parse to increase performance.
2009-12-21 13:58:24 +00:00
Damien Churchill c7d52f3ce5 fix filtering on the tracker host, use `==` rather than `in` so tracker urls that contain another trackers url within them aren't picked up as well 2009-12-21 10:26:50 +00:00
John Garland fad6ba2193 Fix blocklist status icon not opening proper preferences page.
Show blocklist's file date using the locale's date / time representation.
2009-12-20 09:01:07 +00:00
Andrew Resch 22c9d7c0ee Fix some packing due to the last commit 2009-12-20 04:23:50 +00:00
Andrew Resch 3a864bcdad Plugin preference pages will now expand to fill 2009-12-20 04:18:21 +00:00
Andrew Resch 14f894959f Fix displaying folders in the add torrent dialog 2009-12-20 04:02:41 +00:00
Andrew Resch 6aebcef2b5 Fix file renaming 2009-12-20 03:45:14 +00:00
Andrew Resch 9e53e33c24 Fix #1104, #735 use path.utf-8 if available 2009-12-18 04:36:42 +00:00
John Garland 62a336b7d8 Remove redundant variable. 2009-12-17 23:08:55 +00:00
Andrew Resch 0cc00ba5df Partial fix for #1103 if the per-torrent option for stopping at a ratio has been unchecked, then do
not stop it at the global setting.
2009-12-17 21:40:21 +00:00
Andrew Resch a161bbfcb6 Fix #1095 incorrect piece size used when using some non-English languages 2009-12-17 21:27:04 +00:00
John Garland f03d1818fa Upgrade older confs instead of just dying.
Fix major logic error when checking if an update is needed.
2009-12-16 13:46:39 +00:00
John Garland 13b2e7da26 Fix import on startup which got broken in previous commit. 2009-12-16 12:46:57 +00:00
John Garland 377f8cf886 Fix blocklist not working for all locales (#1059). 2009-12-16 11:55:34 +00:00
Andrew Resch 72c9a46fa3 Apply #1100 sort plugins list by name 2009-12-15 17:37:05 +00:00
Andrew Resch 53b9cdebcd Fix #1099 use triple quotes on docstrings 2009-12-15 06:36:02 +00:00
Andrew Resch dc9e2597da Fix showing the remove torrent dialog twice if using the delete key and pressing cancel in the dialog 2009-12-14 23:20:35 +00:00
Andrew Resch bc27c2cdf7 Remove Notifications from list 2009-12-14 23:16:56 +00:00
Andrew Resch a9631daf7f Fix #768 save tracker list for create torrent dialog 2009-12-14 18:46:08 +00:00
Andrew Resch d1f6ca90fc Fix #1086 deprecated gtk.Tooltips usage 2009-12-14 18:20:51 +00:00
Andrew Resch 68749a7ad5 Fix #594 tray password dialog freeze in Windows
Made the password dialog prettier
2009-12-14 02:15:08 +00:00
Andrew Resch 5b94861fc9 Fix issue where stoping a daemon that you aren't connected to causes the gtkui to shutdown the
currently connected daemon.
2009-12-14 00:48:18 +00:00
Andrew Resch a8697114c1 Fix #823 setting config values to -1.0 2009-12-13 22:47:15 +00:00
Andrew Resch 0042fb1767 Add #891 remove torrents by pressing the Delete key 2009-12-13 22:16:05 +00:00
Damien Churchill b69e25e308 disconnect the client if getting information fails 2009-12-13 21:50:16 +00:00
Damien Churchill 3c24d72489 use metavar to change the output of --help by optparse 2009-12-13 21:49:10 +00:00
Andrew Resch 358b5f4b19 Fix issue where hosts will show up erroneously as Offline 2009-12-13 21:46:55 +00:00
Andrew Resch 43df21517e Disconnect from daemon if getting the info fails 2009-12-13 21:34:26 +00:00
Andrew Resch 43a5a9111b Fix autoconnecting to a host other than the first one in the list 2009-12-13 21:29:46 +00:00
Andrew Resch 773f65d708 Add an error dialog when trying to add a duplicate host
Center the add host dialog over the connection manager
2009-12-13 21:25:22 +00:00
Andrew Resch cd7b5082a0 Fix #1036 autoconnecting to localhost daemon on start-up 2009-12-13 20:49:23 +00:00
Andrew Resch f3f3b3669f Fix #782 do not ask for tray password when window is not minimized to tray 2009-12-12 22:38:26 +00:00
Andrew Resch 7e0d09a7bc Fix #692 no longer require tray password when quitting from the tray icon while the window is
visible.
2009-12-12 21:22:51 +00:00
Damien Churchill 42e904b63c reset the add torrent window on hide 2009-12-12 15:56:49 +00:00
Andrew Resch 35186faf78 Fix printing 'rm' command usage when called with no arguments 2009-12-11 21:19:48 +00:00
Andrew Resch 62dfd6a664 Implement #1063 option to delete torrent file copy on torrent removal - patch from Ghent 2009-12-11 21:00:12 +00:00
Damien Churchill 8212a66d5a fix #1075 (changing priority on a whole folder) 2009-12-11 20:45:59 +00:00
Andrew Resch eac2a10a12 Fix possible exception when upgrading from a 0.5 state file 2009-12-10 21:28:51 +00:00
Andrew Resch 9f034657b0 Fix [6003] as it reverted a change 2009-12-10 21:15:56 +00:00
Damien Churchill f7b3e11729 update some of the icons in the webui 2009-12-10 18:24:31 +00:00
Damien Churchill b47f6badd7 disable the files and options tabs until a torrent has been selected 2009-12-10 17:45:40 +00:00
Damien Churchill 2ecb233b5b fix uploading plugins when the daemon is not localhost 2009-12-10 17:35:35 +00:00
Damien Churchill 040f1a5c6d fix the onResize method for the togglefield so it resizes the textfield to the correct size 2009-12-10 17:26:45 +00:00
Damien Churchill a126081d2c implement installing plugins via the webui 2009-12-10 15:40:37 +00:00
Damien Churchill 104852d47e fix the upload_plugin method as it wasn't upgraded to deluge-rpc spec 2009-12-10 15:31:27 +00:00
Damien Churchill a2cc2cdd8f remove the margin and padding from the bottom of the options fieldset 2009-12-10 14:35:10 +00:00
Damien Churchill 7650ebc373 fix enabling plugins on the fly 2009-12-10 14:32:55 +00:00
Andrew Resch a4e8d1eb46 Fix using the console in Windows, but only in command-line mode 2009-12-10 01:26:26 +00:00
Damien Churchill b9d2094a15 tweak the download prefs page so no scrollbars appear 2009-12-10 00:38:48 +00:00
Damien Churchill 3f383df479 improve the ToggleField widget, having the checkbox to the left of the
field rather than above it
2009-12-10 00:32:24 +00:00
Damien Churchill 1ba3955025 add tooltips to the statusbar items
add disk free space to the statusbar
2009-12-10 00:06:34 +00:00
Damien Churchill 0d3f364aac Apply cookie date fix from adios 2009-12-09 13:13:04 +00:00
Damien Churchill d119fa3629 fix a bug in the execute plugin when move_completed is used the incorrect path was passed in 2009-12-08 11:24:56 +00:00
Damien Churchill 5129682727 tweak the sizes of some form elements to improve the layout 2009-12-08 02:09:03 +00:00
Damien Churchill 96becf60bd begin the makings of the togglefield widget that allows enabling of move completed/copy torrent files/auto add torrent files fields 2009-12-08 01:56:15 +00:00
Damien Churchill 9c3efd17cb Change the compressed js script to deluge-all.js to avoid naming conflicts on case sensitive filesystems 2009-12-01 17:11:07 +00:00
Damien Churchill 19455a7adf copy server.py across from the 1.2 branch 2009-12-01 13:02:46 +00:00
Andrew Resch 57c96477c1 Add button to Other preferences to associate magnet links with Deluge 2009-11-30 03:50:28 +00:00
Andrew Resch f9c61bbc11 Fix #1085 only use ints for specific options to prevent unhandled exception 2009-11-29 21:32:56 +00:00
Andrew Resch a80c4e18e7 Fix crash in Windows when creating a torrent 2009-11-29 07:38:29 +00:00
Andrew Resch e73c65e602 Properly show 100.00% and reduce number of progress bar updates during a torrent creation 2009-11-29 07:37:29 +00:00
Andrew Resch 8c283875fb Register just 'deluge' not '/usr/bin/deluge' in the magnet uri handler 2009-11-29 01:45:46 +00:00
Andrew Resch 1353ce6903 Attempt to register as the default magnet uri handler in GNOME on startup 2009-11-29 01:40:30 +00:00
Andrew Resch 3136e5490f Add some checks for OSX since it doesn't support SVG icons 2009-11-29 00:52:00 +00:00
Damien Churchill cffce4a706 swap the order of the buttons in the remove window 2009-11-26 14:59:04 +00:00
Damien Churchill 1c318504cf update the build script and rebuild deluge.js and ext-extensions.js 2009-11-25 18:52:00 +00:00
Damien Churchill 115a7c3795 rename deluge-yc.js to deluge.js in trunk 2009-11-25 18:51:19 +00:00
Damien Churchill a567b23262 prevent undefineds ending up as a key in the option manager 2009-11-25 18:37:06 +00:00
Andrew Resch 93468f342a Set batch_write to False in __init__ 2009-11-25 18:23:55 +00:00
Andrew Resch 94625c48b2 Fix loading the saved metadata when loading state with magnet uris 2009-11-25 01:55:51 +00:00
Andrew Resch 20dc0a5e8a Fix files list when using magnet uris 2009-11-25 01:41:50 +00:00
Andrew Resch e6135aa2a9 Fix some accidental reverts 2009-11-25 01:00:25 +00:00
Pedro Algarvio 1cb42252b8 Don't throw errors when de-registering notifications.
If sound notifications is not possible or disabled, also disable the sound customization notebook page.
2009-11-22 08:14:09 +00:00
Pedro Algarvio 7812f7b4e4 Update the Notifications and FreeSpace plugins descriptions.
On the Notifications plugin, moved the Core and GtkUi notification implementations to `core.py` and `gtkui.py` respectively.
2009-11-22 06:56:50 +00:00
Pedro Algarvio 127b577440 If plugin is installed on an older client, `known_events` might not exist yet. 2009-11-22 06:13:11 +00:00
Pedro Algarvio a5e8a9dc69 Only import `gtk` inside the GtkUi notifications implementation. Like this one won't need have `gtk` installed if only the daemon is running. 2009-11-22 05:58:32 +00:00
Pedro Algarvio 9bfa5f10b6 Since the WebUI does not yet do anything, remove it's entry point from the notifications plugin.
Cleanup debugging output.
2009-11-22 03:55:36 +00:00
Pedro Algarvio 67c0f8609b Merge Heads. 2009-11-22 03:08:28 +00:00
Pedro Algarvio 7061e09a8e Remove unused module. 2009-11-22 02:35:55 +00:00
Pedro Algarvio e327d87ebc Moved all notifications into their own classes from which the Core, GtkUi, and possibly latter, Web, plugins inherit from.
The plugins now just handle configuration stuff.
2009-11-22 02:35:47 +00:00
Pedro Algarvio c4f0920c18 Notifications are now working for the built-in `TorrentFinishedEvent` and the custom one for email, popup, blink and sound notifications. Sounds can even be tweaked for each of the events types.
Needs some code cleanup.
2009-11-22 02:35:37 +00:00
Pedro Algarvio adb22bdfa5 Add the test module so that it can be version tracked. 2009-11-22 02:35:28 +00:00
Pedro Algarvio 01a43544d5 Remove un-used module. 2009-11-22 02:35:19 +00:00
Pedro Algarvio 8420d6105b Custom notifications now working for emails, popups, blinks and sound.
Blinks might need some changes because, there's no need to formar or gather extra info, so, it might not be needed to allow plugin developers to register custom handlers for it.
2009-11-22 02:35:12 +00:00
Pedro Algarvio 1b7a50f88b Checkpoint:
* Custom notification providers working for email.
  * Configuration through the GtkUI working.
2009-11-22 02:35:02 +00:00
Pedro Algarvio 8a6ec7232d Merge SVN and HG heads. 2009-11-22 02:34:51 +00:00
Pedro Algarvio 535940e2e6 Notifications(email, blink, popup, sound) are working both for classic mode and daemon mode.
Still need some further tests for using `component.get('Notifications').notify*()`.
2009-11-22 02:34:35 +00:00
Pedro Algarvio 0723a77214 First notifications plugin commit.
Working when not in classic mode. In classic mode, needs some more coding.
2009-11-22 02:34:23 +00:00
Andrew Resch 1f58910a38 Fix adding torrents with different metadata by storing the bencoded dict too. If we bencode the stored metadata dict, there is a chance the order of the dict will be different and change the info-hash. 2009-11-20 19:13:12 +00:00
Andrew Resch 634ecdeb1d Fix issues adding magnet uris 2009-11-19 04:51:19 +00:00
Andrew Resch aa86aa6fe1 Fix issue where some torrents with special characters could not be added 2009-11-19 02:39:07 +00:00
Andrew Resch 789356d44d Fix exception on startup when the system tray icon is not enabled 2009-11-19 02:29:37 +00:00
Andrew Resch 2b3bd4f1f3 Change the event_list to be a dictionary of known_events and their docstrings 2009-11-16 00:39:15 +00:00
Andrew Resch ad04b2a137 Add way to get a list of DelugeEvent classes 2009-11-14 23:42:04 +00:00
Andrew Resch 1a1ab4e780 Fix endless loop when trying to autoconnect to an offline daemon 2009-11-13 05:26:54 +00:00
Andrew Resch 330b8b3ced Fix autoconnecting to the next host in the list if the selected one isn't available 2009-11-13 05:22:38 +00:00
Andrew Resch bdba9cd00a Fix #1071 issue where Deluge will fail to start if there is a stale ipc lockfile 2009-11-13 01:07:36 +00:00
Andrew Resch f98c3adf2f Comment out a debug log 2009-11-10 18:28:27 +00:00
Andrew Resch ec2c5ab937 Reduce height of Add Torrent Dialog by ~80 pixels 2009-11-10 02:45:36 +00:00
Damien Churchill 8dff2375d0 remove alpha from the title 2009-11-09 23:48:32 +00:00
John Garland 4e2c0a70c4 Allow for colons in PeerGuardian/SafePeer lists' descriptions.
Check that the start & end range resembles an ip when checking a list's validity.
2009-11-09 08:54:13 +00:00
John Garland 41353c9ae4 Force blocklist to re-detect the format when a download is forced.
Move remove_zeros to common.py and simplify / speed up.
Change debug logging lines to be more uniform.
2009-11-09 01:52:58 +00:00
Andrew Resch e73052df1c Fix printing info, help, etc.. on the command line 2009-11-08 17:22:57 +00:00
Andrew Resch 9b8282010c Fix disabling/enabling plugins after switching daemons 2009-11-08 04:04:40 +00:00
Andrew Resch dd67a935cb Fix #1067 import os 2009-11-06 19:22:13 +00:00
Andrew Resch 0a84bc73c5 Only try to stop LoopingCalls if they are running 2009-11-05 04:35:17 +00:00
Andrew Resch baa177a1b1 Fix deleting old .fastresume files with fresh configs 2009-11-05 03:44:46 +00:00
Damien Churchill fa5b7e7a66 allow commands that are .pyc files to be used 2009-11-04 23:49:07 +00:00
Damien Churchill 902ef3fa28 run the path from the add command through os.path.expanduser 2009-11-04 23:36:27 +00:00
Damien Churchill 8144d15689 add a basic move storage window that fixes #1057 2009-11-04 20:45:21 +00:00
Damien Churchill dd860e67f7 remove the connected call upon an update to reduce the number of ajax calls 2009-11-04 19:54:59 +00:00
Andrew Resch 19d9c71b13 Allow the 'help' command to be called when not connected to a daemon 2009-11-03 22:08:18 +00:00
Damien Churchill 46906f5447 remove accidentally left in debug line 2009-11-03 14:48:24 +00:00
Damien Churchill 1893b92f37 make the delete key work in the console ui 2009-11-03 12:47:23 +00:00
Andrew Resch fb1d7cfece Fix adding torrents from the Queued Torrents dialog 2009-11-03 03:25:57 +00:00
Andrew Resch 59b93f4d2e Fix showing the 'Other' speed dialogs in Windows 2009-11-03 03:19:30 +00:00
Andrew Resch 59c7fcf854 Update translations 2009-11-02 01:35:13 +00:00
Andrew Resch f6a4d19084 Add the clear() back 2009-11-01 17:49:32 +00:00
Andrew Resch ec259d6aea Use batch writing mode in the help command 2009-10-31 22:05:35 +00:00
Andrew Resch 7983187818 Do not include an 'announce-list' key in torrents when there is only one tracker 2009-10-31 19:49:14 +00:00
Andrew Resch 2a4cf7cb56 Improve 'info' command draw speed 2009-10-31 18:52:52 +00:00
Andrew Resch 3b07cc40bd Don't bother clearing the screen during a refresh 2009-10-31 18:44:27 +00:00
Andrew Resch fd24e1c17c Fix crash when string length makes line longer than terminal width 2009-10-31 18:43:48 +00:00
Andrew Resch f876c17efd Fix crash when removing multiple torrents 2009-10-31 05:50:01 +00:00
Andrew Resch ee7f4e452d Fix adding torrents when not showing the add torrent dialog in Windows 2009-10-31 00:08:53 +00:00
Andrew Resch 7c10dd4c0e Fix #1052 crash when issuing commands while not connected to a daemon 2009-10-30 20:06:07 +00:00
Andrew Resch a110ad1d20 Fix improper dos line endings 2009-10-30 19:08:23 +00:00
Andrew Resch 7c2a2af1f0 Fix displaying non-ascii strings in the console ui -- patch from Ian Martin 2009-10-30 18:00:13 +00:00
John Garland 6d2d3c0fd0 Fix torrent name being blank when root folder is renamed to /
Update changelog (for previous commit as well)
2009-10-30 00:15:22 +00:00
John Garland 888997372c Make sure renamed files are utf-8 encoded. 2009-10-30 00:02:25 +00:00
John Garland 5991abcec5 Use filename suggested by content-disposition header.
Closes #1040.
2009-10-29 06:02:20 +00:00
Andrew Resch 675d1219cd Consider 0 unlimited when displaying limits in the statusbar 2009-10-28 17:43:29 +00:00
Damien Churchill a1e4c51c9c fix #990, showing 0 as a limit when it means unlimited in the statusbar 2009-10-28 17:38:35 +00:00
Damien Churchill 93e3d2acf6 need to actually continue from the loop otherwise another error still occurs 2009-10-28 13:33:27 +00:00
Damien Churchill 219f745e68 create a method to escape all possible forms of newlines in a translation as well as the quotes 2009-10-28 13:24:37 +00:00
Damien Churchill d6e18f7729 fix displaying the protocol speed in the webui
also update the update_ui method in json_api so it gets the status more like how the gtkui does
2009-10-27 11:39:53 +00:00
Damien Churchill d27d7c6733 fix the eta sort order in the webui 2009-10-27 11:16:55 +00:00
Damien Churchill 831b81529c update the ChangeLog so andar doesn't beat me up
fix displaying tracker urls with & in the url in the gtkui
2009-10-27 11:07:30 +00:00
Damien Churchill 826f1a2be9 add < and > escaping to the html escape method 2009-10-27 10:57:47 +00:00
Damien Churchill e17bd472a8 fix actually escaping (foolish me had left it commented out) and also only update if there has been a change 2009-10-27 10:34:07 +00:00
Damien Churchill de82302c67 create a simple html escape method and escape the fields in the details tab 2009-10-27 10:26:59 +00:00
Damien Churchill 81949449ae fix a couple of bugs in the M.O.M and fix the options tab and file priorities in the torrent add window (success!) 2009-10-27 10:25:16 +00:00
Damien Churchill acc850dab9 fixes #1046, changing the option name in the ui rather than the core which would break the other uis 2009-10-27 09:12:22 +00:00
Andrew Resch 208eef713a Fix #1047 move completed does not work if saving to non default path 2009-10-27 03:08:47 +00:00
John Garland dbe90d2882 Use custom user-agent when downloading files with httpdownloader. 2009-10-26 13:58:42 +00:00
Andrew Resch 3153a545ca Update translations 2009-10-26 01:54:19 +00:00
Damien Churchill 65545df485 modify the M.O.M so the API is practically the same as the O.M, so the only method that accepts an id is changeId 2009-10-25 17:48:28 +00:00
John Garland 29d01993c9 Fix typo, update plugin info. 2009-10-25 13:42:11 +00:00
Andrew Resch 9627b7cb92 Fix exception when using the 'halt' command 2009-10-24 19:49:20 +00:00
Andrew Resch c068384845 Fix create_plugin.py script 2009-10-24 05:51:26 +00:00
Andrew Resch 92eb10be29 Fix #215 ETA sort order 2009-10-24 04:56:10 +00:00
Andrew Resch c6d4208a29 Fix previous commit [5864] 2009-10-24 03:47:35 +00:00
Andrew Resch c6eaec6998 Fix #799 translate connection status 2009-10-24 02:04:19 +00:00
Andrew Resch b77e846744 Fix starting plugins when the pluginmanager is started 2009-10-23 23:23:38 +00:00
Andrew Resch 566d3c5ebf Fix possible exception when trying to load pre-1.2 plugins 2009-10-23 01:15:30 +00:00
Andrew Resch 6eee4fb31f Fix 'autostart localhost if needed' option 2009-10-23 01:07:46 +00:00
Damien Churchill 36e74e05ca fix removing torrents that fail to download when added via url 2009-10-21 20:30:07 +00:00
Damien Churchill 2289b5f173 fix switching the options when a different torrent is selected
fix showing the private flag
2009-10-21 20:15:16 +00:00
Damien Churchill f6b5eb0a0c fixes to the M.O.M and the options details tab, still not 100% though 2009-10-21 19:48:44 +00:00
Damien Churchill d70edb245b show the infinity symbol if ratio is less than 0 2009-10-20 22:45:32 +00:00
Damien Churchill 21701cb096 fix setting bandwidth limits via the statusbar 2009-10-20 22:33:18 +00:00
Damien Churchill da2a7ef138 fix setting the add options in the mom 2009-10-20 21:53:54 +00:00
Damien Churchill 3f1d769ffc merge changes into trunk 2009-10-20 21:44:27 +00:00
Andrew Resch 9c491c13cc Add option to create torrent name sub-folders in extract folder
Fix issue where the plugin would not stop extracting files after being disabled
2009-10-19 02:10:43 +00:00
Damien Churchill bdc173cf4b use os._exit() rather than exit() when forking 2009-10-14 15:53:31 +00:00
Andrew Resch 4ae439a99a Pause the TorrentDetails component when the window is minimized.
Clean up the pause/resume component code in mainwindow
2009-10-14 15:49:55 +00:00
Damien Churchill 04217e16d4 big bunch of fixes to the M.O.M along with a couple to the O.M 2009-10-13 16:21:28 +00:00
Damien Churchill 4a00edc066 move the parameter type converting into a seperate method 2009-10-13 15:22:24 +00:00
Damien Churchill aa274eca74 improve the forking code 2009-10-13 15:20:45 +00:00
Damien Churchill c0b5bcc7d3 add the option to fork the webui 2009-10-13 11:32:40 +00:00
Damien Churchill 551d38c7a0 fix a bug in the connection manager where the host list wasn't refreshed after a host was added 2009-10-13 09:56:49 +00:00
Damien Churchill c3f433500b allow setting of the value without firing an event 2009-10-12 16:45:28 +00:00
Damien Churchill 23c949d4ec give names to both the radio buttons so they end up in a group (duh) 2009-10-12 16:44:30 +00:00
Damien Churchill 3d85791a03 fix a bug in converting non-boolean values back to boolean in the options manager 2009-10-12 09:53:13 +00:00
Andrew Resch a3636ccdb7 Fix saving torrent state on fresh configs
Do not try to call doIteration() on the reactor if it has already stopped
2009-10-11 18:46:35 +00:00
Damien Churchill e0111271a3 change the value of torrent.queue from -1 to 99999 so the grid sorting works the same as the gtk ui 2009-10-10 14:06:08 +00:00
Andrew Resch 11c0e9a304 Likewise in trunk.. 2009-10-09 00:40:46 +00:00
Andrew Resch 844f98db04 Fix path errors when adding torrents externally in Windows 2009-10-09 00:19:07 +00:00
Andrew Resch 3a90109724 Likewise in trunk 2009-10-08 02:43:54 +00:00
Andrew Resch ce0968e6dc Update gettextize.sh script to use proper encoding
Regenerate deluge.pot
2009-10-05 00:00:37 +00:00
Andrew Resch 2e6b21aa85 Add script to regenerate the POTFILES.in file
Update the POTFILES.in file
2009-10-04 23:48:18 +00:00
Andrew Resch 34b25d77f1 Fix blocklist plugin 2009-10-04 22:47:27 +00:00
Andrew Resch b680ff48e5 Use new method to add plugin tab
Stop graph tearing
Patches from Ian Martin
2009-10-04 19:25:10 +00:00
Andrew Resch 9a0b6030e6 Allow plugins to properly add tabs and have them restored upon restart - patch from Ian Martin 2009-10-04 19:24:15 +00:00
Andrew Resch 0e532c7f4e Commit #1019 allow up to 4 MiB piece sizes 2009-10-04 19:15:35 +00:00
Andrew Resch 384a828795 Commit #850 make urls clickable in the comments field 2009-10-04 19:11:37 +00:00
Andrew Resch 5c481c3b13 A few fixes for the blocklist plugin 2009-10-04 19:09:06 +00:00
Andrew Resch c3193f3c70 Add support for forward slashes in config setting 2009-10-03 22:53:21 +00:00
Andrew Resch cb36beded4 Fix #1018 issue with 2nd level folder rename in the gtkui and save resume data on file/folder renamed 2009-10-03 22:10:38 +00:00
Damien Churchill fbd6db859f fix bug in the tracker icons resource 2009-10-03 20:44:19 +00:00
Andrew Resch d28e5998b9 Commit Ideal's one fastresume file patch with some tweaks 2009-10-03 00:15:43 +00:00
Damien Churchill 0a9cccb5e8 Fix up the sizing of the downloads preference page 2009-10-01 10:51:27 +00:00
Damien Churchill 5be72551f0 add copyright header 2009-10-01 10:46:35 +00:00
Damien Churchill e1f68fb8fa fix the package name in common
change the script name in webui
add copyright headers to the js file and change indentation
2009-10-01 10:45:59 +00:00
Damien Churchill 365d21ed04 rename deluge-execute.js to execute.js 2009-10-01 10:43:03 +00:00
Damien Churchill 2d10f88714 add the missing `s` to %(filename)s 2009-10-01 10:40:48 +00:00
Damien Churchill 3d83dab4a1 add a GPL copyright header to the javascript plugin template 2009-10-01 10:39:09 +00:00
Damien Churchill c17eb14dd2 remove the paranthesis from the export deco since they aren't needed anymore 2009-10-01 10:36:10 +00:00
Damien Churchill 95af21eca9 fix up the webui side of the plugin, even if it is skeletal 2009-10-01 10:35:46 +00:00
Damien Churchill 8fd03cb9ac remove the template folder, since the webui no longer uses templates 2009-10-01 10:33:50 +00:00
Damien Churchill 9d6aeaecdb add the common module that now exists in most plugins 2009-10-01 10:33:02 +00:00
Damien Churchill 02e7a7d361 fix web plugin entry point 2009-10-01 10:32:20 +00:00
Damien Churchill a0a8c598da move the code that updates the buttons in the CM depending on the host status into a single method 2009-10-01 10:25:11 +00:00
Damien Churchill eae452dbe4 change indentation to 4 spaces 2009-10-01 10:12:56 +00:00
Damien Churchill 3baa1a18d4 disable the connect button if the host is offline 2009-10-01 10:09:21 +00:00
Damien Churchill 6b13eeeb38 change the _libtorrent module so that the included libtorrent is checked for the correct version also (incase people have been following svn and the version requirement changes) 2009-09-29 09:24:16 +00:00
Damien Churchill fd9bf112c4 just some whitespace changes 2009-09-28 16:53:52 +00:00
Damien Churchill 3f8abf1e34 move the stateful stuff to Deluge.js before any other js has executed 2009-09-28 16:48:02 +00:00
John Garland a4d1fbd0bd Fix unbound local error when adding a torrent fails. 2009-09-26 16:25:16 +00:00
Andrew Resch 0be6d83d92 Remove 'state_location' and 'config_location' preferences and all references from the code. We should use configmanager.get_config_dir() instead. 2009-09-25 00:57:22 +00:00
Damien Churchill 7749f99828 change the labelAlign to top and icnrease the width of the fields 2009-09-24 16:42:36 +00:00
Damien Churchill 51b15c78a8 add a comment and remove one of the OLD_CONFIG_KEYS 2009-09-24 15:56:42 +00:00
Damien Churchill 5c5a0712b0 only try and load the old config if the file exists 2009-09-24 15:55:21 +00:00
Andrew Resch fb154eaba9 Set the maxValue of the port spinner to 65535 2009-09-24 14:26:05 +00:00
Damien Churchill 9df5269fee give a bit more love to the connection manager, updating buttons when the host status is updated as well 2009-09-24 08:41:00 +00:00
Damien Churchill 8270c397da fix bug in the start_daemon method 2009-09-24 08:37:20 +00:00
Damien Churchill e0671a0daa fix bug in the stop_daemon method 2009-09-24 08:35:40 +00:00
Damien Churchill 1b6d92c778 add a start_daemon method 2009-09-24 08:33:35 +00:00
Damien Churchill 401aa28ba8 update deluge-yc and ext-extensions 2009-09-24 08:11:11 +00:00
Damien Churchill 9bdcb04cb3 change the spinner strategy so it's an integer 2009-09-24 08:08:43 +00:00
Damien Churchill 68b4af839f disable the remove button and the stop daemon button when no host is selected 2009-09-23 19:10:44 +00:00
Damien Churchill ce449e7b3b fix bug when upgrading old passwords on new logins 2009-09-23 18:16:08 +00:00
Andrew Resch a23812f880 Fix #1014 autoadd should verify that the autoadd location is a directory 2009-09-21 05:39:43 +00:00
Andrew Resch 0d2c73063c Fix previous commit to recursively copy the args 2009-09-19 05:41:36 +00:00
Andrew Resch 9c40b777f3 Make a copy of the args and kwargs when making a daemon call in classic mode.. This makes it's
behaviour to the same as when making a RPC
2009-09-19 05:16:33 +00:00
Andrew Resch 3f8441af6a Update the about dialog and have it show the core version and libtorrent version 2009-09-19 00:18:14 +00:00
Damien Churchill 3901f3e6b2 update the create_plugin script allowing for the new webui plugin stuff 2009-09-17 07:36:13 +00:00
Damien Churchill 5645d6644d update the example plugin with the new webui plugin stuff 2009-09-17 07:27:33 +00:00
Damien Churchill 2f49c5cfa7 rewrite the plugins page using the new get_plugins method in the web json api
update the grid when a Plugin{Dis|En}abledEvent occurs
2009-09-16 09:53:49 +00:00
Damien Churchill 037fbcaaa7 store remote events and register them when the events are started 2009-09-16 09:39:30 +00:00
Damien Churchill f831cdce9a add a method that returns both the available and enabled plugins to reduce the number of AJAX calls required 2009-09-16 09:38:46 +00:00
Damien Churchill 443b4854b4 remove the test children accidentally left in 2009-09-16 09:38:17 +00:00
Damien Churchill 13109f8a1f just a couple of small tweaks 2009-09-16 09:03:30 +00:00
Damien Churchill e4fb98bd02 add a working javascript loader
implement the core code for disabling/enabling plugins on the fly
2009-09-16 09:02:26 +00:00
Damien Churchill b2390b8ff4 have the plugin manager remove the scripts and directories from the server when a plugin is disabled 2009-09-16 08:42:39 +00:00
Damien Churchill 92ecb3fe87 don't enable plugins until connected to a daemonm 2009-09-16 08:32:33 +00:00
Damien Churchill 63aa818c47 remove the seeds status key from the Peers key list 2009-09-15 11:51:03 +00:00
Damien Churchill dcfa83bf09 remove the js loader, doesn't work correctly 2009-09-15 07:29:08 +00:00
Damien Churchill cd0f4f69fb have the help button open the user guide on the wiki 2009-09-15 07:28:09 +00:00
Damien Churchill dd519f936c tie up the find more button so it opens the plugins page on the wiki 2009-09-14 21:28:02 +00:00
Damien Churchill 45840727e9 add a js loader class, taken from http://www.extjs.com/forum/showthread.php?p=272104 2009-09-14 16:32:23 +00:00
Damien Churchill 137be4c8f1 add a method to gather the plugins resources for when they need to be loaded after the ui 2009-09-14 16:31:59 +00:00
Damien Churchill 6fc1e23fce indicate whether the UI is in debug mode via an additional script tag in the index page 2009-09-14 16:24:47 +00:00
Damien Churchill 3c02a499a5 stop a session from subscribing to the same event more than once server side 2009-09-14 16:04:52 +00:00
Damien Churchill fc1b1a6aa8 improve the plugin manager so that it handles the adding and removing of scripts 2009-09-14 15:56:09 +00:00
Damien Churchill b164fef0c5 extend the Deluge.Events class to include support for subscribing to the remote events 2009-09-14 15:55:36 +00:00
Damien Churchill daab4aade6 fix a KeyError in the JSON component
implement the EventQueue for the server side handling of events
2009-09-14 15:41:12 +00:00
Damien Churchill aa4202b9ed add enable/disable methods to the JSON component
remove the empty enable/disable plugin methods from the web api
2009-09-14 10:36:40 +00:00
Damien Churchill da5697490d change the scheduler plugin to use the new plugin architecture 2009-09-14 10:26:59 +00:00
Damien Churchill 63b02f28d1 change WebPluginBase so it has empty enable/disable methods (web plugins don't need to enable/disable themselves, it's optional) 2009-09-14 10:26:29 +00:00
Damien Churchill e7095195f7 fix enabling plugins when the UI is created
change Deluge.Plugin so it implements the enable/disable methods that merely fire events that the plugins can use
2009-09-14 10:19:15 +00:00
Damien Churchill 4df98df1f2 change Deluge.Plugins to an object rather than array 2009-09-14 10:07:56 +00:00
Damien Churchill 3d33696c94 add copyright headers to all the preference pages 2009-09-14 10:05:53 +00:00
Damien Churchill fef34b3f6f fix the plugin base class scope in the constructor
enable plugins when the UI is initialised
add an array for plugins to put in
2009-09-14 10:02:35 +00:00
Damien Churchill 7d495e2a16 add a javascript base class for plugins 2009-09-14 09:44:35 +00:00
Damien Churchill 77253f835c return a 404 if no resource is found, also enable the JSON component when the server starts 2009-09-14 09:25:27 +00:00
Damien Churchill 3367d0af48 improve the LookupResource class so plugin resources can be put in a sub directory 2009-09-14 09:23:46 +00:00
Damien Churchill 5e829ca160 tidy up the config dictionary and add default_daemon option 2009-09-14 08:18:29 +00:00
Andrew Resch 0bc97733bf Do not fail to start if deluged.pid contains no data 2009-09-13 17:17:37 +00:00
John Garland 7343c5bb39 Fix typo and logic error. 2009-09-13 15:33:45 +00:00
John Garland 2b46224ef1 Readers raise ReaderParseError when parsing b0rks.
on_import_failure, now handles parse errors.
2009-09-13 14:45:23 +00:00
John Garland 0952f84d6c Detect now handles creating a reader.
Finished writing detect_format and hence auto_detect (could it really be?)
is_valid() doesn't need to take in a filename (already has it).
2009-09-13 13:51:00 +00:00
John Garland d6597bdc22 Added is_valid method to readers.
detect_format now takes in optional compression type.
2009-09-12 14:25:38 +00:00
Damien Churchill 5573d7ef7d fix indentation 2009-09-10 14:26:14 +00:00
Damien Churchill 1ebb490e4e fix an AlreadyCalledError when getting a hosts status 2009-09-10 14:19:05 +00:00
Andrew Resch a78ab9529f Fix up the Execute plugin's gtk code 2009-09-09 20:47:12 +00:00
Andrew Resch 3d4e05b5e0 Run the plugin's show_prefs callbacks before the preferences dialog's show() 2009-09-09 20:04:04 +00:00
Andrew Resch 9c641bb6d0 Fix more indentations 2009-09-09 17:08:00 +00:00
Andrew Resch 9c6ff72a83 Fix indentation 2009-09-09 17:05:13 +00:00
Damien Churchill c0276a541c improve the WebPluginBase class, registering it with the json rpc-api and adding space for scripts/stylesheets 2009-09-09 16:51:44 +00:00
Damien Churchill c333ad4f6a remove obselete plugin base file 2009-09-09 16:39:35 +00:00
Andrew Resch 0ddb1526a1 Add 'plain' as a possible ico type 2009-09-09 05:12:41 +00:00
Damien Churchill aca9e853d7 change UTC to GMT and add a method for generating the expires int and string 2009-09-08 09:55:19 +00:00
Andrew Resch 2caee15f7f Pretty up the Proxy preference page by dynamically showing/hiding fields as needed 2009-09-07 20:47:51 +00:00
Andrew Resch b849a4b451 Fix #1009 enabling a plugin twice in the gtkui
Prevent plugins from being enabled more than once in pluginmanagerbase
2009-09-05 19:32:01 +00:00
Fredrik Eriksson d1c6e551a9 another patch from David Mohr adding basic cookies support in core 2009-09-04 16:30:56 +00:00
Fredrik Eriksson 82682dbb2d applying patch from David Mohr replacing the Timer object with LoopingCall 2009-09-04 15:58:41 +00:00
Andrew Resch 4e3f4128fa Apply patch from David Mohr to make core.py more 1.2 compatible 2009-09-02 22:36:34 +00:00
Damien Churchill a6ab62f7ce re-set the _session_id cookie updating the expires time 2009-09-01 22:39:34 +00:00
Andrew Resch 5d85af9adf Add SSL exception to license in the about dialog 2009-08-31 22:16:39 +00:00
Fredrik Eriksson 9712d1c16f Updated the feeder __init__.py for 1.2 2009-08-31 19:07:11 +00:00
Fredrik Eriksson 753e17d612 importing the feeder-plugin for porting to 1.2 2009-08-31 18:55:51 +00:00
Damien Churchill 7a09ef5356 add the beginnings of the plugins preferences page 2009-08-27 19:13:45 +00:00
Andrew Resch f10bf6961b Add PluginEnabledEvent
Add PluginDisabledEvent
Add event handlers to enable/disable plugins on events
2009-08-26 16:59:29 +00:00
Damien Churchill 6ca835314e add a method for grabbing plugin info 2009-08-26 08:53:58 +00:00
Damien Churchill 32ed499b2a connect up the key-press-event and have the context menus pop up when the menu key is pressed 2009-08-24 22:13:54 +00:00
Damien Churchill bcbe3108c9 ensure the port is a Number 2009-08-24 20:08:03 +00:00
Andrew Resch 00882ac867 Hide the 'Open File' menu option when connected to a remote daemon 2009-08-23 20:46:31 +00:00
Damien Churchill df72c38f22 ensure that the value is a number 2009-08-21 01:06:22 +00:00
Damien Churchill 24db5bd72a make sure the value is a float 2009-08-21 00:57:08 +00:00
Damien Churchill a75405feb0 working version of the proxy preferences page with field hiding, config saving, the whole shebang 2009-08-21 00:50:56 +00:00
Damien Churchill aa97b5a273 allow the preferences config panel to overflow and tweak the pages so only the ones required to overflow do so 2009-08-20 23:50:59 +00:00
Andrew Resch 80634db44c Fix num_pieces calculation 2009-08-20 22:27:40 +00:00
Damien Churchill 1b3448ad91 add spinner strategies to all the spinners on the bandwidth page 2009-08-20 01:23:04 +00:00
Damien Churchill f127d1c451 decrease the margin-top on the server fieldset 2009-08-20 01:19:18 +00:00
Damien Churchill e2fb2ddd03 tweak the layout slightly 2009-08-20 01:12:43 +00:00
Damien Churchill e05e0b4e35 add support for binding an option to multiple fields 2009-08-20 01:08:09 +00:00
Damien Churchill 9962206907 include yet more preferences (ssl, port, certificate locations) 2009-08-20 00:55:58 +00:00
Damien Churchill 937f8715a4 only output config keys that the ui needs in /config.js 2009-08-20 00:54:57 +00:00
Damien Churchill 54083e0a7e remove some unused configuration values 2009-08-20 00:47:27 +00:00
Damien Churchill 88471024d9 have the option manager return the field from a bind 2009-08-20 00:47:02 +00:00
Damien Churchill e676bcf576 add the session timeout to one of the options on the interface preferences 2009-08-20 00:32:32 +00:00
Damien Churchill 1a635e8860 only return deferreds for those methods that require it 2009-08-20 00:31:31 +00:00
Damien Churchill 7d0ccb8847 fix returning the call when the method doesn't return a deferred 2009-08-20 00:27:34 +00:00
Damien Churchill ea3f8b7d34 fix the message boxes on the return of the password change call 2009-08-20 00:12:41 +00:00
Damien Churchill 56aca8f2f9 rewrite the interfaces preferences page as a class
implement password changing
2009-08-20 00:05:35 +00:00
Damien Churchill c94c9c36e4 have the change_password method accept an old_password parameter for extra checking
move the password checking logic into a seperate check_password method
2009-08-20 00:04:55 +00:00
Damien Churchill 865027b3ec increase the expires time each time a session is checked for authentication 2009-08-19 23:30:36 +00:00
Damien Churchill 9f3ef6556a add an isObjectEmpty method to Ext to test to see if an object == {}
fix a couple of bugs in the options manager
only call core.set_config if there are changed options
call all the pages onApply method if they have one
2009-08-19 23:17:50 +00:00
Damien Churchill b4547c0bf0 add a show_session_speed option
add a get_config() method to the web api
2009-08-19 23:16:19 +00:00
Andrew Resch 219a509bee Fix terminal resizing support 2009-08-19 22:13:58 +00:00
Andrew Resch 39a09f2704 Fix piece size calculation 2009-08-19 02:14:29 +00:00
Andrew Resch 4ca5f9a371 Use piece_sizes in KiBs
Fix bug with webseeds
Fix bug with multi-level directories
2009-08-19 01:45:55 +00:00
Damien Churchill 4014b3fba9 remove an extra creation of the options manager 2009-08-18 22:19:09 +00:00
Damien Churchill 97163b7cb0 change the session timeout to be configurable 2009-08-18 22:04:58 +00:00
Andrew Resch 199a307cd9 Add 'cache' command to the console ui to display the cache status 2009-08-17 20:21:02 +00:00
Andrew Resch 3d3f7e53f9 Fix docstring 2009-08-17 20:20:45 +00:00
Andrew Resch fed7392a5d Add a 'plugin' command to the console ui to enable, disable and list available/enabled plugins 2009-08-17 20:09:22 +00:00
Andrew Resch fb4e4856d1 Show an error instead of crashing when trying to use a command option without a required argument 2009-08-17 19:13:09 +00:00
Andrew Resch 2b31544754 Fix console ui from crashing when the terminal size is shrunk 2009-08-17 18:02:56 +00:00
Andrew Resch 06ecfceb74 Fix print torrent info to the console 2009-08-16 17:13:34 +00:00
Andrew Resch 66eaa4071d Add the auth level to the RPC Export docstring
Fix up docstrings in the rpcserver module
2009-08-14 23:11:22 +00:00
Andrew Resch 2681acbc8d Add 'RPC Exported Function' to the beginning of every docstring on rpc exported functions 2009-08-14 22:47:28 +00:00
Andrew Resch 567a42b0ec Fix some docstrings 2009-08-13 05:02:39 +00:00
Andrew Resch 74ed19b5f2 Do not use property decorators as 2.5 does not support .setter et al 2009-08-12 21:18:39 +00:00
Damien Churchill f562e8aff3 remove log messages as they don't work 2009-08-12 08:20:19 +00:00
Damien Churchill 8ef55c380e add a log message stating which json encoder is being using 2009-08-12 07:24:10 +00:00
Andrew Resch c35535edc3 Print libtorrent version in the log 2009-08-12 07:22:13 +00:00
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 b431368b67 remove cruft in the preferences folder 2009-08-12 00:43:40 +00:00
Damien Churchill 58c3b60ca7 add a new preferences page for encryption 2009-08-12 00:42:48 +00:00
Damien Churchill a207e1010b increase the width of the spinners on the bandwidth page 2009-08-12 00:19:33 +00:00
Damien Churchill b74fdcf558 fix calling core methods 2009-08-12 00:10:07 +00:00
Andrew Resch 1cfc057b05 Add new maketorrent module 2009-08-12 00:09:22 +00:00
Damien Churchill c9b8428106 change onLogout to logout 2009-08-11 23:58:19 +00:00
Damien Churchill 2c65d21b0b remove rogue print statement 2009-08-11 23:57:54 +00:00
Damien Churchill 3ed6e28adc fix the scope of the each loop 2009-08-11 23:56:35 +00:00
Damien Churchill 7f597aff70 fix for when the login window hasn't been rendered 2009-08-11 23:55:01 +00:00
Damien Churchill 6b8ff92fe2 improve the connection manager 2009-08-11 23:43:56 +00:00
Damien Churchill 3e8c17b071 complete the new auth system using cookies & sessions 2009-08-11 23:39:58 +00:00
Damien Churchill 1b17d66576 add a missing method 2009-08-11 23:15:42 +00:00
Damien Churchill 444272344e change it so the event is only subscribed to for a single fire 2009-08-11 23:15:20 +00:00
Damien Churchill 7c0590f399 fix a bug when firing the error event 2009-08-11 23:14:38 +00:00
Damien Churchill ba909ebcc9 add an error event to the rpc client 2009-08-11 22:53:53 +00:00
Damien Churchill 074c2f85a5 return if stats is null or false 2009-08-11 22:51:37 +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 2de8069c9f add an onOk event handler that saves and closes the preferences window 2009-08-10 10:24:45 +00:00
Damien Churchill 78df3d10ce fix update calls in a few places 2009-08-10 09:58:51 +00:00
Damien Churchill 01ec3f5b5a change runCheck to update 2009-08-10 09:56:43 +00:00
Damien Churchill 33d889aaf8 add dump and load methods to the json module if it isn't simplejson 2009-08-10 09:46:57 +00:00
Damien Churchill 2bece0e03d add everything aside from encryption to the network preferences 2009-08-07 07:33:35 +00:00
Damien Churchill 38aaea29a0 increase the icon size to 64 so it doesn't look crummy in application switchers that use large icons 2009-08-07 07:31:27 +00:00
Damien Churchill c2361f5865 update javascript to ext 2.3 2009-08-07 07:10:55 +00:00
Damien Churchill bf0218d785 update the doc string for export 2009-08-07 07:09:53 +00:00
Andrew Resch c154301dbd Add a force recheck command to the console 2009-08-06 20:16:23 +00:00
Andrew Resch 299add850c Have the console command 'info' display all torrents info when no argument is given 2009-08-06 20:15:52 +00:00
Damien Churchill 7b9fe6ea94 working implementation of the port configuration 2009-08-06 19:03:08 +00:00
Damien Churchill 5af8fec10a add a spinnergroup widget to make the port sections in the network preferences easier 2009-08-06 18:58:37 +00:00
Andrew Resch 9bf89455e6 Get the number of rows/columns on refresh() 2009-08-06 18:21:18 +00:00
Damien Churchill fa2dedda73 add an override to setValue within the ext spinner extension so setValue amounts are run through the strategy 2009-08-03 22:26:18 +00:00
Andrew Resch f216ffe54e Add a comment 2009-08-03 21:45:03 +00:00
Damien Churchill ea57cad95b call check_ssl_keys prior to listenSSL 2009-08-03 21:41:53 +00:00
Andrew Resch ee573b4816 Add a check_ssl_keys() function that will check for the keys and generate them if needed 2009-08-03 21:39:06 +00:00
Damien Churchill 352ec837d5 add a webui plugin to core and gtk for integrating the web interface with the core 2009-08-03 21:37:35 +00:00
Andrew Resch 706c52dd1b Move generate_ssl_keys() out of RPCServer 2009-08-03 21:34:07 +00:00
Andrew Resch ac9be780cf Revert 5619
Fix find_json_objects when there is a newline at the end of the string
Add test for find_json_objects
2009-08-03 20:27:03 +00:00
Damien Churchill 5f561dabda fix a bug in the Config class relating to the config directory 2009-08-03 19:49:47 +00:00
Damien Churchill c0ce36b216 only stop the port/socket if one exists
add a start_reactor=True param to the start method
2009-08-03 19:23:27 +00:00
Damien Churchill 76587be1a7 change the pluginmanager component name to Web.PluginManager 2009-08-03 19:21:53 +00:00
Damien Churchill e496fda499 fix for when there isn't a save timer yet 2009-08-03 19:04:54 +00:00
Andrew Resch 704435f721 Config copies the defaults dict now since it is mutable
Fix saving with the save_timer after setting an item
Add test for testing the save timer
2009-08-03 18:43:05 +00:00
Andrew Resch e8b04c1542 Add a test for saving the config 2009-08-03 17:39:12 +00:00
Andrew Resch abc3964f73 Reset the config_files when the config directory changes 2009-08-03 16:56:01 +00:00
Damien Churchill 1f817b3d56 change it so starting in ssl mode is left up to the server
add a stop method that doesn't stop the reactor
2009-08-03 15:40:58 +00:00
Andrew Resch a14f4f6869 Fix get_deluge_icon 2009-08-03 14:40:24 +00:00
Damien Churchill 4cfa6485d7 remove the paranthesis from the decorators in core.py 2009-08-03 11:46:49 +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
Andrew Resch ded6bb9566 Change the config format
Add test_config
2009-08-01 02:26:26 +00:00
Andrew Resch 838cef1c36 Fix shutdown handler with GNOME session manager 2009-08-01 00:15:05 +00:00
Andrew Resch d5f7df8a96 Fix issue where the column state wouldn't save if not using English 2009-07-31 18:47:42 +00:00
Damien Churchill aeb087eb3d add the cache preferences page 2009-07-31 08:35:28 +00:00
Andrew Resch bdaf0062af Don't clobber the label config 2009-07-31 07:52:01 +00:00
Andrew Resch a528f78529 Properly unload Execute plugin when disabling it 2009-07-31 07:40:50 +00:00
Andrew Resch 2334fff388 Add support for the deluge-gtk start script 2009-07-31 00:57:04 +00:00