Scrutinizer Auto-Fixer
adaee6a5a1
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
12 years ago
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
12 years ago
Robin Appelman
a0d570b4cc
Change default mimetype detection for storage backends to only use filename
12 years ago
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
12 years ago
Arthur Schiwon
c01675de5d
more is_resource checks before readdir
12 years ago
Thomas Müller
f1eec74f70
additional readdir check in mappedlocal
12 years ago
Robin Appelman
d051d6f925
make rmdir recursive for mappellocal storage backend
12 years ago
Thomas Mueller
a05820c659
fixing various filesystem/storage unit tests on windows
fixing copy operation on mapper
13 years ago
Thomas Mueller
b488800bd5
fix error in recursive search
13 years ago
Bart Visscher
ffae6f4b84
Style-fix: Breakup long lines
13 years ago
Bart Visscher
cd35d257bb
Fix NoSpaceAfterComma and SpaceBeforeComma
13 years ago
Thomas Mueller
92e6409f40
fixing mappedlocal storage to work on non-windows as well
this allows us to run unit tests on linux - necessary to enable easy regression testing
13 years ago
Thomas Müller
8174e5faf1
make MappedLocal available and testable within Linux as well
13 years ago
Thomas Mueller
fd8cb9974b
initial version of a local storage implementation which will use unique slugified filename on the local filesystem.
This implementation will only be enabled on windows based system to solve the issues around UTF-8 file names with php on windows.
13 years ago
Thomas Mueller
02e6adfdb3
fixing namespace
13 years ago
Robin Appelman
cfa036eaa9
drop filectime from the filesystem api's
13 years ago
Robin Appelman
e8d3a47685
add getId to storage backends
13 years ago
Robin Appelman
bd83422095
put filestorages in a namespace
13 years ago
Thomas Mueller
3829460ab8
adding space between) and {
13 years ago
Bart Visscher
52f2e7112e
Whitespace fixes in lib
13 years ago
Robin Appelman
9b44d0cb32
add OC_FileStorage::getLocalFolder
13 years ago
Michael Gapczynski
f328f53ec1
Fix filesystem hash, no longer using basicOperation()
Conflicts:
lib/filesystemview.php
13 years ago
Bjoern Schiessle
f752a27605
write keyfiles to server
13 years ago
Michael Gapczynski
586fe8f940
Change is_writable() call to isUpdatable()
13 years ago
Michael Gapczynski
ede2b8a55f
Missed a is_readable() call in local filestorage
13 years ago
Michael Gapczynski
f7b89f0475
Add CRUDS permissions calls to filesystem, deprecate is_readable() and is_writable()
13 years ago
Bart Visscher
14af503374
Fix parameter order in OC_Filestorage_Common->hash
13 years ago
Robin Appelman
7152b8b4ee
remove unused and depricated getFolderSize
13 years ago
Sam Tuke
a9a913c273
Implemented deleteAll() method in OC_FilesystemView (interface) and OC_Filestorage_Common (logic)
Made OC_Filestorage_Local and OC_Filestorage_Shared extend OC_Filestorage_Common
Set searchInDir() to protected instead of private in OC_Filestorage_Local and OC_Filestorage_Shared
Added class documentation to OC_Filestorage_Common
Cleaned up OCA_Versions::expireAll()
14 years ago
Sam Tuke
72215a818d
added new user settings interface for deleting old file versions
fixed OCA_VersionsexpireAll() to use native PHP readdir()
removed local storage implementation of readdir()
14 years ago
Sam Tuke
28a72e0e3c
Fixed deleteAll function for deleting all old versions of files (expireAll)
Added new readdir() method to all storage classes and handlers (only working implementation in local.php)
14 years ago
Robin Appelman
449760f665
add hasUpdated to oc_filestorage
14 years ago
Robin Appelman
0622fa79ba
add temporary filestorage backend for testing purposed
14 years ago
Michael Gapczynski
ff4b0c4d7f
Move writable check into local filestorage so shared files can be renamed
14 years ago
Robin Appelman
f06858689f
revert an accidental change
14 years ago
Robin Appelman
72947e46d1
small improvement for is_dir
14 years ago
Robin Appelman
2e365658c8
better handeling of files that can behave like folder (e.g. archives)
14 years ago
Robin Appelman
e76e4e7540
add touch() to all storage backands, and make parameter optional
14 years ago
Robin Appelman
d8d4420f22
some cleanup in filestorage
14 years ago
Robin Appelman
c8c3b8a63e
chunked implementation for readfile
prevents memory issues when downloading large files
14 years ago
Robin Appelman
d9c7e4c333
proper mimetypes for encrypted files
14 years ago
Robin Appelman
1cffeefa06
move implementation of from/toTmpFile from the file storage to the filesystem
14 years ago
Robin Appelman
3d67cd51c2
encryption proxy wip
14 years ago
Klaas Freitag
60a03580ff
allow to set a files mtime through a PROPPATCH request on resource
'lastmodified'. Needed for syncing algorithms.
14 years ago
Robin Appelman
3c52ac7af3
make local filestorage comply with test cases
14 years ago
Robin Appelman
d6aa5ac7e8
make local filestorage comply with test cases
14 years ago
Klaas Freitag
85853f9ec2
- Added the ability to change a files mtime via webdavs propset.
- Added some minor debug help to fscache
14 years ago
Robin Appelman
30673e4786
writable not writeable
14 years ago
Robin Appelman
2f4a289782
fix non-absolute symbolic links
14 years ago
Georg Ehrke
0fb73ec49d
fix previous change
14 years ago