Skip to content

Commit d6c213b

Browse files
authored
[🫸] Sync gh with prod (#7)
New version branch: panel-1.12.0 created after panel update
1 parent ba57e3f commit d6c213b

476 files changed

Lines changed: 9858 additions & 8266 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ module.exports = {
4747
'@typescript-eslint/no-use-before-define': 'warn',
4848
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
4949
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-expect-error': 'allow-with-description' }],
50+
'react/no-unknown-property': ['error', { ignore: ['css'] }],
5051
},
5152
};

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ public/assets/manifest.json
2121
# For local development with docker
2222
# Remove if we ever put the Dockerfile in the repo
2323
.dockerignore
24-
docker-compose.yml
24+
docker-compose.*
25+
!docker-compose.example.yml
26+
!docker-compose.example.yaml
2527

2628
# for image related files
2729
misc
@@ -33,7 +35,6 @@ resources/lang/locales.js
3335
/public/build
3436
/public/hot
3537
result
36-
docker-compose.yaml
3738

3839
/public/phpmyadmin/tmp
3940
/public/phpmyadmin/config.inc.php

CHANGELOG.md

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,52 +3,64 @@ This file is a running track of new features and fixes to each version of the pa
33

44
This project follows [Semantic Versioning](http://semver.org) guidelines.
55

6-
## v1.11.10
7-
8-
### BREAKING
9-
10-
* Minimum PHP verion is now 8.2 due to Laravel upgrade!
6+
## v1.12.0
7+
### Fixed
8+
9+
* [CVE-2025-68954](https://github.com/pterodactyl/panel/security/advisories/GHSA-8c39-xppg-479c)
10+
* [CVE-2025-69197](https://github.com/pterodactyl/panel/security/advisories/GHSA-rgmp-4873-r683)
11+
* [CVE-2025-69198](https://github.com/pterodactyl/panel/security/advisories/GHSA-jw2v-cq5x-q68g)
12+
* Fixes a self-XSS issue when entering random data into boxes while creating a new database host.
13+
* Fixes missing `HttpForbiddenException` import in the backup status controller.
14+
* Fixes issue where scheduled tasks would execute every minute regardless of their configured cron syntax.
15+
* Pressing `Ctrl+Z` to undo while editing a file no longer deletes the initial file content.
16+
* Fixed incorrect error message being returned when attempting to delete your own account as an admin.
17+
* Fixes node description not being settable via the API.
18+
* Fixes 0-bytes files returning an error when attempting to upload.
19+
* Fixes nodes displaying the first available location even when that field was not edited and the node has a different value set.
20+
* Fixes allocation notes not being reset when a server is deleted. ([#5157](https://github.com/pterodactyl/panel/pull/5157))
21+
22+
### Changed
23+
* Minimum NodeJS version updated to 22 for building.
24+
* Updated all JS and PHP dependencies to their latest versions (where feasible).
25+
* The endpoint for disabling 2FA on an account using the client API changed from `DELETE /api/client/account/two-factor` to `POST /api/client/account/two-factor/disable`
26+
* `^C` in an egg's stop configuration no longer rewrites itself into the default stop configuration.
27+
* `IBM Plex Sans` font is now bundled with the local assets instead of loading from Google CDNs.
28+
* Upload size on nodes is no longer restricted to a max of 1024MB, any positive integer value can be used.
29+
* Administrators are now listed first when viewing a list of all users on the system.
30+
* Websocket no longer endlessly polls when connection issues are encountered, or when Wings disconnects the user for a reason that should not be re-attempted.
1131

32+
## v1.11.10
1233
### Fixed
13-
1434
* Update Laravel to address [CVE-2024-52301](https://github.com/advisories/GHSA-gv7v-rgg6-548h)
1535

16-
## v1.11.9
36+
### Changed
37+
* Minimum PHP version is now 8.2 due to Laravel upgrade!
1738

39+
## v1.11.9
1840
### Fixed
19-
2041
* Fixed issue with CI not pushing Docker image
2142

2243
## v1.11.8
23-
2444
### Fixed
25-
2645
* Fixed an issue where a `DELETE` request was used instead of a `POST`, potentially logging user passwords in plain text if they disable 2FA.
2746

2847
## v1.11.7
29-
3048
### Added
31-
3249
* Java 21 to Minecraft eggs
3350

3451
### Changed
35-
3652
* Updated Minecraft EULA link
3753

3854
### Fixed
39-
4055
* Fixed backups not ever being marked as completed (#5088)
4156
* Fixed `.7z` files not being detected as a compressed file (#5016)
4257

4358
## v1.11.6
44-
4559
### Changed
46-
4760
* Better node ownership checks for internal backup endpoints
4861
* Improved validation rules on `docker_image` fields to prevent invalid inputs
4962

5063
### Fixed
51-
5264
* Multiple XSS vulnerabilities in the admin area ([GHSA-384w-wffr-x63q](https://github.com/pterodactyl/panel/security/advisories/GHSA-384w-wffr-x63q))
5365

5466
## v1.11.5

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# Build the assets that are needed for the frontend. This build stage is then discarded
33
# since we won't need NodeJS anymore in the future. This Docker image ships a final production
44
# level distribution of Pterodactyl.
5-
FROM --platform=$TARGETOS/$TARGETARCH mhart/alpine-node:14
5+
FROM --platform=$TARGETOS/$TARGETARCH node:22-alpine
66
WORKDIR /app
77
COPY . ./
88
RUN yarn install --frozen-lockfile \
99
&& yarn run build:production
1010

1111
# Stage 1:
1212
# Build the actual container with all of the needed PHP dependencies that will run the application.
13-
FROM --platform=$TARGETOS/$TARGETARCH php:8.2-fpm-alpine
13+
FROM --platform=$TARGETOS/$TARGETARCH php:8.3-fpm-alpine
1414
WORKDIR /app
1515
COPY . ./
1616
COPY --from=0 /app/public/assets ./public/assets

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ Stop settling for less. Make game servers a first class citizen on your platform
2525
## Sponsors
2626

2727
I would like to extend my sincere thanks to the following sponsors for helping fund Pterodactyl's development.
28-
[Interested in becoming a sponsor?](https://github.com/sponsors/matthewpi)
28+
[Interested in becoming a sponsor?](https://github.com/sponsors/pterodactyl)
2929

30-
| Company | About |
31-
|--------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
32-
| [**Aussie Server Hosts**](https://aussieserverhosts.com/) | No frills Australian Owned and operated High Performance Server hosting for some of the most demanding games serving Australia and New Zealand. |
33-
| [**BisectHosting**](https://www.bisecthosting.com/) | BisectHosting provides Minecraft, Valheim and other server hosting services with the highest reliability and lightning fast support since 2012. |
34-
| [**MineStrator**](https://minestrator.com/) | Looking for the most highend French hosting company for your minecraft server? More than 24,000 members on our discord trust us. Give us a try! |
35-
| [**HostEZ**](https://hostez.io) | US & EU Rust & Minecraft Hosting. DDoS Protected bare metal, VPS and colocation with low latency, high uptime and maximum availability. EZ! |
36-
| [**Blueprint**](https://blueprint.zip/?pterodactyl=true) | Create and install Pterodactyl addons and themes with the growing Blueprint framework - the package-manager for Pterodactyl. Use multiple modifications at once without worrying about conflicts and make use of the large extension ecosystem. |
37-
| [**indifferent broccoli**](https://indifferentbroccoli.com/) | indifferent broccoli is a game server hosting and rental company. With us, you get top-notch computer power for your gaming sessions. We destroy lag, latency, and complexity--letting you focus on the fun stuff. |
30+
| Company | About |
31+
|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
32+
| [**Aussie Server Hosts**](https://aussieserverhosts.com/) | No frills Australian Owned and operated High Performance Server hosting for some of the most demanding games serving Australia and New Zealand. |
33+
| [**BisectHosting**](https://www.bisecthosting.com/) | BisectHosting provides Minecraft, Valheim and other server hosting services with the highest reliability and lightning fast support since 2012. |
34+
| [**MineStrator**](https://minestrator.com/) | Looking for the most highend French hosting company for your minecraft server? More than 24,000 members on our discord trust us. Give us a try! |
35+
| [**HostEZ**](https://hostez.io) | US & EU Rust & Minecraft Hosting. DDoS Protected bare metal, VPS and colocation with low latency, high uptime and maximum availability. EZ! |
36+
| [**Blueprint**](https://blueprint.zip/?utm_source=pterodactyl&utm_medium=sponsor) | Create and install Pterodactyl addons and themes with the growing Blueprint framework - the package-manager for Pterodactyl. Use multiple modifications at once without worrying about conflicts and make use of the large extension ecosystem. |
37+
| [**indifferent broccoli**](https://indifferentbroccoli.com/) | indifferent broccoli is a game server hosting and rental company. With us, you get top-notch computer power for your gaming sessions. We destroy lag, latency, and complexity--letting you focus on the fun stuff. |
3838

3939
### Supported Games
4040

@@ -63,7 +63,7 @@ and there are plenty more games available provided by the community. Some of the
6363
* Xonotic
6464
* Starmade
6565
* Discord ATLBot, and most other Node.js/Python discord bots
66-
* [and many more...](https://github.com/parkervcp/eggs)
66+
* [and many more...](https://pterodactyleggs.com)
6767

6868
## License
6969

SECURITY.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22

33
## Supported Versions
44

5-
The following versions of Pterodactyl are receiving active support and maintenance. Any security vulnerabilities discovered must be reproducible in supported versions.
6-
7-
| Panel | Daemon | Supported |
8-
|--------|--------------|--------------------|
9-
| 1.11.x | wings@1.11.x | :white_check_mark: |
10-
| 0.7.x | daemon@0.6.x | :x: |
5+
Pterodactyl only provides security support for the latest `major.minor` versions of the Panel and Wings software.
6+
If a security vulnerability is found in an older version but cannot be reproduced on a supported version it will
7+
not be considered. Additionally, security issues found in unreleased code will be addressed, but do not warrant a
8+
security advisory.
119

10+
For example, if the latest version of the Panel is `1.2.5` then we only support security reports for issues that
11+
occur on `>= 1.2.x` versions of the Panel software. The Panel and Wings have their own versions, but they generally
12+
follow eachother.
1213

1314
## Reporting a Vulnerability
1415

15-
Please reach out directly to any project team member on Discord when reporting a security vulnerability, or you can email `matthew@pterodactyl.io`.
16+
Please use our GitHub Security reporting meachnism to quickly alert the team to any security issues you come across,
17+
or send an email to `security@pterodactyl.io` with the details of your report.
1618

17-
We make every effort to respond as soon as possible, although it may take a day or two for us to sync internally and determine the severity of the report and its impact. Please, _do not_ use a public facing channel or GitHub issues to report sensitive security issues.
19+
We make every effort to respond as soon as possible, although it may take a day or two for us to sync internally and
20+
determine the severity of the report and its impact. Please, _do not_ use a public facing channel or GitHub issues to
21+
report sensitive security issues.
1822

19-
As part of our process, we will create a security advisory for the affected versions and disclose it publicly, usually two to four weeks after a releasing a version that addresses it.
23+
As part of our process, we will create a security advisory for the affected versions and disclose it publicly, usually
24+
two to four weeks after a releasing a version that addresses it.

app/Console/Commands/Location/DeleteLocationCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class DeleteLocationCommand extends Command
2020
*/
2121
public function __construct(
2222
private LocationDeletionService $deletionService,
23-
private LocationRepositoryInterface $repository
23+
private LocationRepositoryInterface $repository,
2424
) {
2525
parent::__construct();
2626
}

app/Console/Commands/Maintenance/CleanServiceBackupFilesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function handle()
3636

3737
collect($files)->each(function (\SplFileInfo $file) {
3838
$lastModified = Carbon::createFromTimestamp($this->disk->lastModified($file->getPath()));
39-
if ($lastModified->diffInMinutes(Carbon::now()) > self::BACKUP_THRESHOLD_MINUTES) {
39+
if ((int) $lastModified->diffInMinutes(Carbon::now()) > self::BACKUP_THRESHOLD_MINUTES) {
4040
$this->disk->delete($file->getPath());
4141
$this->info(trans('command/messages.maintenance.deleting_service_backup', ['file' => $file->getFilename()]));
4242
}

app/Console/Commands/Node/NodeConfigurationCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function handle(): int
1717
{
1818
$column = ctype_digit((string) $this->argument('node')) ? 'id' : 'uuid';
1919

20-
/** @var \Pterodactyl\Models\Node $node */
20+
/** @var Node $node */
2121
$node = Node::query()->where($column, $this->argument('node'))->firstOr(function () {
2222
$this->error('The selected node does not exist.');
2323

app/Console/Commands/Overrides/UpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ public function handle(): int
2121
return 1;
2222
}
2323

24-
return parent::handle() ?? 0;
24+
return parent::handle();
2525
}
2626
}

0 commit comments

Comments
 (0)