Commit Graph

162 Commits

Author SHA1 Message Date
DaneEveritt
e15985ea39 Add support for automatically pruning activity logs 2022-05-29 19:45:00 -04:00
DaneEveritt
97a7959096 Support outputting all of the nodes on the instance 2022-05-13 21:49:06 -04:00
DaneEveritt
3f47d7a12c Allow returning the node configuration from the CLI; closes pterodactyl/panel#4047 2022-05-13 21:30:16 -04:00
DaneEveritt
100d4ee726 Remove more unnecessary translations 2022-05-12 17:53:29 -04:00
DaneEveritt
b07fdc100c Don't run schedules when a server is suspended or installing; closes #4008 2022-05-04 20:41:53 -04:00
DaneEveritt
34ffaebd3e Run cs-fix, ensure we only install dependency versions supporting 7.4+ 2022-05-04 19:01:29 -04:00
FabianS
82818414a3 Ability to create nodes with artisan (#3319) 2022-03-28 12:28:16 -07:00
Alex
b8bf537737 cmd(setup): validate email input, closes #3175 (#3716) 2021-12-04 10:52:09 -08:00
Alex
f77932a617 cmd(upgrade): Attempt to gain users attention during upgrade (#3678)
* cmd(upgrade):  Attempt to gain users attention during upgrade

Changes color of the user and group to gain attention, common issue is having wrong user/group which breaks the panel. Outputs termination message when users spam enter skipping the upgrade wondering why it didn't upgrade.

Reminder to update wings, because users forget it.

* cmd(upgrade): Display wings upgrade documentation link
2021-10-10 11:08:22 -07:00
Matthew Penner
81c788f524 cmd(upgrade): fix force and seed flags being ignored (#3519) 2021-08-03 19:48:34 -07:00
Lukas
75d254a6a4 Add support for mailgun API endpoint (#3364) 2021-06-05 08:38:47 -07:00
Matthew Penner
c5b6d0bf45 Fix query to avoid pruning actively running backups (#3379) 2021-05-27 15:33:43 -07:00
Boy132
c56e699985 Separated user from group 2021-04-20 17:39:34 +02:00
Boy132
2f6351ec00 Small fix 2021-04-20 10:08:21 +02:00
Boy132
3ca835e661 Add group input to upgrade command 2021-04-20 10:06:19 +02:00
Alex
76f507656c remove file archive flag 2021-03-08 12:19:20 +02:00
Dane Everitt
00da092e45 Fix tests 2021-01-30 19:12:22 -08:00
Dane Everitt
bf2291357f Just stop people right there. 2021-01-23 16:32:43 -08:00
Dane Everitt
2a8d336336 Ensure slow commands have time to run 2021-01-23 16:29:18 -08:00
Dane Everitt
fd9245b2c5 Make sure we chown the files at the end of the process 2021-01-23 16:27:23 -08:00
Dane Everitt
db5c9b3675 Allow specification of a version 2021-01-23 16:12:13 -08:00
Dane Everitt
fb98b1892d Add simple logic to download and unpack the archive 2021-01-23 16:07:49 -08:00
Dane Everitt
6f3ea462a7 Add command to execute all of the normal upgrade commands for the application 2021-01-23 15:52:57 -08:00
Dane Everitt
fa9431c54d Slightly cleanup 2021-01-23 14:12:15 -08:00
Dane Everitt
c449ca5155 Use more standardized phpcs 2021-01-23 12:33:34 -08:00
Dane Everitt
a043071e3c Update to Laravel 8
Co-authored-by: Matthew Penner <me@matthewp.io>
2021-01-23 12:12:54 -08:00
Matthew Penner
17ca3659c5 Change 'backups.prune_age' default to 6 hours 2020-12-19 11:50:35 -07:00
Matthew Penner
e34d31a58c Allow changing the prune age for backups 2020-12-16 14:15:07 -07:00
Dane Everitt
16f49f8dc1 Close cleanup; only try to run power actions against non-suspended & installed servers; closes #2760 2020-11-29 12:50:22 -08:00
Dane Everitt
bffec5b3dc Don't abort the entire schedule running process if one schedule encounters an exception; closes #2609 2020-10-26 20:16:39 -07:00
Dane Everitt
21d4402a55 Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2020-10-25 15:07:13 -07:00
Dane Everitt
8c6327fd32 Let MySQL do the time logic when looking for tasks 2020-10-25 15:06:54 -07:00
Anders G. Jørgensen
a271b59092 Change SameSite attribute on session cookies to "lax" (#2592) 2020-10-25 13:15:49 -07:00
Nobody
10548c9d8f Update message and update query 2020-10-17 18:26:34 +01:00
Dane Everitt
49ddd63dbd Do not allow running the up or seed commands if migrations have not been run 2020-10-12 20:51:35 -07:00
Dane Everitt
d8c338df3e Update all remaining code pathways to use new search tooling 2020-09-13 12:21:44 -07:00
Dane Everitt
e3178ba6f0 backend: support is_successful state for backups rather than deleting it when failing
This allows the UI to correctly show failed backups to the user and require them to manually delete those backups, rather than them mysteriously disappearing.

We can also hook into this later to send a notification to the user when the backup fails.
2020-08-20 21:07:53 -07:00
Dane Everitt
6066fa40f4 Prune server backups from the DB after 30 minutes if they still have not completed 2020-08-20 20:48:08 -07:00
Dane Everitt
2ed3763d21 cs fix 2020-06-28 15:43:44 -07:00
Matthew Penner
ea8f7bb5b6 Merge branch 'develop' into enhancement/new-server-admin 2020-04-11 23:04:48 -06:00
Dane Everitt
60f6e86b8b Remove all of the old references to unused interfaces outside the test code 2020-04-11 15:35:32 -07:00
Matthew Penner
432e28b6bb Fix all StyleCI errors and probably break everything in the process 2020-04-11 14:07:40 -06:00
SmokingIsBadMkay
bf6da15fba Improved non-interactive command support (#1824)
The following commands no longer need confirmation when the input is not interactive:

 - server:bulk-power
 - server:reinstall
2020-02-08 13:30:49 -08:00
Dane Everitt
34ffcdae7a Remove unnecessary API calls to daemon 2019-12-22 13:45:40 -08:00
Dane Everitt
086018751d Add underlying code to handle authenticating websocket credentials 2019-09-08 17:48:37 -07:00
Dane Everitt
7543ef085d Format files 2019-09-05 21:32:57 -07:00
Dane Everitt
161e0f6165 Deprecate old way of using repositories for daemon things 2019-09-05 20:33:27 -07:00
Dane Everitt
1c5b9dbb87 [L6] Update cursor() calls to work with new lazy collections 2019-09-04 21:05:46 -07:00
Dane Everitt
2c0503c593 [L6] Initial run, getting all dependencies in line 2019-09-04 20:19:01 -07:00
Dane Everitt
81143e231a Merge branch 'master' into develop 2019-08-04 13:49:26 -07:00