Notification when download is attempted

Bug #667853 reported by Tobias Baldauf
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Woof
Status tracked in Trunk
Trunk
Incomplete
Medium
Tobias Baldauf

Bug Description

In the terminal, Woof already notifies its host when someone initiates download from it. The requesting IP is shown.

Such a notification should also be created via libnotify-bubbles. They could simply state "''filename.abc' is being downloaded" or also show the IP of the downloader - if that doesn't make things to confusing for endusers.

Via this notification, users can expect Woof to perform its duty & then close. As long as there is no notification, users are left in the dark as to if the file they are sharing has already been accessed. Woof's trayicon vanishing without a visible confirmation that the file was successfully downloaded might even be perceived as a program-crash.

Related branches

Changed in woofgui:
assignee: nobody → Tobias Baldauf (technopagan)
importance: Undecided → Medium
status: New → Confirmed
Changed in woofgui:
milestone: none → wolowizard
Revision history for this message
Tobias Baldauf (technopagan) wrote :

The status-messages that can be viewed in the terminal are coming from the invoked webserver. Research is needed if and how these messages can be sent through pynotify in order to become notification-bubbles. Maybe we'd have to use dbus for this? Any input on this is welcome!

tags: added: libnotify notification popup
Revision history for this message
hackel (hackel) wrote :

Tobias, you just have to override the BaseHTTPRequestHandler.log_request function. See:

http://docs.python.org/library/basehttpserver.html#BaseHTTPServer.BaseHTTPRequestHandler.log_request

Revision history for this message
Tobias Baldauf (technopagan) wrote :

@hackel

Thank you! This is exactly the kind of helpful input I was looking for! I'll look into fixing this bug soon!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.