mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 15:43:28 +00:00
Updated Changelog and compressed js
This commit is contained in:
parent
b5c63c4d58
commit
1696fd1103
@ -46,6 +46,7 @@
|
||||
* #1921: Free disk space reporting incorrectly in FreeBSD
|
||||
* #1964: Fix unhandled UnpicklingErrors
|
||||
* #1967: Fix unhandled IndexError when trying to open a non-json conf file
|
||||
* Fix setting daemon listen interface from command line
|
||||
|
||||
==== GtkUI ====
|
||||
* #1918: Fix Drag'n'Drop not working in Windows
|
||||
@ -60,6 +61,7 @@
|
||||
* #2032: Wait for client to shutdown/disconnect before stopping reactor
|
||||
* Fix compatibility with Python 2.5
|
||||
* Fix collapsed treeview in Create Torrent dialog
|
||||
* Ignore unmaximise event when window isn't visible
|
||||
|
||||
==== WebUI ====
|
||||
* Fix Webui files-tab menu setting wrong priority
|
||||
@ -76,7 +78,7 @@
|
||||
* Added Download,Uploaded,Down Limit, Up Limit & Seeder/Peeds columns
|
||||
* Add magnet uri support to Add Url
|
||||
* Add keymaps for torrents - Ctrl-A (select all) and Delete
|
||||
|
||||
* #2037: Fix 'Add Torrents' torrents list not scrolling
|
||||
|
||||
==== Console ====
|
||||
* #1953: Fix flickering on every update
|
||||
@ -84,6 +86,8 @@
|
||||
|
||||
==== Label ====
|
||||
* #1961: Add missing 'All' filter option
|
||||
* #2035: Fix label options dialog in webui
|
||||
* #2036: Fix newly added labels not being sorted in torrent right click menu
|
||||
|
||||
==== Notification ====
|
||||
* #1905: Fix no email sent to second email address
|
||||
@ -92,6 +96,9 @@
|
||||
==== Scheduler ====
|
||||
* Add plugin page for WebUi
|
||||
|
||||
==== AutoAdd ====
|
||||
Added watch folder support for '.magnet' text file containing single or multiple magnet uris
|
||||
|
||||
=== Deluge 1.3.3 (22 July 2011) ===
|
||||
==== Core ====
|
||||
* Properly show the 'Checking Resume Data' state instead of just 7
|
||||
|
@ -1522,6 +1522,7 @@ Deluge.add.AddWindow = Ext.extend(Deluge.add.Window, {
|
||||
},
|
||||
hideHeaders: true,
|
||||
autoExpandColumn: 'torrent',
|
||||
height: '100%',
|
||||
autoScroll: true
|
||||
});
|
||||
|
||||
@ -1611,8 +1612,6 @@ Deluge.add.AddWindow = Ext.extend(Deluge.add.Window, {
|
||||
if (selections.length) {
|
||||
var record = this.list.getRecord(selections[0]);
|
||||
this.optionsPanel.setTorrent(record.get('info_hash'));
|
||||
this.optionsPanel.files.setDisabled(false);
|
||||
this.optionsPanel.form.setDisabled(false);
|
||||
} else {
|
||||
this.optionsPanel.files.setDisabled(true);
|
||||
this.optionsPanel.form.setDisabled(true);
|
||||
@ -1657,6 +1656,7 @@ Deluge.add.AddWindow = Ext.extend(Deluge.add.Window, {
|
||||
r.set('text', info['name']);
|
||||
this.list.getStore().commitChanges();
|
||||
this.optionsPanel.addTorrent(info);
|
||||
this.list.select(r);
|
||||
}
|
||||
},
|
||||
|
||||
@ -2025,6 +2025,9 @@ Deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, {
|
||||
var root = this.files.getRootNode();
|
||||
var priorities = this.form.optionsManager.get('file_priorities');
|
||||
|
||||
this.form.setDisabled(false);
|
||||
|
||||
if (this.torrents[torrentId]['files_tree']) {
|
||||
this.walkFileTree(this.torrents[torrentId]['files_tree'], function(filename, type, entry, parentNode) {
|
||||
var node = new Ext.tree.TreeNode({
|
||||
download: (entry.index) ? priorities[entry.index] : true,
|
||||
@ -2037,6 +2040,14 @@ Deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, {
|
||||
if (type == 'dir') return node;
|
||||
}, this, root);
|
||||
root.firstChild.expand();
|
||||
this.files.setDisabled(false);
|
||||
this.files.show();
|
||||
} else {
|
||||
// Files tab is empty so show options tab
|
||||
this.form.show();
|
||||
this.files.setDisabled(true);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
walkFileTree: function(files, callback, scope, parentNode) {
|
||||
@ -2353,17 +2364,27 @@ Deluge.add.UrlWindow = Ext.extend(Deluge.add.Window, {
|
||||
var cookies = this.cookieField.getValue();
|
||||
var torrentId = this.createTorrentId();
|
||||
|
||||
if (url.substring(0,20) == 'magnet:?xt=urn:btih:') {
|
||||
deluge.client.web.get_magnet_info(url, {
|
||||
success: this.onGotInfo,
|
||||
scope: this,
|
||||
filename: url,
|
||||
torrentId: torrentId
|
||||
});
|
||||
} else {
|
||||
deluge.client.web.download_torrent_from_url(url, cookies, {
|
||||
success: this.onDownload,
|
||||
scope: this,
|
||||
torrentId: torrentId
|
||||
});
|
||||
}
|
||||
|
||||
this.hide();
|
||||
this.urlField.setValue('');
|
||||
this.fireEvent('beforeadd', torrentId, url);
|
||||
},
|
||||
|
||||
onDownload: function(filename, obj, resp, req) {
|
||||
this.urlField.setValue('');
|
||||
deluge.client.web.get_torrent_info(filename, {
|
||||
success: this.onGotInfo,
|
||||
scope: this,
|
||||
@ -8839,6 +8860,7 @@ Deluge.Toolbar = Ext.extend(Ext.Toolbar, {
|
||||
function trackerRenderer(value, p, r) {
|
||||
return String.format('<div style="background: url(' + deluge.config.base + 'tracker/{0}) no-repeat; padding-left: 20px;">{0}</div>', value);
|
||||
}
|
||||
|
||||
function etaSorter(eta) {
|
||||
return eta * -1;
|
||||
}
|
||||
@ -9048,11 +9070,28 @@ Deluge.Toolbar = Ext.extend(Ext.Toolbar, {
|
||||
]
|
||||
},
|
||||
|
||||
keys: [{
|
||||
key: 'a',
|
||||
ctrl: true,
|
||||
stopEvent: true,
|
||||
handler: function() {
|
||||
deluge.torrents.getSelectionModel().selectAll();
|
||||
}
|
||||
}, {
|
||||
key: [46],
|
||||
stopEvent: true,
|
||||
handler: function() {
|
||||
ids = deluge.torrents.getSelectedIds();
|
||||
deluge.removeWindow.show(ids);
|
||||
}
|
||||
}],
|
||||
|
||||
constructor: function(config) {
|
||||
config = Ext.apply({
|
||||
id: 'torrentGrid',
|
||||
store: new Ext.data.JsonStore(this.meta),
|
||||
columns: this.columns,
|
||||
keys: this.keys,
|
||||
region: 'center',
|
||||
cls: 'deluge-torrents',
|
||||
stripeRows: true,
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user