summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
Commit message (Collapse)AuthorAgeFilesLines
* delay sending event from app init to when they are neededArthur Schiwon2019-08-022-6/+13
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fixes terminology and allows to request an IUser instanceArthur Schiwon2019-08-022-7/+23
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* do not send null value when string is expectedArthur Schiwon2019-08-021-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Provide proper user context from initMountPointsJulius Härtl2019-08-023-4/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* files_external: Make sure the correct user context is used in substitution ↵Julius Härtl2019-08-023-16/+71
| | | | | | of variables Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix wrong indentationDaniel Kesselberg2019-07-221-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix invalid recursionDaniel Kesselberg2019-07-211-3/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow hidden smb sharesDaniel Kesselberg2019-07-161-1/+1
| | | | | | | A hidden smb share ends with $. This patch changes the placeholder detection to allow shares with $ at the end. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.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-232-5/+16
| | | | | | | | | | | 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>
* do not attempt to replace anything in the passwordArthur Schiwon2019-04-021-1/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use two queries to mark parent as outdatedAri Selseng2019-03-181-15/+40
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Correct log attributeAri Selseng2019-03-041-1/+1
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Added logging to Notify command.Ari Selseng2019-03-041-2/+9
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Reconnect to DB after timeout for Notify command. Fixes #14479Ari Selseng2019-03-031-10/+48
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Merge pull request #14448 from mzamot/masterRoeland Jago Douma2019-03-011-1/+1
|\ | | | | Convert value of timestamp metadata key in swift files_external
| * Convert timestamp key value of metadata in Swift files_externalMichael Zamot2019-03-011-1/+1
| | | | | | | | | | | | | | | | modified: apps/files_external/lib/Lib/Storage/Swift.php Signed-off-by: Michael Zamot <michael@zamot.io> Convert value of timestamp metadata key in swift files_external to string
* | 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>
* Merge pull request #14211 from nextcloud/bugfix/prefix-path-to-filecache-s3Morris Jobke2019-02-191-2/+2
|\ | | | | Prefix $path for filename for internal file cache
| * Call headObject if file not in filecache :see_no_evil:Daniel Kesselberg2019-02-141-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * Prefix $path for filename for internal file cacheDaniel Kesselberg2019-02-141-2/+2
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | typos in doc, no code changesArthur Schiwon2019-02-153-4/+6
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | reject mounts with unsubstituted placeholders as incompletely configuredArthur Schiwon2019-02-141-0/+30
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | add LDAP ConfigHandler for external storages and "$home" varArthur Schiwon2019-02-143-4/+3
| | | | | | | | | | | | | | | | * handler registered upon OCA\\Files_External::loadAdditionalBackends event as user_ldap is loaded before files_external * new configuration field "ldapExtStorageHomeAttribute" (not in GUI yet) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | files_external: allow to register config handlers for flexible placeholdersArthur Schiwon2019-02-147-18/+282
|/ | | | | | | | * BackendService (directly accessable via \OC_Server) offers registerConfigHandler * SimpleSubstitutionTrait brings reusable logic for simple string replacments * internal $user replacement mechanism was migrated Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #12691 from nextcloud/storage-no-encryption-interfaceMorris Jobke2018-11-291-1/+2
|\ | | | | Add interface to allow storages from opting out of encryption
| * Add interface to allow storages from opting out of encryptionRobin Appelman2018-11-291-1/+2
| | | | | | | | | | | | As opposed to hard-coding a list of excluded storages Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix cannot set 0 as value on files_external through OCC commandRobin Appelman2018-11-271-1/+1
|/ | | | 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>