Files
animethemes-server/config/flags.php
T
paranarimasu 8b6b196c99 feat(admin): migrate db dumps from github to platform (#465)
* feat: migrate encoding scripts from github to platform

* style: fix StyleCI finding

* fix: don't concatenate updated videos when attempting to attach entry on video upload

* fix(api): fix field dependencies & feat(admin): upload script from video detail screen
2022-09-24 00:01:37 -05:00

86 lines
2.9 KiB
PHP

<?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Allow Video Streams
|--------------------------------------------------------------------------
|
| When video streams are allowed, requests to the video.show route will
| stream video. If disabled, requests to the video.show route will
| raise a 403 Forbidden response.
|
*/
'allow_video_streams' => (bool) env('ALLOW_VIDEO_STREAMS', false),
/*
|--------------------------------------------------------------------------
| Allow Audio Streams
|--------------------------------------------------------------------------
|
| When audio streams are allowed, requests to the audio.show route will
| stream audio. If disabled, requests to the audio.show route will
| raise a 403 Forbidden response.
|
*/
'allow_audio_streams' => (bool) env('ALLOW_AUDIO_STREAMS', false),
/*
|--------------------------------------------------------------------------
| Allow Discord Notifications
|--------------------------------------------------------------------------
|
| When discord notifications are allowed, event listeners shall send discord
| notifications to the configured discord channel through the configured bot.
| If discord notifications are not allowed, event listeners shall not send
| discord notifications.
|
*/
'allow_discord_notifications' => (bool) env('ALLOW_DISCORD_NOTIFICATIONS', false),
/*
|--------------------------------------------------------------------------
| Allow View Recording
|--------------------------------------------------------------------------
|
| When set to true, a view will be created for the viewable model in the show
| action of the resource controller. When set to false, a view will not be
| recorded.
|
*/
'allow_view_recording' => (bool) env('ALLOW_VIEW_RECORDING', false),
/*
|--------------------------------------------------------------------------
| Allow Dump Downloading
|--------------------------------------------------------------------------
|
| When dump downloads are allowed, requests to the dump.show route will
| download dumps. If disabled, requests to the dump.show route will
| raise a 403 Forbidden response.
|
*/
'allow_dump_downloading' => (bool) env('ALLOW_DUMP_DOWNLOADING', false),
/*
|--------------------------------------------------------------------------
| Allow Script Downloading
|--------------------------------------------------------------------------
|
| When script downloads are allowed, requests to the videoscript.show route will
| download scripts. If disabled, requests to the videoscript.show route will
| raise a 403 Forbidden response.
|
*/
'allow_script_downloading' => (bool) env('ALLOW_SCRIPT_DOWNLOADING', false),
];