Commit Graph

6686 Commits

Author SHA1 Message Date
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
Pedro Algarvio e6773dfce1 Merge branch 'master' into multiuser-oldprefs 2011-04-27 13:15:05 +01:00
Pedro Algarvio f56be66556 Update ChangeLog. 2011-04-27 13:06:26 +01:00
Nick Lanham 67a4fd49e9 fix problem when not showing name,state or queue columns. fix problem if there were no var length cols. 2011-04-26 22:59:48 +02:00
Nick Lanham e992ac3eab ignore key presses that only makes sense when we have a state when we don't have a state 2011-04-26 14:18:25 +02:00
Nick Lanham d05352db65 fix bug for selecting multiple torrents with cursor above last mark (bug 1689) 2011-04-26 14:03:49 +02:00
Nick Lanham b1e0dd66eb handle files with [ and ] characters in them 2011-04-26 13:53:11 +02:00
Nick Lanham 897c2f981f Add help to torrent details mode.
fixes bug: 1687
2011-04-26 12:41:19 +02:00
Pedro Algarvio 91801e1632 Cleanup debug message new lines. 2011-04-26 10:14:39 +01:00
Pedro Algarvio fa20e49a93 Fixed 2 bugs regarding torrent ownership change.
On the core, the code was not adapted to the new AuthManager. On The GtkUI, nothing was being shown to the user when errors occurred while changing ownership.
2011-04-26 08:37:20 +01:00
Pedro Algarvio 4432e6e6e3 Also handle moving the torrent files after adding them besides renaming or deleting(per whatchdir) 2011-04-25 16:38:49 +01:00
Pedro Algarvio c225c045cb Better file modification detection. 2011-04-25 15:07:07 +01:00
Pedro Algarvio e552c21f66 Automatically detect auth file changes and reloading those changes. 2011-04-25 14:43:44 +01:00
Pedro Algarvio 89d04a393b Upgrade old auth file, save it and reload it. 2011-04-25 14:35:01 +01:00
Pedro Algarvio f1730dc4d4 Removed leftovers from the core autoadd. All autoadd features are now addressed by the AutoAdd plugin. NOTE: Console UI and Web UI should also remove the core auto add stuff. 2011-04-25 13:44:27 +01:00
Pedro Algarvio fb5005e3f6 The AutoAdd plugin now supports multiusers. 2011-04-25 13:16:11 +01:00
Pedro Algarvio 51b5b23f76 Remove debug printing. 2011-04-25 13:12:18 +01:00
Pedro Algarvio 78e966946f Allow setting torrent ownership when adding new torrents. 2011-04-25 09:13:45 +01:00
Pedro Algarvio 936bd925d9 Some changes were left behind on last commit. 2011-04-25 08:12:46 +01:00
Pedro Algarvio 43e3fe2a1a Account Management Implemented.
Account management is now implemented for the GTK UI. Some changes to the core were required since the clients need to know which authentication levels exist, and, to expose account creation, update, and removal to the clients. The best effort is done to try not to compromise the auth file.
2011-04-24 17:38:35 +01:00
Pedro Algarvio 6ed3136c8e No server side logouts.
Do not try to for a disconnect on this branch, maybe on another one.
2011-04-24 17:19:57 +01:00
Pedro Algarvio 8195421c99 Some account management work. Not yet complete. 2011-04-22 18:51:51 +01:00
Pedro Algarvio 342da12d0c Merge branch 'master' into multiuser 2011-04-22 11:44:10 +01:00
Pedro Algarvio 5296fc7d4c Fix one more possible issue with regard to #1786 2011-04-22 11:42:48 +01:00
Pedro Algarvio 233e814547 Late import twisted's reactor, it allows the gtk reactor to be proper installed. 2011-04-22 11:33:45 +01:00
Andrew Resch 03325c5f48 Add some missing code 2011-04-22 11:27:14 +01:00
Pedro Algarvio 1a6742b1e2 Keep consistency on `deluge.config`. 2011-04-22 11:26:09 +01:00
Pedro Algarvio 154688a3e2 Implement `__delitem__` on `deluge.config.Config`. 2011-04-22 11:26:09 +01:00
Pedro Algarvio fe12552590 Now, when the authentication dialog appears, user fills in the password and hits ENTER, the authentication call will be made.
Implement tooltips on treeview's headers when adding columns.
Renamed the "public" state of a torrent to "shared", ie, shared among other deluge users. Allow changing shared state from clients and currently from the    GtkUi.
2011-04-22 11:26:08 +01:00
Pedro Algarvio e63c33c496 Allow changing ownership of torrents. In order to achieve this, added `deluge.core.set_torrents_owner()`, `deluge.core.get_known_accounts()`, `deluge.core.authmanager.get_known_accounts() and `deluge.core.torrent.set_owner()`. So far only the GtkUi has this fully implemented. 2011-04-22 11:25:33 +01:00
Pedro Algarvio 105cb52cb0 Add method to return the current authenticated username. 2011-04-22 11:24:42 +01:00
Pedro Algarvio 3e0ea26e5f Remove unused method, duplicate log messages and add a method to get the logged in user's authentication level. 2011-04-22 11:24:42 +01:00
Pedro Algarvio e44cac0eaa Since there's no default username for authentication, update hostlist to include the username.
Remove debug prints or extreme debugging. Minor code cleanup. Remove un-used imports.
2011-04-22 11:24:42 +01:00
Pedro Algarvio 86a1b801f5 Now it is possible to not even store the username on the hosts entry in the connection manager, both username and password will be asked to the user. WARNING: No more "localclient" automatic login, ie, username, is mandatory else, it will be asked to the user. 2011-04-22 11:24:42 +01:00
Pedro Algarvio b3870ad6dd Use a specific response code for authentication requests. Recreate authentication request exceptions on the client end. 2011-04-22 11:24:42 +01:00