Code Monkey home page Code Monkey logo

mumpi's Introduction

MumPI - Mumble Webinterface

MumPI is a Webinterface for your Mumble Server ("Murmur"). It is written in PHP, and is using the Ice-Middleware.

For installation notices, see INSTALL.txt or better yet https://github.com/Kissaki/MumPI/wiki/Installation
For FAQ see https://github.com/Kissaki/MumPI/wiki/FAQ
For Updates follow this repository (e.g. only releases)

Note: User registration has captchas enabled by default, which requires the PHP GD extension installed and enabled.
See settings file $useCaptcha.


To access the admin area, add /admin/ to your url.
To access the viewer, add /viewer/ to your url.
To access the user, add /user/ to your url. (redirect in place)
To get JSON data in the CVP format: ?view=json&serverId=1
To get JSON data in JSONP style: ?view=json&serverId=1&callback=?

On first admin-login your admin account will be created. No need to manually create your first admin account yourself. Just login and admin-away!


Note on accounts:
The interface is using a local database for storing mumpi admin accounts etc.
This has nothing to do with mumble or murmur accounts, but only the interface itself.
At this moment, filesystem and individual files are totally sufficient and probably better in performance than a DBS like MySQL would be (just disk I/O rather than tcp connections and a separate system to call).

3rd Party things:
Icons from
http://findicons.com/pack/1156/fugue
http://findicons.com/pack/1581/silk

mumpi's People

Contributors

fernferret avatar kissaki avatar tkmorris avatar tobiasgies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mumpi's Issues

Ice 3.4 compatibility

MumPI currently is only compatible to Ice prior to 3.4 (3.4 is quite different, especially for PHP).

Compatibility to Ice 3.4 php extension is desirable.

Drop viewer1

Unless reasons to keep viewer1 are presented, just remove viewer1, which is currently broken.
see #52 #53

Problematic is whether this should be released as a bugfix or feature release.
Maybe I’ll have to fix this after all …

Wrong Channel order CVP in JSON

It still doesn't order the channels the right way (http://i.imgur.com/2JJdZrO.png). As you can see at the bottom, STFU and "Small Talk" should be swapped.

Here's another screenshot with the mumble client on the right and the CV on the left: http://i.imgur.com/Std0Wfk.png

Both channels are set at Position=0.
If I put Position=1 for STFU, it will be at the good place.
If I change STFU to Stfu, it will be at the good place.

So I think that the compare also compares the case. The capital letters are before the non-capital letters in the ascii table which might be the problem.

mumPi says the include_path is wrong, but reports the right include_path

  • Ubuntu server 14.04.1 LTS
  • Murmur 1.2.4
  • Ice 3.5.1

I receive the following message on mumPi/admin and /user

The Ice.php file could not be found. Please make sure the ice php file inclusion dir is in the phps
include_path (check your PHP configuration).

E.g., if you are using php-fpm and php-zeroc-ice on Ubuntu 14.04:
Open the php.ini: sudo vim php5/fpm/php.ini
And adjust the include path: include_path = ".:/usr/share/Ice-3.5.1/php/lib"

The current include path is: .:/usr/share/php:/usr/share/pear:/usr/share/Ice-3.5.1/php/lib

I have entered the correct secret in settings.inc.php and

$dbInterface_address    = 'Meta-e 1.0:tcp -h 127.0.0.1 -p 6502';

I tried to generate a new php file from the slice, but I can't find any mumble.ice, murmur.ice or murmur_x.x.x.ice

Checking the apache error log, this is what I see:

