summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use local variable for directory nameDaniel Kesselberg2019-09-261-2/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Don't strip path from directory prefixDaniel Kesselberg2019-09-261-1/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fill directory cache from opendirDaniel Kesselberg2019-09-261-1/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Change visibility to private (from protected)Daniel Kesselberg2019-09-261-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Rename $location to $pathDaniel Kesselberg2019-09-261-7/+7
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add method to check if directory existsDaniel Kesselberg2019-09-261-2/+41
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* set a storage availability delay on auth issues to avoid lock outArthur Schiwon2019-09-091-5/+13
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* catch auth issues also when php-smbclient is in useArthur Schiwon2019-09-091-0/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Correct log attributeAri Selseng2019-04-081-1/+1
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Added logging to Notify command.Ari Selseng2019-04-081-2/+9
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Reconnect to DB after timeout for Notify command. Fixes #14479Ari Selseng2019-04-081-10/+48
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Fix a bug with smb notify having leading slash when it should notAri Selseng2019-03-011-1/+1
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Call headObject if file not in filecache :see_no_evil:Daniel Kesselberg2019-02-191-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Prefix $path for filename for internal file cacheDaniel Kesselberg2019-02-191-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #12746 from nextcloud/backport/12688/stable15Morris Jobke2018-11-301-1/+1
|\ | | | | [stable15] Fix cannot set 0 as value on files_external through OCC command
| * Fix cannot set 0 as value on files_external through OCC commandRobin Appelman2018-11-291-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add interface to allow storages from opting out of encryptionRobin Appelman2018-11-271-1/+2
|/ | | | | | As opposed to hard-coding a list of excluded storages Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix UniqueConstraintViolationException while insert into files_external ↵Morris Jobke2018-11-141-18/+28
| | | | | | | | config tables * followup to #12371 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-1/+1
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove value from cache on delete/clearDaniel Kesselberg2018-10-081-0/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Use helper method for content length and last modifiedDaniel Kesselberg2018-10-011-11/+54
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Reuse information from ListObjects for stat / filetypeDaniel Kesselberg2018-09-301-0/+5
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #10589 from nextcloud/smb-stat-retryMorris Jobke2018-08-241-1/+8
|\ | | | | retry smb stat on timeout
| * retry stat on timeoutRobin Appelman2018-08-081-1/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | log entries that are hidden during file listingRobin Appelman2018-08-161-11/+25
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #10025 from nextcloud/smb-rename-invalidargument-retryMorris Jobke2018-07-111-3/+17
|\ | | | | also retry rename operation on InvalidArgumentException
| * also retry rename operation on InvalidArgumentExceptionRobin Appelman2018-06-271-3/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Improved logging of smb connection errorsRobin Appelman2018-07-031-0/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add support for using kerberos ticket to authenticate to smb serversRobin Appelman2018-06-225-15/+76
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* update icewind/smb to 3.0.0Robin Appelman2018-06-211-13/+23
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #9786 from ↵Morris Jobke2018-06-083-6/+84
|\ | | | | | | | | nextcloud/feature/noid/external_sftp_password_and_key Add SFTP auth mechanism to use a password and private key for SFTP
| * Add SFTP auth mechanism to use a password and public key for SFTPRoeland Jago Douma2018-06-073-6/+84
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | allow setting notify credentials in environmentRobin Appelman2018-06-071-0/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #8842 from lanxenet/patch-1Morris Jobke2018-05-071-8/+10
|\ | | | | fix(AmazonS3): fix loop $result['Contents'] error
| * fix(AmazonS3): fix loop $result['Contents'] errorenoch2018-03-161-8/+10
| | | | | | Invalid argument supplied for foreach() at /var/www/html/apps/files_external/lib/Lib/Storage/AmazonS3.php#295
* | Merge pull request #9346 from nextcloud/techdep/noid/needsPartFile_to_storageMorris Jobke2018-05-021-0/+4
|\ \ | | | | | | Use an actual function of the storage to determine needsPartFile
| * | Use an actual function of the storage to determine needsPartFileRoeland Jago Douma2018-05-011-0/+4
| | | | | | | | | | | | | | | | | | | | | We have a function for it so better to override that. Also because other codes that might check this should get the right value. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Make it possible to make external storages read onlyRoeland Jago Douma2018-05-011-1/+2
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | move log constants to ILoggerArthur Schiwon2018-04-264-14/+18
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Less deprecated calls to OCP\Util::writeLogMorris Jobke2018-04-221-5/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove \OCP\Files::tmpFileRoeland Jago Douma2018-03-194-5/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8857 from nextcloud/swift-verify-cached-tokenMorris Jobke2018-03-191-1/+5
|\ \ | |/ |/| verify cached swift token
| * verify cached swift tokenRobin Appelman2018-03-161-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use proper method to log exceptionsMorris Jobke2018-03-122-13/+13
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8285 from ↵Roeland Jago Douma2018-02-271-3/+13
|\ | | | | | | | | nextcloud/apps_files-smb-catch-exceptions-on-listing Make SMB module more fault-tolerant
| * Make SMB module more fault-tolerantRoland Tapken2018-02-091-3/+13
| | | | | | | | | | | | | | | | | | Ignore unavailable files when fetching the share's mtime or reading directory listings. This can happen on servers using a distributed file system (DFS) with unavailable destinations, for example when the remote server is offline. Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
* | Merge pull request #8359 from nextcloud/swift-v3Morris Jobke2018-02-265-8/+71
|\ \ | | | | | | Support swift v3 authentication
| * | adjust external storage config format to the one used in primary storageRobin Appelman2018-02-262-5/+9
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add support for v3 swift authRobin Appelman2018-02-265-8/+67
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Properly set the mount type for external storagesRoeland Jago Douma2018-02-202-3/+3
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>