Compare commits

..
Author SHA1 Message Date
github-action[bot]andgithub-action[bot] ffd97e9b94 Create Flex endpoint 2026-09-10 18:26:29 +00:00
5 changed files with 76 additions and 212 deletions
+4 -6
View File
@@ -1,10 +1,8 @@
{ {
"aliases": [], "aliases": [],
"recipes": { "recipes": {
"sonata-project/media-bundle": [ "tailsfadmin/tailsfadmin-bundle": [
"3.13", "1.0"
"4.0",
"4.19"
] ]
}, },
"recipe-conflicts": [], "recipe-conflicts": [],
@@ -14,9 +12,9 @@
"_links": { "_links": {
"repository": "github.com/symfony/recipes-contrib", "repository": "github.com/symfony/recipes-contrib",
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main", "origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2055/{package_dotted}.{version}.json", "recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2047/{package_dotted}.{version}.json",
"recipe_template_relative": "{package_dotted}.{version}.json", "recipe_template_relative": "{package_dotted}.{version}.json",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2055/archived/{package_dotted}/{ref}.json", "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2047/archived/{package_dotted}/{ref}.json",
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
} }
} }
-71
View File
@@ -1,71 +0,0 @@
{
"manifests": {
"sonata-project/media-bundle": {
"manifest": {
"bundles": {
"Sonata\\MediaBundle\\SonataMediaBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"public/": "%PUBLIC_DIR%/"
}
},
"files": {
"config/packages/sonata_media.yaml": {
"contents": [
"sonata_media:",
" default_context: default",
" contexts:",
" default:",
" providers:",
" - sonata.media.provider.dailymotion",
" - sonata.media.provider.youtube",
" - sonata.media.provider.image",
" - sonata.media.provider.file",
" - sonata.media.provider.vimeo",
"",
" formats:",
" small: { width: 100 , quality: 70}",
" big: { width: 500 , quality: 70}",
"",
" cdn:",
" server:",
" path: /upload/media",
"",
" filesystem:",
" local:",
" # Directory for uploads should be writable",
" directory: \"%kernel.project_dir%/public/upload/media\"",
" create: false",
""
],
"executable": false
},
"config/routes/sonata_media.yaml": {
"contents": [
"sonata_media_gallery:",
" resource: '@SonataMediaBundle/Resources/config/routing/gallery.xml'",
" prefix: /media/gallery",
"",
"sonata_media:",
" resource: '@SonataMediaBundle/Resources/config/routing/media.xml'",
" prefix: /media",
""
],
"executable": false
},
"public/upload/media/.gitignore": {
"contents": [
"*",
"!.gitignore",
""
],
"executable": false
}
},
"ref": "e25412e53b20827db07abb6f2aa0b8e4d26c284c"
}
}
}
-67
View File
@@ -1,67 +0,0 @@
{
"manifests": {
"sonata-project/media-bundle": {
"manifest": {
"bundles": {
"Sonata\\MediaBundle\\SonataMediaBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"public/": "%PUBLIC_DIR%/"
}
},
"files": {
"config/packages/sonata_media.yaml": {
"contents": [
"sonata_media:",
" default_context: default",
" contexts:",
" default:",
" providers:",
" - sonata.media.provider.dailymotion",
" - sonata.media.provider.youtube",
" - sonata.media.provider.image",
" - sonata.media.provider.file",
" - sonata.media.provider.vimeo",
"",
" formats:",
" small: { width: 100 , quality: 70}",
" big: { width: 500 , quality: 70}",
"",
" cdn:",
" server:",
" path: /uploads/media",
"",
" filesystem:",
" local:",
" # Directory for uploads should be writable",
" directory: \"%kernel.project_dir%/public/uploads/media\"",
" create: false",
""
],
"executable": false
},
"config/routes/sonata_media.yaml": {
"contents": [
"sonata_media:",
" resource: '@SonataMediaBundle/Resources/config/routing/media.xml'",
" prefix: /media",
""
],
"executable": false
},
"public/uploads/media/.gitignore": {
"contents": [
"*",
"!.gitignore",
""
],
"executable": false
}
},
"ref": "ec54b1d3b1ec60cd92f482f65bb707c765fd5e8d"
}
}
}
-68
View File
@@ -1,68 +0,0 @@
{
"manifests": {
"sonata-project/media-bundle": {
"manifest": {
"bundles": {
"Sonata\\MediaBundle\\SonataMediaBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"public/": "%PUBLIC_DIR%/"
}
},
"files": {
"config/packages/sonata_media.yaml": {
"contents": [
"sonata_media:",
" default_context: default",
" contexts:",
" default:",
" providers:",
" - sonata.media.provider.dailymotion",
" - sonata.media.provider.youtube",
" - sonata.media.provider.image",
" - sonata.media.provider.file",
" - sonata.media.provider.vimeo",
"",
" formats:",
" small: { width: 100 , quality: 70}",
" big: { width: 500 , quality: 70}",
"",
" cdn:",
" server:",
" path: /uploads/media",
"",
" filesystem:",
" local:",
" # Directory for uploads should be writable",
" directory: \"%kernel.project_dir%/public/uploads/media\"",
" create: false",
""
],
"executable": false
},
"config/routes/sonata_media.yaml": {
"contents": [
"sonata_media:",
" resource: '@SonataMediaBundle/Resources/config/routing/media.php'",
" type: php",
" prefix: /media",
""
],
"executable": false
},
"public/uploads/media/.gitignore": {
"contents": [
"*",
"!.gitignore",
""
],
"executable": false
}
},
"ref": "fa0c4e8ddc11b58c5d7efe61507c38d5b5ff0171"
}
}
}
+72
View File
@@ -0,0 +1,72 @@
{
"manifests": {
"tailsfadmin/tailsfadmin-bundle": {
"manifest": {
"bundles": {
"Tailsfadmin\\TailsfadminBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
"<bg=blue;fg=white> tailsfadmin </> admin theme installed.",
"",
" The bundle ships no CDN dependency \u2014 two steps for the assets:",
"",
" 1. Vendor the components' third-party JS libs (ApexCharts, flatpickr, Dropzone, \u2026):",
" <comment>php bin/console tailsfadmin:assets:install</comment>",
"",
" 2. Import the theme into your Tailwind entrypoint (assets/styles/app.css):",
" <comment>@import \"tailwindcss\";</comment>",
" <comment>@import \"../../vendor/tailsfadmin/tailsfadmin-bundle/assets/styles/theme.css\";</comment>",
"",
" Then compile: <comment>php bin/console tailwind:build && php bin/console asset-map:compile</comment>",
"",
" The controllers' AssetMapper path is already set (config/packages/tailsfadmin_assets.yaml).",
" Documentation: <comment>https://github.com/thibmonier/tailsfadmin#readme</comment>"
]
},
"files": {
"config/packages/tailsfadmin.yaml": {
"contents": [
"# Default configuration for the tailsfadmin admin theme (Flex recipe).",
"# Adjust the menu to your application; `label` values are translation keys (i18n)",
"# or raw labels. See the bundle README.",
"tailsfadmin:",
" default_locale: fr",
" locales: ['fr', 'en', 'ar', 'es', 'de']",
" rtl_locales: ['ar']",
" menu:",
" -",
" group: menu.groups.menu",
" items:",
" - { label: menu.dashboard, path: /, icon: dashboard }",
""
],
"executable": false
},
"config/packages/tailsfadmin_assets.yaml": {
"contents": [
"# AssetMapper path for the bundle's Stimulus controllers (Flex recipe).",
"#",
"# The bundle's prepend() does not survive the Flex config merge, so the controllers",
"# path (and the FullCalendar vendor-src shim) is declared here, on the host side.",
"# Kept in a SEPARATE file on purpose: Symfony merges framework.asset_mapper.paths",
"# from every config/packages/ file, so this adds to your asset_mapper.yaml",
"# without overwriting it.",
"framework:",
" asset_mapper:",
" paths:",
" 'vendor/tailsfadmin/tailsfadmin-bundle/assets/controllers': 'bundles/tailsfadmin'",
" 'vendor/tailsfadmin/tailsfadmin-bundle/assets/vendor-src': 'bundles/tailsfadmin-vendor'",
""
],
"executable": false
}
},
"ref": "37aa5c1b2213c3051ea88e7c0c4dc3b970302dd9"
}
}
}