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
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
Pedro Algarvio
67ff83360f
Use the exceptions from `deluge.errors`.
2011-04-22 11:22:19 +01:00
Pedro Algarvio
b2a16a0240
Move deluge errors to the errors module, they will be reused later on other parts of code.
...
Now, calling connect on client has two behaviours, if username/password is passed the client connects, authenticates and returns daemon info, if username/password is not passed, only the daemon info is returned. This might change a bit later on though.
2011-04-22 11:22:19 +01:00
Pedro Algarvio
e17c035521
Cleaned up previous commit regarding threads and the GTK2Reactor.
...
Now a dialog apears if the daemon complains about a missing password in order to authenticate. Asks the password from the user and retries to connect.
2011-04-22 11:22:19 +01:00
Pedro Algarvio
249398489e
Removed problematic code. GTK2Reactor takes care of all that.
2011-04-22 11:22:19 +01:00
Pedro Algarvio
d44f59a0e7
Add some docstrings.
2011-04-22 11:22:19 +01:00
Pedro Algarvio
6c99204828
The GtkUi's connection manager now has the ability to edit existing host entries besides adding and deleting them.
...
It also asks for a password prior to attemting to connect in case the password is null, this alows host entries not to store the passwords on file like it has done so far.
NOTE: This is not yet the desired behaviour, ie, the daemon should simply complain if the authentication details are incomplete and the client should act accordingly. I had an issue with this though, I catched the errback the daemon was sending, asked the user for the password and re-tried to authenticate again. However, twisted always locked when I tried this. I'm investigating it.
2011-04-22 11:22:19 +01:00
Pedro Algarvio
1794f09b21
Make branch runnable.
2011-04-22 11:22:19 +01:00
Pedro Algarvio
b08a4679de
Respect the torrents ownership and unless the logged in user is an admin, only return his own torrents plus all other public torrents.
2011-04-22 11:21:12 +01:00
Andrew Resch
bfc221fc18
Begin work on fixing up the Preference dialog
...
Split up the glade file for each individual page
2011-04-22 11:21:12 +01:00
Andrew Resch
5ad3a1666c
Update the ErrorDialog
2011-04-22 11:20:15 +01:00
Pedro Algarvio
49d5ed6bde
Hopefully, final fix for #1786 :
...
We now make sure that a state file exists when trying to restore an order from it.
The best effort to restore the previous order is made, though, in some cases, since we're matching against names which are translatable, a match might not be found, in that case, continue the effort though skip the non matching column name. On next load, everything should be fine since the state file will include the, now in use, translation.
2011-04-21 20:55:01 +01:00
Pedro Algarvio
4b9209674e
Merge branch 'master' of deluge-torrent.org:deluge
2011-04-21 18:31:03 +01:00
Pedro Algarvio
b9a688013f
Fix #1786 :
...
Don't reorder duplicate columns, need to dig how duplicate columns got into the state file, and also skip non visible columns.
2011-04-21 18:29:59 +01:00