Commit Graph

2788 Commits

Author SHA1 Message Date
Nextcloud bot 372307a762
[tx-robot] updated from transifex 2019-09-11 02:15:24 +00:00
Arthur Schiwon f42a6e0506 set a storage availability delay on auth issues to avoid lock out
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 14:51:31 +00:00
Arthur Schiwon f29395e89d catch auth issues also when php-smbclient is in use
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 14:51:31 +00:00
Nextcloud bot 56c7864fc7
[tx-robot] updated from transifex 2019-09-08 02:16:49 +00:00
Nextcloud bot 7d6cb4eb6b
[tx-robot] updated from transifex 2019-09-06 02:15:10 +00:00
Nextcloud bot 300631a4e9
[tx-robot] updated from transifex 2019-08-28 02:15:35 +00:00
Nextcloud bot a584e2e899
[tx-robot] updated from transifex 2019-08-18 02:15:47 +00:00
Nextcloud bot 2bca7f372c
[tx-robot] updated from transifex 2019-08-17 02:15:09 +00:00
Arthur Schiwon 18aa047dd4 delay sending event from app init to when they are needed
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-08-08 08:49:44 +00:00
Nextcloud bot 8280bb5bf1
[tx-robot] updated from transifex 2019-08-07 02:14:45 +00:00
Julius Härtl 271f86cff3 Adjust tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-02 12:08:22 +00:00
Arthur Schiwon 29b04742db do not send null value when string is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-08-02 12:08:22 +00:00
Arthur Schiwon bb9f14115c fixes terminology and allows to request an IUser instance
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-08-02 12:08:21 +00:00
Julius Härtl f852c82bf9 Provide proper user context from initMountPoints
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-02 12:08:21 +00:00
Julius Härtl 40cf574df9 files_external: Make sure the correct user context is used in substitution of variables
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-02 12:08:21 +00:00
Nextcloud bot ee6f4febbd
[tx-robot] updated from transifex 2019-07-31 02:16:13 +00:00
Daniel Kesselberg f1031e1e24 Fix wrong indentation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-24 10:44:20 +00:00
Daniel Kesselberg 62826ae018 Fix invalid recursion
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-24 10:44:20 +00:00
Daniel Kesselberg 9072d82cd6 Allow hidden smb shares
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>
2019-07-24 10:44:19 +00:00
Nextcloud bot 9e62b2f25a
[tx-robot] updated from transifex 2019-07-24 02:15:44 +00:00
Nextcloud bot 70d3fd8a76
[tx-robot] updated from transifex 2019-07-21 02:15:18 +00:00
Nextcloud bot cad16d7863
[tx-robot] updated from transifex 2019-07-02 02:13:49 +00:00
Nextcloud bot 7085ec3551
[tx-robot] updated from transifex 2019-06-24 02:14:12 +00:00
Nextcloud bot 7a70c37549
[tx-robot] updated from transifex 2019-06-17 02:14:06 +00:00
Nextcloud bot 1d4e394cf5
[tx-robot] updated from transifex 2019-06-14 02:14:35 +00:00
Robin Appelman 74cb5d592d add option to show hidden files in SMB shares
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>
2019-05-29 08:21:21 +00:00
Nextcloud bot d467e9129b
[tx-robot] updated from transifex 2019-05-29 02:13:52 +00:00
Nextcloud bot 153d9ba9d6
[tx-robot] updated from transifex 2019-05-28 02:13:49 +00:00
Nextcloud bot 1583b2af91
[tx-robot] updated from transifex 2019-05-27 02:13:48 +00:00
Nextcloud bot b32587697e
[tx-robot] updated from transifex 2019-05-26 02:14:22 +00:00
Nextcloud bot 2629a0b0b5
[tx-robot] updated from transifex 2019-05-22 02:14:00 +00:00
Nextcloud bot 70610a2fbe
[tx-robot] updated from transifex 2019-05-15 13:11:46 +00:00
Nextcloud bot acba430246
[tx-robot] updated from transifex 2019-04-08 00:14:18 +00:00
Arthur Schiwon 2b84bbf372
do not attempt to replace anything in the password
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-04-02 23:08:34 +02:00
Nextcloud bot f7267468c0
[tx-robot] updated from transifex 2019-03-29 01:12:48 +00:00
Nextcloud bot a541443be7
[tx-robot] updated from transifex 2019-03-26 10:41:31 +00:00
Nextcloud bot 6ea5beccd7
[tx-robot] updated from transifex 2019-03-21 01:13:49 +00:00
Morris Jobke ff6f105ea6
Merge pull request #14571 from cowai/optimize-files_external-notify
Use index to mark parent as outdated, fixes: #14537
2019-03-19 07:25:41 +01:00
Ari Selseng 11b3fbf612 Use two queries to mark parent as outdated
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-18 18:24:57 +01:00
Nextcloud bot 6fcf729545
[tx-robot] updated from transifex 2019-03-14 16:08:31 +00:00
Morris Jobke b7f0091e0f
Add time between SMB test runs and properly log full changeset
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14 13:34:17 +01:00
Morris Jobke ab29028da7
Wait up to 10 seconds for incoming changes from SMB notifier
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13 18:01:24 +01:00
Roeland Jago Douma bb3c3539cc
Have streams of files_external in sync
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-07 12:15:32 +01:00
Roeland Jago Douma 243bc96ad9
Merge pull request #14480 from cowai/reconnect-db-notify
Reconnect to DB after timeout for Notify command. Fixes #14479
2019-03-04 21:36:12 +01:00
Robin Appelman 41f8bfbe93
update icewind/smb to 3.1.1
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-04 16:41:22 +01:00
Ari Selseng 1ac9a9a1bb Correct log attribute
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-04 15:02:15 +01:00
Ari Selseng 3218e0f70d Added logging to Notify command.
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-04 14:23:13 +01:00
Ari Selseng 71a0cdceaa Reconnect to DB after timeout for Notify command. Fixes #14479
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-03 01:36:27 +01:00
Roeland Jago Douma ba155a98db
Merge pull request #14448 from mzamot/master
Convert value of timestamp metadata key in swift files_external
2019-03-01 21:26:56 +01:00
Roeland Jago Douma 2398d1183e
Merge pull request #11871 from nextcloud/feature/11015/collaboration-resources
Collaboration resources
2019-03-01 21:22:34 +01:00
Joas Schilling 0c32b212ed
Fix files_external tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:57:01 +01:00
Joas Schilling 01b4db62fb
Add dispatcher events to User and Group objects
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:56:59 +01:00
Michael Zamot dc35a8af83 Convert timestamp key value of metadata in Swift files_external
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
2019-03-01 12:10:37 -07:00
Ari Selseng f156079a8b Fix a bug with smb notify having leading slash when it should not
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-01 13:55:52 +01:00
Nextcloud bot 374f89aba1
[tx-robot] updated from transifex 2019-03-01 01:12:36 +00:00
Morris Jobke 7fc68fe93e
Merge pull request #14211 from nextcloud/bugfix/prefix-path-to-filecache-s3
Prefix $path for filename for internal file cache
2019-02-19 12:01:08 +01:00
Arthur Schiwon 173836b95a
typos in doc, no code changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-02-15 22:41:29 +01:00
Daniel Kesselberg 0d667d18bb
Call headObject if file not in filecache 🙈
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-14 18:34:04 +01:00
Daniel Kesselberg 659ed3ecda
Prefix $path for filename for internal file cache
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-14 17:06:14 +01:00
Arthur Schiwon f8a133d39e
reject mounts with unsubstituted placeholders as incompletely configured
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-02-14 15:22:22 +01:00
Arthur Schiwon 792bcb82ae
add LDAP ConfigHandler for external storages and "$home" var
* 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>
2019-02-14 15:22:22 +01:00
Arthur Schiwon a26bcd8e8f
files_external: allow to register config handlers for flexible placeholders
* 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>
2019-02-14 15:20:48 +01:00
Nextcloud bot 4d8c42a4fb
[tx-robot] updated from transifex 2019-02-14 01:12:26 +00:00
Nextcloud bot de52f4d633
[tx-robot] updated from transifex 2019-02-11 01:12:23 +00:00
Nextcloud bot 5187ddcbfd
[tx-robot] updated from transifex 2019-02-09 01:12:40 +00:00
Morris Jobke c5dc9b57ae
Merge pull request #14064 from nextcloud/smb-3.1.0
update icewind/smb to 3.1.0
2019-02-07 16:46:31 +01:00
Morris Jobke b717434f13 Reintroduce status check for external storages
Fixes #14022

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-07 10:07:36 +00:00
Robin Appelman 89b0d28cb4
update icewind/smb to 3.1.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-02-06 16:08:58 +01:00
Nextcloud bot 0df5110127
[tx-robot] updated from transifex 2019-02-06 11:27:29 +00:00
John Molakvoæ (skjnldsv) 812567ae58
Remove warning in case of external storage error
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-29 16:23:04 +01:00
Nextcloud bot 4611ad5a9c
[tx-robot] updated from transifex 2019-01-26 01:12:19 +00:00
Nextcloud bot f8ce5ea6f3
[tx-robot] updated from transifex 2019-01-18 01:14:32 +00:00
Nextcloud bot ac6ee0b8b7
[tx-robot] updated from transifex 2019-01-17 01:12:15 +00:00
Nextcloud bot 56ad07b85e
[tx-robot] updated from transifex 2019-01-15 01:12:14 +00:00
Nextcloud bot 8edd9b0e33
[tx-robot] updated from transifex 2019-01-14 01:12:00 +00:00
Nextcloud bot 75b8e98f8e
[tx-robot] updated from transifex 2019-01-11 01:12:31 +00:00
Nextcloud bot a1f9ed1d7d
[tx-robot] updated from transifex 2019-01-04 01:12:28 +00:00
Nextcloud bot 8d5b74b6b6
[tx-robot] updated from transifex 2018-12-31 01:11:41 +00:00
Nextcloud bot 1c3f468d56
[tx-robot] updated from transifex 2018-12-27 01:11:41 +00:00
Nextcloud bot 9d5f7c7f62
[tx-robot] updated from transifex 2018-12-24 01:11:46 +00:00
Nextcloud bot 3d53398d07
[tx-robot] updated from transifex 2018-12-19 01:11:46 +00:00
Nextcloud bot 51f13a7e9c
[tx-robot] updated from transifex 2018-12-14 01:12:32 +00:00
Nextcloud bot 7034df7d77
[tx-robot] updated from transifex 2018-12-13 01:11:56 +00:00
Nextcloud bot f1af773e11
[tx-robot] updated from transifex 2018-12-12 01:11:38 +00:00
Nextcloud bot 386875cabe
[tx-robot] updated from transifex 2018-12-10 01:11:36 +00:00
Nextcloud bot fba7b8b98f
[tx-robot] updated from transifex 2018-12-06 01:12:00 +00:00
Morris Jobke 331f3b2652
Merge pull request #12691 from nextcloud/storage-no-encryption-interface
Add interface to allow storages from opting out of encryption
2018-11-29 22:02:23 +01:00
Morris Jobke 73fa3e1757
Merge pull request #12688 from nextcloud/files_external-occ-0
Fix cannot set 0 as value on files_external through OCC command
2018-11-29 16:38:37 +01:00
Robin Appelman 2c1f6331a4
Add interface to allow storages from opting out of encryption
As opposed to hard-coding a list of excluded storages

Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-29 16:31:34 +01:00
Nextcloud bot 68f04686a0
[tx-robot] updated from transifex 2018-11-29 01:11:34 +00:00
Robin Appelman 56c777f715
Fix cannot set 0 as value on files_external through OCC command
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-27 15:20:23 +01:00
Joas Schilling 1751c28c28
Bump versions of server and the requirements of apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-23 10:28:40 +01:00
Nextcloud bot d664a9b37b
[tx-robot] updated from transifex 2018-11-23 01:12:51 +00:00
Julius Härtl 9536a40025
Fix loading of files external templates file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-18 11:13:46 +01:00
Nextcloud bot def8af3e7e
[tx-robot] updated from transifex 2018-11-16 01:12:14 +00:00
Nextcloud bot 10c9b37461
[tx-robot] updated from transifex 2018-11-15 01:12:14 +00:00
Morris Jobke 08bd8373f6
Merge pull request #12417 from nextcloud/bugfix/noid/app-files_external-replace-insertIfNotExist
Fix UniqueConstraintViolationException while insert into files_external config tables
2018-11-14 21:05:32 +01:00
Morris Jobke 6bace99aa1
Fix UniqueConstraintViolationException while insert into files_external config tables
* followup to #12371

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-14 15:24:03 +01:00
Nextcloud bot 5e84824839
[tx-robot] updated from transifex 2018-11-13 01:12:40 +00:00
Nextcloud bot cc96b93f95
[tx-robot] updated from transifex 2018-11-10 01:12:25 +00:00