Commit Graph

1418 Commits

Author SHA1 Message Date
Dane Everitt a66d7a3417 Merge branch 'develop' into feature/vuejs 2019-03-09 11:19:07 -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 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
Michael (Parker) Parker 62e68ec66f Fix for Locations PATCH endpoint (#1499) 2019-03-02 13:27:36 -08:00
Lance Pioch db937af616 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-01-26 23:26:15 +00:00
Dane Everitt 136e4b5b7b Fix some issues 2018-12-30 12:45:57 -08:00
Dane Everitt 21ffa08d66 Merge branch 'develop' into feature/vuejs 2018-12-16 14:20:35 -08:00
Oreo Oreoniv c1fb38fb5e Cleanup 2018-12-09 14:40:03 +03:00
Oreo Oreoniv a4a758e202 Fixed StyleCI 2018-12-09 14:29:43 +03:00
Oreo Oreoniv fb51659a04 Fixed checking of the language change 2018-12-09 14:27:30 +03:00
Oreo Oreoniv 04326a0786 Fixed PHPUnit test (Coverage) #1393 2018-12-03 21:09:25 +03:00
Jamsheed Mistri 34b166cde9 StyleCI fixes 2018-12-02 23:42:35 -08:00
Jamsheed Mistri 9cf7432835 Adding bulk reinstall command 2018-12-02 23:39:40 -08:00
Dane Everitt 7c73f21b30 Fix Node daemon secret not being reset, closes #1390 2018-12-02 13:40:12 -08:00
Dane Everitt d6e9770937 Merge branch 'develop' into patch-1 2018-12-02 13:01:31 -08:00
Oreo Oreoniv adcf0c9fee Fixed Failed event
Thank you very much Laravel for not pointing out the changes to be made when upgrading from 5.6 to 5.7
2018-11-28 23:24:43 +03:00
zKoz210 2d7e889bcc Fixed StyleCI 2018-11-26 03:28:14 +03:00
zKoz210 0b4b1a3443 Initial update 2018-11-26 03:25:18 +03:00
Matthew Penner 0cbedd9c90 Fix LocationController#store() 2018-11-19 22:04:05 -07:00
Matthew Penner 4ad9b2627b Fix StoreLocationRequest namespace 2018-11-19 22:03:03 -07:00
Matthew Penner afe128042f Wait a second, that method doesn't return an array 2018-11-19 21:54:15 -07:00
Dane Everitt 9b654d2c76 Fix bug with client API denying access to routes, closes #1366 2018-11-10 15:27:50 -08:00
Dane Everitt a9fa60a6fb Respect pagination settings on frontend
closes #1335
2018-11-10 12:38:35 -08:00
Dane Everitt d2991eafa1 Merge pull request #1363 from pterodactyl/feature/remove-phraseapp
Remove phraseapp because we no longer use it
2018-11-10 12:16:18 -08:00
mrkrabs 8ef368faa4 Rename app/Http/Controllers/API/Remote/ValidateKeyController.php to app/Http/Controllers/Api/Remote/ValidateKeyController.php 2018-11-07 18:17:27 +02:00
mrkrabs 7c64492557 Rename app/Http/Controllers/API/Remote/SftpController.php to app/Http/Controllers/Api/Remote/SftpController.php 2018-11-07 18:17:08 +02:00
mrkrabs c9e207c15d Rename app/Http/Controllers/API/Remote/EggRetrievalController.php to app/Http/Controllers/Api/Remote/EggRetrievalController.php 2018-11-07 18:16:50 +02:00
mrkrabs cfbdf07b80 Rename app/Http/Controllers/API/Remote/EggInstallController.php to app/Http/Controllers/Api/Remote/EggInstallController.php 2018-11-07 18:16:28 +02:00
Dane Everitt dd9730b5f8 Return permissions string when authenticating SFTP 2018-11-04 11:09:42 -08:00
Lance Pioch fb13305641 Delete PhraseAppTranslator.php 2018-10-24 11:34:49 -04:00
Lance Pioch 74ca11c37d Delete PhraseAppTranslationProvider.php 2018-10-24 11:32:00 -04:00
ayan4m1 c5608b1827 rework UI of mail settings page to allow for saving settings before testing 2018-10-13 21:30:47 -04:00
ayan4m1 8b61175c3b add exception message to fail message for mail test 2018-10-13 21:30:47 -04:00
ayan4m1 df9f0be839 styleci tweaks 2018-10-13 21:30:47 -04:00
ayan4m1 670efa3544 styleci tweaks 2018-10-13 21:30:47 -04:00
ayan4m1 ace58dd1df allow test of mail system no matter the type 2018-10-13 21:30:47 -04:00
ayan4m1 1b03ae2efe remove Log::debug() call 2018-10-13 21:30:47 -04:00
ayan4m1 fd3e5fc73e add SMTP mail tester 2018-10-13 21:30:47 -04:00
Dane Everitt b6205463db Merge branch 'develop' into feature/vuejs 2018-09-23 13:14:46 -07:00
Dane Everitt 29237fd1ef Merge pull request #1330 from ayan4m1/feature/exception-logging
Simple query exception logging
2018-09-18 21:44:29 -07:00
Andrew DeLisa 262ef78fae Allow deletion of multiple allocations at once (#1322) 2018-09-18 21:43:18 -07:00
ayan4m1 9f6875ed61 log query exception message during settings boot 2018-09-16 13:20:57 -04:00