Skip to content

Commit d7ab24a

Browse files
authored
Merge pull request pterodactyl#2 from pterodactyl/develop
Keep up to date
2 parents 5694633 + 3078b61 commit d7ab24a

File tree

245 files changed

+4201
-1443
lines changed

Some content is hidden

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

245 files changed

+4201
-1443
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ APP_TIMEZONE=America/New_York
66
APP_CLEAR_TASKLOG=720
77
APP_DELETE_MINUTES=10
88
APP_ENVIRONMENT_ONLY=true
9+
LOG_CHANNEL=daily
910

1011
DB_HOST=127.0.0.1
1112
DB_PORT=3306

.env.travis

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ APP_THEME=pterodactyl
55
APP_TIMEZONE=UTC
66
APP_URL=http://localhost/
77

8-
DB_HOST=127.0.0.1
9-
DB_DATABASE=travis
10-
DB_USERNAME=root
11-
DB_PASSWORD=""
8+
TESTING_DB_HOST=127.0.0.1
9+
TESTING_DB_DATABASE=travis
10+
TESTING_DB_USERNAME=root
11+
TESTING_DB_PASSWORD=""
1212

1313
CACHE_DRIVER=array
1414
SESSION_DRIVER=array

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!---
22
Please take a little time to submit a good issue. It makes our life easier and the issue will be resolved quicker.
33
4+
!!! GitHub is NOT the place for difficulties setting up this software. Please use it for bugs and feature requests only. If you have issues setting up the panel or the daemon visit our Discord server: https://pterodactyl.io/discord
5+
46
If you are submitting a feature request please remove everything in here. Then give a detailed explanation what you want to have implemented and why that would be a good addition.
57
68
Please also try to give the issue a good title: It should summarize your issue in a few words and help us see what the issue is about in a glance. Things like "Panel is not working" do not help.

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ before_script:
1414
- echo 'opcache.enable_cli=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
1515
- cp .env.travis .env
1616
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
17-
- php artisan migrate --seed
1817
script:
19-
- vendor/bin/phpunit --coverage-clover coverage.xml
18+
- vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-clover coverage.xml tests/Unit
19+
- vendor/bin/phpunit tests/Integration
2020
notifications:
2121
email: false
2222
webhooks:

CHANGELOG.md

Lines changed: 59 additions & 29 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ We're glad you want to help us out and make this panel the best that it can be!
44
### Project Branches
55
This section mainly applies to those with read/write access to our repositories, but can be helpful for others.
66

7-
The `develop` branch should always be in a runnable state, and not contain any major breaking features. For the most part this means you will need to create `feature/` branches in order to add new functionality, or change how things work. When making a feature branch, if it is referencing something in the issue tracker, please title the branch `feature/PTDL-###` where `###` is the issue number.
7+
The `develop` branch should always be in a runnable state, and not contain any major breaking features. For the most part, this means you will need to create `feature/` branches in order to add new functionality or change how things work. When making a feature branch, if it is referencing something in the issue tracker, please title the branch `feature/PTDL-###` where `###` is the issue number.
88

9-
Moving forward all commits from contributors should be in the form of a PR, unless it is something we have previous discussed as being able to be pushed right into `develop`.
9+
Moving forward all commits from contributors should be in the form of a PR, unless it is something we have previously discussed as being able to be pushed right into `develop`.
1010

11-
All new code should contain unit tests at minimum (where applicable). There is a lot of un-covered code currently, so as you are doing things please be looking for places that you can write tests.
11+
All new code should contain unit tests at a minimum (where applicable). There is a lot of uncovered code currently, so as you are doing things please be looking for places that you can write tests.
1212

1313
### Update the CHANGELOG
14-
When adding something that is new, fixed, changed, or security related for the next release you should be adding a note to the CHANGELOG. If something is changing within the same version (i.e. fixing a bug introduced but not released) it should _not_ go into the CHANGELOG.
14+
When adding something that is new, fixed, changed, or security-related for the next release you should be adding a note to the CHANGELOG. If something is changing within the same version (i.e. fixing a bug introduced but not released) it should _not_ go into the CHANGELOG.
1515

