Opened 11 years ago

Closed 11 years ago

#3696 closed Enhancement (fixed)

Publish Web Interface via Wide-Area Bonjour (in addition to Link-Local)

Reported by: gck Owned by: livings124
Priority: Normal Milestone: 2.30
Component: Mac Client Version: 2.11
Severity: Normal Keywords: bonjour webclient
Cc:

Description

Transmission should offer the ability (and/or default behavior) to register the web interface not only via link-local Bonjour, but also wide-area Bonjour, if applicable.

MobileMe? members already have a wide-area Bonjour domain for themselves, and places like DynDNS offer WAB services at quite affordable rates. Also, if the router supports NAT/PMP or UPnP, mDNSResponder will automatically map the port of the service, and Safari offers "Bonjour Bookmarks" to connect to a WAB http service from anywhere in the world. Thus, this would be a really cool feature to administer Transmission remotely.

The required change is quite trivial, although it might be advisable to add a toggle to the web interface preferences, such as "Publish on all Bonjour domains" in addition to the current "local network" option.

A patch against current SVN is attached, but it really just boils down to leaving off the "local." domain when setting up the NSNetService instance.

Thanks!

Attachments (2)

wide-area-bonjour-web.patch (844 bytes) - added by gck 11 years ago.
Patch to register Web Interface on all Bonjour domains, including any WAB.
wide-area-bonjour-enabled.patch (180.8 KB) - added by dethbunny 11 years ago.
Remove local Bonjour limit, update localized pref windows, layout fixes for Netherlands

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by gck

Patch to register Web Interface on all Bonjour domains, including any WAB.

comment:1 Changed 11 years ago by dethbunny

This should satisfy #3214; would technically be a dupe but this includes a patch. It would be simple to add this as a configurable for the web UI, but I don't think the extra clutter would be worth it. If you're using wide-area Bonjour at all, it's either because you specifically set it up or you are using a service like MobileMe? where you see your own machines only. I would personally be in favor of just removing the local limit entirely.

comment:2 Changed 11 years ago by livings124

Would you suggest changing the text of the option in preferences?

Changed 11 years ago by dethbunny

Remove local Bonjour limit, update localized pref windows, layout fixes for Netherlands

comment:3 Changed 11 years ago by dethbunny

Of course. Updated my patch to update translations (which may be a bit rough in particular for Russian and Chinese) and fixed some layout issues for Netherlands translation in the process. If you'd rather have a simpler diff, I can work that out and split off the NL layout fixes into another patch.

comment:4 Changed 11 years ago by livings124

  • Milestone changed from None Set to 2.30

comment:5 Changed 11 years ago by livings124

  • Resolution set to fixed
  • Status changed from new to closed

r11860

Thanks!

Note: See TracTickets for help on using tickets.