refactor: code style changes
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
@@ -235,7 +235,7 @@ return [
|
||||
[
|
||||
'text' => 'Dashboard',
|
||||
'icon' => 'fas fa-tachometer-alt',
|
||||
'url' => '/dashboard'
|
||||
'url' => '/dashboard',
|
||||
],
|
||||
[
|
||||
'header' => 'h_applications',
|
||||
@@ -243,7 +243,7 @@ return [
|
||||
],
|
||||
[
|
||||
'text' => 'm_my_applications',
|
||||
'icon' => 'fas fa-fw fa-list-ul',
|
||||
'icon' => 'fas fa-fw fa-list-ul',
|
||||
'can' => 'applications.view.own',
|
||||
'submenu' => [
|
||||
[
|
||||
@@ -269,7 +269,7 @@ return [
|
||||
],
|
||||
[
|
||||
'header' => 'Human Resources',
|
||||
'can' => 'reviewer.requestAbsence'
|
||||
'can' => 'reviewer.requestAbsence',
|
||||
],
|
||||
[
|
||||
'text' => 'Absence Management',
|
||||
@@ -280,13 +280,13 @@ return [
|
||||
'text' => 'New request',
|
||||
'icon' => 'fas fa-plus',
|
||||
'can' => 'reviewer.requestAbsence',
|
||||
'route' => 'absences.create'
|
||||
'route' => 'absences.create',
|
||||
],
|
||||
[
|
||||
'text' => 'My requests',
|
||||
'icon' => 'fas fa-business-time',
|
||||
'can' => 'reviewer.viewAbsence',
|
||||
'route' => 'showUserAbsences'
|
||||
'route' => 'showUserAbsences',
|
||||
],
|
||||
|
||||
],
|
||||
@@ -295,7 +295,7 @@ return [
|
||||
'text' => 'Absence requests',
|
||||
'icon' => 'fas fa-address-card',
|
||||
'can' => 'admin.manageAbsences',
|
||||
'route' => 'absences.index'
|
||||
'route' => 'absences.index',
|
||||
],
|
||||
[
|
||||
'header' => 'h_app_management',
|
||||
@@ -317,15 +317,15 @@ return [
|
||||
'text' => 'Available Teams',
|
||||
'icon' => 'fas fa-clipboard',
|
||||
'url' => 'teams',
|
||||
'can' => 'teams.view'
|
||||
'can' => 'teams.view',
|
||||
],
|
||||
[
|
||||
'text' => 'Files',
|
||||
'icon' => 'fas fa-file-alt',
|
||||
'url' => 'team/files',
|
||||
'can' => 'teams.view'
|
||||
'can' => 'teams.view',
|
||||
],
|
||||
]
|
||||
],
|
||||
],
|
||||
[
|
||||
'header' => 'h_admin',
|
||||
@@ -583,24 +583,24 @@ return [
|
||||
'location' => '/css/authpages.css',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'BootstrapMultiselectDropdown',
|
||||
'active' => true,
|
||||
'files' => [
|
||||
[
|
||||
'type' => 'js',
|
||||
'asset' => 'false',
|
||||
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js',
|
||||
],
|
||||
[
|
||||
'type' => 'css',
|
||||
'asset' => false,
|
||||
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css',
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'BootstrapMultiselectDropdown',
|
||||
'active' => true,
|
||||
'files' => [
|
||||
[
|
||||
'type' => 'js',
|
||||
'asset' => 'false',
|
||||
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js',
|
||||
],
|
||||
[
|
||||
'type' => 'css',
|
||||
'asset' => false,
|
||||
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
[
|
||||
'name' => 'BootstrapToggleButton',
|
||||
'active' => true,
|
||||
@@ -624,14 +624,14 @@ return [
|
||||
[
|
||||
'type' => 'css',
|
||||
'asset' => false,
|
||||
'location' => 'https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css'
|
||||
'location' => 'https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css',
|
||||
],
|
||||
[
|
||||
'type' => 'js',
|
||||
'asset' => false,
|
||||
'location' => 'https://cdn.jsdelivr.net/npm/flatpickr'
|
||||
]
|
||||
]
|
||||
'location' => 'https://cdn.jsdelivr.net/npm/flatpickr',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'Pusher',
|
||||
@@ -640,9 +640,9 @@ return [
|
||||
[
|
||||
'type' => 'js',
|
||||
'asset' => false,
|
||||
'location' => 'https://js.pusher.com/beams/1.0/push-notifications-cdn.js'
|
||||
]
|
||||
]
|
||||
]
|
||||
'location' => 'https://js.pusher.com/beams/1.0/push-notifications-cdn.js',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
@@ -46,9 +46,6 @@ return [
|
||||
*/
|
||||
'sitehomepage' => env('APP_SITEHOMEPAGE', 'https://google.com'),
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Version
|
||||
@@ -77,7 +74,6 @@ return [
|
||||
*/
|
||||
'force_secure' => env('NONPROD_FORCE_SECURE', false),
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| IP address anonymity
|
||||
@@ -94,7 +90,6 @@ return [
|
||||
*/
|
||||
'hide_ips' => env('HIDE_IPS'),
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Legal documents & source code
|
||||
@@ -351,7 +346,7 @@ return [
|
||||
'ContextAwareValidator' => App\Facades\ContextAwareValidation::class,
|
||||
'Settings' => App\Facades\Options::class,
|
||||
'JSON' => App\Facades\JSON::class,
|
||||
'DiscordOauth' => App\Facades\Discord::class
|
||||
'DiscordOauth' => App\Facades\Discord::class,
|
||||
|
||||
],
|
||||
|
||||
|
@@ -2,6 +2,6 @@
|
||||
|
||||
return [
|
||||
|
||||
'authbanner' => env('APP_AUTH_BANNER')
|
||||
'authbanner' => env('APP_AUTH_BANNER'),
|
||||
|
||||
];
|
||||
|
@@ -52,11 +52,11 @@ return [
|
||||
|
|
||||
*/
|
||||
'storage' => [
|
||||
'enabled' => true,
|
||||
'driver' => 'file', // redis, file, pdo, custom
|
||||
'path' => storage_path('debugbar'), // For file driver
|
||||
'enabled' => true,
|
||||
'driver' => 'file', // redis, file, pdo, custom
|
||||
'path' => storage_path('debugbar'), // For file driver
|
||||
'connection' => null, // Leave null for default connection (Redis/PDO)
|
||||
'provider' => '', // Instance of StorageInterface for custom driver
|
||||
'provider' => '', // Instance of StorageInterface for custom driver
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -121,29 +121,29 @@ return [
|
||||
*/
|
||||
|
||||
'collectors' => [
|
||||
'phpinfo' => true, // Php version
|
||||
'messages' => true, // Messages
|
||||
'time' => true, // Time Datalogger
|
||||
'memory' => true, // Memory usage
|
||||
'exceptions' => true, // Exception displayer
|
||||
'log' => true, // Logs from Monolog (merged in messages if enabled)
|
||||
'db' => true, // Show database (PDO) queries and bindings
|
||||
'views' => true, // Views with their data
|
||||
'route' => true, // Current route information
|
||||
'auth' => false, // Display Laravel authentication status
|
||||
'gate' => true, // Display Laravel Gate checks
|
||||
'session' => true, // Display session data
|
||||
'phpinfo' => true, // Php version
|
||||
'messages' => true, // Messages
|
||||
'time' => true, // Time Datalogger
|
||||
'memory' => true, // Memory usage
|
||||
'exceptions' => true, // Exception displayer
|
||||
'log' => true, // Logs from Monolog (merged in messages if enabled)
|
||||
'db' => true, // Show database (PDO) queries and bindings
|
||||
'views' => true, // Views with their data
|
||||
'route' => true, // Current route information
|
||||
'auth' => false, // Display Laravel authentication status
|
||||
'gate' => true, // Display Laravel Gate checks
|
||||
'session' => true, // Display session data
|
||||
'symfony_request' => true, // Only one can be enabled..
|
||||
'mail' => true, // Catch mail messages
|
||||
'laravel' => false, // Laravel version and environment
|
||||
'events' => false, // All events fired
|
||||
'mail' => true, // Catch mail messages
|
||||
'laravel' => false, // Laravel version and environment
|
||||
'events' => false, // All events fired
|
||||
'default_request' => false, // Regular or special Symfony request logger
|
||||
'logs' => false, // Add the latest log messages
|
||||
'files' => false, // Show the included files
|
||||
'config' => false, // Display config settings
|
||||
'cache' => false, // Display cache events
|
||||
'models' => true, // Display models
|
||||
'livewire' => true, // Display Livewire (when available)
|
||||
'logs' => false, // Add the latest log messages
|
||||
'files' => false, // Show the included files
|
||||
'config' => false, // Display config settings
|
||||
'cache' => false, // Display cache events
|
||||
'models' => true, // Display models
|
||||
'livewire' => true, // Display Livewire (when available)
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -160,16 +160,16 @@ return [
|
||||
'show_name' => true, // Also show the users name/email in the debugbar
|
||||
],
|
||||
'db' => [
|
||||
'with_params' => true, // Render SQL with the parameters substituted
|
||||
'backtrace' => true, // Use a backtrace to find the origin of the query in your files.
|
||||
'with_params' => true, // Render SQL with the parameters substituted
|
||||
'backtrace' => true, // Use a backtrace to find the origin of the query in your files.
|
||||
'backtrace_exclude_paths' => [], // Paths to exclude from backtrace. (in addition to defaults)
|
||||
'timeline' => false, // Add the queries to the timeline
|
||||
'timeline' => false, // Add the queries to the timeline
|
||||
'explain' => [ // Show EXPLAIN output on queries
|
||||
'enabled' => false,
|
||||
'types' => ['SELECT'], // Deprecated setting, is always only SELECT
|
||||
],
|
||||
'hints' => false, // Show hints for common mistakes
|
||||
'show_copy' => false, // Show copy button next to the query
|
||||
'hints' => false, // Show hints for common mistakes
|
||||
'show_copy' => false, // Show copy button next to the query
|
||||
],
|
||||
'mail' => [
|
||||
'full_log' => false,
|
||||
|
@@ -2,6 +2,6 @@
|
||||
|
||||
return [
|
||||
|
||||
'is_enabled' => env('DEMO_MODE', false)
|
||||
'is_enabled' => env('DEMO_MODE', false),
|
||||
|
||||
];
|
||||
|
@@ -78,9 +78,9 @@ return [
|
||||
* One Time Password error message.
|
||||
*/
|
||||
'error_messages' => [
|
||||
'wrong_otp' => 'Your one time code was incorrect.',
|
||||
'wrong_otp' => 'Your one time code was incorrect.',
|
||||
'cannot_be_empty' => 'The one time code cannot be empty.',
|
||||
'unknown' => 'An unknown error has occurred. Please try again.',
|
||||
'unknown' => 'An unknown error has occurred. Please try again.',
|
||||
],
|
||||
|
||||
/*
|
||||
|
@@ -25,9 +25,9 @@ return [
|
||||
// These are sorted by the native name, which is the order you might show them in a language selector.
|
||||
// Regional languages are sorted by their base language, so "British English" sorts as "English, British"
|
||||
'supportedLocales' => [
|
||||
'pt' => ['name' => 'Portuguese', 'script' => 'Latn', 'native' => 'Português', 'regional' => 'pt_PT'],
|
||||
'en' => ['name' => 'English', 'script' => 'Latn', 'native' => 'English', 'regional' => 'en_GB'],
|
||||
'pt-br' => ['name' => 'Brazillian Portuguese', 'script' => 'Latn', 'native' => 'Português do Brasil', 'regional' =>'pt_BR']
|
||||
'pt' => ['name' => 'Portuguese', 'script' => 'Latn', 'native' => 'Português', 'regional' => 'pt_PT'],
|
||||
'en' => ['name' => 'English', 'script' => 'Latn', 'native' => 'English', 'regional' => 'en_GB'],
|
||||
'pt-br' => ['name' => 'Brazillian Portuguese', 'script' => 'Latn', 'native' => 'Português do Brasil', 'regional' => 'pt_BR'],
|
||||
],
|
||||
|
||||
// Requires middleware `LaravelSessionRedirect.php`.
|
||||
|
@@ -17,35 +17,35 @@ return [
|
||||
* Translations strings as key.
|
||||
* They are stored in JSON file for each locale.
|
||||
*/
|
||||
'json' => true,
|
||||
'json' => true,
|
||||
],
|
||||
|
||||
/**
|
||||
* Search criteria for files.
|
||||
*/
|
||||
'search' => [
|
||||
'search' => [
|
||||
/**
|
||||
* Directories which should be looked inside.
|
||||
*/
|
||||
'dirs' => ['resources/views', 'app/Http/Controllers'],
|
||||
'dirs' => ['resources/views', 'app/Http/Controllers'],
|
||||
|
||||
/**
|
||||
* Patterns by which files should be queried.
|
||||
* The values can be a regular expression, glob, or just a string.
|
||||
*/
|
||||
'patterns' => ['*.php'],
|
||||
'patterns' => ['*.php'],
|
||||
|
||||
/**
|
||||
* Functions that the strings will be extracted from.
|
||||
* Add here any custom defined functions.
|
||||
* NOTE: The translation string should always be the first argument.
|
||||
*/
|
||||
'functions' => ['__', 'trans_choice', 'trans', '@lang']
|
||||
'functions' => ['__', 'trans_choice', 'trans', '@lang'],
|
||||
],
|
||||
|
||||
/**
|
||||
* Should the localize command sort extracted strings alphabetically?
|
||||
*/
|
||||
'sort' => true,
|
||||
'sort' => true,
|
||||
|
||||
];
|
||||
|
@@ -67,7 +67,7 @@ return [
|
||||
'renderer' => [
|
||||
'block_separator' => "\n",
|
||||
'inner_separator' => "\n",
|
||||
'soft_break' => "\n",
|
||||
'soft_break' => "\n",
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -88,10 +88,10 @@ return [
|
||||
*/
|
||||
|
||||
'commonmark' => [
|
||||
'enable_em' => true,
|
||||
'enable_strong' => true,
|
||||
'use_asterisk' => true,
|
||||
'use_underscore' => true,
|
||||
'enable_em' => true,
|
||||
'enable_strong' => true,
|
||||
'use_asterisk' => true,
|
||||
'use_underscore' => true,
|
||||
'unordered_list_markers' => ['-', '+', '*'],
|
||||
],
|
||||
|
||||
@@ -150,7 +150,7 @@ return [
|
||||
|
||||
'slug_normalizer' => [
|
||||
'max_length' => 255,
|
||||
'unique' => 'document',
|
||||
'unique' => 'document',
|
||||
],
|
||||
|
||||
];
|
||||
|
@@ -45,10 +45,10 @@ return [
|
||||
'staff_home_roles' => env('DISCORD_HOME_GUILD_ROLES'),
|
||||
|
||||
// optional
|
||||
'allow_gif_avatars' => (bool)env('DISCORD_AVATAR_GIF', true),
|
||||
'allow_gif_avatars' => (bool) env('DISCORD_AVATAR_GIF', true),
|
||||
'avatar_default_extension' => env('DISCORD_EXTENSION_DEFAULT', 'jpg'), // only pick from jpg, png, webp
|
||||
'home_guild' => env('DISCORD_HOME_GUILD'),
|
||||
'staff_guild' => env('DISCORD_STAFF_GUILD', null)
|
||||
'staff_guild' => env('DISCORD_STAFF_GUILD', null),
|
||||
],
|
||||
|
||||
'mailgun' => [
|
||||
@@ -73,6 +73,6 @@ return [
|
||||
],
|
||||
|
||||
'cpanel' => [
|
||||
'api_token' => env('CPANEL_API_TOKEN', null)
|
||||
]
|
||||
'api_token' => env('CPANEL_API_TOKEN', null),
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user