Joas Schilling
|
558f169671
|
Move the validation into one place only
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2016-11-21 09:23:37 +01:00 |
Joas Schilling
|
4652d203e3
|
Make sure we don't scan files that can not be accessed
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2016-11-21 09:23:32 +01:00 |
Robin Appelman
|
4ac5fdcf11
|
add tests for FileInfo::isMounted
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2016-11-16 15:30:37 +01:00 |
Robin Appelman
|
eefd059716
|
add amazon s3 objectstore backend
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2016-11-16 15:30:36 +01:00 |
Robin Appelman
|
64e896cc0d
|
split testing of objectstoragestorage and objectstore implementations
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2016-11-16 15:30:36 +01:00 |
Robin Appelman
|
cbcdf69dc2
|
only query substorages to calculate the final mtime/size/etag lazily
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2016-11-10 13:59:22 +01:00 |
Lukas Reschke
|
6920e609c0
|
Adjust tests and DI for Share.php
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2016-11-02 23:26:49 +01:00 |
Lukas Reschke
|
68cebef64c
|
DI for root.php
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2016-11-02 23:16:51 +01:00 |
Vincent Petry
|
889e0a574b
|
Fix mock warning in some FS tests (#26464)
|
2016-11-02 22:21:47 +01:00 |
Vincent Petry
|
f737426eca
|
Add using casing check/fix for initMountPoints
|
2016-11-02 22:21:46 +01:00 |
Robin Appelman
|
049bcae29e
|
Allow setting a maximun number of buckets for multibucket
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2016-11-02 21:31:24 +01:00 |
Roeland Jago Douma
|
f722640a32
|
Proper DI of config
* Fixed comments
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2016-10-28 10:13:35 +02:00 |
Roeland Jago Douma
|
7998689bc9
|
Added method to DB and fix test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2016-10-24 09:45:04 +02:00 |
Joas Schilling
|
303e073724
|
Do not skip when mysql uses utf8mb4
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2016-10-19 00:15:01 +02:00 |
Robin Appelman
|
0d842e0550
|
optimize Folder::getById to use less queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2016-10-12 16:12:28 +02:00 |
Roeland Jago Douma
|
ac38a3a654
|
Add Tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2016-10-05 11:00:16 +02:00 |
Vincent Petry
|
9b4de310bd
|
Fix mimetype detection inside hidden folders (#26138)
Downstreaming of https://github.com/owncloud/core/pull/26138
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2016-09-26 11:31:03 +02:00 |
Roeland Jago Douma
|
31532ecf13
|
Fix getMock ViewTest
|
2016-09-13 09:09:52 +02:00 |
Roeland Jago Douma
|
5069b74f8b
|
Fix getMock scannertest
|
2016-09-13 09:09:52 +02:00 |
Roeland Jago Douma
|
d277053f22
|
Fix getMock QuotaTest
|
2016-09-13 09:09:52 +02:00 |
Roeland Jago Douma
|
fe15dccb45
|
Fix getMock FolderTests
|
2016-09-13 09:09:52 +02:00 |
Roeland Jago Douma
|
d77982c03f
|
Fix getMock UserMountcacheTest
|
2016-09-13 09:09:52 +02:00 |
Roeland Jago Douma
|
4b8d474ec5
|
Fix getMock Cache
|
2016-09-13 09:09:52 +02:00 |
Joas Schilling
|
cdfe538452
|
Merge pull request #1243 from nextcloud/fix-detection-of-file-types-a-bit
Fix detection of file types a bit
|
2016-09-08 09:19:33 +02:00 |
Roeland Jago Douma
|
7656a8fa12
|
File getMock Files tests
|
2016-09-07 20:42:37 +02:00 |
Joas Schilling
|
24d90a4bb1
|
Correctly remove the charset from finfo mimetype
|
2016-09-05 09:48:22 +02:00 |
Robin Appelman
|
a0c2342c20
|
prevent infinite recursion while getting storage from mount
|
2016-08-23 14:52:18 +02:00 |
Lukas Reschke
|
b4ed4e152e
|
Merge pull request #746 from nextcloud/jail-root
getJailedPath expects $path to have a trailing /
|
2016-08-09 11:04:11 +02:00 |
Joas Schilling
|
f37fa6e45c
|
Move Share backends to PSR-4 instead of using class path (#24941)
|
2016-08-05 14:13:41 +02:00 |
Thomas Müller
|
f1cd68d713
|
Adding test case for getPathById including a jailed cache where root is just empty
|
2016-08-05 14:06:05 +02:00 |
Robin Appelman
|
81e103074e
|
use limit instead of since when listing recent files
|
2016-07-22 15:20:55 +02:00 |
Robin Appelman
|
a4ba3eadd0
|
fix test
|
2016-07-22 15:20:55 +02:00 |
Robin Appelman
|
e321ecd592
|
add recent files to node api
|
2016-07-22 14:39:32 +02:00 |
Morris Jobke
|
e08278494d
|
Merge pull request #471 from nextcloud/storage-fopenspecialchars
Added storage tests for fopen with special chars
|
2016-07-20 20:56:59 +02:00 |
Morris Jobke
|
1264e9644f
|
Merge pull request #402 from nextcloud/smb-notifications
smb update notifications
|
2016-07-20 16:19:21 +02:00 |
Vincent Petry
|
631af42b3a
|
Added storage tests for fopen with special chars
This makes it possible to test special chars with unit tests.
There is already a test for directories but there was none for file
names.
|
2016-07-20 15:13:24 +02:00 |
Robin Appelman
|
29eeeb2273
|
Save the files external mount id in the mount cache table
|
2016-07-13 16:34:08 +02:00 |
Roeland Jago Douma
|
927be847b9
|
RootTest does not require DB
* Removed from DB group
* Also mock the manager
* Fixed deprecated getMock warnings
|
2016-07-13 14:35:34 +02:00 |
Roeland Jago Douma
|
3b4535c3be
|
Improve NodeTest
* Do not use DB
* Fix phpunit-5.4 warnigns
* Moved commong stuff to setup
|
2016-07-11 15:41:02 +02:00 |
Lukas Reschke
|
0c1cf5f7eb
|
Merge pull request #347 from nextcloud/drop-windows-foo
Remove unneeded checks if it runs on a Windows machine
|
2016-07-11 13:16:03 +02:00 |
Joas Schilling
|
6ea77abb38
|
Fix some more tests
|
2016-07-11 10:59:27 +02:00 |
Roeland Jago Douma
|
3a60626b77
|
Improve FileTest
* No longer requires DB
* Fixed phpunit 5.4 warnings
* Moved common stuff to Setup phase
|
2016-07-08 19:35:51 +02:00 |
Morris Jobke
|
c2d88a08b7
|
Remove unneeded checks if it runs on a Windows machine
* the setup check is still there
|
2016-07-08 15:55:17 +02:00 |
Morris Jobke
|
01829e8d7c
|
mysql only works with 3 byte UTF-8
|
2016-06-29 15:53:23 +02:00 |
Roeland Jago Douma
|
ea4c5e6e0a
|
Fix unit tests
|
2016-06-14 13:24:48 +02:00 |
Vincent Petry
|
52a0c939ab
|
Merge pull request #24863 from owncloud/propagator-batching
Propagator batching for the file scanner
|
2016-06-10 17:45:52 +02:00 |
Robin Appelman
|
7b1b723e5b
|
dissalow symlinks in local storages that point outside the datadir
|
2016-06-07 14:01:53 +02:00 |
Robin Appelman
|
63408fa6ef
|
allow deleting "ghost files" trough the View and Node api
|
2016-06-03 13:30:59 +02:00 |
Robin Appelman
|
11900baaf3
|
add tests for propagator batching
|
2016-06-02 15:09:15 +02:00 |
Vincent Petry
|
5ad8fa7675
|
Add keepUnicode value in the cache key of normalizedPathCache
|
2016-06-01 14:28:59 +02:00 |