]>
source.dussan.org Git - nextcloud-server.git/log
Nextcloud bot [Mon, 30 Nov 2020 02:19:54 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 29 Nov 2020 02:19:21 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 28 Nov 2020 02:18:33 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Christoph Wurst [Fri, 27 Nov 2020 08:44:45 +0000 (09:44 +0100)]
Merge pull request #24387 from nextcloud/backport/24382/stable20
[stable20] Properly encode path when fetching inherited shares
Nextcloud bot [Fri, 27 Nov 2020 02:18:26 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
blizzz [Thu, 26 Nov 2020 21:13:43 +0000 (22:13 +0100)]
Merge pull request #24391 from nextcloud/backport/24375/stable20
[stable20] formatting remote sharer should take protocol, path into account
npmbuildbot-nextcloud[bot] [Thu, 26 Nov 2020 14:11:40 +0000 (14:11 +0000)]
Compile assets
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Joas Schilling [Thu, 26 Nov 2020 13:50:27 +0000 (14:50 +0100)]
Merge pull request #24333 from nextcloud/backport/24315/stable20
[stable20] avoid empty null default with value that will be inserted anyways
Arthur Schiwon [Wed, 25 Nov 2020 15:36:30 +0000 (16:36 +0100)]
formatting remote sharer should take protocol, path into account
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Julius Härtl [Thu, 26 Nov 2020 08:22:12 +0000 (09:22 +0100)]
Properly encode path when fetching inherited shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Nextcloud bot [Thu, 26 Nov 2020 02:18:57 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
blizzz [Wed, 25 Nov 2020 19:38:29 +0000 (20:38 +0100)]
Merge pull request #24377 from nextcloud/backport/24374/stable20
[stable20] Use proper bundles for files client and fileinfo
Julius Härtl [Wed, 25 Nov 2020 14:05:04 +0000 (15:05 +0100)]
Files client and info bundles are always loaded so we don't need to load them again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Roeland Jago Douma [Wed, 25 Nov 2020 15:18:23 +0000 (16:18 +0100)]
Merge pull request #24353 from nextcloud/backport/24162/stable20
[stable20] set the display name of federated sharees from addressbook
Roeland Jago Douma [Wed, 25 Nov 2020 15:17:34 +0000 (16:17 +0100)]
Merge pull request #24367 from nextcloud/backport/24363/stable20
[stable20] Catch storage not available in versions expire command
Arthur Schiwon [Tue, 24 Nov 2020 22:14:43 +0000 (23:14 +0100)]
send expected format of cloud id
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Christoph Wurst [Wed, 25 Nov 2020 08:28:38 +0000 (09:28 +0100)]
Catch storage not available in versions expire command
External storage with session credentials is not accessible without a
user session, hence background jobs and CLI commands can't work with
them. The previously unhandled exception causes logged errors in the
nextcloud log. This patch catches the specific exception and logs it as
warnings. So for a production instance the error won't spam their logs
for this non-recoverable and technically unsolvable error if the minimum
log level is set to the default of 3 (error).
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Nextcloud bot [Wed, 25 Nov 2020 02:19:04 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Arthur Schiwon [Mon, 16 Nov 2020 16:56:44 +0000 (17:56 +0100)]
set the display name of federated sharees from addressbook
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
John Molakvoæ [Tue, 24 Nov 2020 17:38:46 +0000 (18:38 +0100)]
Merge pull request #24346 from nextcloud/backport/24341/stable20
[stable20] Fix the config key on the sharing expire checkbox
John Molakvoæ [Tue, 24 Nov 2020 17:37:23 +0000 (18:37 +0100)]
Merge pull request #24342 from nextcloud/backport/24331/stable20
[stable20] Fix contacts menu position and show uid as a tooltip
Julius Härtl [Tue, 29 Sep 2020 11:32:18 +0000 (13:32 +0200)]
Fix contacts menu position and show uid as a tooltip
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Christoph Wurst [Tue, 24 Nov 2020 13:17:41 +0000 (14:17 +0100)]
Fix the config key on the sharing expire checkbox
We don't use `shareapi_internal_enforce_expire_date` anywhere.
`shareapi_enforce_internal_expire_date` is the one we want.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Arthur Schiwon [Mon, 23 Nov 2020 20:17:37 +0000 (21:17 +0100)]
avoid empty null default with value that will be inserted anyways
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Nextcloud bot [Tue, 24 Nov 2020 02:19:05 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Mon, 23 Nov 2020 20:06:33 +0000 (21:06 +0100)]
Merge pull request #24297 from nextcloud/backport/stable20/23023
[stable20] Delete files that exceed trashbin size immediately
Christoph Wurst [Mon, 23 Nov 2020 13:40:34 +0000 (14:40 +0100)]
Merge pull request #24311 from nextcloud/fix/stable20-sabre-parse-xml-errors
[stable20] Update sabre/xml to fix XML parsing errors
Christoph Wurst [Mon, 23 Nov 2020 13:00:19 +0000 (14:00 +0100)]
Update sabre/xml to fix XML parsing errors
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Julius Härtl [Wed, 23 Sep 2020 14:38:24 +0000 (16:38 +0200)]
Delete files that exceed trashbin size immediately
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Nextcloud bot [Mon, 23 Nov 2020 02:18:57 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 22 Nov 2020 02:18:39 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 21 Nov 2020 02:19:27 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Fri, 20 Nov 2020 21:42:17 +0000 (22:42 +0100)]
Merge pull request #24249 from nextcloud/backport/24241/stable20
[stable20] Harden EncryptionLegacyCipher a bit
Morris Jobke [Fri, 20 Nov 2020 21:41:51 +0000 (22:41 +0100)]
Merge pull request #24263 from nextcloud/backport/24108/stable20
[stable20] Use correct year for generated birthdays events
Sven Strickroth [Fri, 13 Nov 2020 14:57:12 +0000 (15:57 +0100)]
Use correct year for generated birthdays events
'X-APPLE-OMIT-YEAR' is not always present, at least iOS 12.4 uses the hard coded date of 1604 (the start of the gregorian calendar) when the year is unknown.
cf. https://forums.bitfire.at/topic/2050/bday-without-year-for-vcard-3-0-if-server-drops-property-x-apple-omit-year and https://gitlab.com/CardBook/CardBook/-/issues/586
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Morris Jobke [Fri, 20 Nov 2020 20:31:17 +0000 (21:31 +0100)]
Merge pull request #24258 from nextcloud/backport/24242/stable20
[stable20] Update ScanLegacyFormat.php
Morris Jobke [Fri, 20 Nov 2020 20:29:15 +0000 (21:29 +0100)]
Merge pull request #24259 from nextcloud/backport/24257/stable20
[stable20] Simple typo in comments
Carlos Ferreira [Fri, 20 Nov 2020 19:01:28 +0000 (20:01 +0100)]
Simple typo in comments
essys [Fri, 20 Nov 2020 09:16:35 +0000 (10:16 +0100)]
Update ScanLegacyFormat.php
Fixed a small typo on line 99.
Morris Jobke [Fri, 20 Nov 2020 13:27:27 +0000 (14:27 +0100)]
Merge pull request #24230 from nextcloud/backport/24007/stable20
[stable20] allow selecting multiple columns with SELECT DISTINCT
Morris Jobke [Fri, 20 Nov 2020 13:23:00 +0000 (14:23 +0100)]
Merge pull request #24228 from nextcloud/backport/24135/stable20
[stable20] Fix nextcloud logo in email notifications misalignment
Roeland Jago Douma [Fri, 20 Nov 2020 08:46:31 +0000 (09:46 +0100)]
Harden EncryptionLegacyCipher a bit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Fri, 20 Nov 2020 09:15:04 +0000 (10:15 +0100)]
Merge pull request #24239 from nextcloud/backport/24203/stable20
[stable20] Use regex when searching on single file shares
Roeland Jago Douma [Fri, 20 Nov 2020 09:04:54 +0000 (10:04 +0100)]
Merge pull request #24231 from nextcloud/backport/23757/stable20
[stable20] use file name instead of path in 'not allowed to share' message
Roeland Jago Douma [Fri, 20 Nov 2020 09:04:30 +0000 (10:04 +0100)]
Merge pull request #24232 from nextcloud/backport/24211/stable20
[stable20] Fix setting images through occ for theming
Roeland Jago Douma [Thu, 19 Nov 2020 08:14:29 +0000 (09:14 +0100)]
Limit shared cache search if it is just a file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Fri, 20 Nov 2020 02:20:19 +0000 (02:20 +0000)]
[tx-robot] updated from transifex
Julius Härtl [Thu, 19 Nov 2020 07:28:48 +0000 (08:28 +0100)]
Fix setting images through occ for theming
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Robin Appelman [Wed, 28 Oct 2020 15:00:49 +0000 (16:00 +0100)]
use file name instead of path in 'not allowed to share' message
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Mon, 9 Nov 2020 16:43:29 +0000 (17:43 +0100)]
allow selecting multiple columns with SELECT DISTINCT
Signed-off-by: Robin Appelman <robin@icewind.nl>
medcloud [Sat, 14 Nov 2020 15:19:44 +0000 (16:19 +0100)]
Fix #23357
Signed-off-by: medcloud <42641918+medcloud@users.noreply.github.com>
Roeland Jago Douma [Thu, 19 Nov 2020 09:40:11 +0000 (10:40 +0100)]
Merge pull request #24181 from nextcloud/backport/24102/stable20
[stable20] Check quota of subdirectories when uploading to them
Roeland Jago Douma [Thu, 19 Nov 2020 09:09:45 +0000 (10:09 +0100)]
Merge pull request #24196 from nextcloud/backport/24098/stable20
[stable20] circleId too short in some request
Roeland Jago Douma [Thu, 19 Nov 2020 08:50:32 +0000 (09:50 +0100)]
Merge pull request #24212 from nextcloud/backport/24207/stable20
[stable20] missing level in ScopedPsrLogger
Maxence Lange [Wed, 18 Nov 2020 19:30:07 +0000 (18:30 -0100)]
missing level
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Nextcloud bot [Thu, 19 Nov 2020 02:20:21 +0000 (02:20 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Wed, 18 Nov 2020 19:35:11 +0000 (20:35 +0100)]
Merge pull request #24172 from nextcloud/version/20.0.2/final
20.0.2
Maxence Lange [Fri, 13 Nov 2020 09:58:54 +0000 (08:58 -0100)]
circleId too short in some request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Nextcloud bot [Wed, 18 Nov 2020 02:18:47 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Tue, 17 Nov 2020 20:53:22 +0000 (21:53 +0100)]
Merge pull request #24183 from nextcloud/revert-24178-backport/24098/stable20
Revert "[stable20] circleId too short in some request"
Julius Härtl [Tue, 17 Nov 2020 18:47:56 +0000 (19:47 +0100)]
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Fri, 13 Nov 2020 11:46:12 +0000 (12:46 +0100)]
Check for target folder available quota when uploading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Julius Härtl [Fri, 16 Oct 2020 12:22:47 +0000 (14:22 +0200)]
Fetch quota with files propfind
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Christoph Wurst [Tue, 17 Nov 2020 13:20:02 +0000 (14:20 +0100)]
Revert "[stable20] circleId too short in some request"
Christoph Wurst [Tue, 17 Nov 2020 12:31:57 +0000 (13:31 +0100)]
Merge pull request #24178 from nextcloud/backport/24098/stable20
[stable20] circleId too short in some request
Maxence Lange [Fri, 13 Nov 2020 09:58:54 +0000 (08:58 -0100)]
circleId too short in some request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Roeland Jago Douma [Tue, 17 Nov 2020 08:38:45 +0000 (09:38 +0100)]
20.0.2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Tue, 17 Nov 2020 02:18:36 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 16 Nov 2020 19:55:05 +0000 (20:55 +0100)]
Merge pull request #24091 from nextcloud/version/20.0.2/rc2
20.0.2 RC2
Daniel Calviño Sánchez [Mon, 16 Nov 2020 16:46:37 +0000 (17:46 +0100)]
Merge pull request #24159 from nextcloud/backport/24069/stable20
[stable20] Fix default internal expiration date
Daniel Calviño Sánchez [Thu, 12 Nov 2020 10:52:53 +0000 (11:52 +0100)]
Add integration tests for creating shares with default expiration dates
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 10:51:37 +0000 (11:51 +0100)]
Reset app configs by deleting the values instead of setting the defaults
This avoids the need to keep the default values in the integration tests
in sync with the code, and also makes possible to reset values with
"dynamic" defaults (defaults that depend on other values).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 10:50:16 +0000 (11:50 +0100)]
Add unit tests for "validateExpirationDateInternal"
They were copied and adjusted as needed from the tests for
"validateExpirationDate".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 10:49:40 +0000 (11:49 +0100)]
Fix default internal expiration date
The default expiration date for internal shares was set from the default
link expiration date instead of the internal one.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 07:43:03 +0000 (08:43 +0100)]
Add explicit time to test date for clarity
This shows in a clearer way that the expected expiration date is the
original one, but without time.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 08:35:34 +0000 (09:35 +0100)]
Add unit test for expiration date with date and with default
This adds back what was being actually tested in the unit test fixed in
the previous commit.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 08:34:58 +0000 (09:34 +0100)]
Fix unit test for expiration date without date but with default
The expiration date was explicitly given, so it was not testing what it
should. Moreover, "link_defaultExpDays" needs to be mapped when testing
the default value (even if it will just fallback to the value of
"shareapi_expire_after_n_days").
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 07:46:37 +0000 (08:46 +0100)]
Fix unit test method name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 07:25:36 +0000 (08:25 +0100)]
Fix unit test for verifying enforced valid expiration date.
The enforced expiration date was not actually enabled, as for that
"shareapi_default_expire_date" needs to be explicitly set to "yes".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Wed, 11 Nov 2020 19:50:23 +0000 (20:50 +0100)]
Fix unit test for verifying enforced expire date too far in the future
The test should fail if no exception was thrown, and no exception was
thrown due to a missing configuration parameter. However, the use of
"addToAssertionCount(1)" made the test pass even if no exception was
thrown and, therefore, to silently fail.
Now the missing configuration parameter was added and the test will fail
if the expected exception is not thrown.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:36:04 +0000 (19:36 +0100)]
Add unit tests to enforce a relaxed default share expiration date
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Wed, 11 Nov 2020 19:27:01 +0000 (20:27 +0100)]
Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 12 Nov 2020 08:38:20 +0000 (09:38 +0100)]
Remove extra spaces
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:55:20 +0000 (19:55 +0100)]
Fix typo in variable name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:34:26 +0000 (19:34 +0100)]
Fix typos in method names
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Roeland Jago Douma [Mon, 16 Nov 2020 13:14:43 +0000 (14:14 +0100)]
Merge pull request #24156 from nextcloud/backport/24112/stable20
[stable20] Set up FS before querying storage info in settings
John Molakvoæ [Mon, 16 Nov 2020 12:12:40 +0000 (13:12 +0100)]
Merge pull request #24153 from nextcloud/dependencies/dompurify
Roeland Jago Douma [Mon, 16 Nov 2020 11:08:56 +0000 (12:08 +0100)]
Merge pull request #24147 from nextcloud/backport/24146/stable20
[stable20] Don't throw on SHOW VERSION query
Vincent Petry [Fri, 13 Nov 2020 15:52:08 +0000 (16:52 +0100)]
Set up FS before querying storage info in settings
The personal info section of the personal settings is querying the
storage quota information. For this it requires the FS to be setup which
is not always guaranteed.
This fixes an issue where refreshing the settings page would cause it to
fail after Redis caches are full. It is likely that when Redis cache is
populated, some code path is initializing the FS, so it works so far.
But when the cache is populated, that code path is skipped so the FS is
not guaranteed to be setup...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Julius Härtl [Mon, 16 Nov 2020 10:36:35 +0000 (11:36 +0100)]
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Julius Härtl [Mon, 16 Nov 2020 10:27:52 +0000 (11:27 +0100)]
Bump dompurify to 2.2.2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Joas Schilling [Mon, 16 Nov 2020 10:23:17 +0000 (11:23 +0100)]
Merge pull request #24079 from nextcloud/backport/24053/stable20
[stable20] Make is_user_defined nullable so we can store false on oracle
John Molakvoæ [Mon, 16 Nov 2020 09:15:18 +0000 (10:15 +0100)]
Merge pull request #24114 from nextcloud/backport/24096/stable20
[stable20] Convert the card resource to a string if necessary
Joas Schilling [Mon, 16 Nov 2020 07:43:48 +0000 (08:43 +0100)]
Don't throw on SHOW VERSION query
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Mon, 16 Nov 2020 07:54:30 +0000 (08:54 +0100)]
Bump versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Mon, 16 Nov 2020 07:50:01 +0000 (08:50 +0100)]
Merge pull request #24106 from nextcloud/backport/24085/stable20
[stable20] Register new command db:add-missing-primary-keys
Nextcloud bot [Mon, 16 Nov 2020 02:19:33 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 15 Nov 2020 02:19:11 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 14 Nov 2020 02:19:47 +0000 (02:19 +0000)]
[tx-robot] updated from transifex
Christoph Wurst [Fri, 13 Nov 2020 08:10:35 +0000 (09:10 +0100)]
Convert the card resource to a string if necessary
Apparently the fetched column can be a string or resource. Hence we have
to catch the resource type and convert it to a string.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>