diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d7b219cf..35d6ff054 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines. ### Added * Login attempts and pasword reset requests are now protected by invisible ReCaptcha. This feature can be disabled with a `.env` variable. * Server listing for individual users is now searchable on the front-end. +* Servers that a user is assocaited with as a subuser are now displayed in addition to owned servers when listing users in the Admin CP. ### Changed * Subuser permissions are now stored in `Permission::list()` to make views way cleaner and make adding to views significantly cleaner. @@ -22,6 +23,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines. * Updated all panel components to run on Laravel v5.4 rather than 5.3 which is EOL. * Routes are now handled in the `routes/` folder, and use a significantly cleaner syntax. Controller names and methods have been updated as well to be clearer as well as avoid conflicts with PHP reserved keywords. * API has been completely overhauled to use new permissions system. **Any old API keys will immediately become invalid and fail to operate properly anymore. You will need to generate new keys.** +* Cleaned up dynamic database connection setting to use a single function call from the host model. ## v0.6.0-pre.7 (Courageous Carniadactylus) ### Fixed diff --git a/routes/admin.php b/routes/admin.php index a702e2f5c..0ebe173b0 100644 --- a/routes/admin.php +++ b/routes/admin.php @@ -100,7 +100,6 @@ Route::group(['prefix' => 'users'], function () { Route::group(['prefix' => 'servers'], function () { Route::get('/', 'ServersController@index')->name('admin.servers'); Route::get('/new', 'ServersController@create')->name('admin.servers.new'); - Route::get('/new/nodes', 'ServersController@nodes')->name('admin.servers.new.nodes'); Route::get('/view/{id}', 'ServersController@viewIndex')->name('admin.servers.view'); Route::get('/view/{id}/details', 'ServersController@viewDetails')->name('admin.servers.view.details'); Route::get('/view/{id}/build', 'ServersController@viewBuild')->name('admin.servers.view.build'); @@ -110,6 +109,7 @@ Route::group(['prefix' => 'servers'], function () { Route::get('/view/{id}/delete', 'ServersController@viewDelete')->name('admin.servers.view.delete'); Route::post('/new', 'ServersController@store'); + Route::post('/new/nodes', 'ServersController@nodes')->name('admin.servers.new.nodes'); Route::post('/view/{id}/details', 'ServersController@setDetails'); Route::post('/view/{id}/details/container', 'ServersController@setContainer')->name('admin.servers.view.details.container'); Route::post('/view/{id}/build', 'ServersController@updateBuild');