mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-19 11:45:01 +00:00
vuefilemanager broadcast server enhancements
This commit is contained in:
@@ -26,6 +26,7 @@ class StoreBroadcastServiceCredentialsController
|
||||
'PUSHER_APP_CLUSTER' => $request->input('cluster'),
|
||||
'PUSHER_APP_HOST' => '',
|
||||
'PUSHER_APP_PORT' => '',
|
||||
'PUSHER_APP_TLS' => true,
|
||||
],
|
||||
'native' => [
|
||||
'BROADCAST_DRIVER' => 'pusher',
|
||||
@@ -34,7 +35,8 @@ class StoreBroadcastServiceCredentialsController
|
||||
'PUSHER_APP_SECRET' => 'local',
|
||||
'PUSHER_APP_CLUSTER' => 'local',
|
||||
'PUSHER_APP_HOST' => $request->input('host'),
|
||||
'PUSHER_APP_PORT' => $request->input('port'),
|
||||
'PUSHER_APP_PORT' => '',
|
||||
'PUSHER_APP_TLS' => $request->boolean('tls') ? 'true' : 'false',
|
||||
],
|
||||
'none' => [
|
||||
'BROADCAST_DRIVER' => 'null',
|
||||
|
||||
@@ -89,6 +89,9 @@ class StoreEnvironmentSettingsController extends Controller
|
||||
'PUSHER_APP_KEY' => $request->input('broadcast.key'),
|
||||
'PUSHER_APP_SECRET' => $request->input('broadcast.secret'),
|
||||
'PUSHER_APP_CLUSTER' => $request->input('broadcast.cluster'),
|
||||
'PUSHER_APP_HOST' => '',
|
||||
'PUSHER_APP_PORT' => '',
|
||||
'PUSHER_APP_TLS' => true,
|
||||
],
|
||||
'native' => [
|
||||
'BROADCAST_DRIVER' => 'pusher',
|
||||
@@ -97,7 +100,8 @@ class StoreEnvironmentSettingsController extends Controller
|
||||
'PUSHER_APP_SECRET' => 'local',
|
||||
'PUSHER_APP_CLUSTER' => 'local',
|
||||
'PUSHER_APP_HOST' => $request->input('broadcast.host'),
|
||||
'PUSHER_APP_PORT' => $request->input('broadcast.port'),
|
||||
'PUSHER_APP_PORT' => '',
|
||||
'PUSHER_APP_TLS' => $request->boolean('tls') ? 'true' : 'false',
|
||||
],
|
||||
'none' => [
|
||||
'BROADCAST_DRIVER' => 'null',
|
||||
|
||||
@@ -17,7 +17,7 @@ class SetUploadRequestAsFilledController
|
||||
]);
|
||||
|
||||
// Send user notification
|
||||
if (! (is_demo() && $uploadRequest->user->email === 'howdy@hi5ve.digital')) {
|
||||
if ($uploadRequest->user->email !== 'howdy@hi5ve.digital') {
|
||||
$uploadRequest->user->notify(new UploadRequestFulfilledNotification($uploadRequest));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user