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
Nick Lanham
e81a279dc2
fix naming issue with close callback in popups
2011-03-19 12:38:55 +01:00
Nick Lanham
280781ded9
queue management in torrent actions
2011-03-13 12:53:13 +01:00
Damien Churchill
f30a2858ce
convert the tests to use a local webserver instead of pinging deluge-torrent.org and damoxc.net
2011-03-08 14:43:09 +00:00
John Garland
32b41fabd6
Handle redirection when adding a torrent by url
2011-03-09 00:44:42 +11:00
John Garland
a0f9689664
Handle partial downloads due to incorrect headers ( fixes #1517 )
2011-03-09 00:40:15 +11:00
Nick Lanham
08843ccad5
support prefs that don't fit on the screen
...
remove superfluous log message
2011-03-08 12:21:45 +01:00
Nick Lanham
e0bb8869aa
add some more columns
2011-03-08 11:34:59 +01:00
Nick Lanham
255af3c485
set status fields to get from visible columns
2011-03-08 00:35:55 +01:00
Nick Lanham
f35145b0a6
make alltorrents a component like it should be and get rid of alltorrentsstateupdater
2011-03-08 00:16:42 +01:00
Nick Lanham
f2d560351e
add preferences for display and size of columns in alltorrent mode
2011-03-07 13:40:25 +01:00
Nick Lanham
62da60a0e4
break out each column preference
2011-03-07 12:37:23 +01:00
Nick Lanham
d9c1a56d44
use config params for columns to show
2011-03-07 12:14:36 +01:00
Nick Lanham
84f278dbcc
show a 'scrollbar' of sorts for popups with a lot of text
2011-03-01 19:39:55 +01:00