Archived
1
0
Fork 0
No description
php
This repository has been archived on 2023-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2018-04-05 14:27:44 +02:00
bin initial commit 2018-04-03 13:56:20 +02:00
cache initial commit 2018-04-03 13:56:20 +02:00
config Use session for selecting a server 2018-04-05 12:30:06 +02:00
data/locale Use session for selecting a server 2018-04-05 12:30:06 +02:00
log initial commit 2018-04-03 13:56:20 +02:00
public fix session error; add selected server name to menu 2018-04-05 13:33:43 +02:00
src FIX false selected sid on server delete 2018-04-05 14:27:44 +02:00
.gitignore add imgs 2018-04-04 02:03:13 +02:00
composer.json Use session for selecting a server 2018-04-05 12:30:06 +02:00
README.md update readme 2018-04-05 11:35:41 +02:00

README

ts3web is a webinterface for any TeamSpeak 3 Server used with serverQuery login.

Most TeamSpeak 3 interfaces are bloated although nearly all configuration can be done entirely in the TeamSpeak 3 Client.

This webinterface aims to be as simple as possible. It does not provide complex features which can be configured within the client. Instead, it only supports features considered useful for a TeamSpeak 3 web interface. The minimalistic approach is intentional!

If you like to help (to translate or implement missing features), open an issue before. Then create a pull request. You should use existing code to implement new features. PRs will be merged after a code review.

Things you cannot do:

  • Server Groups create, edit
  • Channel Groups create, edit
  • Channels create
  • Permissions add, edit, delete (server, channel, client)
  • File management (create, download, delete)
  • features which are not explicitly supported

Things you can do:

  • view
    • instance and host information
    • global log
    • virtual servers
    • users online
    • all known clients
    • channels
    • groups
    • channel groups
    • files
    • banlist
    • complain list
    • permissions (server, channel, client)
  • edit
    • virtual server
    • instance
  • delete
    • bans
    • complains
    • virtual servers
    • clients
    • server groups
    • channel groups
  • other actions
    • create virtual servers
    • generate serverQuery password
    • send message to users, servers, channels
    • ban a user
    • kick a user
    • poke a user
    • add to server group
    • remove from server group

Install

  • Clone repository
  • Install composer
  • Change directory to project home
  • Copy config/env.example to config/env and adjust to your needs
  • composer install

Deployment

  • Point your document root to public/.
  • Example nginx.conf:
root   .../public;
index index.php;    

rewrite_log on;

location / {
  try_files $uri $uri/ @ee;
}

location @ee {
  rewrite ^(.*) /index.php?$1 last;
}

# php fpm
location ~ \.php$ {
  fastcgi_split_path_info ^(.+\.php)(/.+)$;
  fastcgi_pass   unix:/var/run/php-fpm/php-fpm.sock;
  include        fastcgi_params;
}

Upgrade

  • Change directory to project home
  • git pull
  • composer update

Developers

  • start server with php -S localhost:8080 -t public public/index.php
  • point browser to localhost:8080 to have a preview

Translations

  • This app uses Symfony Translator. It's bootstrapped in Util\BootstrapHelper and locales are placed under data/locale/. Adjust to your needs or help translating.
  • Form fields (name/id should be the same) are also translated. For a field named content or ConT enT translate form_field_content.

Theme

Themes can be chosen in the env file by editing the theme variable. Templates are mapped to the corresponding view folder in src/View/<themeName>. .css, .js and other style files like .ttf or .woff2 for fonts should be placed in public/theme/<themeName> and accessed accordingly. See an example in src/View/material/layout/header.twig.