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
Damien Churchill
387b746fae
Merge branch 'master' of deluge-torrent.org:deluge
2011-04-21 10:41:15 +01:00
Damien Churchill
796109649d
fix the client tests albeit in an ultra hacky way
2011-04-21 10:41:00 +01:00
Pedro Algarvio
d258794517
Merge branch 'master' of deluge-torrent.org:deluge
2011-04-21 00:47:01 +01:00
Pedro Algarvio
98f80c0eb6
Restore column order from state.
...
On the TorrentView's treeview, the column's position stored on state was being ignored, but event if that info was not being ignored and passed to the several `add_column`'s the order could not be added because the order the columns are added does not(might not) match what was stored in state. So, we now restore the ordering once all columns are added.
2011-04-21 00:42:36 +01:00
Damien Churchill
d18becc861
fix bug due to vim stripping regex being wrong
2011-04-20 18:37:39 +01:00
Damien Churchill
0503db85ea
Merge branch 'master' of deluge-torrent.org:deluge
2011-04-20 18:34:02 +01:00
Damien Churchill
bcb636dda4
improve the core tests to use a built in webserver
2011-04-20 18:32:55 +01:00
Pedro Algarvio
5bc304470c
Let's use what the stdlib provides us. Use `email.utils.formatdate` instead of `strftime()` a `datetime` object.
2011-04-14 09:29:40 +01:00
Pedro Algarvio
42e1e2fd20
Include proper Date header in email notifications.
2011-04-13 12:54:59 +01:00
Nick Lanham
bb0746c3e8
use os.sep and strip what's already in input box from complete options
2011-04-13 11:52:03 +02:00
John Garland
19799d74b4
Include gif pixmaps in the package data
2011-04-09 22:36:12 +10:00
Nick Lanham
0d560bcd6f
Add update-tracker/reannounce command for command-line/legacy interface
2011-03-29 14:56:39 +02:00
Damien Churchill
69b79756f2
Merge branch 'master' of git.deluge-torrent.org:deluge
2011-03-28 16:51:23 +01:00
Damien Churchill
fd248eb1fd
split the auto_add_trackers textfield otherwise it breaks the label plugin
2011-03-28 16:51:03 +01:00
John Garland
45ccd3b84a
Fix libtorrent not compiling with boost libs 1.46
2011-03-26 17:33:26 +11:00
John Garland
298b85c368
Improve autoadd filename matching ( fixes #1614 )
2011-03-26 17:33:26 +11:00
Andrew Resch
67add964de
Apply patch from #1581 to add an option to enable the app indicator
...
interface
2011-03-22 17:16:50 -07:00