mirror of
https://github.com/filegator/filegator.git
synced 2025-08-07 11:56:57 +02:00
Symfony links upd
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Upcoming...
|
## Upcoming...
|
||||||
|
|
||||||
|
* Bump symfony, dibi
|
||||||
|
|
||||||
## 7.3.4 - 2020-03-23
|
## 7.3.4 - 2020-03-23
|
||||||
|
|
||||||
* New config param: overwrite files on upload
|
* New config param: overwrite files on upload
|
||||||
|
@@ -83,7 +83,7 @@ This is read-only demo with guest account enabled.
|
|||||||
## Features & Goals
|
## 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 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 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))
|
- 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))
|
- Chunked uploads (built with [Resumable.js](https://github.com/23/resumable.js))
|
||||||
- Zip and bulk download support
|
- Zip and bulk download support
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^7.5",
|
"phpunit/phpunit": "^7.5",
|
||||||
"symfony/var-dumper": "^4.2",
|
"symfony/var-dumper": "^4.4",
|
||||||
"league/flysystem-memory": "^1.0",
|
"league/flysystem-memory": "^1.0",
|
||||||
"phpstan/phpstan": "^0.11.8"
|
"phpstan/phpstan": "^0.11.8"
|
||||||
}
|
}
|
||||||
|
2
composer.lock
generated
2
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "f5024eb9950e023960e1c52a47480f67",
|
"content-hash": "aad0a0665de260fad1fb64eaa2264585",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "dibi/dibi",
|
"name": "dibi/dibi",
|
||||||
|
@@ -4,7 +4,7 @@ currentMenu: sessions
|
|||||||
|
|
||||||
## Default Session handler
|
## 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.
|
Default session handler will user PHP's built in file storage. You can also specify your own `$save_path` to store session files.
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@ File upload supports drag&drop, progress bar, pause and resume. Upload is chunke
|
|||||||
## Features & Goals
|
## 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 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 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))
|
- 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))
|
- Chunked uploads (built with [Resumable.js](https://github.com/23/resumable.js))
|
||||||
- Zip and bulk download support
|
- Zip and bulk download support
|
||||||
|
@@ -131,7 +131,7 @@ const funcs = {
|
|||||||
return this.hasExtension(name, store.state.config.editable ? store.state.config.editable : ['.txt'])
|
return this.hasExtension(name, store.state.config.editable ? store.state.config.editable : ['.txt'])
|
||||||
},
|
},
|
||||||
isImage(name) {
|
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) {
|
hasExtension(name, exts) {
|
||||||
return (new RegExp('(' + exts.join('|').replace(/\./g, '\\.') + ')$', 'i')).test(name)
|
return (new RegExp('(' + exts.join('|').replace(/\./g, '\\.') + ')$', 'i')).test(name)
|
||||||
|
Reference in New Issue
Block a user