Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChannelViewer doesn't put the mumble links since 2.2.6 #53

Closed
nicolasjoly opened this issue Dec 10, 2015 · 7 comments
Closed

ChannelViewer doesn't put the mumble links since 2.2.6 #53

nicolasjoly opened this issue Dec 10, 2015 · 7 comments
Milestone

Comments

@nicolasjoly
Copy link

I had to revert back one line in ChannelViewerProtocolProducer.php so the links would work again. The commented line is the new one and the one above it is the old one.

$connecturlTemplate = 'mumble://MYIP:64738' . urlencode(SettingsManager::getInstance()->getServerAddress($server->getId())) . '%s?version=1.2.8';
//$connecturlTemplate = $serverConnectAddress != null ? 'mumble://%s?version=1.2.0' : null;
@Kissaki
Copy link
Owner

Kissaki commented Dec 11, 2015

I noticed they do not work for me, but thought it was because of some special characters.
I guess I will have to look into this again.

The links worked for you with the previous version?

@nicolasjoly
Copy link
Author

Yes and by changing "connecturlTemplate" back to it's original values (getting the line from 2.2.5 and putting it in 2.2.6), it works again.

@Kissaki
Copy link
Owner

Kissaki commented Dec 21, 2015

$connecturlTemplate = 'mumble://MYIP:64738' . urlencode(SettingsManager::getInstance()->getServerAddress($server->getId())) . '%s?version=1.2.8';

does not really make sense though.

That will produce an URL with IP and port, but the port is not a valid port.
It does not produce valid urls for me at all.

I guess you do not have $viewer_serverAddresses configured for the server?

The version as it is works for me with trivial alphanumeric channel names.
Ones with a space do not work currently.
But I can not see the issue or solution you describe.

@Kissaki Kissaki mentioned this issue Dec 21, 2015
@Kissaki Kissaki added this to the 2.2.7 milestone Dec 21, 2015
@nicolasjoly
Copy link
Author

With my change, the URL seems fine. I can click it and it will connect to my server no problem. Here's what it looks like in your JSON that I'm using:

"x_connecturl":"mumble://111.111.111.111:64738?version=1.2.12"

@Kissaki
Copy link
Owner

Kissaki commented Dec 22, 2015

Do you have $viewer_serverAddresses configured in settings.inc.php?

@Kissaki
Copy link
Owner

Kissaki commented Jan 16, 2016

Close as no further input/response. Works for me, unreproducible, implausible fix description.

@Kissaki Kissaki closed this as completed Jan 16, 2016
@Kissaki
Copy link
Owner

Kissaki commented Jan 16, 2016

The mentioned space character issue is/was tracked in #56 (fixed in 6767d5a).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants