Compare commits

..
Author SHA1 Message Date
github-action[bot]andgithub-action[bot] 29862dbdbd Create Flex endpoint 2026-06-10 09:41:18 +00:00
6 changed files with 160 additions and 212 deletions
+5 -6
View File
@@ -1,10 +1,9 @@
{
"aliases": [],
"recipes": {
"sonata-project/media-bundle": [
"3.13",
"4.0",
"4.19"
"jolicode/media-bundle": [
"0.1",
"0.4"
]
},
"recipe-conflicts": [],
@@ -14,9 +13,9 @@
"_links": {
"repository": "github.com/symfony/recipes-contrib",
"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-1998/{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-1998/archived/{package_dotted}/{ref}.json",
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
}
}
+73
View File
@@ -0,0 +1,73 @@
{
"manifests": {
"jolicode/media-bundle": {
"manifest": {
"bundles": {
"JoliCode\\MediaBundle\\JoliMediaBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
" * JoliMediaBundle has been successfully installed! Complete the configuration:",
" 1. <fg=blue>Configure</> your media library storage in <comment>%CONFIG_DIR%/packages/joli_media.yaml</>",
" 2. <fg=blue>Read</> the documentation options at <comment>https://mediabundle.jolicode.com/getting-started/configuration/</>",
"",
" * Learn how to install the required processors at <comment>https://mediabundle.jolicode.com/getting-started/dependencies-and-tooling/</>",
"",
" * To enable an admin bridge, follow the instructions at <comment>https://mediabundle.jolicode.com/bridges/</>"
]
},
"files": {
"config/packages/joli_media.yaml": {
"contents": [
"# See the documentation for all available configuration options",
"joli_media:",
" # Configure a media library below. See the documentation for all available options",
" # at https://mediabundle.jolicode.com/getting-started/configuration/#configuration",
"",
" # libraries:",
" # default:",
" # original:",
" # flysystem: \"filesystem.original.storage\"",
" # url_generator:",
" # strategy: folder",
" # path: /media/original/",
" # cache:",
" # flysystem: \"filesystem.cache.storage\"",
" # must_store_when_generating_url: false",
" # url_generator:",
" # strategy: folder",
" # path: /media/cache/",
"",
" pre_processors:",
" - JoliCode\\MediaBundle\\PreProcessor\\ExifRemovalPreProcessor",
""
],
"executable": false
},
"config/routes/joli_media.yaml": {
"contents": [
"_joli_media:",
" resource: \"@JoliMediaBundle/config/routes.php\"",
"",
"# Uncomment the following lines to enable the EasyAdmin bridge routes",
"# _joli_media_easy_admin:",
"# resource: \"@JoliMediaEasyAdminBundle/src/Controller/\"",
"# prefix: /admin/media",
"",
"# Uncomment the following lines to enable the Sonata Admin bridge routes",
"# _joli_media_sonata_admin:",
"# resource: \"@JoliMediaSonataAdminBundle/src/Controller/\"",
"# prefix: /admin/media",
""
],
"executable": false
}
},
"ref": "47f0a88bb77418697bd0c3ed213cd1a23604d93f"
}
}
}
+82
View File
@@ -0,0 +1,82 @@
{
"manifests": {
"jolicode/media-bundle": {
"manifest": {
"bundles": {
"JoliCode\\MediaBundle\\JoliMediaBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
" * JoliMediaBundle has been successfully installed! Complete the configuration:",
" 1. <fg=blue>Configure</> your media library storage in <comment>%CONFIG_DIR%/packages/joli_media.yaml</>",
" 2. <fg=blue>Read</> the documentation options at <comment>https://mediabundle.jolicode.com/getting-started/configuration/</>",
"",
" * Learn how to install the required processors at <comment>https://mediabundle.jolicode.com/getting-started/dependencies-and-tooling/</>",
"",
" * To enable an admin bridge, follow the instructions at <comment>https://mediabundle.jolicode.com/bridges/</>"
]
},
"files": {
"config/packages/joli_media.yaml": {
"contents": [
"# Uncomment the following lines to enable the Sylius bridge configuration",
"#imports:",
"# - { resource: '@JoliMediaSyliusBundle/config/app.php' }",
"",
"# See the documentation for all available configuration options",
"joli_media:",
" # Configure a media library below. See the documentation for all available options",
" # at https://mediabundle.jolicode.com/getting-started/configuration/#configuration",
"",
" #libraries:",
" # default:",
" # original:",
" # flysystem: \"filesystem.original.storage\"",
" # url_generator:",
" # strategy: folder",
" # path: /media/original/",
" # cache:",
" # flysystem: \"filesystem.cache.storage\"",
" # must_store_when_generating_url: false",
" # url_generator:",
" # strategy: folder",
" # path: /media/cache/",
"",
" pre_processors:",
" - JoliCode\\MediaBundle\\PreProcessor\\ExifRemovalPreProcessor",
""
],
"executable": false
},
"config/routes/joli_media.yaml": {
"contents": [
"_joli_media:",
" resource: \"@JoliMediaBundle/config/routes.php\"",
"",
"# Uncomment the following lines to enable the EasyAdmin bridge routes",
"#_joli_media_easy_admin:",
"# resource: \"@JoliMediaEasyAdminBundle/src/Controller/\"",
"# prefix: /admin/media",
"",
"# Uncomment the following lines to enable the Sonata Admin bridge routes",
"#_joli_media_sonata_admin:",
"# resource: \"@JoliMediaSonataAdminBundle/src/Controller/\"",
"# prefix: /admin/media",
"",
"# Uncomment the following lines to enable the Sylius bridge routes",
"#_joli_media_sylius_admin:",
"# resource: \"@JoliMediaSyliusBundle/src/Admin/Controller/\"",
"# prefix: /admin/media",
""
],
"executable": false
}
},
"ref": "59727d15f2a13729764718c50847899a6b9a35b4"
}
}
}
-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"
}
}
}