Robin Appelman
cbcdf69dc2
only query substorages to calculate the final mtime/size/etag lazily
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
ba87db3fcc
Fix others
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Roeland Jago Douma
dedf392751
Move \OC\Files to PSR-4
10 years ago
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
10 years ago
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
10 years ago
Lukas Reschke
5ccb9dfa7e
Use database for keeping track of the version
10 years ago
Roeland Jago Douma
2035a179bc
Add store/retrieve checksums
* Add extra db column to filecache
* Bump version
* Update filecache code to actually handle checksum
* Webdav code to store/retrieve checksums
10 years ago
Robin Appelman
6d321f5f6b
Return a class from cache operations instead of an array
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Vincent Petry
6e4006d139
Add reshare permission checks
Added in isSharable() in incoming remote share.
Added in isSharable() in regular incoming share.
Added in FileInfo to make sure the proper attributes are returned to the
clients.
10 years ago
Vincent Petry
e241d26316
Compute share permissions in the view
The share permissions are now computed in the View/FileInfo instead of
storing them directly/permanently on the storage
10 years ago
Robin Appelman
888df3933d
take the etag of child mounts into account for the folder etag
this replaces shared etag propagation
10 years ago
Robin Appelman
1736c70075
Some more cleanup for getFIleInfo/getDirectoryContent
10 years ago
Robin Appelman
331ef0e3c0
Add getOwner to FileInfo
10 years ago
Morris Jobke
b945d71384
update licence headers via script
11 years ago
tbartenstein
c48e00294c
Update fileinfo.php
Edits isMounted() to remove the check for 'local' prefix, so that folder icons are displayed correctly (see issue #10712 )
11 years ago
Bjoern Schiessle
0eee3a2618
remove unencrypted_size from the cache, size will contain the unencrypted size
11 years ago
Bjoern Schiessle
ff9c85ce60
implement basic encryption functionallity in core to enable multiple encryption modules
11 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
11 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0 .
11 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
11 years ago
Robin McCorkell
a79757bc37
Store FileInfo::getType() result for future use
11 years ago
Robin Appelman
fd85424742
Add getMountPoint to FileInfo
11 years ago
Joas Schilling
2c39aec8cb
Replace deprecated constant with new class constant
11 years ago
Lukas Reschke
6535540dcd
Check if the size field is available
In some cases the 'size' field is not available resulting in some PHP errors such as:
```json
{"reqId":"03548fd9e3d3aca15a5796b3b35d7b9d","remoteAddr":"::1","app":"PHP","message":"Undefined index: size at \/Users\/lreschke\/Programming\/core\/lib\/private\/files\/fileinfo.php#125","level":3,"time":"2014-11-17T21:38:57+00:00"}
```
This can be experienced when creating a new empty file and deleting it right away, then when going to the trash bin this error is thrown.
11 years ago
Robin Appelman
ccb4475a8d
Expose creatable permissions trough fileinfo
12 years ago
Thomas Müller
9d2cff50ed
shared files/folders are not mounted
12 years ago
Robin Appelman
dea5219244
Fix folder name for storage root
12 years ago
Robin McCorkell
a7ae2e874a
Squash 'a | b' into 'a|b', in /lib
12 years ago
Thomas Müller
c92c577b5e
- Introduce isShared() and isMounted() on FileInfo class
- Reuse these methods on determineIcon()
- Generate permission string for the desktop client
- expose {http://owncloud.org/ns }permissions as additional WebDAV property containing the permission string
12 years ago
Robin Appelman
51165a1a04
Check if value exists before returning
12 years ago
Robin Appelman
65f52fee4f
Fix FileInfo->getType errors
12 years ago
Robin Appelman
db6fb198fe
don't throw errors in getType
12 years ago
Robin Appelman
9231195c98
Fix FileInfo->getType
12 years ago
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
Robin Appelman
09502fcb36
remove the JsonSerializable interface from \OC\Files\FileInfo
12 years ago
Robin Appelman
fc5f20112e
Add isReadable, isUpdateable, isDeletable, isShareable
12 years ago
Robin Appelman
e706cf6c06
add Support for passing a FileInfo instance to View->putFileInfo
12 years ago
Robin Appelman
82762bb462
remove ArrayAccess, JsonSerializable from the public part of FileInfo
12 years ago
Robin Appelman
617acbd6f9
Add a FileInfo class which holds all info of a file and return that from getFileInfo, getDirectoryContent and search
12 years ago