aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Prevent reading key on SFTP stat boolJohn Molakvoæ2022-03-111-0/+3
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add SCHEME_NULL to list of allowed auth mechanismhowardZa2022-02-071-0/+2
| | | | | | Add Auth::Mechanism::SCHEME_NULL to list of allowed auth mechanism for AmazonS3 backend to allow attaching S3 storage to nextcloud instances running on already authorized instances (e.g. EC2 instances with IAM Instance roles) Signed-off-by: Wolfram Gries <wolfram.gries@zapooflex.net>
* Fix php:csLouis Chemineau2022-01-261-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix accessing undefined offsetsCarl Schwan2022-01-211-4/+2
| | | | | | Move this to inside the else clause of the count($matches) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* l10n: Change to a capital letterValdnet2022-01-211-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* update to release smb libRobin Appelman2022-01-201-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add changes from Sebastian/dassIT and move default_realm to backendArthur Schiwon2022-01-202-5/+27
| | | | | | | | | - Sebastian added the switch depending on the preg_match result and with it the fall back to login credentials - I turned default_realm to a backend option (was previously suggested as system config key) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add KerberosApacheAuth support to files_externalArthur Schiwon2022-01-202-5/+74
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #29923 from alacn1/fix_basicauth_must_be_stringCarl Schwan2022-01-141-0/+4
|\ | | | | Fix users can't login external mount user entered credentials not set
| * files_external SMB: throw InvalidArgument when user is not setAnderson Luiz Alves2021-12-031-0/+4
| | | | | | | | Signed-off-by: Anderson Luiz Alves <alacn1@gmail.com>
* | Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan2022-01-121-1/+1
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-234-12/+4
| | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use unique combination of hostname/bucket/key for external storagesJulius Härtl2021-11-041-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #29021 from nextcloud/work/smb/additional-loggingJulius Härtl2021-10-251-0/+1
|\
| * Add additional logging on SMB failure to read folder contentCarl Schwan2021-10-011-0/+1
| | | | | | | | | | | | | | | | Currently we discard the error comming from the SMB library and create a new exception for nextcloud. This patch makes sure that the access/permission exception from the SMB library are logged correctly. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | cache versioning enabled statusRobin Appelman2021-10-191-2/+16
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | minor directory detect improvementsRobin Appelman2021-10-191-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | always set Key field in `headObject`Robin Appelman2021-10-151-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | more reliable hasUpdated for s3Robin Appelman2021-10-151-0/+13
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | remove old migration methodRobin Appelman2021-10-151-31/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | optimize filetype for s3 directories a bitRobin Appelman2021-10-151-0/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | more reliable directory copyRobin Appelman2021-10-151-20/+10
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | doesDirectoryExist fixesRobin Appelman2021-10-151-4/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | s3 external storage listing reworkRobin Appelman2021-10-151-96/+147
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #29185 from ↵Robin Appelman2021-10-151-23/+1
|\ \ | | | | | | | | | | | | nextcloud/revert-29165-bug/noid/s3-delete-folder-versions Revert "Delete S3 versions in rmdir"
| * | Revert "Delete S3 versions in rmdir"Vincent Petry2021-10-121-23/+1
| | |
* | | Merge pull request #27194 from nextcloud/new-ftpJohn Molakvoæ2021-10-142-84/+526
|\ \ \ | |/ / |/| |
| * | ftp ci improvementsRobin Appelman2021-10-071-1/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | update copyright headerRobin Appelman2021-10-071-1/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | teardownRobin Appelman2021-10-071-1/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add new ftp backendRobin Appelman2021-10-072-85/+522
| |/ | | | | | | | | | | this uses the raw `ftp_` functions instead of the stream wrapper Signed-off-by: Robin Appelman <robin@icewind.nl>
* / Delete S3 versions in rmdirVincent Petry2021-10-111-1/+23
|/ | | | | | | When deleting a complete folder in a bucket that has versioning enabled, also make sure to delete all associated versions and delete markers Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix folder size contained in S3 bucketsLouis Chemineau2021-08-191-4/+9
| | | | | | If 'filesystem_check_changes' was set to never, the cached size was alway set to -1 (Pending) on every access Signed-off-by: Louis Chemineau <louis@chmn.me>
* Delete object to cleanup leftover of paths when removing directoriesJulius Härtl2021-08-131-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Gracefully handle smb acls for users without a domainRichard Steinmetz2021-08-131-1/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* remove depricated methods from MountConfigRobin Appelman2021-06-161-6/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #26397 from nextcloud/external-storage-login-ldap-publicblizzz2021-06-071-3/+34
|\ | | | | allow using any ldap property as login name when using external storage login credentials
| * allow using any ldap property as login name when using external storage ↵Robin Appelman2021-06-031-3/+34
| | | | | | | | | | | | login credentials Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0458-67/+14
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Spelling unificationValdnet2021-05-212-2/+2
| | | | | Spelling unification in Transifex. Signed-off-by: Valdnet 47037905+Valdnet@users.noreply.github.com
* set mimetype for objects uploaded to object storagesRobin Appelman2021-04-212-4/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Continue iterating over diretory contents and just hide file if denied by aclJulius Härtl2021-04-201-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* ignore readonly flag for directoriesRobin Appelman2021-03-251-8/+2
| | | | | | see http://support.microsoft.com/kb/326549 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #26145 from nextcloud/smb-force-write-optionMorris Jobke2021-03-191-1/+9
|\ | | | | add (hidden) option to always show smb root as writable
| * add (hidden) option to always show smb root as writableRobin Appelman2021-03-161-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some smb servers are very insistent in reporting that the root of the share is readonly, even if it isn't. This works around the problem by adding a hidden option to overwrite the permissions of the root of the share. This can be enabled using ```bash occ files_external:config <mount id> root_force_writable true ``` where you can find your mount id using ```bash occ files_external:list ``` Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #25129 from nextcloud/bugfix/smb-notify-subpathVincent Petry2021-03-191-1/+1
|\ \ | |/ |/| Fix files_external:notify command when running withing a subdirectory
| * Fix files_external:notify command when running withing a subdirectory of the ↵Julius Härtl2021-01-141-1/+1
| | | | | | | | | | | | SMB share Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | catch notfound and forbidden exception in smb::getmetadataRobin Appelman2021-03-041-1/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Properly handle SMB ACL blocking scanning a directoryJulius Härtl2021-01-291-2/+7
| | | | | | | | | | | | | | | | This makes sure that a possible ForbiddenException is properly passed through the storage as a ForbiddenException and can be catched when trying to fetch the quota info of a parent folder Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #25214 from ↵Morris Jobke2021-01-211-0/+1
|\ \ | | | | | | | | | | | | nextcloud/dependabot/composer/phpseclib/phpseclib-2.0.30 Bump phpseclib/phpseclib from 2.0.25 to 2.0.30