Commit Graph

6670 Commits

Author SHA1 Message Date
Pedro Algarvio c8735b5cab Sequential downloads: Implemented in add torrent GTK UI dialog. 2011-05-08 22:55:55 +01:00
Pedro Algarvio cc5f2ffe18 Implemented sequential downloads on core. 2011-05-08 22:39:11 +01:00
Pedro Algarvio 89b79c76a3 Multiple files prioritize first last.
Now `set_prioritize_first_last()` sets the first 2% and the last 2% of the pieces of each file on a torrent at a high priority, ie, it no longer works on just single file torrents.
2011-05-08 22:11:20 +01:00
Pedro Algarvio 837c39fdda Last seen complete checks.
Remove some un-necessary `lt.version_minor` checks since these checks will remain for a while, at least until deluge depends on libtorrent >= 0.16 which should preferrably not happen.
2011-05-08 21:58:26 +01:00
Pedro Algarvio 110026edbe AutoAdd plugin #1842
Fix bug #1842 and also implement "delete torrent file on torrent removal from session".
2011-05-08 21:38:53 +01:00
Pedro Algarvio 3b8ebf68a6 GTK UI menubar accounts retrieval.
Only ask for known accounts if we have the required level for it.
2011-05-08 21:36:10 +01:00
Pedro Algarvio ffd344d0b5 On some "race" conditions, the torrent is removed before it's status could be retrieved. Return an empty status. 2011-05-08 21:35:06 +01:00
Pedro Algarvio 9d29ca7b29 Check against libtorrent >15 not >16. 2011-05-08 02:39:35 +01:00
Pedro Algarvio 38906468c1 Last seen complete
Update last_seen_complete when a status is queried for and that key is on the keys to get or it's a full status query. Either way, only "calculate" last seen at a minimum of one time per 60 seconds(simple caching).
2011-05-08 01:36:40 +01:00
Pedro Algarvio 95d7caf3ac Implement Last Seen Complete, on core and on GTK UI. 2011-05-07 20:22:55 +01:00
Pedro Algarvio 4044f52f77 GTK UI Torrent's options tab.
Set the apply button to sensitive if the value of a spin button changed. This was missing.
2011-05-07 15:54:10 +01:00
Pedro Algarvio a7bd953169 GTK UI Connection Manager (#1824)
Warn the user if he's trying to connect to a local daemon that's not running and "start local daemon if necessary" is not enabled.
Extend and reuse the connection callbacks on the connection manager to re-use code.
2011-05-07 15:14:32 +01:00
Damien Churchill 8922717ff2 fix unrequired requests 2011-05-07 13:20:09 +01:00
Damien Churchill 117d50b728 fix a bug when the host_id doesn't exist 2011-05-07 13:20:04 +01:00
Damien Churchill 04af8965bc apply patch from #1742 2011-05-07 00:02:49 +01:00
Damien Churchill d6f5e5b4ec fix #1537 editing trackers list, trackers have to be reselected 2011-05-06 23:44:19 +01:00
Damien Churchill 1f3a7bf44c Fix #1333 Peer list doesn't update automatically 2011-05-06 23:25:07 +01:00
Damien Churchill 2e62ced811 fix #1323 filter panels not scrollable 2011-05-06 22:33:10 +01:00
Damien Churchill 95819c79e5 Fix #1268, Torrent errors not displayed in webui 2011-05-06 22:23:25 +01:00
Damien Churchill 5ad21303c6 fix issue #1567, js from plugins not working with different base setting 2011-05-06 22:09:17 +01:00
Damien Churchill 922e64a07e fix issue #1799 2011-05-06 22:01:06 +01:00
Damien Churchill 30d70d2b9b apply patch from #1562 2011-05-06 19:16:20 +01:00
Pedro Algarvio a06b350858 Correct log message. 2011-05-06 19:10:26 +01:00
Damien Churchill 06f025f4bd fix the widths on the input boxes, whitespace changes too 2011-05-06 19:03:05 +01:00
Damien Churchill d362a6ceba fix the path given by the set-cookie header 2011-05-03 19:05:15 +01:00
Pedro Algarvio 138b8ae314 Sorry for the noise. Email change. 2011-05-02 05:02:46 +01:00
Pedro Algarvio 6f3bc5620f Fix #1824.
When connected to a client, and then trying to connect to another, the connection manager component will be stopped(while the connect deferred is still running), so, the ConnectionManager.connection_manager reference will be deleted. If that's not the case, close the dialog.
2011-05-01 07:41:44 +01:00
Pedro Algarvio f2249d5803 Remove un-used import. 2011-05-01 04:46:54 +01:00
Pedro Algarvio f26de83509 Don't run into loops when the auth file does not exist and we're trying to create it. 2011-05-01 04:44:42 +01:00
Pedro Algarvio f6826a4f48 Fix #1822
Only query the core for the known accounts if connected to it.
2011-04-30 20:45:15 +01:00
Pedro Algarvio dd3f78bd36 More changes related to automatic connections.
Auto-connecting on start of the gtk ui is now fully working.
Auto-staring localhost if needed is now also working.
Authentication failures now get passed correctly to the client implementation which will allow the user to enter username and/or password to complete authentication.
It's now possible to shutdown the daemon from the connection manager even if not on localhost, it just needs all required information to be present on the liststore.
2011-04-30 07:42:06 +01:00
Pedro Algarvio 63d0d0c69b GTK UI connection manager fixes.
Auto-connecting to daemon now works. Fixes #1815.
Auto-starting a `localhost` daemon now also works, the reconnecting attempts were not being "triggered".
When not connected to a daemon, "Quit & Shutdown Daemon" is not present. So #1818 is also fixed.
Some more work regarding #1819 was done.
Client now disconnects before shutting down the GTK UI.
2011-04-28 16:59:01 +01:00
Nick Lanham 1be59bb116 don't show decimals for 100% progress (100% instead of 100.00%) 2011-04-28 14:28:53 +02:00
Nick Lanham 751345fc28 minor function renaming to make things properly private 2011-04-28 14:28:53 +02:00
Nick Lanham 12ea65d188 show priorities for directories. fulfills feature request 1688 2011-04-28 14:28:53 +02:00
Nick Lanham e950cca059 reset selection to top on alltorrent resume in case another mode has effected torrent list 2011-04-28 14:28:53 +02:00
Pedro Algarvio a063095dad Make sure we have a config loaded in the connection manager. Fixes #1819. 2011-04-28 11:06:26 +01:00
Pedro Algarvio 39978d5ade Fix #1278 by keeping references. 2011-04-28 10:37:35 +01:00
Pedro Algarvio 9fa8748432 Fix some clean config dir issues.
Moved some auth stuff to `deluge.common` because they're also used on the GTK UI.
Now, if a user starts deluge in classic mode and tries to change it to client/daemon mode, he see's a dialog stating that the current session will be stopped. If he answers no, nothing is done, the classic mode pref is set back as it was. If he answers yes, all components are stopped and client is disconnected. At this stage the user can open the connection manager to start the daemon and connect.
If the user starts in client/daemon mode and switches to classic mode he see's a dialog stating that deluge must be restarted.
The GTK UI connection manager now loads it's default config with the localclient username and password. If not present in the auth file, the auth file will be recreated.
2011-04-27 22:06:13 +01:00
Pedro Algarvio 18b27d4b49 Remove a pref regarding auto adding in queue thinking it was from the core's previous AutoAdd. Re-Added. 2011-04-27 19:42:54 +01:00
Pedro Algarvio f41f6ad46a Test fixes and #1814 fix.
All test were adapted, and some more were added to comply with the new multiuser support in deluge.
Regarding #1814, host entries in the Connection Manager UI are now migrated from the old format were automatic localhost logins were possible, which no longer is.
2011-04-27 19:32:13 +01:00
Andrew Resch bb9a8509c8 Fix trying to load the AutoAdd component as it no longer exists in core 2011-04-27 11:03:43 -07:00
Pedro Algarvio 6694ac7a58 Merge branch 'master' of deluge-torrent.org:deluge 2011-04-27 17:30:09 +01:00
Pedro Algarvio 81d22eb730 When parsing the auth file, if an old format is found(with no auth levels), make sure that the `localclient` always has the ADMIN permission as he should. 2011-04-27 17:30:00 +01:00
Nick Lanham 47a9b18b89 enforce min/max values for float/int spin inputs 2011-04-27 18:09:20 +02:00
Nick Lanham 292929ba59 better handling of keyboard input in int/float spin inputs 2011-04-27 18:09:20 +02:00
Nick Lanham cbcf413ffd use callbacks for mode switching when stopping alltorrents component. should fix bug 1686 2011-04-27 18:09:20 +02:00
Nick Lanham 4d8b34209b fix column trimming a bit 2011-04-27 18:09:20 +02:00
Damien Churchill 98a8be7131 avoid having the tests hang due to a failing to connect client! 2011-04-27 13:38:23 +01:00
Pedro Algarvio 2e68e0181c Remove some leftovers from the old `multiuser` branch. 2011-04-27 13:18:59 +01:00