GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Issues (389)

Branch: master

config/sleeping_owl.php (3 issues)

1
<?php
2
3
return [
4
    /*
5
    |--------------------------------------------------------------------------
6
    | Admin Title
7
    |--------------------------------------------------------------------------
8
    |
9
    | Displayed in title and header.
10
    |
11
    */
12
13
    'title' => 'Sleeping Owl administrator',
14
15
    /*
16
    |--------------------------------------------------------------------------
17
    | Admin Logo
18
    |--------------------------------------------------------------------------
19
    |
20
    | Displayed in navigation panel.
21
    |
22
    */
23
24
    'logo'      => '<svg style="padding:10px;" class="pull-left" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 216.123 216.123" style="enable-background:new 0 0 216.123 216.123;" xml:space="preserve" width="48px" height="48px"><g><path d="M173.65,106.51c6.549-7.024,10.567-16.436,10.567-26.774c0-8.585-2.775-16.529-7.464-23.001   c5.319-16.633,5.063-34.71-0.795-51.16L173.974,0l-5.827,1.03c-12.002,2.121-23.325,6.931-33.201,14.037H81.537v0.252   C71.577,8.071,60.122,3.176,47.977,1.03L42.149,0l-1.985,5.575c-5.858,16.45-6.114,34.527-0.795,51.16   c-4.689,6.472-7.464,14.417-7.464,23.001c0,10.338,4.018,19.75,10.567,26.773c-1.028,0.797-1.846,1.88-2.308,3.179   c-10.874,30.534-2.352,64.292,21.71,86c1.048,0.945,2.171,1.862,3.332,2.761v10.673c0,3.866,3.134,7,7,7s7-3.134,7-7v-2.194   c8.347,3.957,17.834,6.887,27.532,8.373c0.352,0.054,0.706,0.081,1.06,0.081s0.708-0.027,1.06-0.081   c4.446-0.681,16.123-2.878,28.059-8.434v2.255c0,3.866,3.134,7,7,7s7-3.134,7-7v-10.656c1.139-0.883,2.254-1.805,3.332-2.777   c24.062-21.709,32.583-55.466,21.71-86C175.496,108.389,174.678,107.306,173.65,106.51z M107.969,152.066   c-4.506-10.226-11.165-19.465-19.743-27.206c-2.717-2.451-5.583-4.7-8.571-6.748c13.12-2.887,23.804-12.341,28.406-24.734   c4.602,12.393,15.286,21.847,28.406,24.734c-2.988,2.048-5.854,4.297-8.57,6.748C119.346,132.575,112.595,141.88,107.969,152.066z    M71.206,54.436c13.951,0,25.301,11.35,25.301,25.301s-11.35,25.301-25.301,25.301s-25.301-11.35-25.301-25.301   S57.255,54.436,71.206,54.436z M170.218,79.736c0,13.951-11.35,25.301-25.301,25.301s-25.301-11.35-25.301-25.301   s11.35-25.301,25.301-25.301S170.218,65.786,170.218,79.736z M108.041,48.088c-3.04-6.825-7.023-13.231-11.845-19.021h23.699   C115.052,34.867,111.074,41.273,108.041,48.088z M164.562,16.17c2.468,9.767,2.65,20.018,0.566,29.875   c-5.909-3.558-12.824-5.61-20.21-5.61c-7.254,0-14.05,1.983-19.889,5.425c3.327-5.397,7.423-10.367,12.248-14.72   C145.142,24.043,154.479,18.934,164.562,16.17z M51.562,16.17c10.082,2.763,19.419,7.872,27.286,14.97   c4.792,4.324,8.877,9.293,12.205,14.695c-5.83-3.426-12.61-5.401-19.847-5.401c-7.386,0-14.301,2.051-20.21,5.61   C48.912,36.188,49.094,25.937,51.562,16.17z M51.555,120.283c10.084,2.763,19.425,7.873,27.293,14.972   c13.908,12.549,21.704,29.884,21.95,48.812v15.742c-10.093-2.564-21.543-7.294-29.546-14.514   C52.951,168.783,45.553,143.818,51.555,120.283z M144.871,185.295c-7.99,7.21-19.708,11.96-30.073,14.539v-15.766   c0.239-18.349,8.431-36.14,22.478-48.813c7.868-7.1,17.209-12.209,27.293-14.972C170.57,143.818,163.172,168.783,144.871,185.295z" fill="#FFFFFF"/><circle cx="71.206" cy="79.736" r="9.757" fill="#FFFFFF"/><circle cx="144.917" cy="79.736" r="9.757" fill="#FFFFFF"/></g></svg> <span class="pull-left">SleepingOwl</span>',
25
    'logo_mini' => '<svg style="padding:7px;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 216.123 216.123" style="enable-background:new 0 0 216.123 216.123;" xml:space="preserve" width="48px" height="48px"><g><path d="M173.65,106.51c6.549-7.024,10.567-16.436,10.567-26.774c0-8.585-2.775-16.529-7.464-23.001   c5.319-16.633,5.063-34.71-0.795-51.16L173.974,0l-5.827,1.03c-12.002,2.121-23.325,6.931-33.201,14.037H81.537v0.252   C71.577,8.071,60.122,3.176,47.977,1.03L42.149,0l-1.985,5.575c-5.858,16.45-6.114,34.527-0.795,51.16   c-4.689,6.472-7.464,14.417-7.464,23.001c0,10.338,4.018,19.75,10.567,26.773c-1.028,0.797-1.846,1.88-2.308,3.179   c-10.874,30.534-2.352,64.292,21.71,86c1.048,0.945,2.171,1.862,3.332,2.761v10.673c0,3.866,3.134,7,7,7s7-3.134,7-7v-2.194   c8.347,3.957,17.834,6.887,27.532,8.373c0.352,0.054,0.706,0.081,1.06,0.081s0.708-0.027,1.06-0.081   c4.446-0.681,16.123-2.878,28.059-8.434v2.255c0,3.866,3.134,7,7,7s7-3.134,7-7v-10.656c1.139-0.883,2.254-1.805,3.332-2.777   c24.062-21.709,32.583-55.466,21.71-86C175.496,108.389,174.678,107.306,173.65,106.51z M107.969,152.066   c-4.506-10.226-11.165-19.465-19.743-27.206c-2.717-2.451-5.583-4.7-8.571-6.748c13.12-2.887,23.804-12.341,28.406-24.734   c4.602,12.393,15.286,21.847,28.406,24.734c-2.988,2.048-5.854,4.297-8.57,6.748C119.346,132.575,112.595,141.88,107.969,152.066z    M71.206,54.436c13.951,0,25.301,11.35,25.301,25.301s-11.35,25.301-25.301,25.301s-25.301-11.35-25.301-25.301   S57.255,54.436,71.206,54.436z M170.218,79.736c0,13.951-11.35,25.301-25.301,25.301s-25.301-11.35-25.301-25.301   s11.35-25.301,25.301-25.301S170.218,65.786,170.218,79.736z M108.041,48.088c-3.04-6.825-7.023-13.231-11.845-19.021h23.699   C115.052,34.867,111.074,41.273,108.041,48.088z M164.562,16.17c2.468,9.767,2.65,20.018,0.566,29.875   c-5.909-3.558-12.824-5.61-20.21-5.61c-7.254,0-14.05,1.983-19.889,5.425c3.327-5.397,7.423-10.367,12.248-14.72   C145.142,24.043,154.479,18.934,164.562,16.17z M51.562,16.17c10.082,2.763,19.419,7.872,27.286,14.97   c4.792,4.324,8.877,9.293,12.205,14.695c-5.83-3.426-12.61-5.401-19.847-5.401c-7.386,0-14.301,2.051-20.21,5.61   C48.912,36.188,49.094,25.937,51.562,16.17z M51.555,120.283c10.084,2.763,19.425,7.873,27.293,14.972   c13.908,12.549,21.704,29.884,21.95,48.812v15.742c-10.093-2.564-21.543-7.294-29.546-14.514   C52.951,168.783,45.553,143.818,51.555,120.283z M144.871,185.295c-7.99,7.21-19.708,11.96-30.073,14.539v-15.766   c0.239-18.349,8.431-36.14,22.478-48.813c7.868-7.1,17.209-12.209,27.293-14.972C170.57,143.818,163.172,168.783,144.871,185.295z" fill="#FFFFFF"/><circle cx="71.206" cy="79.736" r="9.757" fill="#FFFFFF"/><circle cx="144.917" cy="79.736" r="9.757" fill="#FFFFFF"/></g></svg>',
26
27
    /*
28
    |--------------------------------------------------------------------------
29
    | Admin URL prefix
30
    |--------------------------------------------------------------------------
31
    */
32
33
    'url_prefix' => 'admin',
34
35
    /*
36
     * Subdomain & Domain support routes
37
     */
38
    'domain' => false,
39
40
    /*
41
    |--------------------------------------------------------------------------
42
    | Middleware to use in admin routes
43
    |--------------------------------------------------------------------------
44
    |
45
    | In order to create authentication views and routes
46
    | don't forget to execute `php artisan make:auth`.
47
    | See https://laravel.com/docs/5.2/authentication#authentication-quickstart
48
    |
49
    | Note: Please remove 'web' middleware for Laravel 5.1 or older
50
    |
51
    */
52
53
    'middleware' => ['web'],
54
55
    /*
56
    |--------------------------------------------------------------------------
57
    | Env Editor
58
    |--------------------------------------------------------------------------
59
    | Url for env editor
60
    |
61
    */
62
    'env_editor_url' => 'env/editor',
63
64
    /*
65
     * Excluded keys
66
     */
67
    'env_editor_excluded_keys' => [
68
        'APP_KEY', 'DB_*',
69
    ],
70
71
    /*
72
     * Env editor middlewares
73
     */
74
    'env_editor_middlewares' => [],
75
76
    /*
77
     * Show link in navigation
78
     */
79
    'show_editor' => false,
80
81
    /*
82
     * --------------------------------------------------------------------------
83
     * Add your policy class here.
84
     * --------------------------------------------------------------------------
85
     */
86
    //    'env_editor_policy' => \Admin\Policies\EnvPolicy::class,
0 ignored issues
show
Unused Code Comprehensibility introduced by
50% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
87
88
    /*
89
    |--------------------------------------------------------------------------
90
    | Authentication default provider
91
    |--------------------------------------------------------------------------
92
    |
93
    | @see config/auth.php : providers
94
    |
95
    */
96
97
    'auth_provider' => 'users',
98
99
    /*
100
    |--------------------------------------------------------------------------
101
    |  Path to admin bootstrap files directory
102
    |--------------------------------------------------------------------------
103
    |
104
    | Default: app_path('Admin')
105
    |
106
    */
107
108
    'bootstrapDirectory' => app_path('Admin'),
109
110
    /*
111
    |--------------------------------------------------------------------------
112
    |  Directory for uploaded images (relative to `public` directory)
113
    |--------------------------------------------------------------------------
114
    */
115
116
    'imagesUploadDirectory' => 'images/uploads',
117
118
    /*
119
    |--------------------------------------------------------------------------
120
    |  Directory for uploaded files (relative to `public` directory)
121
    |--------------------------------------------------------------------------
122
    */
123
124
    'filesUploadDirectory' => 'files/uploads',
125
126
    /*
127
    |--------------------------------------------------------------------------
128
    |  Admin panel template
129
    |--------------------------------------------------------------------------
130
    */
131
132
    'template' => SleepingOwl\Admin\Templates\TemplateDefault::class,
133
134
    /*
135
    |--------------------------------------------------------------------------
136
    |  Default date and time formats
137
    |--------------------------------------------------------------------------
138
    */
139
140
    'datetimeFormat' => 'd-m-Y H:i',
141
    'dateFormat'     => 'd-m-Y',
142
    'timeFormat'     => 'H:i',
143
    'timezone'       => 'UTC',
144
145
    /*
146
    |--------------------------------------------------------------------------
147
    | Editors
148
    |--------------------------------------------------------------------------
149
    |
150
    | Select default editor and tweak options if needed.
151
    |
152
    */
153
154
    'wysiwyg'     => [
155
        'default'   => 'ckeditor',
156
157
        /*
158
         * See http://docs.ckeditor.com/#!/api/CKEDITOR.config
159
         */
160
        'ckeditor'  => [
161
            'defaultLanguage' => config('app.locale'),
162
            'height'       => 200,
163
            'allowedContent' => true,
164
            'extraPlugins' => 'uploadimage,image2,justify,youtube,uploadfile',
165
            /*
166
             * WARNING!!!! CKEDITOR on D & D and UploadImageDialog
167
             * BY DEFAULT IMAGES WILL STORE TO imagesUploadDirectory = /images/uploads
168
             */
169
170
            //'uploadUrl'            => '/path/to/your/action',
0 ignored issues
show
Unused Code Comprehensibility introduced by
67% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
171
            //'filebrowserUploadUrl' => '/path/to/your/action',
0 ignored issues
show
Unused Code Comprehensibility introduced by
67% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
172
        ],
173
174
        /*
175
         * See https://www.tinymce.com/docs/
176
         */
177
        'tinymce'   => [
178
            'height' => 200,
179
        ],
180
181
        /*
182
         * See https://github.com/NextStepWebs/simplemde-markdown-editor
183
         */
184
        'simplemde' => [
185
            'hideIcons' => ['side-by-side', 'fullscreen'],
186
        ],
187
    ],
188
189
    /*
190
    |--------------------------------------------------------------------------
191
    | DataTables
192
    |--------------------------------------------------------------------------
193
    |
194
    | Select default settings for datatable
195
    |
196
    */
197
    'datatables'  => [],
198
199
    /*
200
    |--------------------------------------------------------------------------
201
    | Breadcrumbs
202
    |--------------------------------------------------------------------------
203
    |
204
    */
205
    'breadcrumbs' => true,
206
207
    /*
208
    |--------------------------------------------------------------------------
209
    | Class Aliases
210
    |--------------------------------------------------------------------------
211
    |
212
    | This array of class aliases will be registered when this application
213
    | is started.
214
    |
215
    */
216
217
    'aliases' => [
218
        // Components
219
        'Assets'              => KodiCMS\Assets\Facades\Assets::class,
220
        'PackageManager'      => KodiCMS\Assets\Facades\PackageManager::class,
221
        'Meta'                => KodiCMS\Assets\Facades\Meta::class, // will destroy
222
        'Form'                => Collective\Html\FormFacade::class,
223
        'HTML'                => Collective\Html\HtmlFacade::class,
224
        'WysiwygManager'      => SleepingOwl\Admin\Facades\WysiwygManager::class,
225
        'MessagesStack'       => SleepingOwl\Admin\Facades\MessageStack::class,
226
227
        // Presenters
228
        'AdminSection'        => SleepingOwl\Admin\Facades\Admin::class,
229
        'AdminTemplate'       => SleepingOwl\Admin\Facades\Template::class,
230
        'AdminNavigation'     => SleepingOwl\Admin\Facades\Navigation::class,
231
        'AdminColumn'         => SleepingOwl\Admin\Facades\TableColumn::class,
232
        'AdminColumnEditable' => SleepingOwl\Admin\Facades\TableColumnEditable::class,
233
        'AdminColumnFilter'   => SleepingOwl\Admin\Facades\TableColumnFilter::class,
234
        'AdminDisplayFilter'  => SleepingOwl\Admin\Facades\DisplayFilter::class,
235
        'AdminForm'           => SleepingOwl\Admin\Facades\Form::class,
236
        'AdminFormElement'    => SleepingOwl\Admin\Facades\FormElement::class,
237
        'AdminDisplay'        => SleepingOwl\Admin\Facades\Display::class,
238
        'AdminWidgets'        => SleepingOwl\Admin\Facades\Widgets::class,
239
    ],
240
];
241