From: Vincent Vanwaelscappel Date: Wed, 20 Jan 2021 11:25:31 +0000 (+0100) Subject: wait #4173 @2 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b98a1143a600b52a0cc18548b3301a8d2299c650;p=fluidbook-toolbox.git wait #4173 @2 --- diff --git a/app/Fields/HostingFolder.php b/app/Fields/HostingFolder.php new file mode 100644 index 000000000..5dcb49537 --- /dev/null +++ b/app/Fields/HostingFolder.php @@ -0,0 +1,14 @@ +=5.2" + }, + "require-dev": { + "simpletest/simpletest": "dev-master#72de02a7b80c6bb8864ef9bf66d41d2f58f826bd" + }, + "type": "library", + "autoload": { + "psr-0": { + "HTMLPurifier": "library/" + }, + "files": [ + "library/HTMLPurifier.composer.php" + ], + "exclude-from-classmap": [ + "/library/HTMLPurifier/Language/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Edward Z. Yang", + "email": "admin@htmlpurifier.org", + "homepage": "http://ezyang.com" + } + ], + "description": "Standards compliant HTML filter written in PHP", + "homepage": "http://htmlpurifier.org/", + "keywords": [ + "html" + ], + "support": { + "issues": "https://github.com/ezyang/htmlpurifier/issues", + "source": "https://github.com/ezyang/htmlpurifier/tree/master" + }, + "time": "2020-06-29T00:56:53+00:00" + }, { "name": "fideloper/proxy", "version": "4.4.1", @@ -4356,16 +4411,16 @@ }, { "name": "phpoffice/phpspreadsheet", - "version": "1.15.0", + "version": "1.16.0", "source": { "type": "git", "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "a8e8068b31b8119e1daa5b1eb5715a3a8ea8305f" + "reference": "76d4323b85129d0c368149c831a07a3e258b2b50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/a8e8068b31b8119e1daa5b1eb5715a3a8ea8305f", - "reference": "a8e8068b31b8119e1daa5b1eb5715a3a8ea8305f", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/76d4323b85129d0c368149c831a07a3e258b2b50", + "reference": "76d4323b85129d0c368149c831a07a3e258b2b50", "shasum": "" }, "require": { @@ -4382,10 +4437,11 @@ "ext-xmlwriter": "*", "ext-zip": "*", "ext-zlib": "*", + "ezyang/htmlpurifier": "^4.13", "maennchen/zipstream-php": "^2.1", - "markbaker/complex": "^1.5|^2.0", - "markbaker/matrix": "^1.2|^2.0", - "php": "^7.2|^8.0", + "markbaker/complex": "^1.5||^2.0", + "markbaker/matrix": "^1.2||^2.0", + "php": "^7.2||^8.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0", "psr/simple-cache": "^1.0" @@ -4396,7 +4452,7 @@ "jpgraph/jpgraph": "^4.0", "mpdf/mpdf": "^8.0", "phpcompatibility/php-compatibility": "^9.3", - "phpunit/phpunit": "^8.5|^9.3", + "phpunit/phpunit": "^8.5||^9.3", "squizlabs/php_codesniffer": "^3.5", "tecnickcom/tcpdf": "^6.3" }, @@ -4450,9 +4506,9 @@ ], "support": { "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", - "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.15.0" + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.16.0" }, - "time": "2020-10-11T13:20:59+00:00" + "time": "2020-12-31T18:03:49+00:00" }, { "name": "phpoption/phpoption", diff --git a/resources/views/tools/securehosting.blade.php b/resources/views/tools/securehosting.blade.php new file mode 100644 index 000000000..e7d332b4b --- /dev/null +++ b/resources/views/tools/securehosting.blade.php @@ -0,0 +1,27 @@ +@php + $form=new \Cubist\Backpack\Magic\Form(); + $form->setTitle(__('Sécuriser un dossier hosting')); + $form->addField(['name'=>'folder', + 'label'=>__('Dossier à sécuriser'), + 'type'=>'Text', + 'translatable'=>false]); + +@endphp + +@extends(backpack_view('blank')) + +@section('content') + {!! $form !!} +@endsection + +@push('after_scripts') + +@endpush diff --git a/resources/views/tools/sidebar.blade.php b/resources/views/tools/sidebar.blade.php new file mode 100644 index 000000000..40933f66a --- /dev/null +++ b/resources/views/tools/sidebar.blade.php @@ -0,0 +1,13 @@ +@can('tools') + +@endcan diff --git a/resources/views/vendor/backpack/base/inc/sidebar_content.blade.php b/resources/views/vendor/backpack/base/inc/sidebar_content.blade.php index 8d257729b..efc0de2d6 100644 --- a/resources/views/vendor/backpack/base/inc/sidebar_content.blade.php +++ b/resources/views/vendor/backpack/base/inc/sidebar_content.blade.php @@ -33,14 +33,7 @@ @endcanany - +@include('tools.sidebar') @canany(['users:read','company:read','managerolesandpersmissions'])