summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Storage/SMB.php
Commit message (Collapse)AuthorAgeFilesLines
* improve handling of out of space errors for smbRobin Appelman2020-09-291-0/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-051-3/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17258 from nextcloud/smb-timeout-configRoeland Jago Douma2019-09-271-1/+9
|\ | | | | add (hidden) option to configure smb timeout
| * add (hidden) option to configure smb timeoutRobin Appelman2019-09-251-1/+9
| | | | | | | | | | | | | | | | hidden from ui to prevent clutter ```occ files_external:config <mount> timeout 30``` Signed-off-by: Robin Appelman <robin@icewind.nl>
* | set a storage availability delay on auth issues to avoid lock outArthur Schiwon2019-08-221-5/+13
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | catch auth issues also when php-smbclient is in useArthur Schiwon2019-08-221-0/+8
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Ignore forbidden exception when fetching share mtime on SMB for symlinksMorris Jobke2019-07-081-0/+2
| | | | | | See https://github.com/nextcloud/server/pull/7556#issuecomment-499028026 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add option to show hidden files in SMB sharesRobin Appelman2019-05-231-5/+13
| | | | | | | | | | | Note hidden files can mean different things in smb and the option the the files web ui, the webui only counts files starting with '.' as hidden, while smb files can be marked as hidden regardless, any files that are marked as hidden on smb will thus be shown in the webui regardless of the setting in the files app. Fixes #15644 Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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-221-9/+17
| | | | 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>
* move log constants to ILoggerArthur Schiwon2018-04-261-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove \OCP\Files::tmpFileRoeland Jago Douma2018-03-191-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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>
* Use index based string access for substr with length of 1Morris Jobke2018-01-261-7/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7556 from nextcloud/smb-stat-exceptionMorris Jobke2017-12-181-5/+7
|\ | | | | handle exceptions in SMB::stat
| * handle exceptions in SMB::statRobin Appelman2017-12-181-5/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | additional debug logging on smb copy/rename failuresRobin Appelman2017-12-181-0/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-061-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix comparisons in the files external appJoas Schilling2017-08-011-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* remove duplicate methodRobin Appelman2017-04-261-26/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* remove excessive loggingRobin Appelman2017-04-261-25/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Adjust SMB permissions on the rootJuan Pablo Villafáñez2017-04-261-3/+60
|
* Remove unused use statementsMorris Jobke2017-04-221-3/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add unit tests for smb notify backendRobin Appelman2017-01-271-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add a more powerful notify mechanismRobin Appelman2017-01-271-39/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update icewind/smb to 2.0.0Robin Appelman2017-01-051-11/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #2550 from nextcloud/smb-notify-renameLukas Reschke2016-12-161-3/+5
|\ | | | | Fix order of parameters when getting notified of smb renames
| * Fix order of parameters when getting notified of smb renamesRobin Appelman2016-12-071-3/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix mtimes for share rootRobin Appelman2016-10-111-2/+44
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #465 from nextcloud/fix_smb_attributesMorris Jobke2016-08-041-0/+13
|\ | | | | Fix file permissions for SMB (read-only folders will be writeable) (#…
| * Fix file permissions for SMB (read-only folders will be writeable) (#25301)Juan Pablo Villafañez2016-07-201-0/+13
| | | | | | | | | | | | | | | | * Fix file permissions for SMB (read-only folders will be writeable) * Read-only folders won't be deletable * Added comment for the read-only behaviour for folders
* | Update with robinJoas Schilling2016-07-211-1/+1
| |
* | Fix apps/Joas Schilling2016-07-211-1/+2
| |
* | add notify support to smb storageRobin Appelman2016-07-141-1/+58
|/
* Fix type hintingRobin Appelman2016-07-081-1/+1
|
* implement specific rename handling for SMBArthur Schiwon2016-06-081-0/+20
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Move Lib\Storage to PSR-4Joas Schilling2016-05-241-0/+396