mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 09:02:28 +01:00
Merge branch 'develop' into feature/vuejs
This commit is contained in:
commit
b6205463db
76
.dev/docker/README.md
Normal file
76
.dev/docker/README.md
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
# Pterodactyl Panel - Docker Image
|
||||||
|
This is a ready to use docker image for the panel.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
This docker image requires some additional software to function. The software can either be provided in other containers (see the [docker-compose.yml](docker-compose.yml) as an example) or as existing instances.
|
||||||
|
|
||||||
|
A mysql database is required. We recommend the stock [MariaDB Image](https://hub.docker.com/_/mariadb/) image if you prefer to run it in a docker container. As a non-containerized option we recommend mariadb.
|
||||||
|
|
||||||
|
A caching software is required as well. We recommend the stock [Redis Image](https://hub.docker.com/_/redis/) image. You can choose any of the [supported options](#cache-drivers).
|
||||||
|
|
||||||
|
You can provide additional settings using a custom `.env` file or by setting the appropriate environment variables in the docker-compose file.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
Start the docker container and the required dependencies (either provide existing ones or start containers as well, see the [docker-compose.yml](docker-compose.yml) file as an example).
|
||||||
|
|
||||||
|
After the startup is complete you'll need to create a user.
|
||||||
|
If you are running the docker container without docker-compose, use:
|
||||||
|
```
|
||||||
|
docker exec -it <container id> php artisan p:user:make
|
||||||
|
```
|
||||||
|
If you are using docker compose use
|
||||||
|
```
|
||||||
|
docker-compose exec panel php artisan p:user:make
|
||||||
|
```
|
||||||
|
|
||||||
|
## Environment Variables
|
||||||
|
There are multiple environment variables to configure the panel when not providing your own `.env` file, see the following table for details on each available option.
|
||||||
|
|
||||||
|
Note: If your `APP_URL` starts with `https://` you need to provide an `LETSENCRYPT_EMAIL` as well so Certificates can be generated.
|
||||||
|
|
||||||
|
| Variable | Description | Required |
|
||||||
|
| ------------------- | ------------------------------------------------------------------------------ | -------- |
|
||||||
|
| `APP_URL` | The URL the panel will be reachable with (including protocol) | yes |
|
||||||
|
| `APP_TIMEZONE` | The timezone to use for the panel | yes |
|
||||||
|
| `LETSENCRYPT_EMAIL` | The email used for letsencrypt certificate generation | yes |
|
||||||
|
| `DB_HOST` | The host of the mysql instance | yes |
|
||||||
|
| `DB_PORT` | The port of the mysql instance | yes |
|
||||||
|
| `DB_DATABASE` | The name of the mysql database | yes |
|
||||||
|
| `DB_USERNAME` | The mysql user | yes |
|
||||||
|
| `DB_PASSWORD` | The mysql password for the specified user | yes |
|
||||||
|
| `CACHE_DRIVER` | The cache driver (see [Cache drivers](#cache-drivers) for detais) | yes |
|
||||||
|
| `SESSION_DRIVER` | | yes |
|
||||||
|
| `QUEUE_DRIVER` | | yes |
|
||||||
|
| `REDIS_HOST` | The hostname or IP address of the redis database | yes |
|
||||||
|
| `REDIS_PASSWORD` | The password used to secure the redis database | maybe |
|
||||||
|
| `REDIS_PORT` | The port the redis database is using on the host | maybe |
|
||||||
|
| `MAIL_DRIVER` | The email driver (see [Mail drivers](#mail-drivers) for details) | yes |
|
||||||
|
| `MAIL_FROM` | The email that should be used as the sender email | yes |
|
||||||
|
| `MAIL_HOST` | The host of your mail driver instance | maybe |
|
||||||
|
| `MAIL_PORT` | The port of your mail driver instance | maybe |
|
||||||
|
| `MAIL_USERNAME` | The username for your mail driver | maybe |
|
||||||
|
| `MAIL_PASSWORD` | The password for your mail driver | maybe |
|
||||||
|
|
||||||
|
|
||||||
|
### Cache drivers
|
||||||
|
You can choose between different cache drivers depending on what you prefer.
|
||||||
|
We recommend redis when using docker as it can be started in a container easily.
|
||||||
|
|
||||||
|
| Driver | Description | Required variables |
|
||||||
|
| -------- | ------------------------------------ | ------------------------------------------------------ |
|
||||||
|
| redis | host where redis is running | `REDIS_HOST` |
|
||||||
|
| redis | port redis is running on | `REDIS_PORT` |
|
||||||
|
| redis | redis database password | `REDIS_PASSWORD` |
|
||||||
|
|
||||||
|
### Mail drivers
|
||||||
|
You can choose between different mail drivers according to your needs.
|
||||||
|
Every driver requires `MAIL_FROM` to be set.
|
||||||
|
|
||||||
|
| Driver | Description | Required variables |
|
||||||
|
| -------- | ------------------------------------ | ------------------------------------------------------------- |
|
||||||
|
| mail | uses the installed php mail | |
|
||||||
|
| mandrill | [Mandrill](http://www.mandrill.com/) | `MAIL_USERNAME` |
|
||||||
|
| postmark | [Postmark](https://postmarkapp.com/) | `MAIL_USERNAME` |
|
||||||
|
| mailgun | [Mailgun](https://www.mailgun.com/) | `MAIL_USERNAME`, `MAIL_HOST` |
|
||||||
|
| smtp | Any SMTP server can be configured | `MAIL_USERNAME`, `MAIL_HOST`, `MAIL_PASSWORD`, `MAIL_PORT` |
|
51
.dev/docker/default.conf
Normal file
51
.dev/docker/default.conf
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
# If using Ubuntu this file should be placed in:
|
||||||
|
# /etc/nginx/sites-available/
|
||||||
|
#
|
||||||
|
# If using CentOS this file should be placed in:
|
||||||
|
# /etc/nginx/conf.d/
|
||||||
|
#
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name _;
|
||||||
|
|
||||||
|
root /app/public;
|
||||||
|
index index.html index.htm index.php;
|
||||||
|
charset utf-8;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.php?$query_string;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
|
location = /robots.txt { access_log off; log_not_found off; }
|
||||||
|
|
||||||
|
access_log off;
|
||||||
|
error_log /var/log/nginx/pterodactyl.app-error.log error;
|
||||||
|
|
||||||
|
# allow larger file uploads and longer script runtimes
|
||||||
|
client_max_body_size 100m;
|
||||||
|
client_body_timeout 120s;
|
||||||
|
|
||||||
|
sendfile off;
|
||||||
|
|
||||||
|
location ~ \.php$ {
|
||||||
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
|
# the fastcgi_pass path needs to be changed accordingly when using CentOS
|
||||||
|
fastcgi_pass unix:/var/run/php/php-fpm7.2.sock;
|
||||||
|
fastcgi_index index.php;
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
fastcgi_param HTTP_PROXY "";
|
||||||
|
fastcgi_intercept_errors off;
|
||||||
|
fastcgi_buffer_size 16k;
|
||||||
|
fastcgi_buffers 4 16k;
|
||||||
|
fastcgi_connect_timeout 300;
|
||||||
|
fastcgi_send_timeout 300;
|
||||||
|
fastcgi_read_timeout 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ /\.ht {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
}
|
70
.dev/docker/default_ssl.conf
Normal file
70
.dev/docker/default_ssl.conf
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
# If using Ubuntu this file should be placed in:
|
||||||
|
# /etc/nginx/sites-available/
|
||||||
|
#
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name <domain>;
|
||||||
|
return 301 https://$server_name$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
server_name <domain>;
|
||||||
|
|
||||||
|
root /var/www/pterodactyl/public;
|
||||||
|
index index.php;
|
||||||
|
|
||||||
|
access_log /var/log/nginx/pterodactyl.app-access.log;
|
||||||
|
error_log /var/log/nginx/pterodactyl.app-error.log error;
|
||||||
|
|
||||||
|
# allow larger file uploads and longer script runtimes
|
||||||
|
client_max_body_size 100m;
|
||||||
|
client_body_timeout 120s;
|
||||||
|
|
||||||
|
sendfile off;
|
||||||
|
|
||||||
|
# strengthen ssl security
|
||||||
|
ssl_certificate /etc/letsencrypt/live/<domain>/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/<domain>/privkey.pem;
|
||||||
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||||
|
ssl_prefer_server_ciphers on;
|
||||||
|
ssl_session_cache shared:SSL:10m;
|
||||||
|
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4";
|
||||||
|
|
||||||
|
# See the link below for more SSL information:
|
||||||
|
# https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
|
||||||
|
#
|
||||||
|
# ssl_dhparam /etc/ssl/certs/dhparam.pem;
|
||||||
|
|
||||||
|
# Add headers to serve security related headers
|
||||||
|
add_header Strict-Transport-Security "max-age=15768000; preload;";
|
||||||
|
add_header X-Content-Type-Options nosniff;
|
||||||
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
|
add_header X-Robots-Tag none;
|
||||||
|
add_header Content-Security-Policy "frame-ancestors 'self'";
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.php?$query_string;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.php$ {
|
||||||
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
|
fastcgi_pass unix:/run/php/pterodactyl.sock;
|
||||||
|
fastcgi_index index.php;
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
fastcgi_param HTTP_PROXY "";
|
||||||
|
fastcgi_intercept_errors off;
|
||||||
|
fastcgi_buffer_size 16k;
|
||||||
|
fastcgi_buffers 4 16k;
|
||||||
|
fastcgi_connect_timeout 300;
|
||||||
|
fastcgi_send_timeout 300;
|
||||||
|
fastcgi_read_timeout 300;
|
||||||
|
include /etc/nginx/fastcgi_params;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ /\.ht {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
}
|
46
.dev/docker/entrypoint.sh
Normal file
46
.dev/docker/entrypoint.sh
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
#!/bin/ash
|
||||||
|
## Ensure we are in /app
|
||||||
|
|
||||||
|
cd /app
|
||||||
|
|
||||||
|
## check for .env file and generate app keys if missing
|
||||||
|
if [ -f /app/var/.env ]; then
|
||||||
|
echo "external vars exist"
|
||||||
|
rm /app/.env
|
||||||
|
|
||||||
|
ln -s /app/var/.env /app/
|
||||||
|
else
|
||||||
|
echo "external vars don't exist"
|
||||||
|
rm /app/.env
|
||||||
|
touch /app/var/.env
|
||||||
|
|
||||||
|
## manually generate a key because key generate --force fails
|
||||||
|
echo -e "Generating key"
|
||||||
|
APP_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
|
||||||
|
echo -e "Generated app key: $APP_KEY"
|
||||||
|
echo -e "APP_KEY=$APP_KEY" > /app/var/.env
|
||||||
|
|
||||||
|
ln -s /app/var/.env /app/
|
||||||
|
fi
|
||||||
|
|
||||||
|
## check for DB up before starting the panel
|
||||||
|
echo "Checking database status."
|
||||||
|
until nc -z -v -w30 $DB_HOST 3306
|
||||||
|
|
||||||
|
do
|
||||||
|
echo "Waiting for database connection..."
|
||||||
|
# wait for 5 seconds before check again
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
|
||||||
|
## make sure the db is set up
|
||||||
|
echo -e "Migrating and Seeding DB"
|
||||||
|
php artisan migrate --force
|
||||||
|
php artisan db:seed --force
|
||||||
|
|
||||||
|
## start cronjobs for the queue
|
||||||
|
echo -e "Starting cron jobs"
|
||||||
|
crond
|
||||||
|
|
||||||
|
echo -e "Starting supervisord"
|
||||||
|
exec "$@"
|
39
.dev/docker/supervisord.conf
Normal file
39
.dev/docker/supervisord.conf
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
[unix_http_server]
|
||||||
|
file=/tmp/supervisor.sock ; path to your socket file
|
||||||
|
|
||||||
|
[supervisord]
|
||||||
|
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
|
||||||
|
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
||||||
|
logfile_backups=2 ; number of backed up logfiles
|
||||||
|
loglevel=error ; info, debug, warn, trace
|
||||||
|
pidfile=/var/run/supervisord.pid ; pidfile location
|
||||||
|
nodaemon=false ; run supervisord as a daemon
|
||||||
|
minfds=1024 ; number of startup file descriptors
|
||||||
|
minprocs=200 ; number of process descriptors
|
||||||
|
user=root ; default user
|
||||||
|
childlogdir=/var/log/supervisord/ ; where child log files will live
|
||||||
|
|
||||||
|
[rpcinterface:supervisor]
|
||||||
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||||
|
|
||||||
|
[supervisorctl]
|
||||||
|
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
|
||||||
|
|
||||||
|
[program:php-fpm]
|
||||||
|
command=/usr/sbin/php-fpm7 -F
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
|
||||||
|
[program:queue-worker]
|
||||||
|
command=/usr/bin/php /app/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3
|
||||||
|
user=nginx
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
|
||||||
|
[program:nginx]
|
||||||
|
command=/usr/sbin/nginx -g 'daemon off;'
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
priority=10
|
||||||
|
stdout_events_enabled=true
|
||||||
|
stderr_events_enabled=true
|
16
.dev/docker/www.conf
Normal file
16
.dev/docker/www.conf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[pterodactyl]
|
||||||
|
|
||||||
|
user = nginx
|
||||||
|
group = nginx
|
||||||
|
|
||||||
|
listen = /var/run/php/php-fpm7.2.sock
|
||||||
|
listen.owner = nginx
|
||||||
|
listen.group = nginx
|
||||||
|
listen.mode = 0750
|
||||||
|
|
||||||
|
pm = ondemand
|
||||||
|
pm.max_children = 9
|
||||||
|
pm.process_idle_timeout = 10s
|
||||||
|
pm.max_requests = 200
|
||||||
|
|
||||||
|
clear_env = no
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -17,8 +17,9 @@ public/assets/*
|
|||||||
# For local development with docker
|
# For local development with docker
|
||||||
# Remove if we ever put the Dockerfile in the repo
|
# Remove if we ever put the Dockerfile in the repo
|
||||||
.dockerignore
|
.dockerignore
|
||||||
Dockerfile
|
#Dockerfile
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
|
|
||||||
# for image related files
|
# for image related files
|
||||||
misc
|
misc
|
||||||
.phpstorm.meta.php
|
.phpstorm.meta.php
|
||||||
|
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
FROM alpine:3.8
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN apk add --no-cache --update ca-certificates certbot nginx dcron curl tini php7 php7-bcmath php7-common php7-dom php7-fpm php7-gd php7-mbstring php7-openssl php7-zip php7-pdo php7-phar php7-json php7-pdo_mysql php7-session php7-ctype php7-tokenizer php7-zlib php7-simplexml supervisor \
|
||||||
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
|
|
||||||
|
COPY . ./
|
||||||
|
|
||||||
|
RUN cp .env.example .env \
|
||||||
|
&& composer install --no-dev --optimize-autoloader \
|
||||||
|
&& rm .env \
|
||||||
|
&& chown -R nginx:nginx . && chmod -R 777 storage/* bootstrap/cache
|
||||||
|
|
||||||
|
RUN cp .dev/docker/default.conf /etc/nginx/conf.d/default.conf \
|
||||||
|
&& cp .dev/docker/www.conf /etc/php7/php-fpm.d/www.conf \
|
||||||
|
&& cat .dev/docker/supervisord.conf > /etc/supervisord.conf \
|
||||||
|
&& echo "* * * * * /usr/bin/php /app/pterodactyl/artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root \
|
||||||
|
&& mkdir -p /var/run/php /var/run/nginx \
|
||||||
|
&& mkdir -p /var/log/supervisord/
|
||||||
|
|
||||||
|
EXPOSE 80 443
|
||||||
|
|
||||||
|
ENTRYPOINT ["/bin/ash", ".dev/docker/entrypoint.sh"]
|
||||||
|
|
||||||
|
CMD [ "supervisord", "-n", "-c", "/etc/supervisord.conf" ]
|
@ -285,6 +285,27 @@ class NodesController extends Controller
|
|||||||
return response('', 204);
|
return response('', 204);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Removes multiple individual allocations from a node.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param int $node
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*
|
||||||
|
* @throws \Pterodactyl\Exceptions\Service\Allocation\ServerUsingAllocationException
|
||||||
|
*/
|
||||||
|
public function allocationRemoveMultiple(Request $request, int $node): Response
|
||||||
|
{
|
||||||
|
$allocations = $request->input('allocations');
|
||||||
|
foreach ($allocations as $rawAllocation) {
|
||||||
|
$allocation = new Allocation();
|
||||||
|
$allocation->id = $rawAllocation['id'];
|
||||||
|
$this->allocationRemoveSingle($node, $allocation);
|
||||||
|
}
|
||||||
|
|
||||||
|
return response('', 204);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove all allocations for a specific IP at once on a node.
|
* Remove all allocations for a specific IP at once on a node.
|
||||||
*
|
*
|
||||||
|
@ -78,7 +78,7 @@ class SettingsServiceProvider extends ServiceProvider
|
|||||||
return [$setting->key => $setting->value];
|
return [$setting->key => $setting->value];
|
||||||
})->toArray();
|
})->toArray();
|
||||||
} catch (QueryException $exception) {
|
} catch (QueryException $exception) {
|
||||||
$log->notice('A query exception was encountered while trying to load settings from the database.');
|
$log->notice('A query exception was encountered while trying to load settings from the database: ' . $exception->getMessage());
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ return [
|
|||||||
| change this value if you are not maintaining your own internal versions.
|
| change this value if you are not maintaining your own internal versions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'version' => 'canary',
|
'version' => '0.7.10',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
72
docker-compose.example.yml
Normal file
72
docker-compose.example.yml
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
database:
|
||||||
|
image: mariadb
|
||||||
|
volumes:
|
||||||
|
- "/srv/pterodactyl/database:/var/lib/mysql"
|
||||||
|
environment:
|
||||||
|
## Database settings
|
||||||
|
## change if you want it to be more secure.
|
||||||
|
- "MYSQL_ROOT_PASSWORD=apassword"
|
||||||
|
- "MYSQL_DATABASE=pterodb"
|
||||||
|
- "MYSQL_USER=ptero"
|
||||||
|
- "MYSQL_PASSWORD=pterodbpass"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
image: redis:alpine
|
||||||
|
|
||||||
|
panel:
|
||||||
|
image: quay.io/pterodactyl/panel:latest
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
links:
|
||||||
|
- database
|
||||||
|
- cache
|
||||||
|
volumes:
|
||||||
|
- "/srv/pterodactyl/var/:/app/var/"
|
||||||
|
environment:
|
||||||
|
## These are defaults and should be left alone
|
||||||
|
- "APP_ENV=production"
|
||||||
|
- "APP_DEBUG=false"
|
||||||
|
- "APP_THEME=pterodactyl"
|
||||||
|
- "APP_CLEAR_TASKLOG=720"
|
||||||
|
- "APP_DELETE_MINUTES=10"
|
||||||
|
- "APP_ENVIRONMENT_ONLY=false"
|
||||||
|
- "QUEUE_HIGH=high"
|
||||||
|
- "QUEUE_STANDARD=standard"
|
||||||
|
- "QUEUE_LOW=low"
|
||||||
|
## Cache settings
|
||||||
|
- "CACHE_DRIVER=redis"
|
||||||
|
- "SESSION_DRIVER=redis"
|
||||||
|
- "QUEUE_DRIVER=redis"
|
||||||
|
- "REDIS_HOST=cache"
|
||||||
|
- "REDIS_PASSWORD=null"
|
||||||
|
- "REDIS_PORT=6379"
|
||||||
|
## Domain settings
|
||||||
|
- "APP_URL=https://your.domain.here"
|
||||||
|
## Timezone settings
|
||||||
|
- "APP_TIMEZONE=America/New_York"
|
||||||
|
## Service egg settings
|
||||||
|
- "APP_SERVICE_AUTHOR=noreply@your.domain.here"
|
||||||
|
## Database settings
|
||||||
|
## change if you want it to be more secure.
|
||||||
|
- "DB_HOST=database"
|
||||||
|
- "DB_PORT=3306"
|
||||||
|
- "DB_DATABASE=pterodb"
|
||||||
|
- "DB_USERNAME=ptero"
|
||||||
|
- "DB_PASSWORD=pterodbpass"
|
||||||
|
## Email settings
|
||||||
|
- "MAIL_FROM=noreply@your.domain.here"
|
||||||
|
- "MAIL_DRIVER=smtp"
|
||||||
|
- "MAIL_HOST=mail"
|
||||||
|
- "MAIL_PORT=1025"
|
||||||
|
- "MAIL_USERNAME=''"
|
||||||
|
- "MAIL_PASSWORD=''"
|
||||||
|
- "MAIL_ENCRYPTION=true"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 172.20.0.0/16
|
File diff suppressed because one or more lines are too long
@ -26,7 +26,6 @@
|
|||||||
|
|
||||||
#terminal > .cmd {
|
#terminal > .cmd {
|
||||||
padding: 1px 0;
|
padding: 1px 0;
|
||||||
white-space: pre;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#terminal_input {
|
#terminal_input {
|
||||||
|
@ -113,7 +113,7 @@ class FileManager {
|
|||||||
addFolderButton() {
|
addFolderButton() {
|
||||||
$('[data-action="add-folder"]').unbind().on('click', () => {
|
$('[data-action="add-folder"]').unbind().on('click', () => {
|
||||||
new ActionsClass().folder($('#file_listing').data('current-dir') || '/');
|
new ActionsClass().folder($('#file_listing').data('current-dir') || '/');
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
selectRow() {
|
selectRow() {
|
||||||
|
@ -2,26 +2,26 @@
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
'2fa_failed' => 'Der 2FA-Token war ungültig.',
|
'2fa_failed' => 'Der 2FA-Token war ungültig.',
|
||||||
'2fa_must_be_enabled' => 'Der Administrator hat festgelegt, dass dein Konto 2-Faktor-Authentifizierung benutzen muss, um das Panel verwenden zu können.',
|
'2fa_must_be_enabled' => 'Der Administrator hat festgelegt, dass dein Konto die 2-Faktor-Authentifizierung benutzen muss, um das Panel verwenden zu können.',
|
||||||
'2fa_required' => 'Zwei-Faktor Authentifizierung',
|
'2fa_required' => 'Zwei-Faktor Authentifizierung',
|
||||||
'authentication_required' => 'Sie müssen angemeldet sein, um fortzufahren.',
|
'authentication_required' => 'Du musst angemeldet sein, um fortzufahren.',
|
||||||
'auth_error' => 'Währen dem Einloggen ist ein Fehler aufgetreten.',
|
'auth_error' => 'Während dem anmelden ist ein Fehler aufgetreten.',
|
||||||
'confirmpassword' => 'Passwort bestätigen',
|
'confirmpassword' => 'Passwort bestätigen',
|
||||||
'emailsent' => 'Ihre E-Mail zum Zurücksetzen des Passworts ist nun unterwegs.',
|
'emailsent' => 'Deine E-Mail zum zurücksetzen des Passworts ist unterwegs.',
|
||||||
'email_sent' => 'Du erhälst eine E-Mail mit weiteren Anweisungen zum Zurücksetzen deines Passworts.',
|
'email_sent' => 'Du erhälst eine E-Mail mit weiteren Anweisungen zum zurücksetzen deines Passworts.',
|
||||||
'failed' => 'Die Anmeldeinformationen stimmen nicht überein.',
|
'failed' => 'Die Anmeldeinformationen stimmen nicht überein.',
|
||||||
'forgot_password' => 'Passwort vergessen',
|
'forgot_password' => 'Passwort vergessen',
|
||||||
'not_authorized' => 'Du bist nicht autorisiert diese Aktion auszuführen0.',
|
'not_authorized' => 'Du bist nicht autorisiert diese Aktion auszuführen.',
|
||||||
'password_requirements' => 'Passwörter müssen Zahlen, Klein-, Großbuchstaben enthalten und mindestens 8 Zeichen lang sein.',
|
'password_requirements' => 'Passwörter müssen Zahlen, Klein-, Großbuchstaben enthalten und mindestens 8 Zeichen lang sein.',
|
||||||
'remeberme' => 'Angemeldet bleiben',
|
'remeberme' => 'Angemeldet bleiben',
|
||||||
'remember_me' => 'Eingeloggt bleiben',
|
'remember_me' => 'Angemeldet bleiben',
|
||||||
'request_reset' => 'Konto suchen',
|
'request_reset' => 'Konto suchen',
|
||||||
'request_reset_text' => 'Du hast dein Passwort vergessen? Das ist keinWeltuntergang! Gib einfach deine Email hier an.',
|
'request_reset_text' => 'Du hast dein Passwort vergessen? Das ist kein Weltuntergang! Gib einfach deine E-Mail hier an.',
|
||||||
'resetpassword' => 'Passwort zurücksetzen',
|
'resetpassword' => 'Passwort zurücksetzen',
|
||||||
'reset_password' => 'Passwort zurücksetzen',
|
'reset_password' => 'Passwort zurücksetzen',
|
||||||
'reset_password_text' => 'Passwort zurücksetzen.',
|
'reset_password_text' => 'Passwort zurücksetzen.',
|
||||||
'sendlink' => 'Passwortrücksetzungslink senden.',
|
'sendlink' => 'Passwortrücksetzungslink senden.',
|
||||||
'sign_in' => 'Einloggen',
|
'sign_in' => 'Anmelden',
|
||||||
'throttle' => 'Du hast zu oft versucht dich anzumalen bitte warte noch :seconds Sekunden.',
|
'throttle' => 'Du hast zu oft versucht dich anzumelden, bitte warte noch :seconds Sekunden.',
|
||||||
'totp_failed' => 'Der TOTP Code war ungültig.',
|
'totp_failed' => 'Der TOTP Code war ungültig.',
|
||||||
];
|
];
|
||||||
|
@ -6,7 +6,7 @@ return [
|
|||||||
'delete_user' => 'Benutzer löschen',
|
'delete_user' => 'Benutzer löschen',
|
||||||
'details_updated' => 'Dein Account wurde erfolgreich bearbeitet.',
|
'details_updated' => 'Dein Account wurde erfolgreich bearbeitet.',
|
||||||
'email_password' => 'Email Passwort',
|
'email_password' => 'Email Passwort',
|
||||||
'exception' => 'Währen dem Aktualisieren deines Account ist ein Fehler aufgetreten.',
|
'exception' => 'Während dem aktualisieren deines Kontos ist ein Fehler aufgetreten.',
|
||||||
'first_name' => 'Vorname',
|
'first_name' => 'Vorname',
|
||||||
'header' => 'BENUTZERVERWALTUNG',
|
'header' => 'BENUTZERVERWALTUNG',
|
||||||
'header_sub' => 'Verwalte deine Kontodetails.',
|
'header_sub' => 'Verwalte deine Kontodetails.',
|
||||||
@ -18,11 +18,11 @@ return [
|
|||||||
'new_password_again' => 'Neues Passwort wiederholen',
|
'new_password_again' => 'Neues Passwort wiederholen',
|
||||||
'totp_disable' => 'Deaktiviere die Zwei-Faktor-Authentifizierung',
|
'totp_disable' => 'Deaktiviere die Zwei-Faktor-Authentifizierung',
|
||||||
'totp_enable' => 'Zwei-Faktor-Authentifizierung aktivieren',
|
'totp_enable' => 'Zwei-Faktor-Authentifizierung aktivieren',
|
||||||
'totp_enable_help' => 'Es sieht so aus als hättest du Zwei-Faktor-Authentifizierung deaktiviert. Diese Authentifizierungsmethode schützt dein Konto zusätzlich vor unerlaubtem Zugriff. Wenn du es aktivierst musst du zukünftig neben deinem Passwort auch einen Code, der von deinem Smartphone oder einem anderen TOTP fähigen Gerät generiert wird, eingeben um dich anzumelden.',
|
'totp_enable_help' => 'Es sieht so aus als hättest du die Zwei-Faktor-Authentifizierung deaktiviert. Diese Authentifizierungsmethode schützt dein Konto zusätzlich vor unerlaubtem Zugriff. Wenn du sie aktivierst musst du zukünftig neben deinem Passwort auch einen Code, der von deinem Smartphone oder einem anderen TOTP fähigen Gerät generiert wird, eingeben um dich anzumelden.',
|
||||||
'totp_header' => 'Zwei-Faktor Authentifizierung',
|
'totp_header' => 'Zwei-Faktor Authentifizierung',
|
||||||
'update_email' => 'E-Mail Adresse aktualisieren',
|
'update_email' => 'E-Mail Adresse aktualisieren',
|
||||||
'update_identitity' => 'Kotodetails aktualisieren',
|
'update_identitity' => 'Kotodetails aktualisieren',
|
||||||
'update_identity' => 'Account bearbeiten',
|
'update_identity' => 'Konto bearbeiten',
|
||||||
'update_pass' => 'Passwort ändern',
|
'update_pass' => 'Passwort ändern',
|
||||||
'update_user' => 'Benutzer aktualisieren',
|
'update_user' => 'Benutzer aktualisieren',
|
||||||
'username_help' => 'Dein Benutzername muss für dein Konto einzigartig sein und darf nur die folgenden Zeichen enthalten: :requirements.',
|
'username_help' => 'Dein Benutzername muss für dein Konto einzigartig sein und darf nur die folgenden Zeichen enthalten: :requirements.',
|
||||||
@ -32,7 +32,7 @@ return [
|
|||||||
'create_new' => 'Neuen API Schlüssel erstellen',
|
'create_new' => 'Neuen API Schlüssel erstellen',
|
||||||
'header' => 'API Zugriff',
|
'header' => 'API Zugriff',
|
||||||
'header_sub' => 'Verwalte deine API Zugangsschlüssel.',
|
'header_sub' => 'Verwalte deine API Zugangsschlüssel.',
|
||||||
'keypair_created' => 'An API Key-Pair has been generated. Your API secret token is <code>:token</code>. Please take note of this key as it will not be displayed again.',
|
'keypair_created' => 'Ein API-Schlüsselpaar wurde generiert. Dein API Secret Token ist <code>: token </ code>. Bitte notiere diesen Schlüssel, da er nicht mehr angezeigt wird. ',
|
||||||
'list' => 'API Schlüssel',
|
'list' => 'API Schlüssel',
|
||||||
],
|
],
|
||||||
'new' => [
|
'new' => [
|
||||||
@ -141,7 +141,7 @@ return [
|
|||||||
],
|
],
|
||||||
'title' => 'Benutzerverwaltung',
|
'title' => 'Benutzerverwaltung',
|
||||||
'update' => [
|
'update' => [
|
||||||
'description' => 'Erlaubt Benutzerdetails zu ändern (E-Mail, Passwort, TOPT einstellungen).',
|
'description' => 'Erlaubt Benutzerdetails zu ändern (E-Mail, Passwort, TOPT Einstellungen).',
|
||||||
'title' => 'Benutzer aktualisieren',
|
'title' => 'Benutzer aktualisieren',
|
||||||
],
|
],
|
||||||
'view' => [
|
'view' => [
|
||||||
@ -154,7 +154,7 @@ return [
|
|||||||
'admin' => [
|
'admin' => [
|
||||||
'location' => [
|
'location' => [
|
||||||
'list' => [
|
'list' => [
|
||||||
'desc' => 'Der User darf alle Standorte sehen.',
|
'desc' => 'Der Benutzer darf alle Standorte sehen.',
|
||||||
'title' => 'Liste Standorte',
|
'title' => 'Liste Standorte',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@ -169,11 +169,11 @@ return [
|
|||||||
'title' => 'Node löschen',
|
'title' => 'Node löschen',
|
||||||
],
|
],
|
||||||
'list' => [
|
'list' => [
|
||||||
'desc' => 'Der User darf alle Nodes sehen.',
|
'desc' => 'Der Benutzer darf alle Nodes sehen.',
|
||||||
'title' => 'Nodes auflisten',
|
'title' => 'Nodes auflisten',
|
||||||
],
|
],
|
||||||
'view-config' => [
|
'view-config' => [
|
||||||
'desc' => 'Achtung. Der User kann die Konfiguration dieser Node sehen.',
|
'desc' => 'Der Benutzer kann die Konfiguration dieser Node sehen.',
|
||||||
'title' => 'Node Konfiguration anzeigen',
|
'title' => 'Node Konfiguration anzeigen',
|
||||||
],
|
],
|
||||||
'view' => [
|
'view' => [
|
||||||
@ -202,70 +202,70 @@ return [
|
|||||||
'pack_header' => 'Pack Control',
|
'pack_header' => 'Pack Control',
|
||||||
'server' => [
|
'server' => [
|
||||||
'create' => [
|
'create' => [
|
||||||
'desc' => 'Der User darf Server erstellen.',
|
'desc' => 'Der Benutzer darf Server erstellen.',
|
||||||
'title' => 'Create Server',
|
'title' => 'Server erstellen',
|
||||||
],
|
],
|
||||||
'delete' => [
|
'delete' => [
|
||||||
'desc' => 'Der User darf Server löschen.',
|
'desc' => 'Der Benutzer darf Server löschen.',
|
||||||
'title' => 'Delete Server',
|
'title' => 'Server löschen',
|
||||||
],
|
],
|
||||||
'edit-build' => [
|
'edit-build' => [
|
||||||
'desc' => 'Der User darf Server einstellungen bearbeiten.',
|
'desc' => 'Der Benutzer darf Servereinstellungen bearbeiten.',
|
||||||
'title' => 'Edit Server Build',
|
'title' => 'Servereinstellungen ändern',
|
||||||
],
|
],
|
||||||
'edit-container' => [
|
'edit-container' => [
|
||||||
'desc' => 'Der User darf die Container Einstellungen des Servers verändern.',
|
'desc' => 'Der Benutzer darf die Container Einstellungen des Servers verändern.',
|
||||||
'title' => 'Edit Server Container',
|
'title' => 'Server Container Einstellungen ändern',
|
||||||
],
|
],
|
||||||
'edit-details' => [
|
'edit-details' => [
|
||||||
'desc' => 'Der User darf die Server EInstellungen bearbeiten.',
|
'desc' => 'Der Benutzer darf die Servereinstellungen bearbeiten.',
|
||||||
'title' => 'Edit Server Details',
|
'title' => 'Server Details ändern',
|
||||||
],
|
],
|
||||||
'edit-startup' => [
|
'edit-startup' => [
|
||||||
'desc' => 'Der User darf die Startparameter ändern.',
|
'desc' => 'Der User darf die Startparameter ändern.',
|
||||||
'title' => 'Edit Server Startup',
|
'title' => 'Server Startparameter ändern',
|
||||||
],
|
],
|
||||||
'install' => [
|
'install' => [
|
||||||
'desc' => 'Der User darf den Installationstatus bearbeiten',
|
'desc' => 'Der Benutzer darf den Installationstatus bearbeiten',
|
||||||
'title' => 'Toggle Install Status',
|
'title' => 'Installlations Status ändern',
|
||||||
],
|
],
|
||||||
'list' => [
|
'list' => [
|
||||||
'desc' => 'Der User darf alle Server dieser Instanz sehen.',
|
'desc' => 'Der Benutzer darf alle Server dieser Instanz sehen.',
|
||||||
'title' => 'List Servers',
|
'title' => 'Servers Liste anzeigen',
|
||||||
],
|
],
|
||||||
'rebuild' => [
|
'rebuild' => [
|
||||||
'desc' => 'Der User darf den Server ner erstellen',
|
'desc' => 'Der Benutzer darf den Server ner erstellen',
|
||||||
'title' => 'Rebuild Server',
|
'title' => 'Rebuild Server',
|
||||||
],
|
],
|
||||||
'suspend' => [
|
'suspend' => [
|
||||||
'desc' => 'Der User darf Server sperren.',
|
'desc' => 'Der User darf Server sperren.',
|
||||||
'title' => 'Suspend Server',
|
'title' => 'Server sperren',
|
||||||
],
|
],
|
||||||
'view' => [
|
'view' => [
|
||||||
'desc' => 'Der user darf detaillierte Informationen zu allen Servern dieser Instanz sehen.',
|
'desc' => 'Der Benutzer darf detaillierte Informationen zu allen Servern dieser Instanz sehen.',
|
||||||
'title' => 'View Server',
|
'title' => 'Server Informationen anzeigen',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'server_header' => 'Server Control',
|
'server_header' => 'Server Control',
|
||||||
'service' => [
|
'service' => [
|
||||||
'list' => [
|
'list' => [
|
||||||
'desc' => 'Der User kann alle Services sehen.',
|
'desc' => 'Der Benutzer kann alle Services sehen.',
|
||||||
'title' => 'List Service',
|
'title' => 'Services anzeigen',
|
||||||
],
|
],
|
||||||
'view' => [
|
'view' => [
|
||||||
'desc' => 'Der user kann detaillierte Informationen über einen Service sehen.',
|
'desc' => 'Der Benutzer kann detaillierte Informationen über einen Service sehen.',
|
||||||
'title' => 'View Service',
|
'title' => 'Service anzeigen',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'service_header' => 'Service Control',
|
'service_header' => 'Service Control',
|
||||||
'user' => [
|
'user' => [
|
||||||
'create' => [
|
'create' => [
|
||||||
'desc' => 'Der User kann einen User erstellen.',
|
'desc' => 'Der Benutzer kann einen User erstellen.',
|
||||||
'title' => 'Create User',
|
'title' => 'Benutzer erstellen',
|
||||||
],
|
],
|
||||||
'delete' => [
|
'delete' => [
|
||||||
'desc' => 'Der User kann einen Server löschen.',
|
'desc' => 'Der User kann einen Server löschen.',
|
||||||
'title' => 'Delete User',
|
'title' => 'Benutzer löschen',
|
||||||
],
|
],
|
||||||
'edit' => [
|
'edit' => [
|
||||||
'desc' => 'Der User kann einen User bearbeiten.',
|
'desc' => 'Der User kann einen User bearbeiten.',
|
||||||
@ -273,11 +273,11 @@ return [
|
|||||||
],
|
],
|
||||||
'list' => [
|
'list' => [
|
||||||
'desc' => 'Ermöglicht die Auflistung aller derzeit im System befindlichen Benutzer.',
|
'desc' => 'Ermöglicht die Auflistung aller derzeit im System befindlichen Benutzer.',
|
||||||
'title' => 'List Users',
|
'title' => 'Benutzerliste anzeigen',
|
||||||
],
|
],
|
||||||
'view' => [
|
'view' => [
|
||||||
'desc' => 'Der User kann detaillierte Informationen der User sehen.',
|
'desc' => 'Der User kann detaillierte Informationen der User sehen.',
|
||||||
'title' => 'View User',
|
'title' => 'Benutzerinformationen anzeigen',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'user_header' => 'Benutzer Control',
|
'user_header' => 'Benutzer Control',
|
||||||
@ -285,20 +285,20 @@ return [
|
|||||||
'user' => [
|
'user' => [
|
||||||
'server' => [
|
'server' => [
|
||||||
'command' => [
|
'command' => [
|
||||||
'desc' => 'Der User hat Zugriff auf die Server Console.',
|
'desc' => 'Der Benutzer hat Zugriff auf die Server Konsole.',
|
||||||
'title' => 'Send Command',
|
'title' => 'Befehl senden',
|
||||||
],
|
],
|
||||||
'list' => [
|
'list' => [
|
||||||
'desc' => 'Der user darf seine Serverliste ansehen.',
|
'desc' => 'Der Benutzer darf seine Serverliste ansehen.',
|
||||||
'title' => 'List Servers',
|
'title' => 'Serverliste',
|
||||||
],
|
],
|
||||||
'power' => [
|
'power' => [
|
||||||
'desc' => 'Der User darf den Server starten/stoppen/restartet.',
|
'desc' => 'Der Benutzer darf den Server starten/stoppen/restartet.',
|
||||||
'title' => 'Toggle Power',
|
'title' => 'Server start/stop/restart',
|
||||||
],
|
],
|
||||||
'view' => [
|
'view' => [
|
||||||
'desc' => 'Der User darf detaillierte Informationen über seine Server sehen.',
|
'desc' => 'Der Benutzer darf detaillierte Informationen über seine Server sehen.',
|
||||||
'title' => 'View Server',
|
'title' => 'Serverinformationen anzeigen',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'server_header' => 'Benutzer Rechte',
|
'server_header' => 'Benutzer Rechte',
|
||||||
@ -312,13 +312,13 @@ return [
|
|||||||
'header' => 'Forbidden',
|
'header' => 'Forbidden',
|
||||||
],
|
],
|
||||||
'404' => [
|
'404' => [
|
||||||
'desc' => 'Die Angefragte Ressource konnte nicht gefunden werden.',
|
'desc' => 'Die angefragte Ressource konnte nicht gefunden werden.',
|
||||||
'header' => 'File Not Found',
|
'header' => 'File Not Found',
|
||||||
],
|
],
|
||||||
'home' => 'Gehe zur Startseite',
|
'home' => 'Gehe zur Startseite',
|
||||||
'installing' => [
|
'installing' => [
|
||||||
'desc' => 'Der angeforderte Server wird derzeit noch installiert. Bitte versuche es in ein paar Minuten erneut, du solltest eine E-Mail erhalten, sobald dieser Prozess abgeschlossen ist.',
|
'desc' => 'Dieser Server wird derzeit noch installiert. Bitte versuche es in ein paar Minuten erneut, du solltest eine E-Mail erhalten, sobald dieser Prozess abgeschlossen ist.',
|
||||||
'header' => 'Server Installing',
|
'header' => 'Server Installation',
|
||||||
],
|
],
|
||||||
'return' => 'Zur vorherigen Seite zurückkehren',
|
'return' => 'Zur vorherigen Seite zurückkehren',
|
||||||
'suspended' => [
|
'suspended' => [
|
||||||
@ -335,13 +335,13 @@ return [
|
|||||||
'no_servers' => 'Deinem Benutzerkonto sind aktuell keine Server zugeordnet.',
|
'no_servers' => 'Deinem Benutzerkonto sind aktuell keine Server zugeordnet.',
|
||||||
'password_req' => 'Passwörter müssen den folgenden Anforderungen genügen: mindestens ein Großbuchstabe, ein Kleinbuchstabe, eine Ziffer und eine Länge von mindestens 8 Zeichen.',
|
'password_req' => 'Passwörter müssen den folgenden Anforderungen genügen: mindestens ein Großbuchstabe, ein Kleinbuchstabe, eine Ziffer und eine Länge von mindestens 8 Zeichen.',
|
||||||
'security' => [
|
'security' => [
|
||||||
'2fa_checkpoint_help' => 'Verwende die 2FA-Anwendung auf deinem Telefon, um den QR-Codes auf der linken Seite zu scannen, oder gebe den Code darunter manuell ein. Sobald du dies getan haben, generiere einen Token und gebe ihn unten ein.',
|
'2fa_checkpoint_help' => 'Verwende die 2FA-Anwendung auf deinem Telefon, um den QR-Codes auf der linken Seite zu scannen, oder gebe den Code darunter manuell ein. Sobald du dies getan hast, generiere einen Token und gebe ihn unten ein.',
|
||||||
'2fa_disabled' => '2-Faktor-Authentifizierung ist deaktiviert! Du solltest 2-Faktor-Authentifizierung aktivieren um dein Konto zusätzlich zu schützen.',
|
'2fa_disabled' => '2-Faktor-Authentifizierung ist deaktiviert! Du solltest die 2-Faktor-Authentifizierung aktivieren um dein Konto zusätzlich zu schützen.',
|
||||||
'2fa_disable_error' => 'Der bereitgestellte 2FA-Token war nicht gültig. Der Schutz wurde für dieses Konto nicht deaktiviert.',
|
'2fa_disable_error' => 'Der bereitgestellte 2FA-Token war nicht gültig. Der Schutz wurde für dieses Konto nicht deaktiviert.',
|
||||||
'2fa_header' => '2-Faktor-Authentifizierung',
|
'2fa_header' => '2-Faktor-Authentifizierung',
|
||||||
'2fa_qr' => '2FA konfigurieren',
|
'2fa_qr' => '2FA konfigurieren',
|
||||||
'2fa_token_help' => 'Bitte gebe den 2FA Code von deiner 2FA APP ein (Google Authenticatior, Authy, etc.).',
|
'2fa_token_help' => 'Bitte gebe den 2FA Code von deiner 2FA APP ein (Google Authenticatior, Authy, etc.).',
|
||||||
'disable_2fa' => '2-Factor-Authentification deaktivieren',
|
'disable_2fa' => '2-Factor-Authentifizierung deaktivieren',
|
||||||
'enable_2fa' => '2-Faktor-Authentifizierung aktivieren',
|
'enable_2fa' => '2-Faktor-Authentifizierung aktivieren',
|
||||||
'header' => 'Kontosicherheit',
|
'header' => 'Kontosicherheit',
|
||||||
'header_sub' => 'Verwalte aktive Sitzungen und die 2-Faktor-Authentifizierung.',
|
'header_sub' => 'Verwalte aktive Sitzungen und die 2-Faktor-Authentifizierung.',
|
||||||
@ -349,6 +349,6 @@ return [
|
|||||||
'session_mgmt_disabled' => 'Der Administrator hat die Möglichkeit, aktive Sitzungen über dieses Panel zu verwalten, nicht aktiviert.',
|
'session_mgmt_disabled' => 'Der Administrator hat die Möglichkeit, aktive Sitzungen über dieses Panel zu verwalten, nicht aktiviert.',
|
||||||
],
|
],
|
||||||
'server_name' => 'Name des Servers',
|
'server_name' => 'Name des Servers',
|
||||||
'validation_error' => 'Es gab ein Problem mit einer oder mehreren deriner Eingaben.',
|
'validation_error' => 'Es gab ein Problem mit einer oder mehreren deiner Eingaben.',
|
||||||
'view_as_admin' => 'Du siehst die Serverliste als Administrator. Deshalb siehst du alle im System vorhandenen Server. Die Server bei denen du als Besitzer eingetragen bist sind mit einem blauen Punkt markiert.',
|
'view_as_admin' => 'Du siehst die Serverliste als Administrator. Deshalb siehst du alle im System vorhandenen Server. Die Server bei denen du als Besitzer eingetragen bist sind mit einem blauen Punkt markiert.',
|
||||||
];
|
];
|
||||||
|
@ -3,18 +3,18 @@
|
|||||||
return [
|
return [
|
||||||
'location' => [
|
'location' => [
|
||||||
'no_location_found' => 'Shortcode wurde nicht gefunden.',
|
'no_location_found' => 'Shortcode wurde nicht gefunden.',
|
||||||
'ask_short' => 'Location Short Code',
|
'ask_short' => 'Standort Short Code',
|
||||||
'ask_long' => 'Location Beschreibung',
|
'ask_long' => 'Standortbeschreibung',
|
||||||
'created' => 'Neue Location (:name) mit der ID :id erstellt.',
|
'created' => 'Neuer Standort (:name) mit der ID :id erstellt.',
|
||||||
'deleted' => 'Location gelöscht.',
|
'deleted' => 'Standort gelöscht.',
|
||||||
],
|
],
|
||||||
'user' => [
|
'user' => [
|
||||||
'search_users' => 'Gib einen Benutzernamen, eine UUID oder eine Email an',
|
'search_users' => 'Gib einen Benutzernamen, eine UUID oder eine E-Mail an',
|
||||||
'select_search_user' => 'ID des Benutzers (Gib \'0\' ein, um erneut zu suchen)',
|
'select_search_user' => 'ID des Benutzers (Gib \'0\' ein, um erneut zu suchen)',
|
||||||
'deleted' => 'Benutzer erfolgreich gelöscht.',
|
'deleted' => 'Benutzer erfolgreich gelöscht.',
|
||||||
'confirm_delete' => 'Bist du dir wirklich sicher?',
|
'confirm_delete' => 'Bist du dir wirklich sicher?',
|
||||||
'no_users_found' => 'Es wurden keine Benutzer gefunden.',
|
'no_users_found' => 'Es wurden keine Benutzer gefunden.',
|
||||||
'multiple_found' => 'Es wurden mehrere Accounts gefunden.',
|
'multiple_found' => 'Es wurden mehrere Benutzer gefunden.',
|
||||||
'ask_admin' => 'Ist dieser Benutzer ein Administrator?',
|
'ask_admin' => 'Ist dieser Benutzer ein Administrator?',
|
||||||
'ask_email' => 'Email Adresse',
|
'ask_email' => 'Email Adresse',
|
||||||
'ask_username' => 'Benutzername',
|
'ask_username' => 'Benutzername',
|
||||||
@ -24,8 +24,8 @@ return [
|
|||||||
'ask_password_tip' => 'Wenn du das wirklich tun willst drücke Strg+c und benutze das `--no-password` flag.',
|
'ask_password_tip' => 'Wenn du das wirklich tun willst drücke Strg+c und benutze das `--no-password` flag.',
|
||||||
'ask_password_help' => 'Das Passwort muss Zahlen, Groß- und Kleinbuchstaben enthalten und mindestens 8 Zeichen lang sein.',
|
'ask_password_help' => 'Das Passwort muss Zahlen, Groß- und Kleinbuchstaben enthalten und mindestens 8 Zeichen lang sein.',
|
||||||
'2fa_help_text' => [
|
'2fa_help_text' => [
|
||||||
'Dieser Befehl deaktiviert 2-Faktor-Authentifizierung für ein Benutzerkonto, falls es aktiviert ist. Dieser Befehl sollte nur zur Accountrettung verwendet werden, wenn sich ein Nutzer aus seinem Account ausgeschlossen hat.',
|
'Dieser Befehl deaktiviert die 2-Faktor-Authentifizierung für ein Benutzerkonto, falls es aktiviert ist. Dieser Befehl sollte nur zur Accountrettung verwendet werden, wenn sich ein Nutzer aus seinem Account ausgeschlossen hat.',
|
||||||
'Falls das nicht ist, was du erreichen wolltest, drücke Strg+C, um diesen Prozess zu beenden.',
|
'Falls es nicht das ist, was du erreichen wolltest, drücke Strg+C, um diesen Prozess zu beenden.',
|
||||||
],
|
],
|
||||||
'2fa_disabled' => '2-Faktor-Authentifizierung wurde für :email deaktiviert.',
|
'2fa_disabled' => '2-Faktor-Authentifizierung wurde für :email deaktiviert.',
|
||||||
],
|
],
|
||||||
@ -43,7 +43,7 @@ return [
|
|||||||
'ask_smtp_host' => 'SMTP Host (e.g. smtp.gmail.com)',
|
'ask_smtp_host' => 'SMTP Host (e.g. smtp.gmail.com)',
|
||||||
'ask_smtp_port' => 'SMTP Port',
|
'ask_smtp_port' => 'SMTP Port',
|
||||||
'ask_smtp_username' => 'SMTP Benutzername',
|
'ask_smtp_username' => 'SMTP Benutzername',
|
||||||
'ask_smtp_password' => 'SMTP Password',
|
'ask_smtp_password' => 'SMTP Passwort',
|
||||||
'ask_mailgun_domain' => 'Mailgun Domain',
|
'ask_mailgun_domain' => 'Mailgun Domain',
|
||||||
'ask_mailgun_secret' => 'Mailgun Secret',
|
'ask_mailgun_secret' => 'Mailgun Secret',
|
||||||
'ask_mandrill_secret' => 'Mandrill Secret',
|
'ask_mandrill_secret' => 'Mandrill Secret',
|
||||||
@ -54,17 +54,17 @@ return [
|
|||||||
'ask_encryption' => 'Encryption method to use',
|
'ask_encryption' => 'Encryption method to use',
|
||||||
],
|
],
|
||||||
'database' => [
|
'database' => [
|
||||||
'host_warning' => 'It is highly recommended to not use "localhost" as your database host as we have seen frequent socket connection issues. If you want to use a local connection you should be using "127.0.0.1".',
|
'host_warning' => 'Es wird dringend empfohlen, "localhost" nicht als Datenbank-Host zu verwenden, da es zu häufigen Socket-Verbindungsproblemen gekommen ist. Wenn du eine lokale Verbindung verwenden möchten, solltest du "127.0.0.1" verwenden.',
|
||||||
'host' => 'Database Host',
|
'host' => 'Datenbank Host',
|
||||||
'port' => 'Database Port',
|
'port' => 'Datenbank Port',
|
||||||
'database' => 'Database Name',
|
'database' => 'Datenbank Name',
|
||||||
'username_warning' => 'Using the "root" account for MySQL connections is not only highly frowned upon, it is also not allowed by this application. You\'ll need to have created a MySQL user for this software.',
|
'username_warning' => 'Die Verwendung des "root" -Kontos für MySQL-Verbindungen ist nicht erlaubt, Du musst einen extra MySQL-Benutzer erstellt haben.',
|
||||||
'username' => 'Database Benutzername',
|
'username' => 'Datenbank Benutzername',
|
||||||
'password_defined' => 'It appears you already have a MySQL connection password defined, would you like to change it?',
|
'password_defined' => 'Es scheint so, als ob du schon ein MySQL-kennwort definiert haast. Möchtest du es ändern?',
|
||||||
'password' => 'Database Password',
|
'password' => 'Datenbank Passwort',
|
||||||
'connection_error' => 'Unable to connect to the MySQL server using the provided credentials. The error returned was ":error".',
|
'connection_error' => 'Es konnte keine Verbindung zum MySQL-Server mit den angegebenen Anmeldeinformationen hergestellt werden. Zurückgegebene Fehler ":error".',
|
||||||
'creds_not_saved' => 'Your connection credentials have NOT been saved. You will need to provide valid connection information before proceeding.',
|
'creds_not_saved' => 'Die Verbindungsdaten wurden NICHT gespeichert. Du musst gültige Verbindungsinformationen angeben, bevor du fortfahren kannst.',
|
||||||
'try_again' => 'Go back and try again?',
|
'try_again' => 'Zurück und erneuert versuchen?',
|
||||||
],
|
],
|
||||||
'app' => [
|
'app' => [
|
||||||
'app_url_help' => 'The application URL MUST begin with https:// or http:// depending on if you are using SSL or not. If you do not include the scheme your emails and other content will link to the wrong location.',
|
'app_url_help' => 'The application URL MUST begin with https:// or http:// depending on if you are using SSL or not. If you do not include the scheme your emails and other content will link to the wrong location.',
|
||||||
|
@ -40,7 +40,7 @@ return [
|
|||||||
],
|
],
|
||||||
'subusers' => [
|
'subusers' => [
|
||||||
'editing_self' => 'Du darfst deinen eigenen Subuser nicht bearbeiten.',
|
'editing_self' => 'Du darfst deinen eigenen Subuser nicht bearbeiten.',
|
||||||
'user_is_owner' => 'Du kannst den Owner nicht als Subuser hinzufügen.',
|
'user_is_owner' => 'Du kannst den Serverbesitzer nicht als Subuser hinzufügen.',
|
||||||
'subuser_exists' => 'Diese Email ist bereits registriert.',
|
'subuser_exists' => 'Diese Email ist bereits registriert.',
|
||||||
],
|
],
|
||||||
'databases' => [
|
'databases' => [
|
||||||
|
@ -23,7 +23,7 @@ return [
|
|||||||
'port_allocations' => 'Port-Einstellungen',
|
'port_allocations' => 'Port-Einstellungen',
|
||||||
'sftp_settings' => 'SFTP Einstellungen',
|
'sftp_settings' => 'SFTP Einstellungen',
|
||||||
'startup_parameters' => 'Startup Parameter',
|
'startup_parameters' => 'Startup Parameter',
|
||||||
'databases' => 'Datenbaken',
|
'databases' => 'Datenbanken',
|
||||||
'edit_file' => 'Datei bearbeiten',
|
'edit_file' => 'Datei bearbeiten',
|
||||||
'admin_header' => 'ADMINISTRATIV',
|
'admin_header' => 'ADMINISTRATIV',
|
||||||
'admin' => 'Server Konfiguration',
|
'admin' => 'Server Konfiguration',
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
|
<?php
|
||||||
return [
|
return [
|
||||||
'next' => 'Nächste »',
|
'next' => 'Nächste »',
|
||||||
'previous' => '« Vorherige',
|
'previous' => '« Vorherige',
|
||||||
'sidebar' => [
|
'sidebar' => [
|
||||||
'account_controls' => 'Kontoeinstellungen',
|
'account_controls' => 'Kontosteuerung',
|
||||||
'account_security' => 'Account Sicherheit',
|
'account_security' => 'Kontosicherheit',
|
||||||
'account_settings' => 'Account Einstellungen',
|
'account_settings' => 'Kontoeinstellungen',
|
||||||
'files' => 'Dateimanager',
|
'files' => 'Dateimanager',
|
||||||
'manage' => 'Server verwalten',
|
'manage' => 'Server verwalten',
|
||||||
'overview' => 'Server Übersicht',
|
'overview' => 'Server Übersicht',
|
||||||
'servers' => 'Deine Server',
|
'servers' => 'Deine Server',
|
||||||
'subusers' => 'Unterbenutzer verwalten',
|
'subusers' => 'Subuser verwalten',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
return [
|
return [
|
||||||
'password' => 'Passwort',
|
'password' => 'Passwort',
|
||||||
'reset' => 'Dein Passwort wurde zurückgesetzt!',
|
'reset' => 'Dein Passwort wurde zurückgesetzt!',
|
||||||
'sent' => 'Wir haben Ihren Link zum Zurücksetzen des Passworts per E-Mail gesendet!',
|
'sent' => 'Ein Link zum zurücksetzen des Passworts wurde per E-Mail gesendet!',
|
||||||
'token' => 'Der Token war ungültig',
|
'token' => 'Der Token war ungültig',
|
||||||
'user' => 'Es gibt keinen User mit dieser Email.',
|
'user' => 'Es gibt keinen Benutzer mit dieser E-Mail.',
|
||||||
];
|
];
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
return [
|
return [
|
||||||
'config' => [
|
'config' => [
|
||||||
'allocation' => [
|
'allocation' => [
|
||||||
'available' => 'Available Allocations',
|
'available' => 'Verfügbare Allocations',
|
||||||
'header' => 'Server Allocations',
|
'header' => 'Server Allocations',
|
||||||
'header_sub' => 'Control the IPs and ports available on this server.',
|
'header_sub' => 'Verfügbare IPs und Ports für diesen Server verwalten.',
|
||||||
'help' => 'Allocation Help',
|
'help' => 'Allocation Help',
|
||||||
'help_text' => 'The list to the left includes all available IPs and ports that are open for your server to use for incoming connections.',
|
'help_text' => 'Die Liste auf der linken Seite zeigt alle verfügbaren IPs und Ports, die für eingehende Verbindungen auf diesem Server geöffnet sind.',
|
||||||
],
|
],
|
||||||
'database' => [
|
'database' => [
|
||||||
'add_db' => 'Datenbank hinzufügen.',
|
'add_db' => 'Datenbank hinzufügen.',
|
||||||
@ -23,16 +23,16 @@ return [
|
|||||||
'conn_addr' => 'Verbindungsadresse',
|
'conn_addr' => 'Verbindungsadresse',
|
||||||
'details' => 'SFTP Details',
|
'details' => 'SFTP Details',
|
||||||
'header' => 'SFTP Information',
|
'header' => 'SFTP Information',
|
||||||
'header_sub' => 'Details für eine SFTP verbindung.',
|
'header_sub' => 'Details für eine SFTP Verbindung.',
|
||||||
'warning' => 'Bitte benutze SFTP und nicht FTP!.',
|
'warning' => 'Bitte benutze SFTP und nicht FTP!.',
|
||||||
],
|
],
|
||||||
'startup' => [
|
'startup' => [
|
||||||
'command' => 'Startup Command',
|
'command' => 'Startbefehl',
|
||||||
'edited' => 'Die Einstellungen wurden gespeichert und werden beim nächsten Serverstart verwendet.',
|
'edited' => 'Die Einstellungen wurden gespeichert und werden beim nächsten Serverstart verwendet.',
|
||||||
'edit_params' => 'Parameter bearbeiten',
|
'edit_params' => 'Parameter bearbeiten',
|
||||||
'header' => 'Start Konfiguration',
|
'header' => 'Start Konfiguration',
|
||||||
'header_sub' => 'Bearbeite die Startparameter des Serves.',
|
'header_sub' => 'Bearbeite die Startparameter des Serves.',
|
||||||
'startup_regex' => 'Input Rules',
|
'startup_regex' => 'Input Regeln',
|
||||||
'startup_var' => 'Startbefehl Variablen',
|
'startup_var' => 'Startbefehl Variablen',
|
||||||
'update' => 'Absenden',
|
'update' => 'Absenden',
|
||||||
],
|
],
|
||||||
@ -47,7 +47,7 @@ return [
|
|||||||
'add_folder' => 'Neuen Ordner erstellen',
|
'add_folder' => 'Neuen Ordner erstellen',
|
||||||
'add_new' => 'Neue Datei erstellen',
|
'add_new' => 'Neue Datei erstellen',
|
||||||
'back' => 'Zurück zum Datei-Manager',
|
'back' => 'Zurück zum Datei-Manager',
|
||||||
'delete' => 'löschen',
|
'delete' => 'Löschen',
|
||||||
'edit' => [
|
'edit' => [
|
||||||
'header' => 'Datei bearbeiten',
|
'header' => 'Datei bearbeiten',
|
||||||
'header_sub' => 'Bearbeite Dateien direkt vom Browser aus.',
|
'header_sub' => 'Bearbeite Dateien direkt vom Browser aus.',
|
||||||
@ -87,21 +87,21 @@ return [
|
|||||||
],
|
],
|
||||||
'schedule' => [
|
'schedule' => [
|
||||||
'actions' => [
|
'actions' => [
|
||||||
'command' => 'Command ausführen',
|
'command' => 'Befehl ausführen',
|
||||||
'power' => 'Power Aktion',
|
'power' => 'Power Aktion',
|
||||||
],
|
],
|
||||||
'current' => 'Derzeitige Aktionen',
|
'current' => 'Derzeitige Aktionen',
|
||||||
'day_of_month' => 'Day of Month',
|
'day_of_month' => 'Tag eines Monats',
|
||||||
'day_of_week' => 'Day of Week',
|
'day_of_week' => 'Tag einer Woche',
|
||||||
'header' => 'Schedule Manager',
|
'header' => 'Zeitplan Manager',
|
||||||
'header_sub' => 'Erstelle geplante Aktionen.',
|
'header_sub' => 'Erstelle geplante Aktionen.',
|
||||||
'hour' => 'Hour of Day',
|
'hour' => 'Stunde des Tages',
|
||||||
'manage' => [
|
'manage' => [
|
||||||
'delete' => 'Aktion löschen',
|
'delete' => 'Aktion löschen',
|
||||||
'header' => 'Aktion verwalten',
|
'header' => 'Aktion verwalten',
|
||||||
'submit' => 'Aktion bearbeiten',
|
'submit' => 'Aktion bearbeiten',
|
||||||
],
|
],
|
||||||
'minute' => 'Minute of Hour',
|
'minute' => 'Minute der Stunde',
|
||||||
'new' => [
|
'new' => [
|
||||||
'header' => 'Neue Aktion erstellen',
|
'header' => 'Neue Aktion erstellen',
|
||||||
'header_sub' => 'Erstelle eine neue Gruppe an Aktionen.',
|
'header_sub' => 'Erstelle eine neue Gruppe an Aktionen.',
|
||||||
@ -110,26 +110,26 @@ return [
|
|||||||
'run_now' => 'Zeitplan jetzt ausführen',
|
'run_now' => 'Zeitplan jetzt ausführen',
|
||||||
'schedule_created' => 'Neuen Zeitplan für diesen Server erfolgreich erstellt.',
|
'schedule_created' => 'Neuen Zeitplan für diesen Server erfolgreich erstellt.',
|
||||||
'schedule_updated' => 'Der Zeitplan wurde aktualisiert.',
|
'schedule_updated' => 'Der Zeitplan wurde aktualisiert.',
|
||||||
'setup' => 'Schedule Setup',
|
'setup' => 'Zeitplan Erstellung',
|
||||||
'task' => [
|
'task' => [
|
||||||
'action' => 'Aktion ausführen',
|
'action' => 'Aktion ausführen',
|
||||||
'add_more' => 'Weitere Aktion',
|
'add_more' => 'Weitere Aktion',
|
||||||
'payload' => 'With Payload',
|
'payload' => 'Mit Payload',
|
||||||
'time' => 'Nach',
|
'time' => 'Nach',
|
||||||
],
|
],
|
||||||
'task_help' => 'Times for tasks are relative to the previously defined task. Each schedule may have no more than 5 tasks assigned to it and tasks may not be scheduled more than 15 minutes apart.',
|
'task_help' => 'Zeiten für Aufgaben sind relativ zu der zuvor definierten Aufgabe. Jedem Zeitplan dürfen nicht mehr als 5 Aufgaben zugewiesen sein und Aufgaben dürfen nicht mehr als 15 Minuten voneinander entfernt liegen.',
|
||||||
'time_help' => 'Dieses System unterstützt dern Cronjob Syntax.',
|
'time_help' => 'Dieses System unterstützt dern Cronjob Syntax.',
|
||||||
'toggle' => 'Status wechseln',
|
'toggle' => 'Status wechseln',
|
||||||
'unnamed' => 'Unnamed Schedule',
|
'unnamed' => 'Unbenannter Zeitplan',
|
||||||
],
|
],
|
||||||
'tasks' => [
|
'tasks' => [
|
||||||
'actions' => [
|
'actions' => [
|
||||||
'command' => 'Command ausführen',
|
'command' => 'Befehl ausführen',
|
||||||
'power' => 'Power Aktion senden',
|
'power' => 'Power Aktion senden',
|
||||||
],
|
],
|
||||||
'current' => 'Aktuelle Aktionen',
|
'current' => 'Aktuelle Aktionen',
|
||||||
'edit' => [
|
'edit' => [
|
||||||
'header' => 'Aktion beareiten',
|
'header' => 'Aktion bearbeiten',
|
||||||
'submit' => 'Abschicken',
|
'submit' => 'Abschicken',
|
||||||
],
|
],
|
||||||
'header' => 'Geplante Aufgaben',
|
'header' => 'Geplante Aufgaben',
|
||||||
@ -146,16 +146,16 @@ return [
|
|||||||
'header_sub' => 'Neuen Aktion erstellen.',
|
'header_sub' => 'Neuen Aktion erstellen.',
|
||||||
'hour' => 'Stunde',
|
'hour' => 'Stunde',
|
||||||
'minute' => 'Minute',
|
'minute' => 'Minute',
|
||||||
'mon' => 'Montad',
|
'mon' => 'Montag',
|
||||||
'payload' => 'Task Payload',
|
'payload' => 'Task Payload',
|
||||||
'payload_help' => 'Wenn du die send command Methode ausgewählt hast wird ein Command zur angegebenen Zeit ausgeführt.',
|
'payload_help' => 'Wenn du die Befehl ausführen Methode ausgewählt hast, wird ein Befehl zur angegebenen Zeit ausgeführt.',
|
||||||
'sat' => 'Samstag',
|
'sat' => 'Samstag',
|
||||||
'submit' => 'Absenden',
|
'submit' => 'Absenden',
|
||||||
'sun' => 'Sontag',
|
'sun' => 'Sonntag',
|
||||||
'task_name' => 'Name',
|
'task_name' => 'Name',
|
||||||
'thurs' => 'Donnerstag',
|
'thurs' => 'Donnerstag',
|
||||||
'tues' => 'Dienstag',
|
'tues' => 'Dienstag',
|
||||||
'type' => 'TTyp',
|
'type' => 'Typ',
|
||||||
'wed' => 'Mittwoch',
|
'wed' => 'Mittwoch',
|
||||||
],
|
],
|
||||||
'new_task' => 'Neue Aufgabe hinzufügen',
|
'new_task' => 'Neue Aufgabe hinzufügen',
|
||||||
@ -164,26 +164,26 @@ return [
|
|||||||
'toggle' => 'Status ändern',
|
'toggle' => 'Status ändern',
|
||||||
],
|
],
|
||||||
'users' => [
|
'users' => [
|
||||||
'add' => 'Neuen User erstellen',
|
'add' => 'Neuen Benutzer erstellen',
|
||||||
'configure' => 'Rechte einstellen',
|
'configure' => 'Rechte einstellen',
|
||||||
'edit' => [
|
'edit' => [
|
||||||
'header' => 'User bearbeiten',
|
'header' => 'Benutzer bearbeiten',
|
||||||
'header_sub' => 'Bearbeite den Zugriff eines Users auf deine Server.',
|
'header_sub' => 'Verwalte den Zugriff eines Benutzers auf diesen Server.',
|
||||||
],
|
],
|
||||||
'header' => 'User verwalten',
|
'header' => 'Benutzer verwalten',
|
||||||
'header_sub' => 'Bestimme wer den Server verwalten kann.',
|
'header_sub' => 'Bestimme wer den Server verwalten kann.',
|
||||||
'list' => 'Account Liste',
|
'list' => 'Account Liste',
|
||||||
'new' => [
|
'new' => [
|
||||||
'access_sftp' => [
|
'access_sftp' => [
|
||||||
'description' => 'Ermöglicht dem Benutzer, eine Verbindung mit dem vom Daemon bereitgestellten SFTP-Server herzustellen.',
|
'description' => 'Ermöglicht dem Benutzer, eine Verbindung mit dem vom Daemon bereitgestellten SFTP-Server herzustellen.',
|
||||||
'title' => 'SFTP erlaubt',
|
'title' => 'SFTP-Verbindung erlauben',
|
||||||
],
|
],
|
||||||
'command' => [
|
'command' => [
|
||||||
'title' => 'Konsolenbefehl senden',
|
'title' => 'Konsolenbefehl senden',
|
||||||
],
|
],
|
||||||
'compress_files' => [
|
'compress_files' => [
|
||||||
'description' => 'Der User darf die Server-Dateien komprimieren(zip).',
|
'description' => 'Der User darf die Server-Dateien komprimieren(zip).',
|
||||||
'title' => 'Compress Files',
|
'title' => 'Dateien komprimieren',
|
||||||
],
|
],
|
||||||
'copy_files' => [
|
'copy_files' => [
|
||||||
'description' => 'Der User darf die Server-Dateien kopieren.',
|
'description' => 'Der User darf die Server-Dateien kopieren.',
|
||||||
@ -195,97 +195,97 @@ return [
|
|||||||
],
|
],
|
||||||
'create_files' => [
|
'create_files' => [
|
||||||
'description' => 'Der User darf Server-Dateien erstellen.',
|
'description' => 'Der User darf Server-Dateien erstellen.',
|
||||||
'title' => 'Create Files',
|
'title' => 'Dateien erstellen',
|
||||||
],
|
],
|
||||||
'create_schedule' => [
|
'create_schedule' => [
|
||||||
'description' => 'Der User darf geplante Aktionen für den Server erstellen.',
|
'description' => 'Der User darf geplante Aktionen für den Server erstellen.',
|
||||||
'title' => 'Create Schedule',
|
'title' => 'Aktionen erstellen',
|
||||||
],
|
],
|
||||||
'create_subuser' => [
|
'create_subuser' => [
|
||||||
'description' => 'Der User darf Subuser erstellen.',
|
'description' => 'Der User darf Subuser erstellen.',
|
||||||
'title' => 'Create Subuser',
|
'title' => 'Subuser erstellen',
|
||||||
],
|
],
|
||||||
'create_task' => [
|
'create_task' => [
|
||||||
'description' => 'Ermöglicht es einem Benutzer, neue Aufgaben zu erstellen.',
|
'description' => 'Ermöglicht es einem Benutzer, neue Aufgaben zu erstellen.',
|
||||||
'title' => 'Aufgabe erstellen',
|
'title' => 'Aufgabe erstellen',
|
||||||
],
|
],
|
||||||
'database_header' => 'Database Verwaltung',
|
'database_header' => 'Datenbank Verwaltung',
|
||||||
'db_header' => 'Datenbankverwaltung',
|
'db_header' => 'Datenbankverwaltung',
|
||||||
'decompress_files' => [
|
'decompress_files' => [
|
||||||
'description' => 'Der User darf zip Archive entpacken.',
|
'description' => 'Der Benutzer darf ZIP Archive entpacken.',
|
||||||
'title' => 'Decompress Files',
|
'title' => 'Dateien entpacken',
|
||||||
],
|
],
|
||||||
'delete_database' => [
|
'delete_database' => [
|
||||||
'description' => 'Ermöglicht es dem Benutzer, Datenbanken für diesen Server über das Panel zu löschen.',
|
'description' => 'Ermöglicht es dem Benutzer, Datenbanken für diesen Server über das Panel zu löschen.',
|
||||||
'title' => 'Datenbank löschen',
|
'title' => 'Datenbank löschen',
|
||||||
],
|
],
|
||||||
'delete_files' => [
|
'delete_files' => [
|
||||||
'description' => 'Der User darf Server-Dateien löschen.',
|
'description' => 'Der Benutzer darf Server-Dateien löschen.',
|
||||||
'title' => 'Delete Files',
|
'title' => 'Dateien löschen',
|
||||||
],
|
],
|
||||||
'delete_schedule' => [
|
'delete_schedule' => [
|
||||||
'description' => 'Der User darf geplante Aktionen für den Server löschen.',
|
'description' => 'Der Benutzer darf geplante Aktionen für den Server löschen.',
|
||||||
'title' => 'Delete Schedule',
|
'title' => 'Aktionen löschen',
|
||||||
],
|
],
|
||||||
'delete_subuser' => [
|
'delete_subuser' => [
|
||||||
'description' => 'Der User darf Subuser löschen.',
|
'description' => 'Der Benutzer darf Subuser löschen.',
|
||||||
'title' => 'Delete Subuser',
|
'title' => 'Subuser löschen',
|
||||||
],
|
],
|
||||||
'delete_task' => [
|
'delete_task' => [
|
||||||
'description' => 'Ermöglicht es dem Benutzer, eine Aufgabe zu löschen.',
|
'description' => 'Ermöglicht es dem Benutzer, eine Aufgabe zu löschen.',
|
||||||
'title' => 'Aufgabe löschen',
|
'title' => 'Aufgabe löschen',
|
||||||
],
|
],
|
||||||
'download_files' => [
|
'download_files' => [
|
||||||
'description' => 'Der User darf Server-Dateien herunterladen.',
|
'description' => 'Der Benutzer darf Server-Dateien herunterladen.',
|
||||||
'title' => 'Dateien herunterladen',
|
'title' => 'Dateien herunterladen',
|
||||||
],
|
],
|
||||||
'edit_allocation' => [
|
'edit_allocation' => [
|
||||||
'description' => 'Allows user to change the default connection allocation to use for a server.',
|
'description' => 'Ermöglicht es dem Benutzer, die IP:Port Adresse für einen Server zu ändern.',
|
||||||
'title' => 'Edit Default Connection',
|
'title' => 'Standardverbindung bearbeiten',
|
||||||
],
|
],
|
||||||
'edit_files' => [
|
'edit_files' => [
|
||||||
'description' => 'Der User darf die Server-Dateien sehen.',
|
'description' => 'Der Benutzer darf die Server-Dateien bearbeiten.',
|
||||||
'title' => 'Edit Files',
|
'title' => 'Dateien bearbeiten',
|
||||||
],
|
],
|
||||||
'edit_schedule' => [
|
'edit_schedule' => [
|
||||||
'description' => 'Der User darf geplante Aktionen für den Server bearbeiten.',
|
'description' => 'Der Benutzer darf geplante Aktionen für den Server bearbeiten.',
|
||||||
'title' => 'Edit Schedule',
|
'title' => 'Aktionen bearbeiten',
|
||||||
],
|
],
|
||||||
'edit_startup' => [
|
'edit_startup' => [
|
||||||
'description' => 'Allows a user to modify startup variables for a server.',
|
'description' => 'Ermöglicht einem Benutzer, Startvariablen für einen Server zu ändern.',
|
||||||
'title' => 'Edit Startup Command',
|
'title' => 'Startbefehl bearbeiten',
|
||||||
],
|
],
|
||||||
'edit_subuser' => [
|
'edit_subuser' => [
|
||||||
'description' => 'Der User darf Subuser bearbeiten.',
|
'description' => 'Der Benutzer darf Subuser bearbeiten.',
|
||||||
'title' => 'Edit Subuser',
|
'title' => 'Subuser bearbeiten',
|
||||||
],
|
],
|
||||||
'email' => 'E-Mail Adresse',
|
'email' => 'E-Mail Adresse',
|
||||||
'email_help' => 'Email Adresse für Einladungs mail.',
|
'email_help' => 'Email Adresse für Einladungs Mail.',
|
||||||
'file_header' => 'Datein Verwaltung',
|
'file_header' => 'Dateien Verwaltung',
|
||||||
'header' => 'Neuen Benutzer erstellen',
|
'header' => 'Neuen Benutzer erstellen',
|
||||||
'header_sub' => 'Erstelle einen neuen Benutzer und gebe ihm Zugriff auf diesen Server.',
|
'header_sub' => 'Erstelle einen neuen Benutzer und gebe ihm Zugriff auf diesen Server.',
|
||||||
'kill' => [
|
'kill' => [
|
||||||
'description' => 'Ermöglicht es dem Benutzer, den Serverprozess abzubrechen.',
|
'description' => 'Ermöglicht es dem Benutzer, den Serverprozess zu töten.',
|
||||||
'title' => 'Server sofort beenden',
|
'title' => 'Server sofort beenden',
|
||||||
],
|
],
|
||||||
'list_files' => [
|
'list_files' => [
|
||||||
'description' => 'Der User darf die Server-Dateien sehen.',
|
'description' => 'Der Benutzer darf die Server-Dateien sehen.',
|
||||||
'title' => 'List Files',
|
'title' => 'Dateien anzeigen',
|
||||||
],
|
],
|
||||||
'list_schedules' => [
|
'list_schedules' => [
|
||||||
'description' => 'Der User darf geplante Aktionen für den Server sehen.',
|
'description' => 'Der Benutzer darf geplante Aktionen für den Server sehen.',
|
||||||
'title' => 'List Schedules',
|
'title' => 'Geplante Aktionen anzeigen',
|
||||||
],
|
],
|
||||||
'list_subusers' => [
|
'list_subusers' => [
|
||||||
'description' => 'Der User darf Subuser sehen.',
|
'description' => 'Der Benutzer darf Subuser sehen.',
|
||||||
'title' => 'List Subusers',
|
'title' => 'Subusers anzeigen',
|
||||||
],
|
],
|
||||||
'list_tasks' => [
|
'list_tasks' => [
|
||||||
'title' => 'Aufgaben auflisten',
|
'title' => 'Aufgaben auflisten',
|
||||||
],
|
],
|
||||||
'move_files' => [
|
'move_files' => [
|
||||||
'description' => 'Der User darf die Server-Dateien ubenennen und verschieben.',
|
'description' => 'Der Benutzer darf die Server-Dateien umbenennen und verschieben.',
|
||||||
'title' => 'Rename & Move Files',
|
'title' => 'Dateien umbenennen & verschieben',
|
||||||
],
|
],
|
||||||
'power_header' => 'Power Verwaltung',
|
'power_header' => 'Power Verwaltung',
|
||||||
'power_kill' => [
|
'power_kill' => [
|
||||||
@ -293,43 +293,43 @@ return [
|
|||||||
'title' => 'Kill Server',
|
'title' => 'Kill Server',
|
||||||
],
|
],
|
||||||
'power_restart' => [
|
'power_restart' => [
|
||||||
'description' => 'Der User darf den Server neu starten.',
|
'description' => 'Der Benutzer darf den Server neu starten.',
|
||||||
'title' => 'Server neu starten',
|
'title' => 'Server neu starten',
|
||||||
],
|
],
|
||||||
'power_start' => [
|
'power_start' => [
|
||||||
'description' => 'Der Benutzer darf den Server starten.',
|
'description' => 'Der Benutzer darf den Server starten.',
|
||||||
'title' => 'Start Server',
|
'title' => 'Server starten',
|
||||||
],
|
],
|
||||||
'power_stop' => [
|
'power_stop' => [
|
||||||
'description' => 'Der User darf den Server stoppen.',
|
'description' => 'Der Benutzer darf den Server stoppen.',
|
||||||
'title' => 'Stop Server',
|
'title' => 'Server stoppen',
|
||||||
],
|
],
|
||||||
'queue_schedule' => [
|
'queue_schedule' => [
|
||||||
'description' => "Allows a user to queue a schedule to run it's tasks on the next process cycle.",
|
'description' => 'Ermöglicht einem Benutzer, einen Zeitplan in die Warteschlange zu stellen.',
|
||||||
'title' => 'Queue Schedule',
|
'title' => 'Queue Schedule',
|
||||||
],
|
],
|
||||||
'queue_task' => [
|
'queue_task' => [
|
||||||
'title' => 'Aufgabe einreihen',
|
'title' => 'Aufgabe einreihen',
|
||||||
],
|
],
|
||||||
'reset_db_password' => [
|
'reset_db_password' => [
|
||||||
'description' => 'Der User darf das Datenbankpasswort zurücksetzen.',
|
'description' => 'Der Benutzer darf das Datenbankpasswort zurücksetzen.',
|
||||||
'title' => 'Reset Database Password',
|
'title' => 'Datenbank Passwort zurücksetzen ',
|
||||||
],
|
],
|
||||||
'reset_sftp' => [
|
'reset_sftp' => [
|
||||||
'description' => 'Der User darf dass SFTP Passwort zurücksetzen.',
|
'description' => 'Der Benutzer darf dass SFTP Passwort zurücksetzen.',
|
||||||
'title' => 'Reset SFTP Password',
|
'title' => 'SFTP Passwort zurücksetzen',
|
||||||
],
|
],
|
||||||
'restart' => [
|
'restart' => [
|
||||||
'description' => 'Der Benutzer darf den Server neu starten.',
|
'description' => 'Der Benutzer darf den Server neu starten.',
|
||||||
'title' => 'Server neu starten',
|
'title' => 'Server neu starten',
|
||||||
],
|
],
|
||||||
'save_files' => [
|
'save_files' => [
|
||||||
'description' => 'Der User darf die Server-Dateien bearbeiten.',
|
'description' => 'Der Benutzer darf bearbeitete Server-Dateien speichern.',
|
||||||
'title' => 'Save Files',
|
'title' => 'Dateien speichern',
|
||||||
],
|
],
|
||||||
'send_command' => [
|
'send_command' => [
|
||||||
'description' => 'Der User darf die Konsole benutzen.',
|
'description' => 'Der Benutzer darf die Konsole benutzen.',
|
||||||
'title' => 'Send Console Command',
|
'title' => 'Konsolenbefehle senden',
|
||||||
],
|
],
|
||||||
'server_header' => 'Server Verwaltung',
|
'server_header' => 'Server Verwaltung',
|
||||||
'set_connection' => [
|
'set_connection' => [
|
||||||
@ -341,57 +341,57 @@ return [
|
|||||||
'title' => 'Server starten',
|
'title' => 'Server starten',
|
||||||
],
|
],
|
||||||
'stop' => [
|
'stop' => [
|
||||||
'description' => 'Der User darf den Server stoppen.',
|
'description' => 'Der Benutzer darf den Server stoppen.',
|
||||||
'title' => 'Server stoppen',
|
'title' => 'Server stoppen',
|
||||||
],
|
],
|
||||||
'subuser_header' => 'Subuser Verwaltung',
|
'subuser_header' => 'Subuser Verwaltung',
|
||||||
'task_header' => 'Schedule Verwaltung',
|
'task_header' => 'Aktion Verwaltung',
|
||||||
'toggle_schedule' => [
|
'toggle_schedule' => [
|
||||||
'description' => 'Der User darf geplante Aktionen für den Server de-/aktivieren.',
|
'description' => 'Der Benutzer darf geplante Aktionen für den Server de-/aktivieren.',
|
||||||
'title' => 'Toggle Schedule',
|
'title' => 'De-/Aktivieren von Aktionen',
|
||||||
],
|
],
|
||||||
'toggle_task' => [
|
'toggle_task' => [
|
||||||
'description' => 'Der User darf geplante Aktionen für den Server de-/aktivieren.',
|
'description' => 'Der Benutzer darf geplante Aufgaben für den Server de-/aktivieren.',
|
||||||
],
|
],
|
||||||
'upload_files' => [
|
'upload_files' => [
|
||||||
'description' => 'Der User darf Server-Dateien hochladen.',
|
'description' => 'Der Benutzr darf Server-Dateien hochladen.',
|
||||||
'title' => 'Upload Files',
|
'title' => 'Dateien hochladen',
|
||||||
],
|
],
|
||||||
'view_allocations' => [
|
'view_allocations' => [
|
||||||
'description' => 'Allows user to view all of the IPs and ports assigned to a server.',
|
'description' => 'Ermöglicht dem Benutzer, alle einem Server zugewiesenen IPs und Ports anzuzeigen.',
|
||||||
'title' => 'View Allocations',
|
'title' => 'Zugewiesen IPs und Ports anzeigen',
|
||||||
],
|
],
|
||||||
'view_databases' => [
|
'view_databases' => [
|
||||||
'description' => 'Der User darf die Datenbankinformationen sehen.',
|
'description' => 'Der Benutzer darf die Datenbankinformationen sehen.',
|
||||||
'title' => 'View Database Details',
|
'title' => 'Datenbankinformationen anzeigen',
|
||||||
],
|
],
|
||||||
'view_schedule' => [
|
'view_schedule' => [
|
||||||
'description' => 'Der User darf eine Aktion ansehen.',
|
'description' => 'Der Benutzer darf Aktionen ansehen.',
|
||||||
'title' => 'View Schedule',
|
'title' => 'Aktionen anzeigen',
|
||||||
],
|
],
|
||||||
'view_sftp' => [
|
'view_sftp' => [
|
||||||
'description' => 'Der User darf die SFTP Informationen sehen (nicht das Passwort).',
|
'description' => 'Der User darf die SFTP Informationen sehen (nicht das Passwort).',
|
||||||
'title' => 'View SFTP Details',
|
'title' => 'SFTP Informationen anzeigen',
|
||||||
],
|
],
|
||||||
'view_sftp_password' => [
|
'view_sftp_password' => [
|
||||||
'description' => 'Der User darf dass SFTP Passwort sehen.',
|
'description' => 'Der Benutzer darf dass SFTP Passwort sehen.',
|
||||||
'title' => 'View SFTP Password',
|
'title' => 'SFTP Password anzeigen',
|
||||||
],
|
],
|
||||||
'view_startup' => [
|
'view_startup' => [
|
||||||
'description' => 'Allows user to view the startup command and associated variables for a server.',
|
'description' => 'Ermöglicht dem Benutzer, den Startbefehl und zugehörige Variablen für einen Server anzuzeigen.',
|
||||||
'title' => 'View Startup Command',
|
'title' => 'Startbefehl anzeigen',
|
||||||
],
|
],
|
||||||
'view_subuser' => [
|
'view_subuser' => [
|
||||||
'description' => 'Der User darf Subuser genauer sehen.',
|
'description' => 'Der Benutzer darf Subuser genauer sehen.',
|
||||||
'title' => 'View Subuser',
|
'title' => 'View Subuser',
|
||||||
],
|
],
|
||||||
'view_task' => [
|
'view_task' => [
|
||||||
'description' => 'Der User darf eine Aktion ansehen.',
|
'description' => 'Der Benutzer darf Aufgaben ansehen.',
|
||||||
'title' => 'Aufgaben ansehen',
|
'title' => 'Aufgaben ansehen',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'update' => 'User bearbeiten',
|
'update' => 'Benutzer bearbeiten',
|
||||||
'user_assigned' => 'User an einen Server gebunden.',
|
'user_assigned' => 'Benutzer zum Server hinzugefügt.',
|
||||||
'user_updated' => 'User Rechte erfolgreich aktualisiert.',
|
'user_updated' => 'Benutzer Rechte erfolgreich aktualisiert.',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
@ -10,7 +10,7 @@ return [
|
|||||||
'admin_cp' => 'Administration',
|
'admin_cp' => 'Administration',
|
||||||
'again' => 'Nochmals',
|
'again' => 'Nochmals',
|
||||||
'alias' => 'Alias',
|
'alias' => 'Alias',
|
||||||
'api_access' => 'Api Access',
|
'api_access' => 'API Access',
|
||||||
'cancel' => 'Abbrechen',
|
'cancel' => 'Abbrechen',
|
||||||
'captcha_invalid' => 'Der Captcha war ungültig.',
|
'captcha_invalid' => 'Der Captcha war ungültig.',
|
||||||
'close' => 'Schließen',
|
'close' => 'Schließen',
|
||||||
|
@ -258,6 +258,10 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'allocations' => [
|
||||||
|
'mass_actions' => 'Mass Actions',
|
||||||
|
'delete' => 'Delete Allocations',
|
||||||
|
],
|
||||||
'files' => [
|
'files' => [
|
||||||
'exceptions' => [
|
'exceptions' => [
|
||||||
'invalid_mime' => 'This type of file cannot be edited via the Panel\'s built-in editor.',
|
'invalid_mime' => 'This type of file cannot be edited via the Panel\'s built-in editor.',
|
||||||
|
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
'2fa_failed' => 'De gegeven 2FA token is niet geldig.',
|
'2fa_failed' => 'De gegeven 2FA token is niet geldig.',
|
||||||
'2fa_must_be_enabled' => 'De administrator heeft ingesteld dat je 2-factor authenticatie moet gebruiken voor je acount voordat je het panel kan gebruiken',
|
'2fa_must_be_enabled' => 'De administrator heeft ingesteld dat je 2-factor authenticatie moet gebruiken voor je acount voordat je het paneel kan gebruiken',
|
||||||
'2fa_required' => '2-factor authenticatie',
|
'2fa_required' => '2-factor authenticatie',
|
||||||
'confirmpassword' => 'Bevestig wachtwoord',
|
'confirmpassword' => 'Bevestig wachtwoord',
|
||||||
'emailsent' => 'Je wachtwoord reset email is onderweg.',
|
'emailsent' => 'Je wachtwoord herstel e-mail is onderweg.',
|
||||||
'forgot_password' => 'Ik ben mijn wachtwoord vergeten!',
|
'forgot_password' => 'Ik ben mijn wachtwoord vergeten!',
|
||||||
'not_authorized' => 'U hebt geen toestemming om deze actie uit te voeren.',
|
'not_authorized' => 'U heeft geen toestemming om deze actie uit te voeren.',
|
||||||
'password_requirements' => 'Paswoorden moeten minstens één kleine letter, één hoofdletter en één numeriek karakter bevatten, het paswoord moet ook minstens 8 karakters lang zijn.',
|
'password_requirements' => 'Wachtwoorden moeten minstens één kleine letter, één hoofdletter en één numeriek karakter bevatten, het wachtwoord moet ook minstens 8 karakters lang zijn.',
|
||||||
'remember_me' => 'Onthoud mij',
|
'remember_me' => 'Onthoud mij',
|
||||||
'resetpassword' => 'Reset wachtwoord',
|
'resetpassword' => 'Herstel wachtwoord',
|
||||||
'reset_password' => 'Reset account wachtwoord',
|
'reset_password' => 'Herstel account wachtwoord',
|
||||||
'reset_password_text' => 'Reset uw account wachtwoord.',
|
'reset_password_text' => 'Herstel uw account wachtwoord.',
|
||||||
'sendlink' => 'Stuur wachtwoord reset link',
|
'sendlink' => 'Stuur wachtwoord herstel link',
|
||||||
'throttle' => 'Teveel inlog pogingen. Probeer opnieuw in :seconds seconden.',
|
'throttle' => 'Teveel inlog pogingen. Probeer het opnieuw in :seconds seconden.',
|
||||||
];
|
];
|
||||||
|
@ -2,58 +2,57 @@
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
'account' => [
|
'account' => [
|
||||||
'current_password' => 'Huidig Paswoord',
|
'current_password' => 'Huidig Wachtwoord',
|
||||||
'delete_user' => 'Verwijder Gebruiker',
|
'delete_user' => 'Gebruiker Verwijderen',
|
||||||
'details_updated' => 'Je account details zijn succesvol veranderd',
|
'details_updated' => 'Je account details zijn succesvol veranderd',
|
||||||
'email_password' => 'Email paswoord',
|
'email_password' => 'E-mail wachtwoord',
|
||||||
'exception' => 'Er is een fout opgetreden tijdens het veranderen van je account.',
|
'exception' => 'Er is een fout opgetreden tijdens het veranderen van je account.',
|
||||||
'first_name' => 'Voornaam',
|
'first_name' => 'Voornaam',
|
||||||
'header' => 'Account Beheer',
|
'header' => 'Account Beheer',
|
||||||
'header_sub' => 'Beheer uw account details',
|
'header_sub' => 'Beheer uw account details',
|
||||||
'invalid_pass' => 'Het opgegeven wachtwoord is niet geldig voor dit account.',
|
'invalid_pass' => 'Het opgegeven wachtwoord is ongeldig voor dit account.',
|
||||||
'invalid_password' => 'Het gegeven wachtwoord voor je account is niet geldig.',
|
'invalid_password' => 'Het opgegeven wachtwoord voor je account is ongeldig.',
|
||||||
'last_name' => 'Naam',
|
'last_name' => 'Naam',
|
||||||
'new_email' => 'Nieuw email adres',
|
'new_email' => 'Nieuw e-mail adres',
|
||||||
'new_password' => 'Nieuw Paswoord',
|
'new_password' => 'Nieuw Wachtwoord',
|
||||||
'new_password_again' => 'Herhaal nieuw wachtwoord',
|
'new_password_again' => 'Herhaal nieuw wachtwoord',
|
||||||
'totp_apps' => 'U moet een TOTP ondersteunde applicatie hebben (vb Google Authenticator, DUO Mobile, Auth, Enpass) om van deze optie gebruik te kunnen maken.',
|
'totp_apps' => 'U moet een TOTP ondersteunde applicatie hebben (bijv. Google Authenticator, DUO Mobile, Auth, Enpass) om van deze optie gebruik te kunnen maken.',
|
||||||
'totp_checkpoint_help' => 'Bevestig aub uw TOTP instellingen door de QR code rechts te scannen met de authenticator applicatie op uw smartphone. Vul vervolgens de 6-delige code, die de applicatie genereerde, in onderstaand veld in. Druk op enter wanneer u klaar bent.',
|
'totp_checkpoint_help' => 'Bevestig a.u.b. uw TOTP instellingen door de QR code rechts te scannen met de authenticator applicatie op uw smartphone. Vul vervolgens de 6-delige code, die de applicatie genereerde, in het onderstaand veld in. Druk op enter wanneer u klaar bent.',
|
||||||
'totp_disable' => 'Schakel 2-delige authenticatie uit.',
|
'totp_disable' => 'Schakel 2-delige authenticatie uit.',
|
||||||
'totp_disable_help' => 'Om TOTP uit te schakelen op dit account moet je een geldige TOTP token geven. TOTP bescherming zal uitgeschakeld worden als de token geldig is.',
|
'totp_disable_help' => 'Om TOTP uit te schakelen op dit account moet je een geldige TOTP token geven. TOTP bescherming zal uitgeschakeld worden als de token geldig is.',
|
||||||
'totp_enable' => 'Schakel Two-Factor Authentication in',
|
'totp_enable' => 'Schakel Two-Factor Authentication in',
|
||||||
'totp_enabled' => 'TOTP is nu ingeschakeld op dit account. Klik op de sluit knop om te beëindigen.',
|
'totp_enabled' => 'TOTP is nu ingeschakeld op dit account. Klik op de sluit knop om te beëindigen.',
|
||||||
'totp_enabled_error' => 'De opgegeven TOTP token kon niet gevalideerd worden. Probeer het aub nogmaals.',
|
'totp_enabled_error' => 'De opgegeven TOTP token kon niet gevalideerd worden. Probeer het aub nogmaals.',
|
||||||
'totp_header' => 'Twee-Factor Authenticatie',
|
'totp_header' => 'Two-Factor Authenticatie',
|
||||||
'totp_qr' => 'TOTP QR Code',
|
'totp_qr' => 'TOTP QR Code',
|
||||||
'totp_token' => 'TOTP Token
|
'totp_token' => 'TOTP Token',
|
||||||
',
|
'update_email' => 'E-mail Adres Bijwerken',
|
||||||
'update_email' => 'Update Email Adres',
|
'update_identitity' => 'Identiteit Bijwerken',
|
||||||
'update_identitity' => 'Update identiteit',
|
'update_pass' => 'Wachtwoord Bijwerken',
|
||||||
'update_pass' => 'Werk wachtwoord bij',
|
'update_user' => 'Gebruiker Bijwerken',
|
||||||
'update_user' => 'Update Gebruiker',
|
'username_help' => 'Uw gebruikersnaam moet uniek zijn en mag enkel de volgende characters bevatten: :requirements.',
|
||||||
'username_help' => 'Uw gebruikersnaam moet uniek zijn en mas enkel volgende characters bevatten: :requirements.',
|
|
||||||
],
|
],
|
||||||
'api' => [
|
'api' => [
|
||||||
'index' => [
|
'index' => [
|
||||||
'create_new' => 'Creëer nieuwe API sleutel',
|
'create_new' => 'Creëer nieuwe API sleutel',
|
||||||
'header' => 'API toegang',
|
'header' => 'API toegang',
|
||||||
'header_sub' => 'Beheer jouw API keys.',
|
'header_sub' => 'Beheer jouw API sleutels.',
|
||||||
'keypair_created' => 'Een API Key-Pair is gegenereerd. Jouw API secret token is <code>:token</code>. Noteer deze code, hij wordt later niet nog een keer weergegeven.',
|
'keypair_created' => 'Een API Key-Pair is gegenereerd. Jouw API geheime token is <code>:token</code>. Noteer deze code, hij wordt later niet nog een keer weergegeven.',
|
||||||
'list' => 'API sleutels',
|
'list' => 'API sleutels',
|
||||||
],
|
],
|
||||||
'new' => [
|
'new' => [
|
||||||
'allowed_ips' => [
|
'allowed_ips' => [
|
||||||
'title' => 'Toegestane IPs',
|
'title' => 'Toegestane IP\'s',
|
||||||
],
|
],
|
||||||
'base' => [
|
'base' => [
|
||||||
'title' => 'Basis Informatie',
|
'title' => 'Basis Informatie',
|
||||||
],
|
],
|
||||||
'descriptive_memo' => [
|
'descriptive_memo' => [
|
||||||
'description' => 'Voeg een korte beschrijving over waarvoor deze API key gebruikt zal worden toe.',
|
'description' => 'Voeg een korte beschrijving over waarvoor deze API sleutel gebruikt zal worden toe.',
|
||||||
'title' => 'Beschrijvende notitie',
|
'title' => 'Beschrijvende notitie',
|
||||||
],
|
],
|
||||||
'form_title' => 'Details',
|
'form_title' => 'Details',
|
||||||
'header' => 'Nieuwe API Key',
|
'header' => 'Nieuwe API Sleutel',
|
||||||
'header_sub' => 'Maak een nieuwe API toegangs sleutel',
|
'header_sub' => 'Maak een nieuwe API toegangs sleutel',
|
||||||
'node_management' => [
|
'node_management' => [
|
||||||
'delete' => [
|
'delete' => [
|
||||||
@ -91,7 +90,7 @@ return [
|
|||||||
],
|
],
|
||||||
'user_management' => [
|
'user_management' => [
|
||||||
'create' => [
|
'create' => [
|
||||||
'title' => 'Maak gebruiker',
|
'title' => 'Gebruiker Aanmaken',
|
||||||
],
|
],
|
||||||
'delete' => [
|
'delete' => [
|
||||||
'description' => 'Geeft toegang tot het verwijderen van een gebruiker',
|
'description' => 'Geeft toegang tot het verwijderen van een gebruiker',
|
||||||
@ -101,7 +100,7 @@ return [
|
|||||||
],
|
],
|
||||||
'title' => 'Gebruikersbeheer',
|
'title' => 'Gebruikersbeheer',
|
||||||
'update' => [
|
'update' => [
|
||||||
'title' => 'Werk gebruiker bij',
|
'title' => 'Gebruiker bijwerken',
|
||||||
],
|
],
|
||||||
'view' => [
|
'view' => [
|
||||||
'title' => 'Toon gebruiker',
|
'title' => 'Toon gebruiker',
|
||||||
@ -122,9 +121,9 @@ return [
|
|||||||
'security' => [
|
'security' => [
|
||||||
'2fa_header' => '2-factor authenticatie',
|
'2fa_header' => '2-factor authenticatie',
|
||||||
'2fa_qr' => 'Configureer 2FA op uw toestel',
|
'2fa_qr' => 'Configureer 2FA op uw toestel',
|
||||||
'enable_2fa' => 'Zet 2-Factor Authentication aan',
|
'enable_2fa' => 'Zet 2-Factor authenticatie aan',
|
||||||
],
|
],
|
||||||
'server_name' => 'Server naam',
|
'server_name' => 'Server naam',
|
||||||
'validation_error' => 'Er is een fout opgetreden tijdens het valideren van de data die u opgegeven hebt.',
|
'validation_error' => 'Er is een fout opgetreden tijdens het valideren van de data die u heeft opgegeven.',
|
||||||
'view_as_admin' => 'U bekijkt de server lijst als een administrator. Hierdoor zijn alle servers die geïnstalleerd zijn op het systeem zichtbaar. Alle servers waarvan u de eigenaar bent zijn gemarkeerd met een blauwe bol links van hun naam.',
|
'view_as_admin' => 'U bekijkt de server lijst als een administrator. Hierdoor zijn alle servers die geïnstalleerd zijn op het systeem zichtbaar. Alle servers waarvan u de eigenaar bent zijn gemarkeerd met een blauwe bol links van hun naam.',
|
||||||
];
|
];
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'password' => 'Paswoord',
|
'password' => 'Wachtwoord',
|
||||||
'sent' => 'We hebben u een wachtwoord herstel link gestuurd!',
|
'sent' => 'We hebben u een wachtwoord herstel link gestuurd!',
|
||||||
'user' => 'We kunnen geen gebruiker vinden met dat e-mail adres.',
|
'user' => 'We kunnen geen gebruiker vinden met dat e-mail adres.',
|
||||||
];
|
];
|
||||||
|
@ -84,7 +84,7 @@ return [
|
|||||||
'description' => 'Staat gebruikers toe om een nieuw bestand aan te maken binnen het paneel.',
|
'description' => 'Staat gebruikers toe om een nieuw bestand aan te maken binnen het paneel.',
|
||||||
],
|
],
|
||||||
'create_task' => [
|
'create_task' => [
|
||||||
'title' => 'Maak een taak',
|
'title' => 'Taak aanmaken',
|
||||||
],
|
],
|
||||||
'db_header' => 'Database beheer',
|
'db_header' => 'Database beheer',
|
||||||
'delete_files' => [
|
'delete_files' => [
|
||||||
@ -118,10 +118,10 @@ return [
|
|||||||
'title' => 'Plan taak',
|
'title' => 'Plan taak',
|
||||||
],
|
],
|
||||||
'reset_db_password' => [
|
'reset_db_password' => [
|
||||||
'title' => 'Reset database wachtwoord',
|
'title' => 'Herstel database wachtwoord',
|
||||||
],
|
],
|
||||||
'reset_sftp' => [
|
'reset_sftp' => [
|
||||||
'title' => 'Reset SFTP wachtwoord',
|
'title' => 'Herstel SFTP wachtwoord',
|
||||||
],
|
],
|
||||||
'restart' => [
|
'restart' => [
|
||||||
'title' => 'Herstart server',
|
'title' => 'Herstart server',
|
||||||
@ -141,8 +141,7 @@ return [
|
|||||||
'description' => 'Staat gebruikers toe om bestanden te uploaden via het bestandsbeheer.',
|
'description' => 'Staat gebruikers toe om bestanden te uploaden via het bestandsbeheer.',
|
||||||
],
|
],
|
||||||
'view_databases' => [
|
'view_databases' => [
|
||||||
'title' => 'Geef database details weer
|
'title' => 'Geef database details weer',
|
||||||
',
|
|
||||||
],
|
],
|
||||||
'view_schedule' => [
|
'view_schedule' => [
|
||||||
'title' => 'Bekijk Schema',
|
'title' => 'Bekijk Schema',
|
||||||
@ -170,6 +169,6 @@ return [
|
|||||||
],
|
],
|
||||||
'update' => 'Werk sub gebruiker bij',
|
'update' => 'Werk sub gebruiker bij',
|
||||||
'user_assigned' => 'De subuser is succesvol toegevoegd aan deze server.',
|
'user_assigned' => 'De subuser is succesvol toegevoegd aan deze server.',
|
||||||
'user_updated' => 'Permissies zijn geupdate.',
|
'user_updated' => 'Rechten zijn bijgewerkt.',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
@ -17,7 +17,7 @@ return [
|
|||||||
'created_at' => 'Gecreëerd op',
|
'created_at' => 'Gecreëerd op',
|
||||||
'data' => 'Bestanden',
|
'data' => 'Bestanden',
|
||||||
'database' => 'Database',
|
'database' => 'Database',
|
||||||
'email' => 'Email',
|
'email' => 'E-mail',
|
||||||
'enabled' => 'Ingeschakeld',
|
'enabled' => 'Ingeschakeld',
|
||||||
'expires' => 'Verloopt',
|
'expires' => 'Verloopt',
|
||||||
'home' => 'Home',
|
'home' => 'Home',
|
||||||
@ -29,7 +29,7 @@ return [
|
|||||||
'next_run' => 'Volgende ronde',
|
'next_run' => 'Volgende ronde',
|
||||||
'node' => 'Node',
|
'node' => 'Node',
|
||||||
'none' => 'Geen',
|
'none' => 'Geen',
|
||||||
'password' => 'Paswoord',
|
'password' => 'Wachtwoord',
|
||||||
'players' => 'Spelers',
|
'players' => 'Spelers',
|
||||||
'primary' => 'Primair',
|
'primary' => 'Primair',
|
||||||
'queued' => 'Wachtrij',
|
'queued' => 'Wachtrij',
|
||||||
|
@ -8,7 +8,7 @@ return [
|
|||||||
'alpha' => 'Het :attribute mag enkel letters bevatten.',
|
'alpha' => 'Het :attribute mag enkel letters bevatten.',
|
||||||
'alpha_dash' => 'De :attribute mag alleen letters, nummers en streepjes bevatten.',
|
'alpha_dash' => 'De :attribute mag alleen letters, nummers en streepjes bevatten.',
|
||||||
'alpha_num' => 'De :attribute mag alleen letters en nummers bevatten.',
|
'alpha_num' => 'De :attribute mag alleen letters en nummers bevatten.',
|
||||||
'email' => 'Email',
|
'email' => 'E-mail',
|
||||||
'in' => 'Het geselecteerde :attribute is ongeldig.',
|
'in' => 'Het geselecteerde :attribute is ongeldig.',
|
||||||
'timezone' => 'Het :attribute moet een geldige tijdszone zijn.',
|
'timezone' => 'Het :attribute moet een geldige tijdszone zijn.',
|
||||||
'totp' => 'De totp token is ongeldig. Is het verlopen?',
|
'totp' => 'De totp token is ongeldig. Is het verlopen?',
|
||||||
|
@ -39,23 +39,42 @@
|
|||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h3 class="box-title">Existing Allocations</h3>
|
<h3 class="box-title">Existing Allocations</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body table-responsive no-padding">
|
<div class="box-body table-responsive no-padding" style="overflow-x: visible">
|
||||||
<table class="table table-hover" style="margin-bottom:0;">
|
<table class="table table-hover" style="margin-bottom:0;">
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>
|
||||||
|
<input type="checkbox" class="select-all-files hidden-xs" data-action="selectAll">
|
||||||
|
</th>
|
||||||
<th>IP Address <i class="fa fa-fw fa-minus-square" style="font-weight:normal;color:#d9534f;cursor:pointer;" data-toggle="modal" data-target="#allocationModal"></i></th>
|
<th>IP Address <i class="fa fa-fw fa-minus-square" style="font-weight:normal;color:#d9534f;cursor:pointer;" data-toggle="modal" data-target="#allocationModal"></i></th>
|
||||||
<th>IP Alias</th>
|
<th>IP Alias</th>
|
||||||
<th>Port</th>
|
<th>Port</th>
|
||||||
<th>Assigned To</th>
|
<th>Assigned To</th>
|
||||||
<th></th>
|
<th>
|
||||||
|
<div class="btn-group hidden-xs">
|
||||||
|
<button type="button" id="mass_actions" class="btn btn-sm btn-default dropdown-toggle disabled"
|
||||||
|
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">@lang('server.allocations.mass_actions') <span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu dropdown-massactions">
|
||||||
|
<li><a href="#" id="selective-deletion" data-action="selective-deletion">@lang('server.allocations.delete') <i class="fa fa-fw fa-trash-o"></i></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($node->allocations as $allocation)
|
@foreach($node->allocations as $allocation)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-sm-3 middle">{{ $allocation->ip }}</td>
|
<td class="middle min-size" data-identifier="type">
|
||||||
|
@if(is_null($allocation->server_id))
|
||||||
|
<input type="checkbox" class="select-file hidden-xs" data-action="addSelection">
|
||||||
|
@else
|
||||||
|
<input disabled="disabled" type="checkbox" class="select-file hidden-xs" data-action="addSelection">
|
||||||
|
@endif
|
||||||
|
</td>
|
||||||
|
<td class="col-sm-3 middle" data-identifier="ip">{{ $allocation->ip }}</td>
|
||||||
<td class="col-sm-3 middle">
|
<td class="col-sm-3 middle">
|
||||||
<input class="form-control input-sm" type="text" value="{{ $allocation->ip_alias }}" data-action="set-alias" data-id="{{ $allocation->id }}" placeholder="none" />
|
<input class="form-control input-sm" type="text" value="{{ $allocation->ip_alias }}" data-action="set-alias" data-id="{{ $allocation->id }}" placeholder="none" />
|
||||||
<span class="input-loader"><i class="fa fa-refresh fa-spin fa-fw"></i></span>
|
<span class="input-loader"><i class="fa fa-refresh fa-spin fa-fw"></i></span>
|
||||||
</td>
|
</td>
|
||||||
<td class="col-sm-2 middle">{{ $allocation->port }}</td>
|
<td class="col-sm-2 middle" data-identifier="port">{{ $allocation->port }}</td>
|
||||||
<td class="col-sm-3 middle">
|
<td class="col-sm-3 middle">
|
||||||
@if(! is_null($allocation->server))
|
@if(! is_null($allocation->server))
|
||||||
<a href="{{ route('admin.servers.view', $allocation->server_id) }}">{{ $allocation->server->name }}</a>
|
<a href="{{ route('admin.servers.view', $allocation->server_id) }}">{{ $allocation->server->name }}</a>
|
||||||
@ -153,17 +172,35 @@
|
|||||||
@section('footer-scripts')
|
@section('footer-scripts')
|
||||||
@parent
|
@parent
|
||||||
<script>
|
<script>
|
||||||
|
$('[data-action="addSelection"]').on('click', function () {
|
||||||
|
updateMassActions();
|
||||||
|
});
|
||||||
|
|
||||||
|
$('[data-action="selectAll"]').on('click', function () {
|
||||||
|
$('input.select-file').not(':disabled').prop('checked', function (i, val) {
|
||||||
|
return !val;
|
||||||
|
});
|
||||||
|
|
||||||
|
updateMassActions();
|
||||||
|
});
|
||||||
|
|
||||||
|
$('[data-action="selective-deletion"]').on('mousedown', function () {
|
||||||
|
deleteSelected();
|
||||||
|
});
|
||||||
|
|
||||||
$('#pAllocationIP').select2({
|
$('#pAllocationIP').select2({
|
||||||
tags: true,
|
tags: true,
|
||||||
maximumSelectionLength: 1,
|
maximumSelectionLength: 1,
|
||||||
selectOnClose: true,
|
selectOnClose: true,
|
||||||
tokenSeparators: [',', ' '],
|
tokenSeparators: [',', ' '],
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#pAllocationPorts').select2({
|
$('#pAllocationPorts').select2({
|
||||||
tags: true,
|
tags: true,
|
||||||
selectOnClose: true,
|
selectOnClose: true,
|
||||||
tokenSeparators: [',', ' '],
|
tokenSeparators: [',', ' '],
|
||||||
});
|
});
|
||||||
|
|
||||||
$('button[data-action="deallocate"]').click(function (event) {
|
$('button[data-action="deallocate"]').click(function (event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
var element = $(this);
|
var element = $(this);
|
||||||
@ -216,7 +253,7 @@
|
|||||||
alias: element.val(),
|
alias: element.val(),
|
||||||
allocation_id: element.data('id'),
|
allocation_id: element.data('id'),
|
||||||
}
|
}
|
||||||
}).done(function (data) {
|
}).done(function () {
|
||||||
element.parent().addClass('has-success');
|
element.parent().addClass('has-success');
|
||||||
}).fail(function (jqXHR) {
|
}).fail(function (jqXHR) {
|
||||||
console.error(jqXHR);
|
console.error(jqXHR);
|
||||||
@ -230,5 +267,99 @@
|
|||||||
function clearHighlight(element) {
|
function clearHighlight(element) {
|
||||||
element.parent().removeClass('has-error has-success');
|
element.parent().removeClass('has-error has-success');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateMassActions() {
|
||||||
|
if ($('input.select-file:checked').length > 0) {
|
||||||
|
$('#mass_actions').removeClass('disabled');
|
||||||
|
} else {
|
||||||
|
$('#mass_actions').addClass('disabled');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function deleteSelected() {
|
||||||
|
var selectedIds = [];
|
||||||
|
var selectedItems = [];
|
||||||
|
var selectedItemsElements = [];
|
||||||
|
|
||||||
|
$('input.select-file:checked').each(function () {
|
||||||
|
var $parent = $($(this).closest('tr'));
|
||||||
|
var id = $parent.find('[data-action="deallocate"]').data('id');
|
||||||
|
var $ip = $parent.find('td[data-identifier="ip"]');
|
||||||
|
var $port = $parent.find('td[data-identifier="port"]');
|
||||||
|
var block = `${$ip.text()}:${$port.text()}`;
|
||||||
|
|
||||||
|
selectedIds.push({
|
||||||
|
id: id
|
||||||
|
});
|
||||||
|
selectedItems.push(block);
|
||||||
|
selectedItemsElements.push($parent);
|
||||||
|
});
|
||||||
|
|
||||||
|
if (selectedItems.length !== 0) {
|
||||||
|
var formattedItems = "";
|
||||||
|
var i = 0;
|
||||||
|
$.each(selectedItems, function (key, value) {
|
||||||
|
formattedItems += ("<code>" + value + "</code>, ");
|
||||||
|
i++;
|
||||||
|
return i < 5;
|
||||||
|
});
|
||||||
|
|
||||||
|
formattedItems = formattedItems.slice(0, -2);
|
||||||
|
if (selectedItems.length > 5) {
|
||||||
|
formattedItems += ', and ' + (selectedItems.length - 5) + ' other(s)';
|
||||||
|
}
|
||||||
|
|
||||||
|
swal({
|
||||||
|
type: 'warning',
|
||||||
|
title: '',
|
||||||
|
text: 'Are you sure you want to delete the following allocations: ' + formattedItems + '?',
|
||||||
|
html: true,
|
||||||
|
showCancelButton: true,
|
||||||
|
showConfirmButton: true,
|
||||||
|
closeOnConfirm: false,
|
||||||
|
showLoaderOnConfirm: true
|
||||||
|
}, function () {
|
||||||
|
$.ajax({
|
||||||
|
method: 'DELETE',
|
||||||
|
url: Router.route('admin.nodes.view.allocation.removeMultiple', {
|
||||||
|
node: Pterodactyl.node.id
|
||||||
|
}),
|
||||||
|
headers: {'X-CSRF-TOKEN': $('meta[name="_token"]').attr('content')},
|
||||||
|
data: JSON.stringify({
|
||||||
|
allocations: selectedIds
|
||||||
|
}),
|
||||||
|
contentType: 'application/json',
|
||||||
|
processData: false
|
||||||
|
}).done(function () {
|
||||||
|
$('#file_listing input:checked').each(function () {
|
||||||
|
$(this).prop('checked', false);
|
||||||
|
});
|
||||||
|
|
||||||
|
$.each(selectedItemsElements, function () {
|
||||||
|
$(this).addClass('warning').delay(200).fadeOut();
|
||||||
|
});
|
||||||
|
|
||||||
|
swal({
|
||||||
|
type: 'success',
|
||||||
|
title: 'Allocations Deleted'
|
||||||
|
});
|
||||||
|
}).fail(function (jqXHR) {
|
||||||
|
console.error(jqXHR);
|
||||||
|
swal({
|
||||||
|
type: 'error',
|
||||||
|
title: 'Whoops!',
|
||||||
|
html: true,
|
||||||
|
text: 'An error occurred while attempting to delete these allocations. Please try again.',
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
swal({
|
||||||
|
type: 'warning',
|
||||||
|
title: '',
|
||||||
|
text: 'Please select allocation(s) to delete.',
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
@endsection
|
@endsection
|
||||||
|
@ -153,6 +153,7 @@ Route::group(['prefix' => 'nodes'], function () {
|
|||||||
|
|
||||||
Route::delete('/view/{node}/delete', 'NodesController@delete')->name('admin.nodes.view.delete');
|
Route::delete('/view/{node}/delete', 'NodesController@delete')->name('admin.nodes.view.delete');
|
||||||
Route::delete('/view/{node}/allocation/remove/{allocation}', 'NodesController@allocationRemoveSingle')->name('admin.nodes.view.allocation.removeSingle');
|
Route::delete('/view/{node}/allocation/remove/{allocation}', 'NodesController@allocationRemoveSingle')->name('admin.nodes.view.allocation.removeSingle');
|
||||||
|
Route::delete('/view/{node}/allocations', 'NodesController@allocationRemoveMultiple')->name('admin.nodes.view.allocation.removeMultiple');
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user