Commit graph

2702 commits

Author SHA1 Message Date
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
Dane Everitt
d34c737f16
Base delete file view, not actually connected to anything 2019-02-18 21:23:42 -08:00
Dane Everitt
ff820f30ad
Add support for renaming files on the fly in the file manager 2019-02-18 20:41:58 -08:00
Dane Everitt
52115b5c77
This wasnt used 2019-02-18 19:38:03 -08:00
Dane Everitt
c47ceda302
Remove forgotten debugger 2019-02-17 13:29:42 -08:00
Dane Everitt
866b3a3aac
Add support for actually creating that folder on the daemon 2019-02-17 13:29:11 -08:00
Dane Everitt
0b11532a48
Get modal base logic all worked out 2019-02-17 13:03:15 -08:00
Dane Everitt
be7f7d8da8
Add initial support for tracking current FM directory for creating a folder (and other stuff eventually) 2019-02-16 17:54:15 -08:00
Dane Everitt
767e466fd8
Lets be smarter with modals here... 2019-02-16 17:15:56 -08:00
Havila
04fb5de9a1 Add missing ∞ (#1485)
I guess it was left out of https://github.com/pterodactyl/panel/pull/1260
2019-02-16 11:10:12 -08:00
Michael (Parker) Parker
edcea40eab Fix ARK startup config (#1481)
Changes the ARK startup config to actually set the server to running.
2019-02-16 11:08:54 -08:00
Sir3lit
805e895e8e Update installers to use latest Alpine (#1469) 2019-02-16 11:08:01 -08:00
Michael (Parker) Parker
10c7816f39 Fix for stupid forge version grabbing. (#1471)
* Fix for stupid forge version grabbing.

* Needed to correct both version catches.
2019-02-16 11:07:35 -08:00
Dane Everitt
3be7e3e7c8
Update --installation-help.md 2019-02-15 10:56:03 -08:00
Dane Everitt
6fcc5a5afa
Update ---bug-report.md 2019-02-15 10:55:14 -08:00
Dane Everitt
d91cf766ba
Please stop spamming our tracker every. single. day. 2019-02-15 10:54:34 -08:00
Dane Everitt
b6773b56c1
Format all the files 2019-02-09 21:15:45 -08:00
Dane Everitt
5bff8d99cc
Move everything back to vue SFCs 2019-02-09 21:14:58 -08:00
Dane Everitt
761704408e
Fix HMR and backtrack for SFC support now that PHPStorm supports them
Of course I wasted forever migrating OUT of SFCs only to go back to them.
2019-02-09 19:43:11 -08:00
Dane Everitt
626a63ddd9
Some code cleanup 2019-02-09 19:15:18 -08:00
Dane Everitt
40aa3da5de
Migrate last of the SFC's to TS files 2019-02-09 18:46:06 -08:00
Dane Everitt
5cb57af193
Fix power button actions 2019-02-09 17:37:44 -08:00
Dane Everitt
8385ec7feb
Cleanup more filemanager design 2019-02-09 17:26:08 -08:00
Dane Everitt
caca6cff8a
Make the file manager look better 2019-02-09 17:07:11 -08:00
Dane Everitt
ac13f5dce4
Fix a bunch of design inconsistencies and horrible code on server boxes 2019-02-09 16:38:45 -08:00
Dane Everitt
a9fda52065
Begin fixing design to match new colors 2019-02-09 15:17:38 -08:00
Dane Everitt
dfa175326c
Use a better green pallet 2019-02-09 14:50:32 -08:00
Dane Everitt
e62e3babcc
More fixes 2019-02-09 14:48:47 -08:00
Dane Everitt
6e26f1929d
Blues 2019-02-09 14:44:35 -08:00
Dane Everitt
d6feaec202
Fix colors 2019-02-09 14:37:30 -08:00
Dane Everitt
f62c8a0d55
Greens 2019-02-09 14:36:39 -08:00
Dane Everitt
8dcd445df6
Migrate yellows 2019-02-09 14:33:39 -08:00
Dane Everitt
32b43cff9a
Convert color schema, begin migrating old classes (finishes grey & red) 2019-02-09 14:32:18 -08:00
Dane Everitt
6c7a5d5bb9
Finish UI stuff for today 2019-02-03 17:45:22 -08:00
Dane Everitt
89d29cf46b
Assorted UI tweaking 2019-02-03 17:27:19 -08:00
Dane Everitt
a28a9887c1
Rearrange the navigation bar to be laid out more normally 2019-02-03 16:29:08 -08:00
Dane Everitt
378a26a7c5
Finish migrating most everything to TS 2019-02-03 15:39:59 -08:00