[Tue Feb 10 14:10:02.798812 2015] [:error] [pid 1071] [client my.ip.address] PHP Fatal error:  Uncaught exception ::Ice::ProxyParseException\n{\n    str = expected a proxy option but found `1.0' in `Meta-e 1.0:tcp -h 127.0.0.1 -p 6502'\n}\n  thrown in /var/www/html/mumPi/classes/ServerInterface.php on line 119

What am I doing wrong? :/

Custom default channel setting via ini prevents configurability of new virtual servers

When a channelid > 0 is set as default channel id via murmur.ini,
https://github.com/Kissaki/MumPI/blob/master/classes/MurmurClasses.php#L162
throws an exception, resulting in the config subpage stopping to load, rendering it unusable.

<ThatOtherGuy_> Default Channel  Fatal error: Uncaught exception ::Murmur::InvalidChannelException { } thrown in /home/nullcorp/public_html/MumPI/classes/MurmurClasses.php on line 164

Add a catch for that exception, and/or defaulting to default-chanid 0.
Setting it to 0 for a new vserver would be good as well, in MumPI, or better yet in Mumble itself.

500.0 error using IIS 8

Here is my setup:

Windows Server 2012
IIS 8
PHP 5.4.14
ICE 3.5.1
Murmur 1.2.4

I compiled php_ice.dll 3.5.1 and got it running for my environment. Confirmed using phpinfo()

I followed your installation guide as well as the FAQ for installing MumPI and creating a new Murmur_1.2.4.php file using slice2php.

MumPI installs properly but when I try to continue to the admin or user page, I get the following error:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

It seems that I need to create a handler mapping for .ice files to be properly configured for IIS 8. Is that correct? If so, how do I set it up properly? I've tried making one similar to the php mapping (fastcgimodule) using *.ice instead of *.php, but that did not work. I don't know what kind of module an .ice file is supposed to be configured as. I also don't know what exe/dll should handle them.

/user Fatal error: Call to a member function getName() on a non-object

I'm sure I've done something stupid but for some reason the user page kicks the following error. Admin, and viewer2 work fine.

Fatal error: Call to a member function getName() on a non-object in .\MumPI\classes\ServerInterface.php on line 377

Any assistance would be greatly appreciated.

Viewer not working as people are online

EDIT: please ignore my issue, I had not setup the right Murmur PHP in the $iceGeneratedMurmurPHPFileName of MumPi settings.

Hi.
I'm using a Murmur 1.2.3 with Ice 3.4.2 and MumPi.

If my server is empty (no people connected), the viewer works fine and shows the channel tree.

But if anyone login then the page is empty (white) and my apache error.log reports this:

(when I use the /viewer/?view=json&serverId=1 url)
[Tue Sep 10 12:22:12 2013] [error] [client 93.19.70.119] PHP Fatal error: Uncaught exception ::Ice::UnmarshalOutOfBoundsException\n{\n reason = \n}\n thrown in /var/www/MumPI/classes/MurmurClasses.php on line 111, referer: http://MYDOMAIN/MumPI/viewer/?view=json&serverId=1

(when I use the /viewer/)
[Tue Sep 10 12:22:13 2013] [error] [client 93.19.70.119] PHP Fatal error: Uncaught exception ::Ice::UnmarshalOutOfBoundsException\n{\n reason = \n}\n thrown in /var/www/MumPI/classes/MurmurClasses.php on line 111, referer: http://MYDOMAIN/MumPI/viewer/

I've been checking on google as Irc but I can't find any answer on my own :s
Can you please help me out? :)

Thanks

Create new server does nothing

Mumble 1.2.4
PHP5
ICE 3.4.2
latest MumPI

Nothing happens when I click on the Create a new server button.

From Firefox console:
Request URL: http://192.168.10.110/MumPI/admin/?ajax=server_create
Request Method: GET
Status Code: HTTP/1.0 500 Internal Server Error

From Apache error.log:
[Fri Nov 22 16:00:43 2013] [error] [client 192.168.10.110] PHP Fatal error: Uncaught exception ::Murmur::InvalidSecretException\n{\n}\n thrown in /var/www/MumPI/classes/ServerInterface.php on line 248, referer: http://192.168.10.110/MumPI/admin/?page=meta

EDIT: Don't mind me, I am retarded. No issue.

ChannelViewer doesn't put the mumble links since 2.2.6

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;

JSON

I have just installed MumPi on my server and, whilst MumPi is working perfectly, I can't seem to use JSON. Every time I try various status tools to test, I get either a malformed response or invalid response error messages.

I have it set up under http://mydomain.com/mumble/viewer2/

Could someone give an example URL that I would use in, say, http://www.mumble.com/mumble-server-status.php?

Server is 1.2.8 running on Debian Jessie.

Many thanks in advance for any help

Server Error 500

This is not an issue, but a solution that should be added into the FAQ
after the installation and configuration, if you're seeing the Server Error 500 page:

The website encountered an error while retrieving http://<url>/user/index.php. It may be down for maintenance or configured incorrectly

