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
c8381c5d17
Merge pull request #22769 from nextcloud/backport/22766/stable19
...
[stable19] Clarify PHP warning in admin settings
2020-09-10 14:31:46 +02:00
Morris Jobke
a3b4e69ffe
Clarify PHP warning in admin settings
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-10 10:12:00 +00:00
Morris Jobke
cacaf4b4ee
Merge pull request #22752 from nextcloud/backport/22587/stable19
...
[stable19] Check if var debugMode exists
2020-09-10 09:33:38 +02: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
timm2k
7a52b026a1
Check if var debugMode exists
...
Closes #21150 a second time.
2nd appearance of debugMode may not seen in first fix.
2020-09-09 19:24:44 +00:00
Morris Jobke
b6c04b35c8
Merge pull request #22742 from nextcloud/backport/22589/stable19
...
[stable19] Allow additional personal settings via normal registration
2020-09-09 15:32:08 +02:00
Morris Jobke
968a756067
Merge pull request #22745 from nextcloud/backport/22646/stable19
...
[stable19] Fix detecting text/x-php mimetype and secure mimetype mapping
2020-09-09 15:31:46 +02:00
Morris Jobke
b7bcf5c019
Merge pull request #22652 from nextcloud/backport/22643/stable19
...
[stable19] Fix installing on Oracle
2020-09-09 15:10:39 +02: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
Morris Jobke
3e6c0defeb
Merge pull request #22720 from nextcloud/backport/22469/stable19
...
[stable19] Don't use SELECT DISTINCT when to_char() is used in a WHERE statement
2020-09-09 14:58:50 +02:00
Julius Härtl
2c8bea4b1d
Add text/x-php as an alternative for application/x-php
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-09 12:17:26 +00:00
Julius Härtl
554fab45aa
Properly add both mimetypes to secure mimetype mapping
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-09 12:17:26 +00:00
Morris Jobke
02a6cac39d
Merge pull request #22725 from nextcloud/version/19.0.3/final
...
19.0.3 final
2020-09-09 13:41:01 +02:00
Joas Schilling
9e9ed6c251
Allow additional personal settings via normal registration
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-09 11:25:40 +00:00
Roeland Jago Douma
7d540e732a
19.0.3 final
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-08 10:00:21 +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
Joas Schilling
1031170f35
Warn about adding NotNull columns with nullable default
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 18:57:56 +00:00
Joas Schilling
f64b9c528e
Fix installing on Oracle
...
Empty strings are stored as null in Oracle,
so a column with NotNull can not have an empty string as default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 18:57:56 +00: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
Roeland Jago Douma
540e9d517d
Merge pull request #22574 from nextcloud/version/19.0.3/rc1
...
19.0.3 RC1
2020-09-04 19:59:17 +02: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
c1b971ec63
Merge pull request #22579 from nextcloud/backport/22550/stable19
...
[stable19] Use the correct root to determinate the webroot for the resource
2020-09-04 12:35:21 +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
0c6dfcc814
Merge pull request #22581 from nextcloud/backport/22578/stable19
...
[stable19] Upgrade icewind/smb to 3.2.7
2020-09-04 12:34:02 +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
6117a82ae3
Merge pull request #22569 from nextcloud/backport/22524/stable19
...
[stable19] Fix app password updating out of bounds
2020-09-04 09:04:15 +02:00
Joas Schilling
fc0cdbb4a0
Use the correct root to determinate the webroot for the resource
...
Since all the compiled routes are based on the server webroot,
we have to use this, independent from which app this belongs to.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 07:01:26 +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
Roeland Jago Douma
e751d8b2c7
19.0.3 RC1
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-04 08:41:57 +02:00
Nextcloud bot
4c7db572fd
[tx-robot] updated from transifex
2020-09-04 02:17:28 +00:00
Roeland Jago Douma
ebd2b0d3dd
Fix app password updating out of bounds
...
When your password changes out of bounds your Nextcloud tokens will
become invalid. There is no real way around that. However we should make
sure that if you successfully log in again your passwords are all
updates
* Added event listener to the PostLoggedInEvent so that we can act on it
- Only if it is not a token login
* Make sure that we actually reset the invalid state when we update a
token. Else it keeps being marked invalid and thus not used.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-03 20:03:47 +00:00
Roeland Jago Douma
468f1fc592
Merge pull request #22560 from nextcloud/backport/22556/stable19
...
[stable19] Do not keep the part file if the forbidden exception has no retry set
2020-09-03 21:06:11 +02: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
Roeland Jago Douma
45dcdc3948
Merge pull request #22537 from nextcloud/backport/22535/stable19
...
[stable19] Only disable zip64 if the size is known
2020-09-03 08:41:41 +02: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
Roeland Jago Douma
2b4bc5b6df
Only disable zip64 if the size is known
...
Else we might run into the issue that for an external storage where the
size is not known yet we do not use zip64. Which then of course fails on
large zip files.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-01 13:42:49 +00:00
Nextcloud bot
b13326ef1a
[tx-robot] updated from transifex
2020-09-01 02:16:18 +00:00
Julius Härtl
568f68856f
Merge pull request #22519 from nextcloud/backport/22517/stable19
...
[stable19] set the mount id before calling storage wrapper
2020-08-31 21:51:59 +02:00
Roeland Jago Douma
c83bd2a7fd
Merge pull request #22521 from nextcloud/backport/22514/stable19
...
[stable19] Fix S3 error handling
2020-08-31 21:44:19 +02:00