Matthew Penner
7ed2be50fd
php-cs-fixer and phpstan
2022-12-14 18:04:16 -07:00
Matthew Penner
67bf3e342e
api(application): v2 backport
2022-12-14 17:05:46 -07:00
Matthew Penner
4138fb7497
Merge branch '1.0-develop' into develop
2022-12-12 16:23:11 -07:00
Matthew Penner
428311e854
database: fix mail settings migration
2022-12-12 15:47:48 -07:00
Matthew Penner
3ea6d45cda
php-cs-fixer
2022-11-29 10:53:59 -07:00
Lance Pioch
a1a52754ad
chore: add phpstan static analysis minimum ( #4511 )
2022-11-28 09:56:03 -07:00
Lance Pioch
3bf5a71802
PostgreSQL Support ( #4486 )
...
Co-authored-by: Matthew Penner <matthew@pterodactyl.io>
2022-11-25 13:29:04 -07:00
Lance Pioch
a4f6870518
server: track reinstall failures differently from initial install failures ( #4531 )
2022-11-21 13:53:54 -07:00
Boy132
032e4f2e31
Apply node maintenance mode to servers ( #4421 )
2022-11-06 16:02:30 -07:00
Boy132
f2095e815e
Allow users to change the server description ( #4420 )
2022-10-31 10:20:53 -06:00
Lance Pioch
548affba84
Fix linting ( #4504 )
2022-10-29 17:58:55 -06:00
Matthew Penner
7266c66ebf
un-type getRulesForUpdate; fixes #4463
2022-10-23 18:14:50 -06:00
Matthew Penner
cbcf62086f
Upgrade to Laravel 9 ( #4413 )
...
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00
Matthew Penner
815e1e4c4d
Ensure server is not in a conflicting state before initiating a transfer ( #4403 )
2022-10-04 19:57:24 -06:00
Matthew Penner
68e9100e57
admin(eggs): add force_outgoing_ip
option ( #4323 )
...
Closes #3841
2022-09-25 13:24:54 -06:00
Matthew Penner
8e1a21563e
server: add configuration for install notifications ( #4331 )
...
* server: track `installed_at`, only send install notification on first install
* server: add configuration for install notifications
2022-09-25 13:16:58 -06:00
DaneEveritt
f8c48214a5
Track file uploads on Wings, not the panel
2022-07-24 17:13:17 -04:00
DaneEveritt
43156e8d53
Improve error messaging for validation exceptions
2022-06-26 16:31:48 -04:00
DaneEveritt
0520014c0f
Add support for tracking when an activity event is triggered from an API key
2022-06-18 12:07:44 -04:00
DaneEveritt
92c1c162af
Code cleanup for facades
2022-06-18 12:07:32 -04:00
DaneEveritt
2f1c8ae91d
Add basic server activity log view
2022-06-12 15:16:48 -04:00
DaneEveritt
d1da46c5aa
Fix incorrect API definitions
2022-06-05 18:28:08 -04:00
DaneEveritt
a5521ecb79
Add support for returning transforming activity logs on the front-end
2022-05-29 20:34:48 -04:00
DaneEveritt
e15985ea39
Add support for automatically pruning activity logs
2022-05-29 19:45:00 -04:00
DaneEveritt
9b7af02690
Add activity logging to most of the endpoints
2022-05-29 19:26:28 -04:00
DaneEveritt
287fd60891
Log activity when modifying account details
2022-05-29 18:48:35 -04:00
DaneEveritt
0b2c0db170
Remove last references to audit logs
2022-05-29 18:20:54 -04:00
DaneEveritt
0621d8475d
Return tests to passing now that we don't ignore a critical event...
2022-05-29 17:52:14 -04:00
DaneEveritt
09832cc558
Ensure we can properly create an activity log entry; always return soft-deleted models
2022-05-29 17:07:54 -04:00
DaneEveritt
2fc5a734f9
Update backup logic to use activity logs, not audit logs
2022-05-29 16:19:04 -04:00
DaneEveritt
cbecfff6da
Add activity logging for files
2022-05-29 13:56:39 -04:00
DaneEveritt
0999ad7ff0
Add activity logging for authentication events
2022-05-28 17:03:58 -04:00
DaneEveritt
5bb66a00d8
Add new activity logging code to replace audit log
2022-05-28 15:36:26 -04:00
DaneEveritt
b051718afe
Fix up API handling logic for keys and set a prefix on all keys
2022-05-22 19:03:51 -04:00
DaneEveritt
f7fc67344e
Ensure tokens are found in the database using the expected logic
2022-05-22 16:05:58 -04:00
DaneEveritt
bd37978a98
Initial pass at implementing Laravel Sanctum for authorization on the API
2022-05-22 14:57:06 -04:00
DaneEveritt
e313dff674
Massively simplify API binding logic
...
Changes the API internals to use normal Laravel binding which automatically supports nested-models and can determine their relationships. This removes a lot of confusingly complex internal logic and replaces it with standard Laravel code.
This also removes a deprecated "getModel" method and fully replaces it with a "parameter" method that does stricter type-checking.
2022-05-22 14:10:01 -04:00
DaneEveritt
6554164252
Add test coverage for the SSH key endpoints
2022-05-14 18:08:48 -04:00
DaneEveritt
97280a62a2
Add support for storing SSH keys on user accounts
2022-05-14 17:31:53 -04:00
DaneEveritt
5705d7dbdd
Run php-cs-fixer
2022-05-14 16:03:50 -04:00
DaneEveritt
c8faf64059
Support naming docker images on eggs; closes #4052
...
Bumps PTDL_v1 export images to PTDL_v2, updates the Minecraft specific eggs to use named images.
2022-05-07 17:45:22 -04:00
DaneEveritt
e88d24e0db
Don't allow allocations to be deleted by users if no limit is defined; closes #3703
2022-05-07 15:05:28 -04:00
DaneEveritt
c751ce7f44
Allow more values for remote field when creating a database; closes #3842
2022-05-07 14:17:10 -04:00
Matthew Penner
1eaf411cb4
node: lowercase fqdn in letsencrypt path ( #3890 )
2022-01-17 19:56:57 -07:00
Dane Everitt
7b429831ce
Fix missing user agent headers to store an empty string rather than null value
2021-09-11 13:00:53 -07:00
Dane Everitt
25d9ba4779
Run php-cs-fixer
2021-08-15 17:20:36 -07:00
Matthew Penner
970f281859
backups: default is_successful to false ( #3522 )
...
* backups: default is_successful to false
* backups: properly query backups
2021-08-03 19:45:25 -07:00
ClumsyAdmin
57987c0f79
Update Allocation.php ( #3468 )
...
Max port typo
2021-07-17 10:02:15 -07:00
Dane Everitt
d3e3b1db38
Test that a deleted backup makes an audit log entry
2021-07-11 12:15:39 -07:00
Dane Everitt
5d5e4ca7b1
Add support for locking backups to prevent any accidental deletions
2021-05-03 21:26:09 -07:00