Damien Churchill
280377ad6f
web: convert the peers tab to use an ext proxy
...
Instead of fetching the peer information via a rpc call simply
expose it as a fetching page via ajax so we can make use of
the Ext proxy and reader instead of manually loading it into
the store ourselves.
2011-10-05 01:38:37 +01:00
Damien Churchill
5b45670a85
webui: first commit where the interface loads
...
At this point the interface loads, but it is misshapen and needs a lot more
work to get it fully extjs 4.0 compatible.
2011-10-05 01:36:57 +01:00
Damien Churchill
3ee434975c
upgrade to extjs 4.0.2
2011-10-05 01:31:13 +01:00
Damien Churchill
1c78bcbb29
upgrade to extjs4
2011-10-05 01:31:12 +01:00
Andrew Resch
dfa8834db8
Fix starting deluge-web
2011-06-06 14:57:38 -07:00
Pedro Algarvio
df3214168c
Cleaner fix for #1874 , code clean up and reusability.
...
Translations are now setup on `deluge.common`. Where they used to be setup, a call to `setup_translations(setup_pygtk=False)` is now made.
Every call to `pkg_resources.resource_filename()` is now made through `deluge.common.resource_filename` to make sure that we're loading data from the right deluge install.
2011-06-04 18:06:45 +01:00
Damien Churchill
d362a6ceba
fix the path given by the set-cookie header
2011-05-03 19:05:15 +01:00
Pedro Algarvio
3b00a7de59
Swhiched the old style logging, ie, a single logger for all logging output to several loggers. This brings the ability to tweak the logging levels for each of the loggers, ie, we can have the "deluge" logger be at the ERROR level while having "deluge.core" at the DEBUG level, meaning we will only see log message for all of the deluge loggers above the ERROR level while still having all messages above the DEBUG level for the "deluge.core" logger and it's children. This kind of tweak can be achieved by adding a file named "logging.conf" to deluge's config dir and this is explained on the deluge.log.tweak_logging_levels function.
...
Passing `-r` to the cli's while also passing `-l` will make the logfile rotate when reaching 5Mb in size. Three backups will be kept at all times.
All deluge's code is now using this new style logging along with the git hosted plugins. For other plugins not hosted by deluge, which still imports `LOG` as the logger, a deprecation warning will be shown explaining the required changes needed to use the new style logging. New plugins created by the `create_plugin` script will use the new logging facilities.
2010-12-06 11:20:22 +00:00
Damien Churchill
e9ce506d1c
fix the script resource on windows
2010-08-14 17:38:30 +01:00
Damien Churchill
46a967fb8c
a couple of fixes to stop the webui crashing when running within the gtkui
2010-07-18 23:11:02 +01:00
Damien Churchill
7e7da94a6e
fix the Tracker resource for the webui
2010-05-03 20:52:38 +01:00
John Garland
a8ac98bb37
Update web ui to use new TrackerIcons
2010-05-04 04:37:41 +10:00
Damien Churchill
e0153e8bdc
disable the JSON component upon webserver stop
2010-04-30 14:11:36 +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
3fdfedb7f7
revert previous change, we want remove_script to throw an error if the script doesn't exist
...
fix remove debug and dev scripts in the pluginmanager
2010-04-24 00:34:42 +01:00
Damien Churchill
ade5f596f4
don't raise an error if the script isn't in the resource
2010-04-23 23:43:20 +01:00
Damien Churchill
2376e857d2
fix up the deluge-web plugin interface
2010-04-23 19:30:40 +01:00
Damien Churchill
0ae609c6df
Apply patch from #1226 to allow use of certificate chain files
2010-04-11 23:14:07 +01:00
Damien Churchill
09de50ec18
import PIL.Image rather than just Image
2010-04-01 10:10:56 +01:00
Damien Churchill
c1200ed63f
use getHeaders which is backwards compatible with twisted
2010-04-01 01:19:46 +01:00
Damien Churchill
2417e8537b
resize tracker icons if they are too big and PIL is installed
2010-03-31 15:40:40 +01:00
Damien Churchill
4d5d31a2b0
add support for defining order via a .order file
2010-03-28 03:45:02 +01:00
Damien Churchill
01bb9c4df5
initial commit of the big javascript refactor
2010-03-28 03:45:01 +01:00
Damien Churchill
676c59c318
rename Deluge.Sorters to Deluge.data.SortTypes and reflect this within the file
2010-03-27 15:00:47 +00:00
Damien Churchill
323638a751
add a new namespace for data records, Deluge.data
...
rename Deluge.Torrent to Deluge.data.Torrent
add new file Deluge.data.Peer that contains records in the Peers grid
add a singleton that contains sort functions
2010-03-27 15:00:47 +00:00
Damien Churchill
6aacc6e75c
add 2 extra debug logging statements to the Upload controller
2010-03-21 18:59:05 +00:00
Damien Churchill
c03f519f9a
add some base parameter validation
2010-03-21 10:33:02 +00:00
Damien Churchill
670ad51de1
drop the Config resource and just include it in a script tag on the index page
...
this allows for dynamic base setting
add support for setting the base via a request header X-Deluge-Header
2010-03-20 14:14:46 +00:00
Damien Churchill
67bcaa267a
allow the base path to be specified by a command line switch on deluge-web
2010-03-20 12:01:02 +00:00
Damien Churchill
af9eeb02b0
rename Deluge.Events to Deluge.EventsManager
2010-03-20 11:02:13 +00:00
Damien Churchill
dd866f07de
big refactor to meet the new coding style to allow for tidier namespaces
2010-03-18 22:56:18 +00:00
Damien Churchill
0f6cab42a8
reorganise the themes to make it easier to upgrade extjs
2010-03-17 23:13:32 +00:00
Damien Churchill
228d623aef
compress the response of Upload
2010-03-15 12:12:44 +00:00
Damien Churchill
3e6c956ac6
change first_load to first_login in the ui config keys as well
2010-03-13 18:42:46 +00:00
Damien Churchill
3a54a9aebc
change load to login as it seems more sensible
2010-03-13 18:42:46 +00:00
Damien Churchill
f6c058dd34
add a first_load config parameter
2010-03-13 18:42:46 +00:00
Damien Churchill
00c896ff1d
fix the paths of static content so a base config parameter can be used
2010-03-09 22:16:03 +00:00
Damien Churchill
e2b78be264
improve support for a base config parameter
2010-03-09 22:16:03 +00:00
Damien Churchill
6fd3cd56ff
fix the header year and file path
2010-03-09 22:16:03 +00:00
Damien Churchill
2ed9f97bb0
add a stub file/class for a filebrowser
2010-03-07 19:16:20 +00:00
Damien Churchill
a69ed83e25
begin adding support for a base config parameter
2010-03-01 17:51:35 +00:00
John Garland
a065f95075
Cross-platform fix for #1147 .
2010-02-21 18:43:44 +11:00
Damien Churchill
6d4cf138c8
fix #1147 in trunk as well
2010-02-19 19:50:24 +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
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
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
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
Damien Churchill
d74050e7a6
partially working files tab added back in
2010-01-24 04:06:06 +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
Damien Churchill
42cbf4f5c6
change the default theme to gray
2010-01-23 15:37:04 +00:00