Joas Schilling
3fe6b5b5f8
Fix numeric folders throwing on markDirty
...
TypeError: strpos() expects parameter 1 to be string, int given
The problem is that in cacheNode() we strip of any slashes, so
a folder "0/" will be trimmed to "0" and be used as an array key.
Since PHP automatically casts numeric array keys to integers,
you afterwards get $nodePath as int(0). Since it's now a number,
the strpos() function does not accept it anymore. Simply casting
$nodePath to a string again in the foreach solves the issue
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-25 13:14:58 +00:00
Nextcloud bot
066eafb172
[tx-robot] updated from transifex
2020-09-25 02:18:59 +00:00
Nextcloud bot
2c7b88454d
[tx-robot] updated from transifex
2020-09-24 02:17:59 +00:00
Nextcloud bot
617174b519
[tx-robot] updated from transifex
2020-09-23 02:18:00 +00:00
Nextcloud bot
dcceb1360f
[tx-robot] updated from transifex
2020-09-22 02:17:57 +00:00
Nextcloud bot
c2977c5c0f
[tx-robot] updated from transifex
2020-09-21 02:17:33 +00:00
Nextcloud bot
1681e74d2d
[tx-robot] updated from transifex
2020-09-20 02:17:17 +00:00
Nextcloud bot
c8f9fa1830
[tx-robot] updated from transifex
2020-09-18 19:05:38 +00:00
Julius Härtl
7ea6ed6224
Merge pull request #22926 from nextcloud/backport/22915/stable19
...
[stable19] improve handling of out of space errors for smb
2020-09-18 13:13:36 +02:00
Nextcloud bot
34793138c7
[tx-robot] updated from transifex
2020-09-18 02:17:08 +00:00
Robin Appelman
67543d77a0
improve handling of out of space errors for smb
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-17 18:43:43 +00:00
Nextcloud bot
8c2c8fd831
[tx-robot] updated from transifex
2020-09-17 02:27:15 +00:00
Robin Appelman
f140e3a03a
only get the permissions from the share source if it's not already cached
...
this prevents having to setup the share source when doing metadata stuff on the share root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-16 17:29:02 +00:00
Nextcloud bot
c1a7a026f6
[tx-robot] updated from transifex
2020-09-16 02:17:02 +00:00
Nextcloud bot
871d9a614e
[tx-robot] updated from transifex
2020-09-15 10:48:39 +00:00
Georg Ehrke
ac87e46dff
Mitigate encoding issue with user principal uri
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-14 06:20:32 +00:00
Roeland Jago Douma
9e88559e94
Merge pull request #22775 from nextcloud/fix/noid/stable19-ldap-group-update-events
...
[stable19] makes LDAP's group updater dispatch type events
2020-09-11 08:45:49 +02:00
Roeland Jago Douma
d43eeab39d
Merge pull request #22778 from nextcloud/backport/22739/stable19
...
[stable19] Don't fail if copying a file of 0 byte size
2020-09-11 08:45:21 +02:00
Roeland Jago Douma
b9ef2a543f
Merge pull request #22776 from nextcloud/backport/22747/stable19
...
[stable19] fix s3 doesDirectoryExist check for empty directories
2020-09-11 08:45:06 +02:00
Roeland Jago Douma
cd29f22ee7
Merge pull request #22591 from nextcloud/backport/22577/stable19
...
[stable19] Better error message when blocked by access control
2020-09-11 08:43:52 +02:00
Arthur Schiwon
51fa743c7a
makes LDAP's group updater dispatch type events
...
* fixes group share updates on added users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-10 15:18:47 +02:00
Julius Härtl
f5dec3702b
Properly catch exception from writing to stream when copying a file
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 13:18:11 +00:00
Julius Härtl
b946d2c444
Set delimiter so that the CommonPrefixes response can properly be determined
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 13:14:28 +00:00
Robin Appelman
30ea77c673
fix s3 doesDirectoryExist check for empty directories
...
if a directory is empty, only the 'marker' object `/` exists.
since not all s3 implementations return just the prefix when listing objects by prefix,
when listing objects by the folder prefix, nothing will be returned if the directory is empty.
by not including the trailing slash in the prefix, the folder marked will always be returned if it exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-10 13:14:28 +00:00
Roeland Jago Douma
b5cb33ed36
Merge pull request #22753 from nextcloud/backport/22651/stable19
...
[stable19] Fix reading empty files from objectstorage
2020-09-10 08:45:01 +02:00
Julius Härtl
7dc51204d3
Merge pull request #22630 from nextcloud/backport/22583/stable19
2020-09-10 08:43:53 +02:00
Roeland Jago Douma
24b69b2402
Fix reading empty files from objectstorage
...
Since we try to do range requests this will fail hard.
However since empty files are not that interesting to read anyways we
just read from an emptry memory stream.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-09 19:47:23 +00:00
Morris Jobke
969da6cca6
Merge pull request #22713 from nextcloud/backport/stable19/22557
...
[stable19] Do not fail if share for mountpoint is no longer available
2020-09-09 15:10:11 +02:00
Joas Schilling
30db37bbf2
Don't use SELECT DISTINCT when to_char() is used in a WHERE statement
...
Nice bug in Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-08 07:42:12 +00:00
Julius Härtl
57eef41da0
Do not fail if share for mountpoint is no longer available
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-08 09:14:45 +02:00
Arthur Schiwon
8b291adb08
add repair step to clean up DB off lastFeatureRefresh entries in user prefs
...
- also removes related app setting "updateAttributesInterval"
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-07 10:50:17 +02:00
Nextcloud bot
c3a6f50206
[tx-robot] updated from transifex
2020-09-07 02:16:49 +00:00
Arthur Schiwon
303bac6c75
these code bits were part of old logic that was already refactored out
...
- only references were in unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-06 17:57:08 +00:00
Nextcloud bot
55bad53353
[tx-robot] updated from transifex
2020-09-06 02:17:02 +00:00
Nextcloud bot
123d33bdd3
[tx-robot] updated from transifex
2020-09-05 02:16:55 +00:00
Joas Schilling
94f4e5142f
Better error message when blocked by access control
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 13:53:18 +00:00
Roeland Jago Douma
dc60a81284
Merge pull request #22515 from nextcloud/backport/22472/stable19
...
[stable19] Fix writing BLOBs to postgres with recent contacts interaction
2020-09-04 12:38:16 +02:00
Roeland Jago Douma
757a35bd01
Merge pull request #22442 from nextcloud/backport/22421/stable19
...
[stable19] show better quota warning for group folders and external storage
2020-09-04 12:34:15 +02:00
Roeland Jago Douma
e7cda28ed4
Upgrade icewind/smb to 3.2.7
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-04 08:28:22 +00:00
Roeland Jago Douma
77edd1e11d
Merge pull request #22553 from nextcloud/backport/22528/stable19
...
[stable19] Change free space calculation
2020-09-04 08:52:25 +02:00
Nextcloud bot
4c7db572fd
[tx-robot] updated from transifex
2020-09-04 02:17:28 +00:00
Julius Härtl
f4dfb96d8d
Do not keep the part file if the forbidden exception has retry set to false
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-03 11:06:41 +00:00
Daniel Kesselberg
82239d8e3e
Tests only: Forward calls to getUserValue and getAppValue
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-03 07:33:21 +00:00
Daniel Kesselberg
0a5045ec8e
Change free space calculation
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-03 07:33:20 +00:00
Nextcloud bot
03702d4a70
[tx-robot] updated from transifex
2020-09-03 02:16:48 +00:00
Nextcloud bot
91dfaed96c
[tx-robot] updated from transifex
2020-09-02 02:17:22 +00:00
Nextcloud bot
b13326ef1a
[tx-robot] updated from transifex
2020-09-01 02:16:18 +00:00
Christoph Wurst
7ada6e5ab0
Fix writing BLOBs to postgres with recent contacts interaction
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-31 13:09:40 +00:00
Nextcloud bot
07ffd36697
[tx-robot] updated from transifex
2020-08-31 02:16:20 +00:00
Nextcloud bot
ba0d3183ce
[tx-robot] updated from transifex
2020-08-30 02:16:16 +00:00