M3 Integration fixes pass 27
This commit is contained in:
@@ -4,7 +4,7 @@ return [
|
|||||||
'name' => 'Documentation',
|
'name' => 'Documentation',
|
||||||
'storage_disk' => env('DOCUMENTATION_DISK', 'public'),
|
'storage_disk' => env('DOCUMENTATION_DISK', 'public'),
|
||||||
'upload_path' => env('DOCUMENTATION_UPLOAD_PATH', 'documentation'),
|
'upload_path' => env('DOCUMENTATION_UPLOAD_PATH', 'documentation'),
|
||||||
'max_upload_kb' => (int) env('DOCUMENTATION_MAX_UPLOAD_KB', 20480),
|
'max_upload_kb' => 1024,
|
||||||
'max_markdown_import_bytes' => (int) env('DOCUMENTATION_MAX_MARKDOWN_IMPORT_BYTES', 1048576),
|
'max_markdown_import_bytes' => (int) env('DOCUMENTATION_MAX_MARKDOWN_IMPORT_BYTES', 1048576),
|
||||||
'import_markdown_attachments' => true,
|
'import_markdown_attachments' => true,
|
||||||
'allowed_upload_mimes' => [
|
'allowed_upload_mimes' => [
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class StoreDocumentationDocumentRequest extends FormRequest
|
|||||||
*/
|
*/
|
||||||
public function rules(): array
|
public function rules(): array
|
||||||
{
|
{
|
||||||
$maxUploadKb = 4096;
|
$maxUploadKb = 1024;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'documentation_category_id' => ['nullable', 'integer', 'exists:documentation_categories,id'],
|
'documentation_category_id' => ['nullable', 'integer', 'exists:documentation_categories,id'],
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class UpdateDocumentationDocumentRequest extends FormRequest
|
|||||||
*/
|
*/
|
||||||
public function rules(): array
|
public function rules(): array
|
||||||
{
|
{
|
||||||
$maxUploadKb = 4096;
|
$maxUploadKb = 1024;
|
||||||
|
|
||||||
/** @var DocumentationDocument|null $document */
|
/** @var DocumentationDocument|null $document */
|
||||||
$document = $this->route('document');
|
$document = $this->route('document');
|
||||||
|
|||||||
Reference in New Issue
Block a user