1616
### Code Guidelines
1717
We are a `PSR-4` and `PSR-0` compliant project, so please follow those guidelines at a minimum. In addition, StyleCI runs on all of our code to ensure the formatting is standardized across everything. When a PR is made StyleCI will analyze your code and make a pull to that branch if necessary to fix any formatting issues. This project also ships with a PHP-CS configuration file and you are welcome to configure your local environment to make use of that.
@@ -32,13 +32,13 @@ class ProcessScheduleService
3232
```
3333

3434
### Responsible Disclosure
35-
This is a fairly in-depth project, and makes use of a lot of parts. We strive to keep everything as secure as possible, and welcome you to take a look into it yourself. We do ask that you be considerate of others who are using the software and not publicly disclose security issues without contacting us first by email.
35+
This is a fairly in-depth project and makes use of a lot of parts. We strive to keep everything as secure as possible and welcome you to take a look at the code provided in this project yourself. We do ask that you be considerate of others who are using the software and not publicly disclose security issues without contacting us first by email.
3636

3737
We'll make a deal with you: if you contact us by email and we fail to respond to you within a week you are welcome to publicly disclose whatever issue you have found. We understand how frustrating it is when you find something big and no one will respond to you. This holds us to a standard of providing prompt attention to any issues that arise and keeping this community safe.
3838

3939
If you've found what you believe is a security issue please email us at `support@pterodactyl.io`.
4040

4141
### Where to find Us
42-
You can find us in a couple places online. First and foremost, we're active right here on Github. If you encounter a bug or other problem open an issue on here for us to take a look at it. We also accept feature requests here as well.
42+
You can find us in a couple places online. First and foremost, we're active right here on Github. If you encounter a bug or other problems, open an issue on here for us to take a look at it. We also accept feature requests here as well.
4343

4444
You can also find us on [Discord](https://pterodactyl.io/discord). In the event that you need to get in contact with us privately feel free to contact us at `support@pterodactyl.io`. Try not to email us with requests for support regarding the panel, we'll probably just direct you to our Discord.

app/Console/Commands/Environment/AppSettingsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class AppSettingsCommand extends Command
5858
* @var string
5959
*/
6060
protected $signature = 'p:environment:setup
61-
{--new-salt : Wether or not to generate a new salt for Hashids.}
61+
{--new-salt : Whether or not to generate a new salt for Hashids.}
6262
{--author= : The email that services created on this instance should be linked to.}
6363
{--url= : The URL that this Panel is running on.}
6464
{--timezone= : The timezone to use for Panel times.}

app/Console/Commands/Environment/EmailSettingsCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function __construct(ConfigRepository $config)
5959

6060
/**
6161
* Handle command execution.
62+
* @throws \Pterodactyl\Exceptions\PterodactylException
6263
*/
6364
public function handle()
6465
{

app/Console/Commands/InfoCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function handle()
8484
['Host', $this->config->get("database.connections.{$driver}.host")],
8585
['Port', $this->config->get("database.connections.{$driver}.port")],
8686
['Database', $this->config->get("database.connections.{$driver}.database")],
87-
['Usernamne', $this->config->get("database.connections.{$driver}.username")],
87+
['Username', $this->config->get("database.connections.{$driver}.username")],
8888
], 'compact');
8989

9090
$this->output->title('Email Configuration');

app/Console/Commands/Server/BulkPowerActionCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class BulkPowerActionCommand extends Command
3131
*/
3232
protected $signature = 'p:server:bulk-power
3333
{action : The action to perform (start, stop, restart, kill)}
34-
{--servers= : A comma seperated list of servers.}
35-
{--nodes= : A comma seperated list of nodes.}';
34+
{--servers= : A comma separated list of servers.}
35+
{--nodes= : A comma separated list of nodes.}';
3636

3737
/**
3838
* @var string

0 commit comments

Comments
 (0)