From d7422404987c893e884141dfdfeec89b07a3ec4a Mon Sep 17 00:00:00 2001 From: Milos Stojanovic Date: Tue, 31 Mar 2020 10:04:33 +0200 Subject: [PATCH] Symfony links upd --- CHANGELOG.md | 2 ++ README.md | 2 +- composer.json | 2 +- composer.lock | 2 +- docs/configuration/session.md | 2 +- docs/index.md | 2 +- frontend/mixins/shared.js | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 549b304..dc79685 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Upcoming... +* Bump symfony, dibi + ## 7.3.4 - 2020-03-23 * New config param: overwrite files on upload diff --git a/README.md b/README.md index 24d12eb..74786b6 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ This is read-only demo with guest account enabled. ## Features & Goals - Multiple storage adapters (Local, FTP, Amazon S3, Dropbox, DO Spaces, Azure Blob and many others via [Flysystem](https://github.com/thephpleague/flysystem)) - Multiple auth adapters with roles and permissions (Store users in json file or database) -- Multiple session adapters (Native File, Pdo, Redis, MongoDB, Memcached and others via [Symfony](https://github.com/symfony/symfony/tree/master/src/Symfony/Component/HttpFoundation/Session/Storage/Handler)) +- Multiple session adapters (Native File, Pdo, Redis, MongoDB, Memcached and others via [Symfony](https://github.com/symfony/symfony/tree/4.4/src/Symfony/Component/HttpFoundation/Session/Storage/Handler)) - Single page front-end (built with [Vuejs](https://github.com/vuejs/vue), [Bulma](https://github.com/jgthms/bulma) and [Buefy](https://github.com/buefy/buefy)) - Chunked uploads (built with [Resumable.js](https://github.com/23/resumable.js)) - Zip and bulk download support diff --git a/composer.json b/composer.json index be55722..9455423 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ }, "require-dev": { "phpunit/phpunit": "^7.5", - "symfony/var-dumper": "^4.2", + "symfony/var-dumper": "^4.4", "league/flysystem-memory": "^1.0", "phpstan/phpstan": "^0.11.8" } diff --git a/composer.lock b/composer.lock index f86a67a..3ba93e8 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "f5024eb9950e023960e1c52a47480f67", + "content-hash": "aad0a0665de260fad1fb64eaa2264585", "packages": [ { "name": "dibi/dibi", diff --git a/docs/configuration/session.md b/docs/configuration/session.md index ac5147e..5b15c78 100644 --- a/docs/configuration/session.md +++ b/docs/configuration/session.md @@ -4,7 +4,7 @@ currentMenu: sessions ## Default Session handler -Session handling is provided through the Symfony's [HttpFoundation](https://symfony.com/doc/current/components/http_foundation.html) component. Please check their docs for more info. +Session handling is provided through the Symfony's [HttpFoundation](https://symfony.com/doc/4.4/components/http_foundation.html) component. Please check their docs for more info. Default session handler will user PHP's built in file storage. You can also specify your own `$save_path` to store session files. diff --git a/docs/index.md b/docs/index.md index 68fc310..7c9cb33 100644 --- a/docs/index.md +++ b/docs/index.md @@ -24,7 +24,7 @@ File upload supports drag&drop, progress bar, pause and resume. Upload is chunke ## Features & Goals - Multiple storage adapters (Local, FTP, Amazon S3, Dropbox, DO Spaces, Azure Blob and many others via [Flysystem](https://github.com/thephpleague/flysystem)) - Multiple auth adapters with roles and permissions (Store users in json file or database) -- Multiple session adapters (Native File, Pdo, Redis, MongoDB, Memcached and others via [Symfony](https://github.com/symfony/symfony/tree/master/src/Symfony/Component/HttpFoundation/Session/Storage/Handler)) +- Multiple session adapters (Native File, Pdo, Redis, MongoDB, Memcached and others via [Symfony](https://github.com/symfony/symfony/tree/4.4/src/Symfony/Component/HttpFoundation/Session/Storage/Handler)) - Single page front-end (built with [Vuejs](https://github.com/vuejs/vue), [Bulma](https://github.com/jgthms/bulma) and [Buefy](https://github.com/buefy/buefy)) - Chunked uploads (built with [Resumable.js](https://github.com/23/resumable.js)) - Zip and bulk download support diff --git a/frontend/mixins/shared.js b/frontend/mixins/shared.js index 17be78f..af7f110 100644 --- a/frontend/mixins/shared.js +++ b/frontend/mixins/shared.js @@ -131,7 +131,7 @@ const funcs = { return this.hasExtension(name, store.state.config.editable ? store.state.config.editable : ['.txt']) }, isImage(name) { - return this.hasExtension(name, ['.jpg', '.jpeg', '.gif', '.png', '.bmp', '.tiff']) + return this.hasExtension(name, ['.jpg', '.jpeg', '.gif', '.png', '.bmp', '.tiff', '.tif']) }, hasExtension(name, exts) { return (new RegExp('(' + exts.join('|').replace(/\./g, '\\.') + ')$', 'i')).test(name)