Vincent Petry
0d3de20b02
Quickfix: do not lazy load auth mechanisms for ext storages
Some auth mechanisms like SessionCredentials need to register hooks
early, so they cannot be lazy loaded.
9 years ago
Robin Appelman
bac1a3a623
Add option to `occ files_external:list` to show all configured mounts
10 years ago
Robin Appelman
eed1c52aec
Hide more default options in occ files_external:list
10 years ago
Lukas Reschke
d5dd30c3a0
Add "Login credentials" and "User Provided"
This adds the "Login Credentials" and "User Provided" option to the external storage implementation, it is basically done by reverting 176fb191b7 from https://github.com/owncloud/core/pull/22432 .
This was taken from owncloud/core which is AGPL licensed.
10 years ago
Robin Appelman
6affbdc6e7
Add "Global Auth" option to external storage
This adds the "Global Auth" option to the external storage implementation, it is basically done by reverting c2c6caee93 from https://github.com/owncloud/core/pull/22468 .
This was taken from owncloud/core which is AGPL licensed. Commited with "icewind@owncloud.com" to keep the license header signature in sync.

10 years ago
Juan Pablo Villafáñez
bb24e40bf4
Fix conversion issues
Change to phpdoc type for automatic conversion
10 years ago
Vincent Petry
e325209291
Convert Dropbox Forbidden exception to StorageNotAvailableException
10 years ago
Vincent Petry
c51bdd1809
Fix GDrive test rename overwrite folder
10 years ago
blizzz
51fd2602a7
Revert "Downstream 2016-06-08"
10 years ago
Vincent Petry
8c7a32ccb9
Fix GDrive upload file which name might match the one of a folder
Whenever a file is uploaded to GDrive, there is a check for that file
with and without extension, due to Google Docs files having no
extension. This logic now only kicks in whenever the detected
extensionless file is really a Google Doc file, not a folder.
This makes it possible again to upload a file "test.txt" in a folder
that also has a folder called "test"
10 years ago
Juan Pablo Villafáñez
7d85bed1fc
Change the default value to true instead of null
10 years ago
Arthur Schiwon
499f56e2b4
implement specific rename handling for SMB
10 years ago
Vincent Petry
fa9c96ac4f
Fix GDrive file size when mime type doesn't match contents
Uploading a txt file with XML contents makes GDrive return the XML mime
type.
This fix makes sure the logic that returns "SPACE_UNKNOWN" for the size
properly rely on the Google Docs mime types.
10 years ago
Juan Pablo Villafáñez
110edd3d3c
Rename variable
10 years ago
Juan Pablo Villafáñez
8526bbb347
Add support to know where the storage test comes from
10 years ago
Vincent Petry
15fffb2b10
Fix GDrive upload file which name might match the one of a folder
Whenever a file is uploaded to GDrive, there is a check for that file
with and without extension, due to Google Docs files having no
extension. This logic now only kicks in whenever the detected
extensionless file is really a Google Doc file, not a folder.
This makes it possible again to upload a file "test.txt" in a folder
that also has a folder called "test"
10 years ago
Arthur Schiwon
c9132261c8
implement specific rename handling for SMB
10 years ago
Robin McCorkell
4ea7a349d2
Fix SMB backend registration
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Joas Schilling
794c566244
Move Stuff to PSR-4 again
10 years ago
Vincent Petry
648fc8d916
skip google map files ( #24807 )
10 years ago
Robin Appelman
8a40003169
fix phpdoc
10 years ago
Robin Appelman
c031eafd84
Fix cert bundle path
10 years ago
Vincent Petry
f77a11a876
Added object cache for Swift ext storage
This avoid calling the remote API for repeated calls to is_dir,
filetype, etc
12 years ago
Vincent Petry
4635ed7748
Fix autoloading for new google SDK lib
10 years ago
Francesco Rovelli
49bec94959
enable autoload of lib in google storage
10 years ago
Joas Schilling
3eba0c479f
Fix import path for 3rdparty dropbox autoloader
We moved the file by one level
10 years ago
Joas Schilling
64538740ec
Fix missing imports
10 years ago
Joas Schilling
f14dff680d
Move remaining classes to PSR-4
10 years ago
Joas Schilling
4576891f10
Move Lib\Storage to PSR-4
10 years ago
Joas Schilling
b9fd7d4cc7
Move Config to PSR-4
10 years ago
Joas Schilling
6ea54e73e8
Move Lib\Backend to PSR-4
10 years ago
Joas Schilling
6d7a1b9bd4
Move Lib\Auth to PSR-4
10 years ago
Joas Schilling
328b3c47d7
Move stuff from outside lib/ to PSR-4
10 years ago
Robin McCorkell
af0930fe59
Introduce backend/auth mechanism providers
Direct registration of backends/auth mechanisms is now deprecated
10 years ago
Lukas Reschke
0d8393178b
Use proper path
Fixes https://github.com/owncloud/core/issues/24407
10 years ago
Robin McCorkell
43abe2b648
Add links to load GDrive/Dropbox configuration pages
10 years ago
Robin McCorkell
de98a6e54c
Allow multiple custom JS files
10 years ago
Vincent Petry
4326d73ff6
Fix SMB storage to not normalize UTF8
This makes sure that even if a NFD file name exists, it is found by the
storage and will be visible to higher layers. Even though the file will
be discarded anyway there, it gives the scanner a chance to display a
warning at least.
10 years ago
Robin Appelman
baff79cc63
Fix loading the dropbox autoloader
10 years ago
Robin McCorkell
9a78cac2eb
Fix OCA\Files\External\Api namespace
10 years ago
Robin McCorkell
4717605d22
Fix storage backend class namespaces and move to subdir
All classes that were previously \OC\Files\Storage\FooBar are now
\OCA\Files_External\Lib\Storage\FooBar
10 years ago
Lukas Reschke
3dc5c59e57
Use RetryWrapper for SFTP storage
Equivalent to https://github.com/owncloud/core/pull/23442
Required for making encryption work with external storage reliable.
10 years ago
Vincent Petry
7be541bda1
GDrive stream download with RetryWrapper
10 years ago
Lukas Reschke
bd93722e12
Use the shipped cacerts.pem instead of the global one
The one we ship may cause problems since Equifax is not included anymore (SHA-1 certs) are deprecated. We should just be consistent here and also use the certificate file which is used by the other calls in the library.
10 years ago
Vincent Petry
02c2568442
Dropbox stream download with RetryWrapper
10 years ago
Bjoern Schiessle
f761733f17
apply retry wrapper to make sure that we always read/write a complete block
10 years ago
Robin Appelman
8ab70b1231
properly use smb permissions
10 years ago
Vincent Petry
5db41dfbed
Only use GDrive chunks when needed
10 years ago
Vincent Petry
aa2674e7e2
Chunk upload for GDrive
Instead of storing the WHOLE file in memory in a PHP variable, use the
library's chunk upload support.
10 years ago