Commit graph

4338 commits

Author SHA1 Message Date
Dane Everitt
811026895b
Update support for moving/renaming files and folders 2019-05-04 16:04:59 -07:00
Martin Gafert
cd7ec731dc Change Console Chart yAxes to start at 0 and calculate maximum depending on server config (#1535)
* Change Console Chart to start yAxes at 0

* Add calculation for Console Chart yAxes maximum if data is recieved

* Fix problem with calculating memory maximum
2019-05-02 12:25:03 -04:00
Dane Everitt
eed4be49ab
Fix data being passed along to daemon 2019-05-01 21:58:35 -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
ec87330a81
Merge branch 'feature/vuejs' into develop 2019-05-01 21:00:16 -07:00
Dane Everitt
8055b44586
Fix content hash for composer 2019-05-01 20:59:50 -07:00
Dane Everitt
71eae1eb68
Update TwoFactorSetupService.php 2019-05-01 20:57:54 -07:00
Dane Everitt
5c99cae779
Merge branch 'develop' into feature/vuejs 2019-05-01 20:57:49 -07:00
Dane Everitt
c80c8564b8
Switch file manager listing to use panel API endpoint 2019-05-01 20:54:40 -07:00
Dane Everitt
e87c5f6657
Implement basic support for connecting to wings console via websocket rather than socketio 2019-05-01 20:12:20 -07:00
TonisGen
3290d39863 update egg-teamspeak3-server.json (#1575)
* delete ts3 egg

* update egg-teamspeak3-server.json
2019-05-01 23:02:41 -04:00
saibotk
7277b6449b Replace 2FA QR Code generation (#1548)
Due to the Google API for generating the 2FA QR code will be shut down on 14.04.2019, this adds the package "pragmarx/google2fa-qrcode" and updates "pragmarx/google2fa" to version 5.x. 
Due to now using BaconQR, Pterodactyl now needs the php-imagick extension to render the images.
2019-04-27 14:18:12 -04:00
Dane Everitt
0757d8856b
Add base code to support retrieving allocations as a client 2019-03-23 17:47:20 -07:00
Dane Everitt
d59c38eb4e
Fix a fallback route issue causing API calls to return unauth responses and not 404s
The fallback handler isn't scoped to a specific group, so the way this was setup caused requests to non-existent API routes to actually try and return the base view for Vue. This caused a mess of issues because that view is behind the middleware that expect sessions to be set, thus leading to very confusing authentication errors rather than a 404 response.
2019-03-23 17:41:43 -07:00
Arnaud Lier
4460b6835a Match original database password length when doing a password reset (#1509) 2019-03-23 14:04:57 -07:00
Dane Everitt
fa4858f292
Merge pull request #1524 from tenten8401/patch-4
Allow nodes to be created on privileged ports
2019-03-19 09:18:22 -07:00
Dane Everitt
743ae040be
Add accessability buttons to the file rows 2019-03-17 17:49:04 -07:00
Isaac A
38cd8f2962
Allow nodes to be created on privileged ports 2019-03-16 21:18:46 -04:00
Dane Everitt
ce911f827e
Fix file downloading permissions 2019-03-16 17:16:34 -07:00
Dane Everitt
8955b5a660
Initial attempt trying to get file downloading to work 2019-03-16 17:10:04 -07:00
Dane Everitt
4e669771ca
Add support for moving files via the file manager 2019-03-16 16:36:08 -07:00
Dane Everitt
5aa40800c8
Add support for copying a file or folder 2019-03-10 18:42:53 -07:00
Dane Everitt
3970a24218
Migrate the rename action to follow better structure 2019-03-10 15:44:49 -07:00
Dane Everitt
f3159bcec3
Fix prop modification error 2019-03-10 15:15:04 -07:00
Dane Everitt
d6630341b4
Combine logic so we aren't constantly duplicating it 2019-03-10 14:50:44 -07:00
Dane Everitt
25621f4c1c
Push the user into the newly created directory once made 2019-03-10 14:28:24 -07:00
Dane Everitt
66320972be
Improve file deletion logic to not require a refresh 2019-03-10 14:14:47 -07:00
Dane Everitt
6b4bf3eaa7
Add basic file deletion logic 2019-03-09 12:04:29 -08:00
Dane Everitt
ea9cdea08d
Update composer.lock 2019-03-09 11:23:51 -08:00
Dane Everitt
a66d7a3417
Merge branch 'develop' into feature/vuejs 2019-03-09 11:19:07 -08:00
Dane Everitt
6b3f8af02b
Merge pull request #1506 from Sir3lit/patch-9
Update load environment only notice
2019-03-04 09:18:24 -08:00
Sir3lit
babf1262f0
Update Notice
Updates notice to reflect the correct name of the value to edit, less confusion
2019-03-03 23:03:48 -05:00
Dane Everitt
aae67a8a11
Merge branch 'release/v0.7.13' 2019-03-03 14:02:11 -08:00
Dane Everitt
d4facaa2d6
Bump version 2019-03-03 13:58:52 -08:00
Dane Everitt
3411df784a
Use the HttpExceptionInterface rather than a render function here 2019-03-03 13:57:18 -08:00
Dane Everitt
f15449f17b
Fix servers not being marked as install failed 2019-03-03 13:44:28 -08:00
Dane Everitt
cf31d4276c
Fix a bug causing DataIntegrityExceptions to not be caught correctly and cause a second exception... whoops. 2019-03-03 13:42:32 -08:00
Dane Everitt
114afb8646
Fix error transaction handling when creating a server.
There is a bug in the design of the application that affects users who encounter an exception under certain code pathways who are using the database to maintain their sessions.

What is happening is that a transaction is started, and I made the mistake of just assuming it would auto-rollback once the exception was caught by the handler. This is technically true, since once the request terminates the transaction is discarded by the SQL server. However, this also means that the session data set on that request would not be persisted as it runs in a middleware termination function, after the transaction is started.

Theoretically this would also affect any other terminable middleware as well, but the session is the only one I can think of right now

Co-Authored-By: Oreo Oreoniv <zkoz210@users.noreply.github.com>
Co-Authored-By: Stepan Fedotov <trixterthetux@users.noreply.github.com>
2019-03-02 18:28:28 -08:00
Dane Everitt
ca193deee4
Fix some composer lock issues 2019-03-02 16:52:03 -08:00
Havila
fa2fad73dc Update egg-garrys-mod.json (#1483) 2019-03-02 16:02:22 -08:00
Dane Everitt
d9593b23ab
Paginate server results when viewing a node, closes #1404 2019-03-02 15:58:56 -08:00
Dane Everitt
50eb2a10ad
Fixes redis password saving, closes #1428 2019-03-02 15:38:46 -08:00
Dane Everitt
8253246955
Prevent an exception when creating databases with the same name on multiple hosts.
closes #1456
2019-03-02 15:31:25 -08:00
Dane Everitt
91c9cbba6f
[#1500] Correctly require disk_overallocate 2019-03-02 14:48:05 -08:00
Dane Everitt
50c5ab92aa
[#1500] Add support for limits array or base level values 2019-03-02 14:44:59 -08:00
Dane Everitt
a4d7985e51
[#1500] Fix allocation limit being required even though it isn't used. 2019-03-02 14:27:01 -08:00
Dane Everitt
01e006a308
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2019-03-02 13:32:50 -08:00
Dane Everitt
a8db9c72cc
Disable codecov commenting on PRs 2019-03-02 13:32:33 -08:00
Michael (Parker) Parker
62e68ec66f Fix for Locations PATCH endpoint (#1499) 2019-03-02 13:27:36 -08:00
Michael (Parker) Parker
807d075435 Replace Spigot with Paper (#1501)
Replace Spigot as the default server with plugin support with paper.

Paper can be freely downloaded without the need to build the server jar every time.

This egg still allows for the download like to be supplied to download whatever jar a user wants.
2019-03-02 13:22:22 -08:00