Uploaded (non secure) attachments live now in public/

That way the attachment files can now be loaded much quicker (without invoking a controller). Also added thumbnailing for pictures in tables.
This commit is contained in:
Jan Böhmer 2019-10-05 20:30:27 +02:00
parent 1b28006267
commit 4fe10b6169
21 changed files with 552 additions and 21 deletions

223
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "b991c6efd2c3ad84f8c1f76ae8efac2c",
"content-hash": "634b7b41a97404c6278ed91d1926f853",
"packages": [
{
"name": "clue/stream-filter",
@ -1756,6 +1756,64 @@
],
"time": "2019-07-01T23:21:34+00:00"
},
{
"name": "imagine/imagine",
"version": "1.2.2",
"source": {
"type": "git",
"url": "https://github.com/avalanche123/Imagine.git",
"reference": "eec39b2092bc8008a92b8d63824476413dbe7511"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/avalanche123/Imagine/zipball/eec39b2092bc8008a92b8d63824476413dbe7511",
"reference": "eec39b2092bc8008a92b8d63824476413dbe7511",
"shasum": ""
},
"require": {
"php": ">=5.3.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "2.2.*",
"phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.4"
},
"suggest": {
"ext-gd": "to use the GD implementation",
"ext-gmagick": "to use the Gmagick implementation",
"ext-imagick": "to use the Imagick implementation"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-develop": "0.7-dev"
}
},
"autoload": {
"psr-4": {
"Imagine\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Bulat Shakirzyanov",
"email": "mallluhuct@gmail.com",
"homepage": "http://avalanche123.com"
}
],
"description": "Image processing for PHP 5.3",
"homepage": "http://imagine.readthedocs.org/",
"keywords": [
"drawing",
"graphics",
"image manipulation",
"image processing"
],
"time": "2019-07-09T06:55:48+00:00"
},
{
"name": "jdorn/sql-formatter",
"version": "v1.2.17",
@ -1806,6 +1864,107 @@
],
"time": "2014-01-12T16:20:24+00:00"
},
{
"name": "liip/imagine-bundle",
"version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/liip/LiipImagineBundle.git",
"reference": "2cf633e0f335a9f1f0bb9d55726a73aca9259ea4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/liip/LiipImagineBundle/zipball/2cf633e0f335a9f1f0bb9d55726a73aca9259ea4",
"reference": "2cf633e0f335a9f1f0bb9d55726a73aca9259ea4",
"shasum": ""
},
"require": {
"imagine/imagine": "^0.7.1|^1.1",
"php": "^7.1",
"symfony/asset": "^3.4|^4.2",
"symfony/filesystem": "^3.4|^4.2",
"symfony/finder": "^3.4|^4.2",
"symfony/framework-bundle": "^3.4|^4.2",
"symfony/options-resolver": "^3.4|^4.2",
"symfony/process": "^3.4|^4.2",
"symfony/templating": "^3.4|^4.2",
"symfony/translation": "^3.4|^4.2"
},
"require-dev": {
"amazonwebservices/aws-sdk-for-php": "^1.0",
"aws/aws-sdk-php": "^2.4",
"doctrine/cache": "^1.1",
"doctrine/orm": "^2.3",
"enqueue/enqueue-bundle": "^0.9",
"ext-gd": "*",
"friendsofphp/php-cs-fixer": "^2.10",
"league/flysystem": "^1.0",
"psr/log": "^1.0",
"symfony/browser-kit": "^3.4|^4.2",
"symfony/console": "^3.4|^4.2",
"symfony/dependency-injection": "^3.4|^4.2",
"symfony/form": "^3.4|^4.2",
"symfony/phpunit-bridge": "^4.3",
"symfony/validator": "^3.4|^4.2",
"symfony/yaml": "^3.4|^4.2",
"twig/twig": "^1.34|^2.4"
},
"suggest": {
"alcaeus/mongo-php-adapter": "required on PHP >= 7.0 to use mongo components with mongodb extension",
"amazonwebservices/aws-sdk-for-php": "required to use AWS version 1 cache resolver",
"aws/aws-sdk-php": "required to use AWS version 2/3 cache resolver",
"doctrine/mongodb-odm": "required to use mongodb-backed doctrine components",
"enqueue/enqueue-bundle": "^0.9 add if you like to process images in background",
"ext-exif": "required to read EXIF metadata from images",
"ext-gd": "required to use gd driver",
"ext-gmagick": "required to use gmagick driver",
"ext-imagick": "required to use imagick driver",
"ext-mongo": "required for mongodb components on PHP <7.0",
"ext-mongodb": "required for mongodb components on PHP >=7.0",
"league/flysystem": "required to use FlySystem data loader or cache resolver",
"monolog/monolog": "A psr/log compatible logger is required to enable logging",
"twig/twig": "required to use the provided Twig extension. Version 1.12 or greater needed"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-1.0": "1.7-dev",
"dev-master": "2.x-dev"
}
},
"autoload": {
"psr-4": {
"Liip\\ImagineBundle\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Liip and other contributors",
"homepage": "https://github.com/liip/LiipImagineBundle/contributors"
}
],
"description": "This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.",
"homepage": "http://liip.ch",
"keywords": [
"bundle",
"image",
"imagine",
"liip",
"manipulation",
"photos",
"pictures",
"symfony",
"transformation"
],
"time": "2019-10-04T05:45:14+00:00"
},
{
"name": "monolog/monolog",
"version": "1.25.1",
@ -6389,6 +6548,62 @@
"homepage": "http://symfony.com",
"time": "2019-06-18T15:27:04+00:00"
},
{
"name": "symfony/templating",
"version": "v4.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/templating.git",
"reference": "15407776e1fe250ed3fa1c1a679482c60c2affe3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/templating/zipball/15407776e1fe250ed3fa1c1a679482c60c2affe3",
"reference": "15407776e1fe250ed3fa1c1a679482c60c2affe3",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/polyfill-ctype": "~1.8"
},
"require-dev": {
"psr/log": "~1.0"
},
"suggest": {
"psr/log-implementation": "For using debug logging in loaders"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.3-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Templating\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Templating Component",
"homepage": "https://symfony.com",
"time": "2019-08-26T08:26:39+00:00"
},
{
"name": "symfony/translation",
"version": "v4.3.4",
@ -9023,12 +9238,12 @@
"prefer-lowest": false,
"platform": {
"php": "^7.1.3",
"ext-bcmath": "*",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-intl": "*",
"ext-mbstring": "*",
"ext-bcmath": "*",
"ext-json": "*"
"ext-json": "*",
"ext-mbstring": "*"
},
"platform-dev": [],
"platform-overrides": {