Mackenzie Molloy and DaneEveritt
7576d0d08e
Added support for viewing and deleting of any Application API Keys ( #5176 )
...
This PR closes Issue #5175 .
For context, I am aware that Application API Keys are deprecated in
favour of Client API Keys however they are still operational within
Pterodactyl and thus, not fully removed.
Currently in Pterodactyl, as an Admin, you can only view your
Application API Keys on the Admin Panel. In this PR, I made it so all
Application Keys are visible and deletable. The key strings are
obfuscated if the key does not belong to the user viewing.

The reason for adding this is primarily so other admin users can be
aware of and delete another admin user's Application API keys from the
UI. This functionality is useful in the event of a malicious user
compromising an admin account, creating some API Keys to continue their
attacks and the owner of the compromised admin account being unaware of
Application API Keys. In this instance, even after a password reset, the
attack could continue via the Application API without the admin
realising it.
I've tested the creation and deleting of keys along with using keys via
the Application API to ensure no breakages have occurred.
---------
Co-authored-by: DaneEveritt <dane@daneeveritt.com >
2026-02-11 16:03:35 -08:00
Matthew Penner
8ca098940a
chore: update composer dependencies ( #5198 )
...
Signed-off-by: Matthew Penner <me@matthewp.io >
2024-10-21 19:18:20 -06:00
Matthew Penner and DaneEveritt
cbcf62086f
Upgrade to Laravel 9 ( #4413 )
...
Co-authored-by: DaneEveritt <dane@daneeveritt.com >
2022-10-14 10:59:20 -06:00
Dane Everitt
00da092e45
Fix tests
2021-01-30 19:12:22 -08:00
Dane Everitt
c449ca5155
Use more standardized phpcs
2021-01-23 12:33:34 -08:00
Dane Everitt and Matthew Penner
a043071e3c
Update to Laravel 8
...
Co-authored-by: Matthew Penner <me@matthewp.io >
2021-01-23 12:12:54 -08: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
c00e5b36a5
Return all servers for a node as a paginated response
...
Avoids crashing the PHP process and avoids a bad runaway N+1 query issue that previously existed.
2020-10-31 11:14:28 -07:00
Dane Everitt
8c6327fd32
Let MySQL do the time logic when looking for tasks
2020-10-25 15:06:54 -07:00
Dane Everitt
c1ee0ac4f8
Add support for executing a scheduled task right now
2020-10-14 20:38:59 -07:00
Dane Everitt
8697185900
Fix up database creation and handling code for servers; ref #2447
2020-10-11 11:59:46 -07:00
Dane Everitt
c2db163731
Update node finding service logic to be single query; add test coverage
2020-10-09 22:01:25 -07:00
Dane Everitt
7b57d65edf
Cleanup allocation repository
2020-09-13 12:47:05 -07:00
Dane Everitt
9410a54c98
Removed unused interface functions
2020-09-13 12:37:59 -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
703f55271d
Remove all references to daemon keys from the codebase
2020-09-13 11:38:42 -07:00
Dane Everitt
4dddcaebb0
Start ripping out old search functionality for models
2020-09-13 11:29:47 -07:00
Dane Everitt
3c7ffaaadb
Remove all references of packs from the Panel
2020-09-13 11:13:37 -07:00
Dane Everitt
9a21584c42
Cleanup mount code; automatically include the mount in the configuration
2020-09-13 09:59:54 -07:00
Dane Everitt
d58fd72bf5
Correctly pass along startup variables for a server; closes #2255
2020-08-25 19:11:25 -07:00
Dane Everitt
d3c749ac56
Code cleanup & fix frontend searching servers; closes #2100
2020-07-06 21:25:00 -07:00
Dane Everitt
f0e18ba6f7
Code cleanup
2020-07-06 20:05:42 -07:00
Dane Everitt
2ed3763d21
cs fix
2020-06-28 15:43:44 -07:00
Charles Morgan
82dd7dc8e3
Allow Null = 0
...
Allow Value to be nullable, will autofill 0 if value is null or 0, to facilitate "unlimited" connections.
2020-04-23 10:45:44 -04:00
AreYouScared
f0e4764a11
Add Max Concurrent Connections for database users
...
Closes #1849
Allows database users to be limited to a number of concurrent connections to prevent one user from connecting hundreds of time and bottlenecking the MySQL server.
2020-04-22 06:00:04 -04: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
b5e50719ac
Remove old Theme::js calls in blade layouts. Persist checkboxes, Server Owner, Node, Default Allocation, and Additional Allocations on servers/new.blade.php
2020-04-11 13:56:03 -06:00
Matthew Penner
42fb9fdbd9
Add the ability for a node to fetch a list of all servers it has been assigned
2020-04-10 13:04:11 -06: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
215351eeb3
Merge branch 'develop' into feature/bulk-reinstall-command
2019-07-26 11:04:48 -04:00
Dane Everitt
a8462bf109
Add initial support for opening a file in the file manager, still needs more work
2019-05-25 16:24:13 -07:00
Dane Everitt
d79fe6982f
Add support for file copy and deletion
2019-05-04 17:26:24 -07:00
Dane Everitt
811026895b
Update support for moving/renaming files and folders
2019-05-04 16:04:59 -07:00
Dane Everitt
95d19bf09e
Update logic that handles creation of folders for a server
2019-05-01 21:45:39 -07:00
Dane Everitt
a66d7a3417
Merge branch 'develop' into feature/vuejs
2019-03-09 11:19:07 -08:00
Dane Everitt
d9593b23ab
Paginate server results when viewing a node, closes #1404
2019-03-02 15:58:56 -08:00
Dane Everitt
21ffa08d66
Merge branch 'develop' into feature/vuejs
2018-12-16 14:20:35 -08:00
Jamsheed Mistri
9cf7432835
Adding bulk reinstall command
2018-12-02 23:39:40 -08:00
Dane Everitt
a9fa60a6fb
Respect pagination settings on frontend
...
closes #1335
2018-11-10 12:38:35 -08:00
Dane Everitt
92a9146b61
Improve filemanager, get first level folders listing
2018-08-06 23:14:13 -07:00
Dane Everitt
969b16a563
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2018-06-02 21:32:26 +00:00
Dane Everitt
fd8d7c3571
Merge pull request #1130 from stanjg/feature/stats-page
...
Added a statistics page to monitor the panel usage
2018-05-31 22:56:58 -07:00
stanjg
60e1ffa564
Added a test for the controller and cleaned up the controller
2018-05-27 00:16:13 +02:00
stanjg
86e7085396
Cleaned up the controller and prepared for tests
2018-05-26 20:58:49 +02:00
Dane Everitt
fae5acf99f
Fix bug when loading server owner dropdown
...
closes #1137
2018-05-20 17:00:50 -07:00
Lance Pioch
e2dc0638d9
Fix app/ spelling errors
2018-05-13 11:12:41 -04:00
Dane Everitt
36837df0a6
Use beginning of UUID for server uuidShort
2018-03-03 22:20:53 -06:00