Do the following:
h2. Server Error 500 or Blank Page after MumPI Install
Do the following:

  1. Add the Murmur.php (that's generated by Murmur.ice - located in /usr/share/slice/Murmur.ice) which is provided by the murmur server into the <MumPI>/classes directory.
  2. Change the $iceGeneratedMurmurPHPFileName variable in the settings.inc.php to the same filename that you added into the <MumPI>/classes directory. Example: $iceGeneratedMurmurPHPFileName = 'Murmur.php';

settings.inc.php does not seem loaded when SettingsManager.php is called by ServerInterface

Hello,

I am struggling to solve a weird situation with MUMPI.
Basically, SettingsManager.php loads the settings from setting.inc.php, and is called in the main index.php and in ServerInterface.php by require_once.

However, the call works in index.php while in ServerInterface I get the following Notice in Apache log:
PHP Notice: Undefined variable: debug in /var/www/MyViewer/classes/SettingsManager
And also the same message for all other variables used: dbInterface_type, dbInterface_address, etc.

So I do not understand why $debug (and other variables) exists when SettingsManager.php is called by index.php but does not exist anymore in ServerInterface.php?
Any idea?

Many Thanks,
Krux01

drop ice 3.3 support

as debian stable also uses PHP 5.3 now, supporting the duplicate and obscure 2 ice-mechanisms and 3 code-bases for ice access in MumPI should be droppable for future versions.

Text boxes in edit config have white space

When editing the config of a server, the text boxes that appear on double click have large amounts of white-space before and after the existing value leading one to believe the field is blank

Auto Log-off

Is there a way to disable auto-logoff? or maybe just extend the time frame for which it occurs?

incompatibility with recent Mumble 1.2.3 snapshots

recent 1.2.3 snapshots won't work with the ice file, resulting in unmarshalling-exception on online-players.
.ice file has to be updated.

The on packaged with the snapshots seems to include other files. Have to check that and make it ice 3.3 compatible or sth.

SVGs in viewer loading too slow

In current FireFox (<4) the SVGs load too slow; and not parallel it seems.
Either make it optional (via setting), or try to improve loading of it (maybe JS?).

User reg fails

Hi...

just got mumble server installed and Mumpi... so far so good

I can create servers etc from the webinterface, but users cant create accounts and the antispam does not show up... also there is no submit button for users...

also as admin i cant add a new server... nothing happens when i click the add server icon

no errors reported... but the windows client cant connect, it times out...

not sure if it makes a difference but installed Ice via apt-get and version is 3.4.2

GD is php5-gd, was allready installed

Stronger password hashes

When trying to find a way to add admins by letting them set their password I rummaged around the code and data a bit, and currently the admin passwords are non-salted SHA-1 hashes...

Maybe a more secure way should be implemented?

fix isRunning-check

Working on #23 the running-check (srv, not vserv) does no longer work.
Print / chanview-provide a corresponding error.

MumPI shows nothing

For the longest time I was unable to get apache to load the ice library and MumPI helpfully provided a message that notified me of such when I opened any of the pages.
However, when I finally got ice to load, now all of the MumPI screens show a blank white screen.
I'm not entirely sure what the issue is.

Weird issue with ServerInterface.php line 185 after reinstalling working VPS image

My MumPI worked perfectly with 1.2.8. I wanted to fiddle around with the snapshots and it doesn't seem to work even if I use a new .php made from slice2php. The MumPI page appears and I can log in, but the server List from the admin page doesn't show any server (the server table is empty).

  • The MumPI install is a fresh install (deleted the whole folder and made a new one)
  • The 1.3.0 snapshot is dirty install over 1.2.8
  • Mumo still works with latest snapshot, so ICE is working

Blank page with Ice 3.5

CentOs 6.4
PHP 5.3.3
Ice 3.5
MumPI - Master(latest I believe)
Mumble-Server 1.2.4

I can run the install, but after that it's blank page. I have my error_log if you want me to email it. But it shows things like:

PHP Fatal error: Uncaught exception 'RuntimeException' with message 'no definition found for class or interface ::Murmur::Meta'
IcePHP_defineOperation() expects exactly 9 parameters, 8 given
IcePHP_defineProxy() expects parameter 1 to be object, null
IcePHP_defineClass() expects exactly 8 parameters, 6 given

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.