Browse Source

Amélioration config de départ + suppression cookieConsent (deprécié)

feature/symfony6.1
Fabien Normand 4 months ago
parent
commit
c3f489d7e4
4 changed files with 27 additions and 127 deletions
  1. +6
    -6
      composer.json
  2. +0
    -115
      composer.jsonOLD
  3. +2
    -5
      config/packages/artgris_file_manager.yaml
  4. +19
    -1
      config/packages/fos_ckeditor.yaml

+ 6
- 6
composer.json View File

@@ -7,12 +7,12 @@
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"artgris/filemanager-bundle": "*",
"artgris/filemanager-bundle": "2.*",
"doctrine/orm": "^2.19",
"easycorp/easyadmin-bundle": "*",
"friendsofsymfony/ckeditor-bundle": "*",
"knplabs/knp-paginator-bundle": "*",
"liip/imagine-bundle": "*",
"easycorp/easyadmin-bundle": "4.*",
"friendsofsymfony/ckeditor-bundle": "2.*",
"knplabs/knp-paginator-bundle": "4.*",
"liip/imagine-bundle": "2.*",
"phpdocumentor/reflection-docblock": "^5.4",
"phpstan/phpdoc-parser": "^1.29",
"stof/doctrine-extensions-bundle": "*",
@@ -44,7 +44,7 @@
"symfony/ux-turbo": "^2.18",
"symfony/validator": "6.4.*",
"symfony/web-link": "6.4.*",
"symfony/webpack-encore-bundle": "*",
"symfony/webpack-encore-bundle": "2.*",
"symfony/yaml": "6.4.*",
"twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0"

+ 0
- 115
composer.jsonOLD View File

@@ -1,115 +0,0 @@
//{
// "type": "project",
// "license": "proprietary",
// "minimum-stability": "dev",
// "prefer-stable": true,
// "require": {
// "php": ">=8.1",
// "ext-ctype": "*",
// "ext-iconv": "*",
// "artgris/filemanager-bundle": "*",
// "composer/package-versions-deprecated": "1.11.99.2",
// "connectholland/cookie-consent-bundle": "^0.11",
// "doctrine/annotations": "^1.0",
// "doctrine/doctrine-bundle": "^2.3",
// "doctrine/doctrine-migrations-bundle": "^3.1",
// "doctrine/orm": "^2.8",
// "dompdf/dompdf": "^1.0",
// "easycorp/easyadmin-bundle": "^4.4",
// "friendsofsymfony/ckeditor-bundle": "^2.3",
// "knplabs/knp-paginator-bundle": "^5.6",
// "liip/imagine-bundle": "^2.6",
// "phpdocumentor/reflection-docblock": "^5.2",
// "sensio/framework-extra-bundle": "^6.2",
// "stof/doctrine-extensions-bundle": "^1.6",
// "symfony/asset": "6.4.*",
// "symfony/console": "6.4.*",
// "symfony/dotenv": "6.4.*",
// "symfony/expression-language": "6.4.*",
// "symfony/flex": "^1.3.1",
// "symfony/form": "6.4.*",
// "symfony/framework-bundle": "6.4.*",
// "symfony/http-client": "6.4.*",
// "symfony/intl": "6.4.*",
// "symfony/mailer": "6.4.*",
// "symfony/mime": "6.4.*",
// "symfony/monolog-bundle": "^3.1",
// "symfony/notifier": "6.4.*",
// "symfony/process": "6.4.*",
// "symfony/property-access": "6.4.*",
// "symfony/property-info": "6.4.*",
// "symfony/proxy-manager-bridge": "6.4.*",
// "symfony/security-bundle": "6.4.*",
// "symfony/serializer": "6.4.*",
// "symfony/string": "6.4.*",
// "symfony/translation": "6.4.*",
// "symfony/twig-bundle": "^6.4",
// "symfony/validator": "6.4.*",
// "symfony/web-link": "6.4.*",
// "symfony/webpack-encore-bundle": "^1.11",
// "symfony/yaml": "6.4.*",
// "twig/extra-bundle": "^2.12|^3.0",
// "twig/twig": "^2.12|^3.0"
// },
// "require-dev": {
// "symfony/browser-kit": "^5.2",
// "symfony/css-selector": "^5.2",
// "symfony/debug-bundle": "^5.2",
// "symfony/maker-bundle": "^1.0",
// "symfony/phpunit-bridge": "^6.1",
// "symfony/stopwatch": "^5.2",
// "symfony/var-dumper": "^5.2",
// "symfony/web-profiler-bundle": "^5.2"
// },
// "config": {
// "optimize-autoloader": true,
// "preferred-install": {
// "*": "dist"
// },
// "sort-packages": true,
// "allow-plugins": {
// "symfony/flex": true,
// "composer/installers": true,
// "oomphinc/composer-installers-extender": true
// }
// },
// "autoload": {
// "psr-4": {
// "App\\": "src/",
// "Lc\\": "Lc/"
// }
// },
// "autoload-dev": {
// "psr-4": {
// "App\\Tests\\": "tests/"
// }
// },
// "replace": {
// "symfony/polyfill-ctype": "*",
// "symfony/polyfill-iconv": "*",
// "symfony/polyfill-php72": "*"
// },
// "scripts": {
// "auto-scripts": {
// "cache:clear": "symfony-cmd",
// "ckeditor:install --clear=drop": "symfony-cmd",
// "assets:install %PUBLIC_DIR%": "symfony-cmd",
// "ckeditor:install": "symfony-cmd"
// },
// "post-install-cmd": [
// "@auto-scripts"
// ],
// "post-update-cmd": [
// "@auto-scripts"
// ]
// },
// "conflict": {
// "symfony/symfony": "*"
// },
// "extra": {
// "symfony": {
// "allow-contrib": false,
// "require": "6.4.*"
// }
// }
//}

+ 2
- 5
config/packages/artgris_file_manager.yaml View File

@@ -1,8 +1,5 @@
artgris_file_manager:
conf:
image:
dir: "../public%app.path_uploads%"
default:
dir: "../public/uploads"
type: 'image'
file:
dir: "../public%app.path_uploads%"
type: 'file'

+ 19
- 1
config/packages/fos_ckeditor.yaml View File

@@ -1,5 +1,23 @@
# Read the documentation: https://symfony.com/doc/current/bundles/FOSCKEditorBundle/index.html

fos_ck_editor:
input_sync: true
default_config: base_config
configs:
base_config:
filebrowserBrowseRoute: file_manager
filebrowserBrowseRouteParameters:
conf: default
module: ckeditor
format_tags: 'p;h2;h3'
toolbar:
- { name: "styles", items: ['Bold', 'Italic','Underline', 'Strike']}
- { name: "paragraph", items: ['Format', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote'] }
- { name: "link", items: [ 'Link', 'Unlink'] }
- {name: 'insert', items: [ 'Image' ]}
- {name: 'document', items: [ 'Source' ]}
simple_config:
toolbar:
- { items: ['Bold', 'Italic', 'Underline', 'Colors', 'Source'] }
twig:
form_themes:
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'

Loading…
Cancel
Save