aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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>
* fix app disdplay nameArthur Schiwon2021-06-161-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix some typesRobin Appelman2021-06-163-9/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move logic from contstructor to boot methodRobin Appelman2021-06-161-15/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move user/group deleted listeners to new event listener serviceRobin Appelman2021-06-163-25/+96
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move files_external to IBootstrapRobin Appelman2021-06-163-8/+32
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* remove depricated methods from MountConfigRobin Appelman2021-06-163-120/+58
| | | | 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-04104-129/+41
|/ | | | 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
* Rename External storages to External storageszaimen2021-05-205-6/+6
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* better cleanup of filecache when deleting an external storageRobin Appelman2021-05-191-38/+1
| | | | | | this way it can delete the cache entries even with per-user credentials Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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>
* Merge pull request #23444 from nextcloud/notify-dry-runRoeland Jago Douma2021-03-301-32/+52
|\ | | | | add dry-run option to files_external:notify
| * add dry-run option to files_external:notifyRobin Appelman2021-03-241-32/+52
| | | | | | | | | | | | and add some additional logging Signed-off-by: Robin Appelman <robin@icewind.nl>
* | 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>
* | | Use correct exception type hint in catch statementMorris Jobke2021-03-161-2/+2
| |/ |/| | | | | | | | | Found by psalm update 4.6.2 to 4.6.3 in #26111 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | catch notfound and forbidden exception in smb::getmetadataRobin Appelman2021-03-041-1/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix types in the Group ManagerRoeland Jago Douma2021-03-031-1/+1
| | | | | | | | | | | | | | | | | | Psalm found an issue. However the issue found was because of lying docblocks. Fixed those and did some typing to make it all better. For #25839 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix a few RedundantCastRoeland Jago Douma2021-03-011-1/+1
| | | | | | | | | | | | | | Reported by psalm For #25641 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-2/+2
| | | | | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Drop redundant indesRoeland Jago Douma2021-02-162-3/+65
| | | | | | | | | | | | | | Those indexes are already covered by others. So those can just be used. THose extra indexes just take up space. Signed-off-by: Roeland Jago Douma <roeland@famdouma.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
| * | Bump phpseclib/phpseclib from 2.0.25 to 2.0.30Christoph Wurst2021-01-191-0/+1
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix potential empty resultJoas Schilling2021-01-201-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Compare and store the login name via the eventJoas Schilling2021-01-201-3/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Also fix the username when it changedJoas Schilling2021-01-201-2/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Don't save credentials of another userJoas Schilling2021-01-201-0/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-121-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-115-18/+18
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* dont offer to edit external config settings if we can't edit themRobin Appelman2021-01-084-22/+53
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #23261 from nextcloud/enh/external-storage-session-typeMorris Jobke2021-01-073-3/+18
|\ | | | | Expose session based authentication through mount point type
| * Expose session based authentication through mount point typeJulius Härtl2020-12-213-3/+18
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Revert "allow using any ldap property as login name when using login ↵blizzz2021-01-071-38/+2
| | | | | | | | credentials"