Daniel Tosello
41f1feaf23
Fixing swift fopen by ensuring stream is a valid resource
10 years ago
Tim Dettrick
cb9a4d4cdc
Streaming download from Swift external storage
Speeds up downloads as they no longer need to buffer completely on the
ownCloud server before being sent to the client.
11 years ago
Lukas Reschke
025f021fd4
Remove dead code
Silences two other security warnings, also I cleaned up the PHPDoc a little bit.
10 years ago
Lukas Reschke
f55a56ff6c
Use proper PHPDoc reference
10 years ago
Robin Appelman
eec4f82cf0
Dont set the string storage id to the numeric storage id for personal mounts
10 years ago
Scrutinizer Auto-Fixer
97f9213da9
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
10 years ago
Tim Dettrick
35ab7f0e64
Improving fopen behaviour for Swift backend
10 years ago
Robin Appelman
a1898dc2bf
db config backend for files_external
10 years ago
Jesús Macias
98f5c50aa4
Migrate storate status code to storagenotavailablexception
10 years ago
Jesús Macias
332c6748f9
Delete unnecessary storage status constans
10 years ago
Jesús Macias
b17f26834d
Add different storage status codes managed by StoragedNotAvailableException
10 years ago
Robin Appelman
62cc316c6a
remove old propagation logic
10 years ago
Robin Appelman
2dd0066b0e
Add command to set mount options for external storages
10 years ago
Thomas Müller
d6da0396d0
Adjust patches
10 years ago
Scrutinizer Auto-Fixer
dcbd603514
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
10 years ago
Lukas Reschke
6614ea91c3
Fix some PHPDocs
Some classes included via `use` did not even exist anymore.
10 years ago
Robin Appelman
67710e62fa
Fix parsing of sftp hosts when using ipv6
10 years ago
Jesús Macias
394d3eb0cd
First working approach to show mount status
10 years ago
Vincent Petry
51d7527595
Properly throw exception in OC_Mount_Config::getBackendStatus
10 years ago
Robin McCorkell
9a4d37f626
Display storage status as tooltip
10 years ago
Vincent Petry
d795643ef9
Fix Dropbox metadata cache with trimmed paths
Makes sure that the paths are trimmed to avoid duplicate entries like
"/test" and "test". This should make this storage slightly faster by
reducing the cache misses.
10 years ago
Vincent Petry
796179af00
Remove Dropbox metadata from cache after upload
This will make sure that the next calls that read the mtime will get the
correct value.
10 years ago
Vincent Petry
915d37f226
Fallback to default mimetype detection mechanism
10 years ago
Morris Jobke
8366ce2767
deduplicate @xenopathic
10 years ago
Morris Jobke
b945d71384
update licence headers via script
10 years ago
Bjoern Schiessle
0ce28a574a
if mountpoint is applicable to all users the old API expects a array with 'all'
10 years ago
Robin McCorkell
2404333300
Perform visibility checks on storages
StoragesService::getStorages() will check the visibility of the backend
and auth mechanism for the storage, and if either are not visible to the
user (aka disabled by admin) then the storage will be filtered out. The
original method StoragesService::getAllStorages() still exists in case
such storages need to be detected, but its use is discouraged.
10 years ago
Robin McCorkell
634c1c497c
Mark SMB_OC and SFTP_Key as deprecated backends
10 years ago
Robin McCorkell
060d169615
Add deprecation mechanic to IdentifierTrait
Deprecation allows a backend/auth mechanism to designate an object that
it deprecates to, allowing clean transitions to updated codebases.
10 years ago
Robin McCorkell
38a260e963
Revert "Implement more fine-grained external storage permissions model"
This reverts commit 0b97a05e7b .
This reverts commit d2e3c17c00 .
This reverts commit cc88c5f4b8 .
10 years ago
Martin
491250320a
Replaces if ($file === '.' || $file === '..') by if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
10 years ago
Robin McCorkell
b8cded6755
Correct manipulateStorageConfig parameter
10 years ago
Robin McCorkell
ca7b4a42f9
Fix external storage priority logic
10 years ago
Robin McCorkell
7fc545470c
Make AmazonS3 path style actually work
10 years ago
Tim Dettrick
1b582ba66b
Don't log expected Swift 404 responses
File existence checks are expected in some cases to be false, so passing
404 Not Found errors through to the logs just causes noise.
10 years ago
Robin McCorkell
522619f90e
Fix dependency check for Swift and SMB_OC
Mistake caused during merging, where the API had changed
10 years ago
Robin McCorkell
d67251fe4c
Remove storing storage_id in mount.json
One mount configuration does not necessarily map to a single storage,
due to `$user` substitution or special auth mechanisms.
10 years ago
Robin McCorkell
442f5269ef
Fix Swift legacy auth mechanism fallback
10 years ago
Robin McCorkell
e33d7b34fa
Fix typo in SMB_OC
10 years ago
Robin McCorkell
cd506f210d
Make checkDependencies a real method
Replace ->setDependencyCheck(callable) with a real method
checkDependencies(). A polyfill is available for legacy storages.
10 years ago
Robin McCorkell
0b97a05e7b
Prevent creation of deprecated backends
10 years ago
Robin McCorkell
cc88c5f4b8
Implement more fine-grained external storage permissions model
VisibilityTrait -> PermissionsTrait
PermissionsTrait stores two sets of data, $permissions and
$allowedPermissions (analogous to $visibility and $allowedVisibility of
VisibilityTrait). Each set is a map of user type ('admin' or 'personal')
to permissions (mounting permission, create permission).
The result is that a backend can now be restricted for creation, while
still allowing it to be mounted. This is useful for deprecating backends
or auth mechanisms, preventing new storages being created, while still
allowing existing storages to be mounted.
10 years ago
Robin Appelman
d14252d9c7
make sure we actually have an object store
10 years ago
Robin McCorkell
080fafe63a
AjaxController uses RSA auth mechanism
10 years ago
Robin McCorkell
1084e3adc7
Migrate SFTP_Key external storage to new API
The SFTP backend now supports public key authentication alongside
password authentication.
10 years ago
Robin McCorkell
cb1ef82702
Migrate SMB_OC external storage to new API
SMB_OC has been merged with SMB, via the identifier aliases mechanism.
Legacy migration is done to the Session Credentials password mechanism
10 years ago
Robin McCorkell
19bc5a452a
Migrate Swift external storage to new API
The Rackspace/OpenStack differences have been split into separate auth
mechanisms, with correct legacy migration
10 years ago
Robin McCorkell
88a78237b0
Migrate Google external storage to new API
10 years ago
Robin McCorkell
a50ef61876
Migrate Dropbox external storage to new API
10 years ago
Robin McCorkell
ced04f9ad2
Migrate AmazonS3 external storage to new API
10 years ago