nextcloud-server/tests/lib/Files
Morris Jobke 21b8399e88
Improve mimetype detection for object storages
Object storage instances always fall back to the content based mimetype detection, because the file name for object storage was always random due to the fact that it was temporarily storage in a generated temp file. This patch adds a check before that to make sure to use the original file name for this purpose and also remove possible other extensions like the versioning or part file extension.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06 15:23:35 +07:00
..
AppData Add Tests 2016-10-05 11:00:16 +07:00
Cache Can not insert auto increment on oracle 2017-08-03 16:40:00 +07:00
Config Fix missing escape on column and table name 2017-08-03 16:39:51 +07:00
Mount Allow setting a maximun number of buckets for multibucket 2016-11-02 21:31:24 +07:00
Node Add tests for move/copy hooks in Node API 2017-01-12 13:52:59 +07:00
ObjectStore Add tests for multipart upload 2017-10-09 15:29:44 +07:00
SimpleFS Add Tests 2016-10-05 11:00:16 +07:00
Storage Fix scan permissions with nested permissions masks 2017-07-13 14:37:09 +07:00
Stream Merge pull request #2934 from nextcloud/quota-stream-non-global 2017-01-06 15:25:20 +07:00
Type Improve mimetype detection for object storages 2017-11-06 15:23:35 +07:00
Utils Only check for local shared storages 2017-01-10 16:14:21 +07:00
EtagTest.php Move Share backends to PSR-4 instead of using class path (#24941) 2016-08-05 14:13:41 +07:00
FileInfoTest.php add tests for FileInfo::isMounted 2016-11-16 15:30:37 +07:00
FilesystemTest.php adjust test 2017-01-02 14:17:20 +07:00
PathVerificationTest.php Move the validation into one place only 2016-11-21 09:23:37 +07:00
ViewTest.php round the mtime in touch 2017-03-27 17:07:48 +07:00