]>
source.dussan.org Git - nextcloud-server.git/log
Joas Schilling [Thu, 24 Sep 2020 12:58:44 +0000 (14:58 +0200)]
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>
Nextcloud bot [Fri, 25 Sep 2020 02:18:59 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Thu, 24 Sep 2020 02:17:59 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 23 Sep 2020 02:18:00 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 22 Sep 2020 02:17:57 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 21 Sep 2020 02:17:33 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 20 Sep 2020 02:17:17 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 18 Sep 2020 19:05:38 +0000 (19:05 +0000)]
[tx-robot] updated from transifex
Julius Härtl [Fri, 18 Sep 2020 11:13:36 +0000 (13:13 +0200)]
Merge pull request #22926 from nextcloud/backport/22915/stable19
[stable19] improve handling of out of space errors for smb
Nextcloud bot [Fri, 18 Sep 2020 02:17:08 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Robin Appelman [Thu, 17 Sep 2020 15:23:33 +0000 (17:23 +0200)]
improve handling of out of space errors for smb
Signed-off-by: Robin Appelman <robin@icewind.nl>
Morris Jobke [Thu, 17 Sep 2020 09:53:49 +0000 (11:53 +0200)]
Merge pull request #22899 from nextcloud/backport/21894/stable19
[stable19] fix: file quota was not applied in all cases
korelstar [Fri, 17 Jul 2020 12:14:51 +0000 (14:14 +0200)]
fix: file quota was not applied in all cases
Nextcloud bot [Thu, 17 Sep 2020 02:27:15 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Wed, 16 Sep 2020 18:45:10 +0000 (20:45 +0200)]
Merge pull request #22893 from nextcloud/backport/22880/stable19
[stable19] Revoke secsignid
Morris Jobke [Wed, 16 Sep 2020 18:21:12 +0000 (20:21 +0200)]
Merge pull request #22892 from nextcloud/backport/22744/stable19
[stable19] only get the permissions from the share source if it's not already cached
Morris Jobke [Wed, 16 Sep 2020 10:45:16 +0000 (12:45 +0200)]
Revoke secsignid
See nextcloud/app-certificate-requests#343
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Robin Appelman [Wed, 9 Sep 2020 11:48:48 +0000 (13:48 +0200)]
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>
Nextcloud bot [Wed, 16 Sep 2020 02:17:02 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 15 Sep 2020 10:48:39 +0000 (10:48 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Mon, 14 Sep 2020 15:16:38 +0000 (17:16 +0200)]
Merge pull request #22840 from nextcloud/backport/22770/stable19
[stable19] Mitigate encoding issue with user principal uri
Georg Ehrke [Thu, 10 Sep 2020 10:55:41 +0000 (12:55 +0200)]
Mitigate encoding issue with user principal uri
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Roeland Jago Douma [Fri, 11 Sep 2020 06:45:49 +0000 (08:45 +0200)]
Merge pull request #22775 from nextcloud/fix/noid/stable19-ldap-group-update-events
[stable19] makes LDAP's group updater dispatch type events
Roeland Jago Douma [Fri, 11 Sep 2020 06:45:21 +0000 (08:45 +0200)]
Merge pull request #22778 from nextcloud/backport/22739/stable19
[stable19] Don't fail if copying a file of 0 byte size
Roeland Jago Douma [Fri, 11 Sep 2020 06:45:06 +0000 (08:45 +0200)]
Merge pull request #22776 from nextcloud/backport/22747/stable19
[stable19] fix s3 doesDirectoryExist check for empty directories
Roeland Jago Douma [Fri, 11 Sep 2020 06:43:52 +0000 (08:43 +0200)]
Merge pull request #22591 from nextcloud/backport/22577/stable19
[stable19] Better error message when blocked by access control
Arthur Schiwon [Thu, 10 Sep 2020 13:07:34 +0000 (15:07 +0200)]
makes LDAP's group updater dispatch type events
* fixes group share updates on added users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Julius Härtl [Wed, 9 Sep 2020 07:51:38 +0000 (09:51 +0200)]
Annotate that writeStream can throw a GenericFileException
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Wed, 9 Sep 2020 07:46:44 +0000 (09:46 +0200)]
Properly catch exception from writing to stream when copying a file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Wed, 9 Sep 2020 13:19:04 +0000 (15:19 +0200)]
Set delimiter so that the CommonPrefixes response can properly be determined
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Robin Appelman [Wed, 9 Sep 2020 12:29:11 +0000 (14:29 +0200)]
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>
Roeland Jago Douma [Thu, 10 Sep 2020 12:31:46 +0000 (14:31 +0200)]
Merge pull request #22769 from nextcloud/backport/22766/stable19
[stable19] Clarify PHP warning in admin settings
Morris Jobke [Thu, 10 Sep 2020 09:08:25 +0000 (11:08 +0200)]
Clarify PHP warning in admin settings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Thu, 10 Sep 2020 07:33:38 +0000 (09:33 +0200)]
Merge pull request #22752 from nextcloud/backport/22587/stable19
[stable19] Check if var debugMode exists
Roeland Jago Douma [Thu, 10 Sep 2020 06:45:01 +0000 (08:45 +0200)]
Merge pull request #22753 from nextcloud/backport/22651/stable19
[stable19] Fix reading empty files from objectstorage
Julius Härtl [Thu, 10 Sep 2020 06:43:53 +0000 (08:43 +0200)]
Merge pull request #22630 from nextcloud/backport/22583/stable19
Roeland Jago Douma [Mon, 7 Sep 2020 18:53:56 +0000 (20:53 +0200)]
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>
timm2k [Fri, 4 Sep 2020 11:50:14 +0000 (13:50 +0200)]
Check if var debugMode exists
Closes #21150 a second time.
2nd appearance of debugMode may not seen in first fix.
Morris Jobke [Wed, 9 Sep 2020 13:32:08 +0000 (15:32 +0200)]
Merge pull request #22742 from nextcloud/backport/22589/stable19
[stable19] Allow additional personal settings via normal registration
Morris Jobke [Wed, 9 Sep 2020 13:31:46 +0000 (15:31 +0200)]
Merge pull request #22745 from nextcloud/backport/22646/stable19
[stable19] Fix detecting text/x-php mimetype and secure mimetype mapping
Morris Jobke [Wed, 9 Sep 2020 13:10:39 +0000 (15:10 +0200)]
Merge pull request #22652 from nextcloud/backport/22643/stable19
[stable19] Fix installing on Oracle
Morris Jobke [Wed, 9 Sep 2020 13:10:11 +0000 (15:10 +0200)]
Merge pull request #22713 from nextcloud/backport/stable19/22557
[stable19] Do not fail if share for mountpoint is no longer available
Morris Jobke [Wed, 9 Sep 2020 12:58:50 +0000 (14:58 +0200)]
Merge pull request #22720 from nextcloud/backport/22469/stable19
[stable19] Don't use SELECT DISTINCT when to_char() is used in a WHERE statement
Julius Härtl [Mon, 7 Sep 2020 14:43:00 +0000 (16:43 +0200)]
Add text/x-php as an alternative for application/x-php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Mon, 7 Sep 2020 14:29:39 +0000 (16:29 +0200)]
Properly add both mimetypes to secure mimetype mapping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Morris Jobke [Wed, 9 Sep 2020 11:41:01 +0000 (13:41 +0200)]
Merge pull request #22725 from nextcloud/version/19.0.3/final
19.0.3 final
Joas Schilling [Fri, 4 Sep 2020 13:21:48 +0000 (15:21 +0200)]
Allow additional personal settings via normal registration
Signed-off-by: Joas Schilling <coding@schilljs.com>
Roeland Jago Douma [Tue, 8 Sep 2020 08:00:21 +0000 (10:00 +0200)]
19.0.3 final
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Joas Schilling [Fri, 28 Aug 2020 06:57:06 +0000 (08:57 +0200)]
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>
Julius Härtl [Thu, 3 Sep 2020 09:17:59 +0000 (11:17 +0200)]
Do not fail if share for mountpoint is no longer available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Joas Schilling [Mon, 7 Sep 2020 11:14:49 +0000 (13:14 +0200)]
Warn about adding NotNull columns with nullable default
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Mon, 7 Sep 2020 09:55:03 +0000 (11:55 +0200)]
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>
Arthur Schiwon [Fri, 4 Sep 2020 08:51:41 +0000 (10:51 +0200)]
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>
Nextcloud bot [Mon, 7 Sep 2020 02:16:49 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Arthur Schiwon [Fri, 4 Sep 2020 08:27:25 +0000 (10:27 +0200)]
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>
Nextcloud bot [Sun, 6 Sep 2020 02:17:02 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 5 Sep 2020 02:16:55 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Fri, 4 Sep 2020 17:59:17 +0000 (19:59 +0200)]
Merge pull request #22574 from nextcloud/version/19.0.3/rc1
19.0.3 RC1
Joas Schilling [Fri, 4 Sep 2020 06:51:35 +0000 (08:51 +0200)]
Better error message when blocked by access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
Roeland Jago Douma [Fri, 4 Sep 2020 10:38:16 +0000 (12:38 +0200)]
Merge pull request #22515 from nextcloud/backport/22472/stable19
[stable19] Fix writing BLOBs to postgres with recent contacts interaction
Roeland Jago Douma [Fri, 4 Sep 2020 10:35:21 +0000 (12:35 +0200)]
Merge pull request #22579 from nextcloud/backport/22550/stable19
[stable19] Use the correct root to determinate the webroot for the resource
Roeland Jago Douma [Fri, 4 Sep 2020 10:34:15 +0000 (12:34 +0200)]
Merge pull request #22442 from nextcloud/backport/22421/stable19
[stable19] show better quota warning for group folders and external storage
Roeland Jago Douma [Fri, 4 Sep 2020 10:34:02 +0000 (12:34 +0200)]
Merge pull request #22581 from nextcloud/backport/22578/stable19
[stable19] Upgrade icewind/smb to 3.2.7
Roeland Jago Douma [Fri, 4 Sep 2020 06:57:27 +0000 (08:57 +0200)]
Upgrade icewind/smb to 3.2.7
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Fri, 4 Sep 2020 07:04:15 +0000 (09:04 +0200)]
Merge pull request #22569 from nextcloud/backport/22524/stable19
[stable19] Fix app password updating out of bounds
Joas Schilling [Wed, 2 Sep 2020 15:13:24 +0000 (17:13 +0200)]
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>
Roeland Jago Douma [Fri, 4 Sep 2020 06:52:25 +0000 (08:52 +0200)]
Merge pull request #22553 from nextcloud/backport/22528/stable19
[stable19] Change free space calculation
Roeland Jago Douma [Fri, 4 Sep 2020 06:41:57 +0000 (08:41 +0200)]
19.0.3 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Fri, 4 Sep 2020 02:17:28 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 31 Aug 2020 17:45:40 +0000 (19:45 +0200)]
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>
Roeland Jago Douma [Thu, 3 Sep 2020 19:06:11 +0000 (21:06 +0200)]
Merge pull request #22560 from nextcloud/backport/22556/stable19
[stable19] Do not keep the part file if the forbidden exception has no retry set
Julius Härtl [Thu, 3 Sep 2020 09:00:24 +0000 (11:00 +0200)]
Do not keep the part file if the forbidden exception has retry set to false
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Daniel Kesselberg [Tue, 1 Sep 2020 07:58:59 +0000 (09:58 +0200)]
Tests only: Forward calls to getUserValue and getAppValue
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Daniel Kesselberg [Mon, 31 Aug 2020 21:10:04 +0000 (23:10 +0200)]
Change free space calculation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Roeland Jago Douma [Thu, 3 Sep 2020 06:41:41 +0000 (08:41 +0200)]
Merge pull request #22537 from nextcloud/backport/22535/stable19
[stable19] Only disable zip64 if the size is known
Nextcloud bot [Thu, 3 Sep 2020 02:16:48 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 2 Sep 2020 02:17:22 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Tue, 1 Sep 2020 09:24:01 +0000 (11:24 +0200)]
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>
Nextcloud bot [Tue, 1 Sep 2020 02:16:18 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Julius Härtl [Mon, 31 Aug 2020 19:51:59 +0000 (21:51 +0200)]
Merge pull request #22519 from nextcloud/backport/22517/stable19
[stable19] set the mount id before calling storage wrapper
Roeland Jago Douma [Mon, 31 Aug 2020 19:44:19 +0000 (21:44 +0200)]
Merge pull request #22521 from nextcloud/backport/22514/stable19
[stable19] Fix S3 error handling
Roeland Jago Douma [Mon, 31 Aug 2020 10:28:04 +0000 (12:28 +0200)]
Only update the filecache entry once the file has been written to S3
If we already update before we have no way to revert if the upload
fails.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Mon, 31 Aug 2020 10:25:20 +0000 (12:25 +0200)]
Don't lose filecache entry on s3 overwrite error
If the object store errors we should not always delete the filecache
entry. As this might lead to people losing access to their files.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Robin Appelman [Mon, 31 Aug 2020 14:38:47 +0000 (16:38 +0200)]
set the mount id before calling storage wrapper
this allows the storage wrapper to use the mount id for it's own logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
Christoph Wurst [Fri, 28 Aug 2020 12:30:33 +0000 (14:30 +0200)]
Fix writing BLOBs to postgres with recent contacts interaction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Roeland Jago Douma [Mon, 31 Aug 2020 07:49:47 +0000 (09:49 +0200)]
Merge pull request #22503 from nextcloud/backport/22481/stable19
[stable19] Fix clicks on actions menu of non opaque file rows in acceptance tests
Nextcloud bot [Mon, 31 Aug 2020 02:16:20 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Daniel Calviño Sánchez [Fri, 28 Aug 2020 23:08:30 +0000 (01:08 +0200)]
Fix clicks on actions menu of non opaque file rows in acceptance tests
When a row is added to the file list the opacity of the file row is
animated from transparent to fully opaque. As the file actions menu is a
descendant of the row but overflows it when the row is not fully opaque
clicks on the menu entries "fall-through" and are received instead by
the rows behind.
The opacity animation is a CSS animation, and it is not possible to know
if a row is appearing or not except from its opacity (the row will have
the "appear" CSS class even after the animation ended). Therefore it
should be waited until the row of the file is fully opaque before using
the menu.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Nextcloud bot [Sun, 30 Aug 2020 02:16:16 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 29 Aug 2020 02:17:58 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 28 Aug 2020 02:16:32 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 27 Aug 2020 13:35:34 +0000 (15:35 +0200)]
Merge pull request #22448 from nextcloud/stable19-phpdoc
[stable19] Add php docs build script
Julius Härtl [Thu, 27 Aug 2020 06:45:43 +0000 (08:45 +0200)]
Use proper branch name in phpdoc builds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Wed, 26 Aug 2020 14:59:40 +0000 (16:59 +0200)]
Remove @package annotations from public namespace
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Wed, 26 Aug 2020 10:35:27 +0000 (12:35 +0200)]
Remove wrongly annotated package names
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Wed, 26 Aug 2020 06:08:37 +0000 (08:08 +0200)]
Add php docs build script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Nextcloud bot [Thu, 27 Aug 2020 02:16:52 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Robin Appelman [Wed, 26 Aug 2020 13:46:24 +0000 (15:46 +0200)]
fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Tue, 25 Aug 2020 14:05:16 +0000 (16:05 +0200)]
show better quota warning for group folders and external storage
instead of showing the generic 'Your storage is full' message, better explain that it's the group folder/external storage that is full
Signed-off-by: Robin Appelman <robin@icewind.nl>
Roeland Jago Douma [Wed, 26 Aug 2020 18:22:37 +0000 (20:22 +0200)]
Merge pull request #22410 from nextcloud/backport/22359/stable19
[stable19] fix possible leaking scope in Flow