aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_external): wrong type for external mount idfix/files_external_scanBenjamin Gaussorgues2024-12-131-1/+1
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #49288 from nextcloud/smb-acl-fail-softRobin Appelman2024-12-041-1/+6
|\ | | | | fix: smb: don't fail hard if we can't load acls for a file
| * fix: smb: don't fail hard if we can't load acls for a filesmb-acl-fail-softRobin Appelman2024-11-141-1/+6
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(files_external): Enable ownerless sharesprovokateurin2024-12-041-1/+2
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge branch 'master' into fix/external-storage-service-cast-idAlexander Piskun2024-12-039-21/+24
|\ \
| * | feat: Use inline password confirmation in external storage settingsLouis Chemineau2024-11-285-8/+8
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | fix(external_storage): Cast id to intfix/external-storage-controller-cast-idMarcel Klehr2024-11-251-2/+2
| |/ | | | | | | | | | | follow up to #49218 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * fix(files_external): cast storage id intfix/external-storage-intskjnldsv2024-11-121-2/+2
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
| * Merge pull request #49015 from nextcloud/fix/openapi/array-syntaxJohn Molakvoæ2024-11-063-9/+9
| |\
| | * fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-053-9/+9
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * | fix(files-external): set password as sensitivefix/noid/set-ext-pwd-as-sensitiveMaxence Lange2024-10-311-0/+3
| |/ | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* / fix(external_storage): Cast id to intOleksander Piskun2024-12-021-2/+2
|/
* fix: add PasswordConfirmationRequired to saveGlobalCredentialsfix/add-password-confirmation-to-save-global-credsyemkareems2024-10-301-0/+2
| | | | | Co-authored-by: yemkareems <yemkareems@gmail.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #48788 from ↵John Molakvoæ2024-10-293-0/+7
|\ | | | | | | nextcloud/fix/788/add-password-required-to-external-storages
| * fix: cs fix namespacefix/788/add-password-required-to-external-storagesyemkareems2024-10-181-1/+1
| | | | | | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
| * fix: add PasswordConfirmationRequired to the eternal storages mentioned in ↵yemkareems2024-10-183-0/+7
| | | | | | | | | | | | review Signed-off-by: yemkareems <yemkareems@gmail.com>
* | refactor(Storage): Align all Storage constructorsrefactor/storage/constructorsprovokateurin2024-10-237-78/+77
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(psalm): Fix some newly detected issuesrefactor/apps/constructor-property-promotionprovokateurin2024-10-211-1/+1
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-2133-315/+142
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | chore(db): Correctly apply query typesGit'Fellow2024-10-171-32/+17
|/ | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* fix: add PasswordConfirmationRequired to update and delete methodyemkareems2024-10-161-0/+2
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: add PasswordConfirmationRequired to create user storages endpointyemkareems2024-10-161-0/+2
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-1517-37/+61
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #48494 from nextcloud/refactor/storage/strong-param-typesKate2024-10-088-175/+116
|\
| * refactor(files_external): Add Storage parameter strong typesrefactor/storage/strong-param-typesprovokateurin2024-10-078-175/+116
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(BackgroundJobs): Adjust intervals and time sensitivitiesprovokateurin2024-10-081-2/+1
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Ensure we only pass string to writeln()Joas Schilling2024-10-072-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* ci: Fix psalm by typing the QuestionHelperJoas Schilling2024-10-071-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: use nc's binary finding logic for smbsmb-systembridgeRobin Appelman2024-10-042-7/+34
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(filesexternal): Remove unneeded 3rdparty library usebugfix/noid/remove-3rdparty-useJoas Schilling2024-10-025-13/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Fix test of IConstructableStorage implentation by storage classesfix/fix-storage-interface-checkCôme Chilliet2024-09-301-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(files_external): Fix all IStorage return typesprovokateurin2024-09-267-232/+130
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48359 from ↵Louis2024-09-261-0/+8
|\ | | | | | | | | nextcloud/artonge/feat/compare_hashed_password_when_updating_global_cred_in_files_external fix: Use placeholder for external storage password
| * fix: Use hashed password in files_external settingsartonge/feat/compare_hashed_password_when_updating_global_cred_in_files_externalLouis Chemineau2024-09-251-0/+8
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(files_external): Catch correct exceptionfix/files_external/forbidden-exceptionMarcel Klehr2024-09-261-7/+9
|/ | | | | | SMB#getFileInfo used to throw an icewind/smb exception, but nowadays throws \OCP\Files\ForbiddenException. This fixes downstream methods to catch the new exception. Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Merge pull request #48111 from ↵Côme Chilliet2024-09-231-0/+5
|\ | | | | | | | | nextcloud/fix/move-storage-constructor-to-specific-interface fix: Move storage constructor to specific interface
| * fix: Move storage constructor to specific interfaceCôme Chilliet2024-09-231-0/+5
| | | | | | | | | | | | That allows Wrappers to use DI and not care about the constructor Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Apply rector configuration to apps folderCôme Chilliet2024-09-209-15/+15
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-1918-25/+25
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Remove OCP\Files\Storage interface deprecated since version 9Côme Chilliet2024-09-163-21/+15
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor: Use the elvis operatorChristoph Wurst2024-09-151-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(files_external): Check key exists before accessing itfixKeyExFileExtGit'Fellow2024-09-141-4/+8
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix(files_external): broken credentials dialogJohn Molakvoæ (skjnldsv)2024-09-131-28/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #47526 from nextcloud/jtr/fix-ftp-custom-port-uiJosh2024-09-121-0/+2
|\ | | | | fix(files_external): Handling in FTP UI for custom ports
| * fix: custom port handling in UI for FTP External StorageJosh2024-08-271-0/+2
| | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | Merge pull request #47527 from nextcloud/fix-sftp-custom-port-uiJosh2024-09-121-0/+2
|\ \ | | | | | | fix(files_external): Handling in SFTP UI for custom ports
| * | fix: custom port handling in UI for SFTPJosh Richards2024-08-271-0/+2
| |/ | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* / fix: Fix unmodified placeholder replacing the actual value when updatingDaniel Calviño Sánchez2024-09-042-0/+12
|/ | | | | | | | | | | | | | When updating global storages and user storages a property is not updated by "StoragesService::updateStorage()" if the value matches the unmodified placeholder. However, userglobal storages are not updated through the "StoragesService"; as only the authentication mechanism is updated it is directly done with "saveBackendOptions()" in "IUserProvided" or "UserGlobalAuth". Due to this the unmodified placeholder value needs to be explicitly checked in those cases and replaced by the actual value (note that in this case it is not possible to just skip updating a specific property). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2516-43/+43
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge branch 'master' into jr-readdir-false-falseJohn Molakvoæ2024-08-16115-2953/+1319
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>