Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Merge new pterodactyl #1

Open
wants to merge 490 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
490 commits
Select commit Hold shift + click to select a range
2e61a4d
fix: eslint errors
DaneEveritt Oct 8, 2022
e0e0689
feat: bump account key limit to 25 (#4417)
DaneEveritt Oct 8, 2022
597821b
fix: byte units (#4419)
Cubxity Oct 9, 2022
c748fa9
fix: exclude any permissions not defined internally when updating or …
DaneEveritt Oct 9, 2022
95e15d2
Cleanup FQDN validation logic, fallback to old hostname check (#4409)
matthewpi Oct 9, 2022
cbcf620
Upgrade to Laravel 9 (#4413)
matthewpi Oct 14, 2022
2828a4b
fix AssetManifestService error when loading the panel
matthewpi Oct 14, 2022
9c6822f
Update CHANGELOG.md
matthewpi Oct 16, 2022
d1beb2e
Fix file verification on upload; just block folders (#4442)
DaneEveritt Oct 16, 2022
4dd30fe
composer: update lock
matthewpi Oct 20, 2022
5331fd2
ci(docker): build local code checkout, add caching to dev build
matthewpi Oct 20, 2022
860b2d8
Fix `php artisan up` (#4457)
lancepioch Oct 21, 2022
7266c66
un-type getRulesForUpdate; fixes #4463
matthewpi Oct 24, 2022
e49ba65
Fix config key names (#4464)
lancepioch Oct 24, 2022
d31ece1
nix: add flake with dev shell
matthewpi Oct 24, 2022
5c78b38
Fix InMemoryFilesystemAdapter (#4489)
Jelcoo Oct 26, 2022
6f0bb43
ci: cleanup, add dedicated lint workflow
matthewpi Oct 26, 2022
5f57e63
ci(lint): install composer dependencies
matthewpi Oct 26, 2022
548affb
Fix linting (#4504)
lancepioch Oct 29, 2022
b1abae8
Update README.md
matthewpi Oct 30, 2022
f2095e8
Allow users to change the server description (#4420)
Boy132 Oct 31, 2022
16c2b60
Add ManifestDoesNotExistException and Solution (#4455)
lancepioch Oct 31, 2022
e21aab2
Update mumble egg (#4437)
QuintenQVD0 Oct 31, 2022
1b78030
Fix compatibility with old queue names
matthewpi Oct 31, 2022
b7a6543
Merge branch '1.0-develop' into develop
matthewpi Oct 31, 2022
846ff76
Fix missing email sender
matthewpi Oct 31, 2022
d466934
Laravel Sail (#4508)
matthewpi Oct 31, 2022
f8ec8b4
Merge branch 'develop' into 1.0-develop
matthewpi Oct 31, 2022
c068f57
fix(forge): validate only input and not length (#4528)
trenutoo Nov 6, 2022
9b218f2
URL encode password in JDBC connection string (#4527)
lancepioch Nov 6, 2022
4032481
Update validation rules for remote activity logs (#4526)
lancepioch Nov 6, 2022
032e4f2
Apply node maintenance mode to servers (#4421)
Boy132 Nov 6, 2022
df2402b
Streaming Transfers (#4548)
matthewpi Nov 15, 2022
897ca48
github: re-enable blank issues
matthewpi Nov 15, 2022
c1584d9
Update CHANGELOG.md
matthewpi Nov 15, 2022
2f4a60c
ui(admin): change `MB` suffixes to `MiB`
matthewpi Nov 21, 2022
c3521e0
api(server): fix undefined header
matthewpi Nov 21, 2022
634c935
fix(transformers): force object type for properties (#4544)
devnote-dev Nov 21, 2022
039ad4a
api(server): log activity when server description is changed
matthewpi Nov 21, 2022
a4f6870
server: track reinstall failures differently from initial install fai…
lancepioch Nov 21, 2022
df9a7f7
Support canceling file uploads (#4441)
DaneEveritt Nov 21, 2022
ee033d6
Telemetry (#4564)
matthewpi Nov 22, 2022
5b36313
Update README.md
matthewpi Nov 22, 2022
1bb1b13
Update CHANGELOG.md
matthewpi Nov 22, 2022
21613fa
React 18 and Vite (#4510)
matthewpi Nov 25, 2022
3bf5a71
PostgreSQL Support (#4486)
lancepioch Nov 25, 2022
c475d60
ui: remove unused codemirror 5 editor
matthewpi Nov 27, 2022
490690f
docker: overhaul container image
matthewpi Nov 27, 2022
db4aa86
docker: cleanup, install shadow-utils
matthewpi Nov 27, 2022
dae40ee
ci(docker): temporarily disable arm64 dev build
matthewpi Nov 27, 2022
f76155a
ci(docker): update build-push-action from v2 to v3
matthewpi Nov 28, 2022
a4e547d
ui(server): fix console searchbar z-index (#4587)
notAreYouScared Nov 28, 2022
3f7e2a5
Merge branch '1.0-develop' into develop
matthewpi Nov 28, 2022
a1a5275
chore: add phpstan static analysis minimum (#4511)
lancepioch Nov 28, 2022
75f3683
egg(teamspeak): port and argument updates (#4546)
TaktischerSpeck Nov 28, 2022
c8f7bdf
egg(teamspeak): fix database support (#4513)
Wunderharke Nov 28, 2022
fd356c7
composer: update dependencies
matthewpi Nov 29, 2022
56839a1
Update Containerfile
matthewpi Nov 29, 2022
16e34af
nix: add panel and container packages
matthewpi Nov 29, 2022
3ea6d45
php-cs-fixer
matthewpi Nov 29, 2022
ee863fa
phpstan
matthewpi Nov 29, 2022
209711c
ui(server): disable file manager upload, due to library issues
matthewpi Nov 29, 2022
794248d
routes: fix imports
matthewpi Dec 1, 2022
3c278a8
api(remote): check if transfer is present before trying to update status
matthewpi Dec 1, 2022
6272bb6
api(remote): cleanup
matthewpi Dec 1, 2022
250c557
telemetry: include more detailed server egg and nest usage
matthewpi Dec 1, 2022
fa75038
Add telemetry prompt in `p:environment:setup` command
matthewpi Dec 4, 2022
ae27a8a
Merge branch '1.0-develop' into develop
matthewpi Dec 4, 2022
73b27ae
Update CHANGELOG.md
matthewpi Dec 4, 2022
8425076
Merge branch '1.0-develop' into develop
matthewpi Dec 4, 2022
dd69652
Fix `No application encryption key has been specified` error while tr…
matthewpi Dec 4, 2022
158facd
eslint: fix prettier config
matthewpi Dec 4, 2022
598c956
ui(server): fix file uploads being canceled instead of completed
matthewpi Dec 4, 2022
7d93f15
ci: overhaul workflows
matthewpi Dec 5, 2022
c802b49
ci(docker): fix app version
matthewpi Dec 5, 2022
ca4aa79
ci(docker): fix latest tag
matthewpi Dec 5, 2022
a2970cd
ci: tweak docker and release workflows
matthewpi Dec 5, 2022
e763c72
ci(docker): fix version in app.php
matthewpi Dec 5, 2022
4110171
Update CHANGELOG.md
matthewpi Dec 5, 2022
3432cad
ci(docker): fix version starting with `v` prefix
matthewpi Dec 5, 2022
3b062ed
yarn: upgrade dependencies
matthewpi Dec 12, 2022
e64e288
Merge branch '1.0-develop' into develop
matthewpi Dec 12, 2022
c44842e
chore: run prettier
matthewpi Dec 12, 2022
63a179d
app: fix email config keys
matthewpi Dec 12, 2022
c14fc1c
config(mail): fix SERVER_NAME; closes #4600
matthewpi Dec 12, 2022
6377e33
config(queue): fix queue names
matthewpi Dec 12, 2022
4626118
app: fix remaining email config keys
matthewpi Dec 12, 2022
24e1c56
Update SECURITY.md
matthewpi Dec 12, 2022
0751eee
database: add migration for new mail config keys
matthewpi Dec 12, 2022
c8c648f
php-cs-fixer
matthewpi Dec 12, 2022
6df31e1
database: fix migration transaction failure?
matthewpi Dec 12, 2022
428311e
database: fix mail settings migration
matthewpi Dec 12, 2022
680bce6
api(client): fix decompress timeout (#4568)
VibeGAMESNL Dec 12, 2022
8978da3
app(telemetry): disable server_usage for eggs and nests
matthewpi Dec 12, 2022
ac53e7b
Update CHANGELOG.md
matthewpi Dec 12, 2022
4138fb7
Merge branch '1.0-develop' into develop
matthewpi Dec 12, 2022
5fbc7a8
nix&docker: simplify Caddyfile
matthewpi Dec 13, 2022
e43da31
api(client): keep existing server description when empty (#4619)
TekExplorer Dec 14, 2022
7fde336
Merge branch '1.0-develop' into develop
matthewpi Dec 14, 2022
4cd0bee
yeet
matthewpi Dec 14, 2022
67bf3e3
api(application): v2 backport
matthewpi Dec 15, 2022
363c4fd
php-cs-fixer
matthewpi Dec 15, 2022
7ed2be5
php-cs-fixer and phpstan
matthewpi Dec 15, 2022
3670dc6
phpstan
matthewpi Dec 15, 2022
f68c46b
eggs: remove `config_logs` field
matthewpi Dec 15, 2022
2f15d94
database: fix migrations with postgres
matthewpi Dec 15, 2022
6b11836
user: remove `name_first` and `name_last`
matthewpi Dec 15, 2022
a24c594
user: remove `name_first` and `name_last` from tests
matthewpi Dec 15, 2022
160c3dd
composer: update dependencies
matthewpi Dec 15, 2022
0c5416e
cli: fix up command override
matthewpi Dec 15, 2022
507a802
database-host: reverse node relationship
matthewpi Dec 15, 2022
8fff084
Attempt to fix Fractal object type being null
matthewpi Dec 15, 2022
10b2380
Make sure to actually update other references as well
matthewpi Dec 15, 2022
7f66982
tests: more fixes, but stuff is still broken
matthewpi Dec 15, 2022
926c856
user: cleanup
matthewpi Dec 15, 2022
d1c7494
app: fix DeployServerDatabaseService
matthewpi Dec 15, 2022
5402584
ui(admin): add "working" React admin ui
matthewpi Dec 16, 2022
4e56f6d
yarn: upgrade dependencies
matthewpi Dec 21, 2022
089860b
ui(admin): update button components, fix Editor for eggs
matthewpi Dec 21, 2022
a2fb319
Update README.md sponsors
matthewpi Jan 1, 2023
f68864d
Merge branch '1.0-develop' into develop
matthewpi Jan 1, 2023
27e3eec
yarn: upgrade `@codemirror/*`
matthewpi Jan 12, 2023
42d8f2c
ui(server): fix file editor and file manager
matthewpi Jan 12, 2023
76b67cb
ui: fix IPv6 formatting logic
matthewpi Jan 12, 2023
bc77378
ui(editor): fix editor child styling
matthewpi Jan 12, 2023
216c464
ui(admin): update New Nest button
matthewpi Jan 12, 2023
9cdbbc3
ui(admin): fix server editing
matthewpi Jan 12, 2023
155d7bb
chore: run prettier
matthewpi Jan 12, 2023
7e1aa8d
ui: fix tests
matthewpi Jan 12, 2023
3d7112b
ui: fix eslint
matthewpi Jan 12, 2023
f45eac6
chore: run php-cs-fixer
matthewpi Jan 12, 2023
b59e1da
tests: fix remaining failures
matthewpi Jan 12, 2023
e88197c
ui: fix DashboardRouter trailing slashes
matthewpi Jan 13, 2023
f6cf4a1
ui: add read-only styling to Input element
matthewpi Jan 13, 2023
450fba0
ui(admin): fix oom killer setting toggle
matthewpi Jan 17, 2023
7665eea
app(server): rename `oom_disabled` to `oom_killer` and invert existin…
matthewpi Jan 17, 2023
2ed7f1c
Fix `MAIL_FROM_ADDRESS` in EmailSettingsCommand (#4648)
Boy132 Jan 17, 2023
dd59543
Update README.md, fix CI status badge
matthewpi Jan 17, 2023
c74314d
Fix file repository not catching 404 responses (#4637)
Jelcoo Jan 17, 2023
fbdac5b
ui(server): fix `reinstall_failed` conflict state
matthewpi Jan 17, 2023
62238ad
Merge branch '1.0-develop' into develop
matthewpi Jan 17, 2023
0b23707
Update README.md, fix CI status badge
matthewpi Jan 17, 2023
a27ea3d
config(queue): default to `redis` driver
matthewpi Jan 24, 2023
20f23a0
db: add `uuid` column to `failed_jobs` table
matthewpi Jan 24, 2023
2b14e46
api: fix `sequence_id` being ignored in server task API
matthewpi Jan 24, 2023
866b6df
api(task): ensure `sequence_id` always starts at `1`
matthewpi Jan 24, 2023
5063db7
Merge branch '1.0-develop' into develop
matthewpi Jan 25, 2023
4b82ca1
ui(admin): fix users list
matthewpi Jan 25, 2023
d09e61b
Update Containerfile to node 18, install composer through rpms
matthewpi Jan 25, 2023
7c67ff3
yarn: upgrade dependencies
matthewpi Jan 25, 2023
d8b7747
ui(server): lazy load server console to reduce main bundle size
matthewpi Jan 25, 2023
c5be3ad
nix: update flake lock
matthewpi Jan 25, 2023
43f7c10
Update CHANGELOG.md
matthewpi Jan 27, 2023
3bd8164
Merge branch '1.0-develop' into develop
matthewpi Jan 27, 2023
9b47403
egg(rust): add server.queryport option (#4681)
trenutoo Feb 4, 2023
2a7833c
Update README.md
matthewpi Feb 6, 2023
582c50c
Merge branch '1.0-develop' into develop
matthewpi Feb 6, 2023
aea5c47
fix(resources/api): allow svg xml format (#4705)
devnote-dev Feb 23, 2023
b746c3e
fix(api/client): add validation for backup request body (#4704)
devnote-dev Feb 23, 2023
ad4ddc6
nix: update flake
matthewpi Feb 23, 2023
1d38b4f
Laravel 10 (#4706)
matthewpi Feb 23, 2023
18f6611
Merge branch '1.0-develop' into develop
matthewpi Feb 23, 2023
a1e5afc
composer: update lock
matthewpi Feb 23, 2023
85df1a4
ci(laravel): add PHP 8.2 to test matrix
matthewpi Feb 23, 2023
733771a
nix: update flake lock
matthewpi Feb 23, 2023
0af3949
app(services): fix DeployServerDatabaseService phpstan
matthewpi Feb 23, 2023
187c7f7
yarn: upgrade dependencies
matthewpi Feb 23, 2023
2195aa6
ci(docker): upgrade to php 8.2
matthewpi Feb 23, 2023
673f728
ui: fix prettier
matthewpi Feb 23, 2023
ab4b4e6
ci(container): replace old docker workflow
matthewpi Feb 23, 2023
f98aa11
ci(container): update to `ubuntu-22.04`
matthewpi Feb 23, 2023
05d8de0
ci(container): tweak options
matthewpi Feb 23, 2023
7241829
containerfile: reinstall `tzdata`
matthewpi Feb 23, 2023
8ae40a7
containerfile: remove platform arg
matthewpi Feb 23, 2023
0d225b0
ci(docker): revert workflow changes
matthewpi Feb 23, 2023
8320c64
switch from `yarn` to `pnpm`
matthewpi Feb 23, 2023
f5ce1a2
ci: install pnpm
matthewpi Feb 23, 2023
8bfcffc
Update README.md
matthewpi Mar 11, 2023
dc6fadd
Merge branch '1.0-develop' into develop
matthewpi Mar 11, 2023
b23f311
Update README.md
matthewpi May 13, 2023
bad7650
Update README.md
matthewpi May 13, 2023
eaf4642
Merge branch '1.0-develop' into develop
matthewpi May 13, 2023
7c8bdfc
Update README.md
matthewpi Jun 29, 2023
b7b128e
Merge branch '1.0-develop' into develop
matthewpi Jun 29, 2023
29783ed
egg(rust): add support for Carbon
matthewpi Jul 12, 2023
d3c6568
Merge branch '1.0-develop' into develop
matthewpi Jul 12, 2023
3cd15d6
ci(docker): skip login on pull requests
matthewpi Jul 12, 2023
1586061
Update README.md
matthewpi Aug 23, 2023
04d83ed
app: fix `getMySQLTimezoneOffset()` truncating seconds
matthewpi Aug 23, 2023
aa2f797
fix panel log folder
parkervcp Aug 12, 2023
341fa0a
docker: fix log directory (#4839)
matthewpi Aug 23, 2023
987440c
app: fix formatting
matthewpi Aug 23, 2023
a830586
only files check for "read-content", check folders for "read"
Boy132 May 30, 2023
bf17684
ui(server): fix permissions check on file manager (#4793)
matthewpi Aug 23, 2023
85f1259
fix(4752): check if description field present on request
robertnisipeanu May 25, 2023
5cd2697
api(client): allow setting empty server description
matthewpi Aug 23, 2023
2d4071c
do not show strings with password in notification text
Apr 21, 2023
97049f4
ui(server): hide sensitive information in copy-on-click notifications…
matthewpi Aug 23, 2023
1af200c
Replace `bin.ptdl.co` with `pteropaste.com`
Boy132 Apr 18, 2023
57d2729
github(template): update paste domain (#4757)
matthewpi Aug 23, 2023
67b2d94
ui(client): allow MassActionBar to be clicked through (#4753)
Boy132 Aug 23, 2023
51cee76
app: update prune-backup command description (#4754)
Boy132 Aug 23, 2023
5a417e9
app(setup): replace `mail` with `sendmail` driver (#4750)
Boy132 Aug 23, 2023
6f5fb09
Merge branch '1.0-develop' into develop
matthewpi Aug 23, 2023
3721b20
ui(admin): fix egg creation
matthewpi Sep 28, 2023
35ded9d
ui(admin): fix server egg select improperly switching
matthewpi Sep 29, 2023
9b35a55
ui: make the Input component slightly shorter
matthewpi Sep 29, 2023
8ffe0f1
chore: fix eslint
matthewpi Oct 2, 2023
804a08b
nix: update flake.lock
matthewpi Oct 2, 2023
7fa0c26
Update README.md
matthewpi Oct 2, 2023
a9bdf7a
Merge branch '1.0-develop' into develop
matthewpi Oct 2, 2023
35159b3
Update CHANGELOG.md
matthewpi Oct 10, 2023
a62e8b1
egg(rust): use yolk image instead of the deprecated one
matthewpi Oct 12, 2023
742e352
Update CHANGELOG.md
matthewpi Oct 12, 2023
341eda7
egg(rust): change ordering of mod frameworks
matthewpi Oct 21, 2023
8abf2d8
ui(server): fix defaultValue not being used with VariableBox select
matthewpi Oct 21, 2023
f0489f6
Update README.md
matthewpi Oct 24, 2023
fe83a4f
Merge branch '1.0-develop' into develop
matthewpi Dec 30, 2023
787bf34
nix: update to php 8.2
matthewpi Mar 16, 2024
2497819
Update README.md
matthewpi Mar 16, 2024
6a33c73
Merge branch '1.0-develop' into develop
matthewpi Mar 16, 2024
1172d71
app: improve `docker_image` validation
matthewpi Apr 10, 2024
319ca68
api(remote): ensure requesting node is checked
matthewpi Apr 10, 2024
f671046
admin: tweaks to validation and rendering
matthewpi Apr 10, 2024
7f192dc
Merge branch '1.0-develop' into develop
matthewpi Apr 11, 2024
b1fa392
api(remote): fix oops in BackupStatusController
matthewpi Apr 11, 2024
0dad4c5
ui(admin): better handling of manual HTML rendering
matthewpi Apr 11, 2024
6dc85c7
chore: update `SECURITY.md`
matthewpi Apr 16, 2024
5bcf6fd
Merge branch '1.0-develop' into develop
matthewpi Apr 16, 2024
96e6c66
Update README.md
matthewpi May 2, 2024
b7b2413
Update CHANGELOG.md
matthewpi May 2, 2024
7bfc265
api(remote): fix use of missing `node_id` field
matthewpi May 4, 2024
2ffe019
ui(server): support for decompressing .7z files (#5016)
danny6167 May 4, 2024
dbd7f31
Update Minecraft Eula link (#5090)
danny6167 May 7, 2024
049ad83
egg(minecraft): add Java 21 to image list (#5093)
danny6167 May 8, 2024
a96d87c
Update README.md
matthewpi May 8, 2024
3a0b7d1
Update CHANGELOG.md
matthewpi May 8, 2024
f8dfef0
api(remote): fix oops in BackupStatusController, yet again
matthewpi May 9, 2024
37055fe
ui(admin): fix maintenance mode defaulting to the wrong value (#4927)
danny6167 May 21, 2024
371c7a6
api: fix `docker_image` validation for local images (#5103)
danny6167 May 21, 2024
48eb35e
Merge branch '1.0-develop' into develop
matthewpi Jun 2, 2024
c865640
Update README.md
matthewpi Jun 23, 2024
6f37f94
Merge branch '1.0-develop' into develop
matthewpi Jun 23, 2024
512cfad
chore: change "Github" to "GitHub" for consistency (#4946)
prplwtf Jun 29, 2024
466dd61
chore: fix "Manager User" typo in admin page title (#5114)
BeastGamer81 Jun 29, 2024
844537d
fix: CIDR_MAX_BITS restricting to `/27` instead of `/25` (#5111)
danny6167 Jun 29, 2024
2611cdf
egg(teamspeak): add server admin password variable (#5099)
danny6167 Jun 29, 2024
953575f
fix: remove special handling for `^C` stop command (#5132)
danny6167 Jun 29, 2024
8ae76c3
feat: add egg features editor in Admin UI (#5130)
MinerPL Jun 29, 2024
64c7897
Merge branch '1.0-develop' into develop
matthewpi Jun 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 0 additions & 11 deletions .babel-plugin-macrosrc.js

This file was deleted.

12 changes: 7 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

[.*yml]
indent_size = 2
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.{md,nix,yml,yaml}]
indent_size = 2
tab_width = 2
19 changes: 0 additions & 19 deletions .env.ci

This file was deleted.

26 changes: 0 additions & 26 deletions .env.dusk

This file was deleted.

33 changes: 19 additions & 14 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,38 +1,43 @@
APP_ENV=production
APP_DEBUG=false
APP_KEY=
APP_THEME=pterodactyl
APP_TIMEZONE=America/New_York
APP_CLEAR_TASKLOG=720
APP_DELETE_MINUTES=10
APP_TIMEZONE=UTC
APP_URL=http://panel.example.com
APP_LOCALE=en
APP_ENVIRONMENT_ONLY=true

LOG_CHANNEL=daily
APP_LOCALE=en
APP_URL=http://panel.example.com
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=panel
DB_USERNAME=pterodactyl
DB_PASSWORD=

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

CACHE_DRIVER=file
QUEUE_CONNECTION=redis
SESSION_DRIVER=file

HASHIDS_SALT=
HASHIDS_LENGTH=8

MAIL_DRIVER=smtp
MAIL_MAILER=smtp
MAIL_HOST=smtp.example.com
MAIL_PORT=25
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM[email protected]
MAILGUN_ENDPOINT=api.mailgun.net
MAIL_FROM_ADDRESS[email protected]
MAIL_FROM_NAME="Pterodactyl Panel"
# You should set this to your domain to prevent it defaulting to 'localhost', causing
# mail servers such as Gmail to reject your mail.
#
# @see: https://github.com/pterodactyl/panel/pull/3110
# SERVER_NAME=panel.example.com

QUEUE_HIGH=high
QUEUE_STANDARD=standard
QUEUE_LOW=low
# MAIL_EHLO_DOMAIN=panel.example.com
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
public
node_modules
resources/views
babel.config.js
tailwind.config.js
webpack.config.js
52 changes: 52 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 6,
ecmaFeatures: {
jsx: true,
},
project: './tsconfig.json',
tsconfigRootDir: './',
},
settings: {
react: {
pragma: 'React',
version: 'detect',
},
linkComponents: [
{ name: 'Link', linkAttribute: 'to' },
{ name: 'NavLink', linkAttribute: 'to' },
],
},
env: {
browser: true,
es6: true,
},
plugins: ['react', 'react-hooks', 'prettier', '@typescript-eslint'],
extends: [
// 'standard',
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:@typescript-eslint/recommended',
],
rules: {
eqeqeq: 'error',
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
// TypeScript can infer this significantly better than eslint ever can.
'react/prop-types': 0,
'react/display-name': 0,
'react/no-unknown-property': ['error', {ignore: ['css']}],
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-non-null-assertion': 0,
// This setup is required to avoid a spam of errors when running eslint about React being
// used before it is defined.
//
// @see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md#how-to-use
'no-use-before-define': 0,
'@typescript-eslint/no-use-before-define': 'warn',
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-expect-error': 'allow-with-description' }],
},
};
98 changes: 0 additions & 98 deletions .eslintrc.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
github: [DaneEveritt]
custom: ["https://paypal.me/PterodactylSoftware"]
github: [matthewpi]
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ body:
Run the following command to collect logs on your system.

Wings: `sudo wings diagnostics`
Panel: `tail -n 100 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc bin.ptdl.co 99`
placeholder: "https://bin.ptdl.co/a1h6z"
Panel: `tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99`
placeholder: "https://pteropaste.com/a1h6z"
render: bash
validations:
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: Installation Help
url: https://discord.gg/pterodactyl
Expand Down
21 changes: 21 additions & 0 deletions .github/docker/Caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
:8080 {
root * /var/www/pterodactyl/public/
file_server

header {
-Server
-X-Powered-By
Referrer-Policy "same-origin"
X-Frame-Options "deny"
X-XSS-Protection "1; mode=block"
X-Content-Type-Options "nosniff"
}

encode gzip zstd

php_fastcgi 127.0.0.1:9000 {
trusted_proxies 172.20.0.0/16
}

try_files {path} {path}/ /index.php?{query}
}
Loading