Commit Graph

3472 Commits

Author SHA1 Message Date
John Garland 3ed8279219 Fix typo in label plugin - thanks konti 2010-06-11 00:51:46 +10:00
John Garland f2944bdeef Handle os.remove failing on windows 2010-06-08 03:20:48 +10:00
John Garland 0fcd90ee2c Python independent version of previous commit 2010-06-08 01:57:13 +10:00
John Garland 26460808e7 Fix console ui not liking paths with backslashes on windows (#1293) 2010-06-08 01:30:10 +10:00
John Garland 7aba1af0b2 Print a more informative error message if the torrent file doesn't exist 2010-06-08 01:26:49 +10:00
John Garland 4d2b7df49d Fix execute plugin only executing last event (#1306) 2010-06-08 00:20:07 +10:00
John Garland bd775d0d40 Only encode if necessary 2010-06-07 20:18:37 +10:00
John Garland 7fb3c3c04c Fix unicode support in console ui (#1307) 2010-06-07 20:18:35 +10:00
Damien Churchill 19c27ee8c5 Add some debug logging statements 2010-06-04 18:05:27 +01:00
Damien Churchill d69b8e1099 Fix an error in the key 2010-06-04 17:37:45 +01:00
Damien Churchill 88daf82cb0 Fix saving the correct event name 2010-06-04 16:37:50 +01:00
Damien Churchill 99c1a61383 Save the execute config after adding/removing/saving commands 2010-06-04 16:30:51 +01:00
John Garland 2e55769c18 Fix typo in execute plugin 2010-05-20 00:06:18 +10:00
John Garland 8e5aab660c Fix remote save path dialog not disappearing after creating a torrent 2010-05-16 18:13:34 +10:00
John Garland fc96e9d02c Fix only being able to click "remote path" once when creating a torrent 2010-05-16 18:13:31 +10:00
John Garland 821d403a6c Fix deluged crashing on windows when logfile's directory doesn't exist 2010-05-16 13:12:51 +10:00
John Garland 1ac72b81b6 Update email address and copyright 2010-05-11 03:52:17 +10:00
John Garland 3417caf1d2 Fix label plugin not remembering newly created labels 2010-05-09 17:52:29 +10:00
John Garland 1bcfc91c35 Remove unused code from label plugin 2010-05-09 17:52:25 +10:00
John Garland 6ee0e5b6be Update docstrings to use names from previous commit 2010-05-09 17:07:11 +10:00
John Garland 58a74202e1 Use better names for TrackerIcons' args 2010-05-09 17:01:47 +10:00
John Garland a4c6f4e8c9 Return the noIcon for empty strings as well 2010-05-09 16:44:12 +10:00
John Garland 60f3d32de7 Raise IconsError instead of IndexError (fixes infinite looping) 2010-05-09 16:36:54 +10:00
Andrew Resch 37137d9b54 Return 0 in get_free_space if the download_location is invalid 2010-05-08 20:09:57 -07:00
Andrew Resch 4fb14b581d Use previously defined host variable instead of getting the tracker host from the TreeModel 2010-05-08 20:09:49 -07:00
Andrew Resch 98da4d0291 Do not request a tracker icon if the host is "" 2010-05-08 20:09:37 -07:00
Damien Churchill 63d701305c rebuild deluge-all and ext-extensions 2010-05-08 16:19:40 +01:00
Damien Churchill 99396afa0c update the build files for deluge-all and ext-extensions 2010-05-08 16:19:40 +01:00
Damien Churchill 6231dbd1ca fix the null comparison 2010-05-08 16:19:40 +01:00
Damien Churchill 8f021c7f06 set the baseCls for the add label form panel to x-plain 2010-05-08 16:19:40 +01:00
John Garland 6bb4559d18 Make host_to_url support redirection and add another test 2010-05-08 16:26:08 +10:00
John Garland 7c9eea0361 Try favicon.ico if there's a HTMLParseError 2010-05-08 15:50:57 +10:00
John Garland 15247507d4 Fix relative redirecting in blocklist plugin 2010-05-06 23:31:25 +10:00
Andrew Resch 10de8d5475 Remove plugins that aren't release ready 2010-05-05 17:48:04 -07:00
Damien Churchill e7907a63ee fix uploading plugins in shit browsers 2010-05-05 12:25:34 +01:00
Damien Churchill cee416b1b5 fix expanding nested folders in the files tab 2010-05-05 11:55:21 +01:00
John Garland 53a9c217e7 Fix tracker_icons not handling relative redirects 2010-05-05 04:05:52 +10:00
John Garland d6c8b13041 Handle trackers with incorrect / missing icon mimetypes 2010-05-05 03:19:54 +10:00
John Garland ba03356151 Add more HTTP status codes to httpdownloader 2010-05-05 02:49:55 +10:00
John Garland d28cf93686 Rename mimetype helper methods and rewrite to use a common dict 2010-05-05 02:31:05 +10:00
Damien Churchill 452656e09d remove some trailing commas that break the ui in IE 2010-05-04 12:02:49 +01:00
Damien Churchill bb0bd36c51 Properly fix creating torrents in the gtkui with non-ascii filenames 2010-05-04 00:28:24 +01:00
Damien Churchill 5ea7e21943 add some icon preloading and improve the statusbar css classes 2010-05-04 00:09:20 +01:00
Damien Churchill e4ef17975c stop parsing the html page once the parser has left the <head> of the page 2010-05-03 21:28:25 +01:00
Andrew Resch c4b20aa595 Fix error when requesting a tracker icon for None 2010-05-03 13:24:54 -07:00
Andrew Resch bc028998d7 Fix some tests in test_core 2010-05-03 13:13:26 -07:00
Damien Churchill 7e7da94a6e fix the Tracker resource for the webui 2010-05-03 20:52:38 +01:00
Damien Churchill 53930e0898 handle non-supported images/files in the icons folder 2010-05-03 20:38:57 +01:00
Damien Churchill b13adbafbf add an ok icon and use it for the connection restored status 2010-05-03 20:32:22 +01:00
Andrew Resch 556c8b831a Update translation template 2010-05-03 11:50:16 -07:00
John Garland a6d10562f1 Don't request a tracker icon for labels or tracker states 2010-05-04 04:37:41 +10:00
John Garland a8ac98bb37 Update web ui to use new TrackerIcons 2010-05-04 04:37:41 +10:00
John Garland d7fa383da3 Update gtk ui to use new TrackerIcons 2010-05-04 04:37:41 +10:00
John Garland 6ded75caef Remove no longer needed fetch_url 2010-05-04 04:37:41 +10:00
John Garland 88929d4821 Rewrite tracker_icons.py (#995) 2010-05-04 04:37:19 +10:00
John Garland 8747611e9e Add decorators module and test file 2010-05-04 04:33:21 +10:00
Damien Churchill acba442ddb fix encoding issues where the users filesystem isn't utf-8 (needs testing) 2010-05-03 18:43:31 +01:00
Damien Churchill 5b0f93ba72 improve behaviour when webserver goes away 2010-05-03 02:14:51 +01:00
Damien Churchill 619092aee0 fix plugin info displaying upon select 2010-05-03 02:01:21 +01:00
Damien Churchill 89fb5b02d7 move the InstallPluginWindow class out of the PluginsPage file
convert the plugins grid over to a listview
2010-05-03 01:54:25 +01:00
Damien Churchill 75b69b1f11 fix setting the root node 2010-05-03 00:31:49 +01:00
Damien Churchill f5eddafea9 tidy up the code for the files tab 2010-05-02 23:20:45 +01:00
Damien Churchill d49e1eda79 fix updating the file tree in the file details tab 2010-05-02 23:00:05 +01:00
Damien Churchill e86d2ad4e2 apply unicode patch from nullie, fixes (#1140) 2010-05-02 22:13:14 +01:00
Damien Churchill 5effdd4cd4 store listen_ports and outgoing_ports as tuples for the config set, fixes #1242 2010-05-02 18:32:21 +01:00
Damien Churchill c2b4fad389 implement getting and saving label options 2010-05-02 18:16:07 +01:00
Damien Churchill 82a5b5262c fix the torrent grid, clear the torrents on disconnect, not logout 2010-05-02 18:16:07 +01:00
Damien Churchill 1b0e08b3d9 fix disabling the execute plugin 2010-05-02 18:16:06 +01:00
Damien Churchill 49ec3a1535 remove the paranthesis from the @exports 2010-05-02 18:16:06 +01:00
John Garland 23544bd6b2 Close the connection manager on shutdown - patch from Jan Steffens 2010-05-02 22:39:25 +10:00
John Garland 5766e04987 Fix deluge-gtk hanging on shutdown (#1247) - thanks Jan Steffens 2010-05-02 22:39:18 +10:00
Damien Churchill 0857af98d0 fix the spinner limits in the label options 2010-04-30 22:06:49 +01:00
Damien Churchill 5e78daf726 fix the spinners on the various preference pages 2010-04-30 22:06:32 +01:00
Damien Churchill 1efb700ed8 enable and disable the form fields upon the checkbox change 2010-04-30 21:34:28 +01:00
Damien Churchill e0153e8bdc disable the JSON component upon webserver stop 2010-04-30 14:11:36 +01:00
Damien Churchill b46562d932 disable the webui plugin settings and display an error message when deluge-web is missing 2010-04-30 14:04:15 +01:00
Damien Churchill 5c8eccdd82 reduce the size of the details panel 2010-04-30 13:31:17 +01:00
Damien Churchill c45583e8e7 enable and disable the panel toolbar buttons upon selection change 2010-04-28 17:46:21 +01:00
Damien Churchill ce46dcdf7a implement the webui so commands can be modified 2010-04-28 17:42:58 +01:00
Damien Churchill 63f5c8b116 add the icon-edit class, use the same icon as edit trackers 2010-04-28 16:58:07 +01:00
Damien Churchill 111bea19d9 fix #1240 and #1208 2010-04-28 16:43:14 +01:00
Damien Churchill 68f0e9ddc7 renderer the event column correctly and remove the bottom panel 2010-04-28 16:09:53 +01:00
Damien Churchill 5e1f6a8738 switch the gridpanel to a listview 2010-04-28 15:51:47 +01:00
Damien Churchill 28a313e74e fix up the label plugin making it more stable and work with the new filter panel api 2010-04-28 15:43:06 +01:00
Damien Churchill 5b6faa47b0 fix the header click event handler 2010-04-28 15:39:39 +01:00
Damien Churchill 0f12200f6f store the states as a dictionary 2010-04-28 15:33:05 +01:00
Damien Churchill 7420c6f12f use the header click event to ensure that the filters get updated
correctly
2010-04-28 15:29:40 +01:00
Damien Churchill fb0adbcded return this.states instead of the store contents 2010-04-28 15:25:31 +01:00
Damien Churchill 59b7a175eb store the states without the zero values removed as this.states 2010-04-28 15:24:49 +01:00
Damien Churchill cbcd277d91 remove windows line breaks (grr) 2010-04-28 15:19:28 +01:00
Damien Churchill 269e0b89b6 dont enable plugins twice 2010-04-28 15:10:58 +01:00
Damien Churchill 698a5ff475 update the deluge.config dictionary with the new values 2010-04-28 14:20:31 +01:00
Damien Churchill fd122db7b7 change the multiple filters to be configurable, deprecating the show trackers with zero torrents option 2010-04-28 14:15:50 +01:00
Damien Churchill 67905b6f5b fix enabled plugins after connecting to a daemon 2010-04-28 14:00:39 +01:00
Damien Churchill 7df7f13e26 select the text when focusing the password field 2010-04-28 13:41:09 +01:00
Damien Churchill 066d199c78 fix setting a custom limit when one is already set
focus and select the spinner contents upon window show
2010-04-28 13:39:56 +01:00
Damien Churchill c8c5e3449a add a window that allows you to quickly set a custom bandwidth limit 2010-04-28 13:28:47 +01:00
Damien Churchill 00dc5f0128 remove the button to launch the unfinished file browser 2010-04-28 13:28:00 +01:00
Damien Churchill cd10555a8a construct the statusbar in the ui initialisation 2010-04-28 12:40:54 +01:00
Damien Churchill 158feaa8e0 integrate the statusbar menus into the statusbar and have the limit change handler in the deluge statusbarmenu class 2010-04-28 12:37:35 +01:00
Damien Churchill 3310cc636f move the statusbar menu class out into a seperate file 2010-04-28 12:03:07 +01:00
Damien Churchill 9849a16d2c rename files to match the classes they contain 2010-04-28 11:55:07 +01:00
Damien Churchill bf28b3ac31 fix the connection manager when the ui disconnects from a daemon so it doesn't end up in a loop 2010-04-28 11:50:56 +01:00
Damien Churchill 759ae6356d remove the function wrap from the connection manager 2010-04-28 11:28:51 +01:00
Damien Churchill c0fd70a856 fix removing the filter panels upon disconnect 2010-04-28 10:45:38 +01:00
Damien Churchill 028a35bfc8 fix adding an already removed torrent 2010-04-28 10:42:25 +01:00
Damien Churchill fec735f948 fix the first item being selected upon creation 2010-04-28 08:42:29 +01:00
Damien Churchill 9f185da446 update the proxyfield comboboxes and switch some simplestores to arraystores 2010-04-28 08:24:37 +01:00
Damien Churchill 8414b9cfa9 fire only one event per check, pass an array of nodes
implement #1161 for the webui
2010-04-28 01:06:28 +01:00
Damien Churchill 91f44c2ad3 fire the same args as the OptionsManager changed event 2010-04-28 00:48:37 +01:00
Damien Churchill 31304d3397 lazily set the value if the items aren't rendered yet and re-enable setting the allocation in the add window 2010-04-27 23:58:30 +01:00
Damien Churchill 310b4bad31 allow the allocation to be changed again 2010-04-27 23:49:11 +01:00
Damien Churchill 9e7dde8997 change radiogroups so they can be used as a single form field 2010-04-27 23:48:04 +01:00
Damien Churchill dfde04561f adjust the width of the columns in the con manager 2010-04-27 23:31:12 +01:00
Damien Churchill 545e4ef717 fix the change event on the spinner group 2010-04-27 23:26:31 +01:00
Damien Churchill b1cf238489 show the preferences window when the protocol traffic and freespace icons are clicked 2010-04-27 23:19:52 +01:00
Damien Churchill 7fe5d37094 fix the spinnergroup widths 2010-04-27 23:18:03 +01:00
Damien Churchill a7940d5bf9 use deferredRender: true on the card layout to fix the spinnergroups and
comboboxes
2010-04-27 22:56:02 +01:00
Damien Churchill e0e2b1b350 improve the page switching 2010-04-27 22:05:15 +01:00
Damien Churchill a58c391675 use blank classes for the sorter in the edit trackers window 2010-04-27 21:49:27 +01:00
Damien Churchill 9f46958f20 tidy up and convert the gridpanel to a listview 2010-04-27 21:40:55 +01:00
Damien Churchill dd82f95975 split out the add connection window into a seperate file 2010-04-27 11:58:39 +01:00
Damien Churchill 67e27b9b7a fix reporting connection errors on the console (Closes: #1228) 2010-04-27 11:01:01 +01:00
Damien Churchill 1cc315878a complete the layout of the label options window 2010-04-27 10:31:53 +01:00
Damien Churchill 412b96ba55 xml escape notifications sent via libnotify (Closes: #1185) 2010-04-27 10:31:53 +01:00
Damien Churchill 8b23af062a add the layout for the maximum tab 2010-04-26 01:34:35 +01:00
Damien Churchill 3b1d038d2d add missing getFilter function and improve hasFilter 2010-04-26 01:34:35 +01:00
Damien Churchill a47f9bc8dd make enabling the plugin more robust 2010-04-26 01:34:35 +01:00
Damien Churchill 466b245fdf make it easier to manipulate filters 2010-04-26 01:34:35 +01:00
Damien Churchill bfdaa47aff add helper methods for adding and removing columns to the torrent status grid 2010-04-26 01:34:35 +01:00
Damien Churchill c3290b4ac2 add the save path column to the grid 2010-04-26 01:34:35 +01:00
Damien Churchill 342001c642 implement the handler for the torrent menu 2010-04-26 01:34:35 +01:00
Damien Churchill b4404feed7 add 2 new methods that return the torrent ids to make rpc calls easier 2010-04-26 01:34:35 +01:00
Damien Churchill 85c0725f83 add a method to get the current states in the filter 2010-04-26 01:34:35 +01:00
Damien Churchill 29634505e4 remove the old web templates 2010-04-26 01:34:35 +01:00
Damien Churchill faa1752d04 select the first filter if the current selected one is removed 2010-04-26 01:34:35 +01:00
Damien Churchill 2edf19c187 fix displaying empty '' filters 2010-04-26 01:34:35 +01:00
Damien Churchill 42b3dc7dde add the ability to add labels
set the filter panel to show_zero
2010-04-26 01:34:35 +01:00
Damien Churchill 80f151be94 move the state updating into the FilterPanel to allow for a custom show_zero value to
be specified
2010-04-26 01:34:34 +01:00
Damien Churchill c8ada0ba07 only enable the extra menu options if it is a label 2010-04-26 01:34:34 +01:00
Damien Churchill e05384909a add inital options window layout
implement removing labels
specify a custom template for the label filters
2010-04-26 01:34:34 +01:00
Damien Churchill 3a12a50f3e allow custom templates to be specified for filters 2010-04-26 01:34:34 +01:00
Damien Churchill 5b0ce6b3d8 remove the function wrap and deluge.sidebar construction 2010-04-26 01:34:34 +01:00
Damien Churchill 9cde1f3e45 initial implementation of the label plugin webui, purely a mock up at the moment 2010-04-26 01:34:34 +01:00
Damien Churchill 1825ce09fb fix removing filters that no longer exist
add a filtercreate event
2010-04-26 01:34:34 +01:00
John Garland 62158d7861 Renamed raiseError to raisesErrorsAs 2010-04-26 02:54:13 +10:00
Damien Churchill 4de8e57f56 remove some accidental alerts 2010-04-24 01:44:22 +01:00
Damien Churchill a3d9b93480 register the execute plugin 2010-04-24 01:42:11 +01:00
Damien Churchill 7e12222d33 create a plugin registration system to allow for plugin loading on the fly
remove the plugin event handlers from the event manager
fix enabling/disabling plugins when the preferences page hasn't been rendered yet
2010-04-24 01:40:34 +01:00
Damien Churchill bf2fc64ce0 remove an unrequired function() wrapping 2010-04-24 00:43:24 +01:00