nao-pon
4210b88031
[plugin:Normalizer,Sanitizer] fix #1310 support duplicate check by cmd:ls
2016-04-05 18:32:56 +09:00
nao-pon
6407c4f9a9
[plugin:Normalizer] order change of filter, strtolower moved to end
...
And use `mb_strtolower` if it exists.
ref. #1307
2016-04-04 21:23:58 +09:00
nao-pon
171f5c6eb5
[plugin:Normalizer] add option (array) convmap
...
example
```php
'plugin' => array(
'Normalizer' => array(
'convmap' => array(
' ' => '_',
'ä' => 'a',
'ả' => 'a',
'ê' => 'e',
'ề' => 'e',
'ì' => 'i',
'ö' => 'o',
'ơ' => 'o',
'ư' => 'u'
)
)
)
```
2015-12-25 16:07:08 +09:00
nao-pon
aa58030bf7
[php] fix #1162 to set false to second param of class_exists()
2015-12-11 21:57:14 +09:00
nao-pon
4d93930f94
[cmd:upload] confirm at uploading of same name file exists
...
fixes #468
2015-11-30 23:13:19 +09:00
nao-pon
33953b49d3
[plugin:normalizer] optimization of main process
2015-11-21 23:02:31 +09:00
Erwin
aad06d0aa9
Uploading NewDir/NewFile.JPG with chrome
...
Uploading NewDir/NewFile.JPG with chrome (Chrome is possible folder upload)
Both $name and $path will be made lowercase.
2015-11-20 08:35:45 +01:00
Erwin
75e327039f
Plugin Normalizer option: make filename lowercase
...
I prefer making de filename lowercase always. I propose a pull request to have it build in the plugin code in that way, that the user can decide tot turn the option on or off.
Default: off.
2015-11-20 00:46:58 +01:00
nao-pon
ebe70baac2
named archiving, extract to new folder or cwd
...
see #1029 Archive name on creation & Extract in other directory
2015-06-12 20:49:10 +09:00
nao-pon
493b362afb
[php:plugin] edit class comment of Normalizer
2014-01-15 14:56:11 +09:00
nao-pon
d983672311
[coonector] add new plugin "Normalizer"
...
elFinder Plugin Normalizer
UTF-8 Normalizer of file-name and file-path etc.
nfc(NFC): Canonical Decomposition followed by Canonical Composition
nfkc(NFKC): Compatibility Decomposition followed by Canonical
This plugin require Class "Normalizer" (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
or PEAR package "I18N_UnicodeNormalizer"
ex. binding, configure on connector options
```php
$opts = array(
'bind' => array(
'mkdir.pre mkfile.pre rename.pre' => 'Plugin.Normalizer.cmdPreprocess',
'upload.presave' => array(
'Plugin.Normalizer.onUpLoadPreSave'
)
),
// global configure (optional)
'plugin' => array(
'Normalizer' = array(
'enable' => true,
'nfc' => true,
'nfkc' => true
)
),
// each volume configure (optional)
'roots' => array(
array(
'driver' => 'LocalFileSystem',
'path' => '/path/to/files/',
'URL' => 'http://localhost/to/files/ '
'plugin' => array(
'Normalizer' = array(
'enable' => true,
'nfc' => true,
'nfkc' => true
)
)
)
)
);
```
2013-07-18 22:51:43 +09:00