]>
source.dussan.org Git - nextcloud-server.git/log
Joas Schilling [Wed, 23 Sep 2020 08:21:55 +0000 (10:21 +0200)]
Show federation and email results also with exact user match unless containing @
Before when you have a user "smith" and a federated user "smith@example.com"
you could see the federation result with "smit" but not with "smith" anymore.
With most LDAP configurations and local backend setups this is disturbing and
causes issues.
The idea of not showing the email and federation on a matching user was with:
Local user registered with "smith@example.com" user id and having that same
email / cloud id in your contacts addressbook. So we now only hide those
"side results" when the search does contain an @
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Tue, 29 Sep 2020 02:18:06 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 28 Sep 2020 17:15:12 +0000 (19:15 +0200)]
Merge pull request #22804 from nextcloud/backport/stable19/22116-22648-22761
[stable19] Fix share transfer of single files and on the transfered node
Roeland Jago Douma [Mon, 28 Sep 2020 17:14:00 +0000 (19:14 +0200)]
Merge pull request #22904 from nextcloud/backport/22636/stable19
[stable19] Make sure that getConfig is still called for browsers that do not support CSPv3
Roeland Jago Douma [Mon, 28 Sep 2020 17:13:17 +0000 (19:13 +0200)]
Merge pull request #22988 from nextcloud/backport/22533/stable19
[stable19] Flow: do not hide "matches" and "does not match" checkers
Roeland Jago Douma [Mon, 28 Sep 2020 16:56:57 +0000 (18:56 +0200)]
Merge pull request #23002 from nextcloud/backport/22940/stable19
[stable19] Never copy the share link when the password is forced
Joas Schilling [Fri, 18 Sep 2020 12:06:01 +0000 (14:06 +0200)]
Never copy the share link when the password is forced
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Mon, 28 Sep 2020 13:00:56 +0000 (15:00 +0200)]
Merge pull request #23049 from nextcloud/backport/23034/stable19
[stable19] Fix numeric folders throwing on markDirty
Nextcloud bot [Mon, 28 Sep 2020 02:17:58 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 27 Sep 2020 02:17:34 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 26 Sep 2020 02:17:59 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
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
Arthur Schiwon [Tue, 1 Sep 2020 08:29:46 +0000 (10:29 +0200)]
do not hide "matches" and "does not match" checkers
- they show up previously with / typed – end user needs to know about it
- inconsistent with some other fields, that show it directly
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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
Daniel Calviño Sánchez [Fri, 18 Sep 2020 16:35:06 +0000 (18:35 +0200)]
Add integration tests to check that only the given path is transferred
Until recently (it was fixed in
ac2999a26a ) when a path was transferred
other shares with the target user were removed, so a test was added to
ensure that it does not happen again.
Besides that a test to ensure that other files with the target user are
not transferred was added too (it did not fail before, but seemed
convenient to have that covered too :-) ).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 18 Sep 2020 16:32:59 +0000 (18:32 +0200)]
Add integration tests for transferring files of a user with a risky name
The files:transfer-ownership performs a sanitization of users with
"risky" display names (including characters like "\" or "/").
In order to allow (escaped) double quotes in the display name the
regular expression used in the "user XXX with displayname YYY exists"
step had to be adjusted.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 18 Sep 2020 16:32:23 +0000 (18:32 +0200)]
Add integration test for transferring the path of a single file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
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>
Daniel Calviño Sánchez [Thu, 10 Sep 2020 02:28:57 +0000 (04:28 +0200)]
Add integration tests for transferring ownership of reshares
Currently only transferring ownership of a reshare with a group to a
user in the group is possible.
When transferring ownership of a reshare with another user or with a
group to a user not in the group restoring the share fails (but the
command succeeds, it only fails for the specific files that are
reshares).
When transferring ownership of a path that is a reshare the command
fails (as when a specific path is provided the path tries to move the
file, it does not take into account reshares).
The added integration tests reflect the above behaviours.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 10 Sep 2020 02:24:16 +0000 (04:24 +0200)]
Check share ownership after transferring file ownership
The integration tests did not verify that the shares were actually
transferred between the users (or that they were removed due to being
transferred to the sharee).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 10 Sep 2020 02:18:53 +0000 (04:18 +0200)]
Check whether file exists or not after transferring ownership
The integration tests did not verify that the files were actually
transferred between the users, only that the files were downloadable.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Julius Härtl [Mon, 7 Sep 2020 15:35:29 +0000 (17:35 +0200)]
Transfer shares if no path provided
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Fri, 31 Jul 2020 09:10:48 +0000 (11:10 +0200)]
Transfer shares of the transferred root node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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
Julius Härtl [Mon, 7 Sep 2020 07:37:49 +0000 (09:37 +0200)]
Make sure that getConfig is still called for browsers that do not support CSPv3
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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