Skip to content

Commit e3bbd85

Browse files
committed
Merge branch 'develop' into pr/1129
2 parents 35d108c + 0e1b466 commit e3bbd85

File tree

174 files changed

+1481
-1112
lines changed

Some content is hidden

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

174 files changed

+1481
-1112
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

CHANGELOG.md

Lines changed: 39 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

app/Contracts/Repository/AllocationRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function getUnassignedAllocationIds(int $node): array;
5959
public function getAssignedAllocationIds(int $server): array;
6060

6161
/**
62-
* Return a concated result set of node ips that already have at least one
62+
* Return a concatenated result set of node ips that already have at least one
6363
* server assigned to that IP. This allows for filtering out sets for
6464
* dedicated allocation IPs.
6565
*

app/Contracts/Repository/Daemon/ServerRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function unsuspend(): ResponseInterface;
6262
public function delete(): ResponseInterface;
6363

6464
/**
65-
* Return detials on a specific server.
65+
* Return details on a specific server.
6666
*
6767
* @return \Psr\Http\Message\ResponseInterface
6868
*/

app/Contracts/Repository/DatabaseRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface DatabaseRepositoryInterface extends RepositoryInterface
1919
public function setConnection(string $connection);
2020

2121
/**
22-
* Return the connection to execute statements aganist.
22+
* Return the connection to execute statements against.
2323
*
2424
* @return string
2525
*/

0 commit comments

Comments
 (0)