]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoLog when a storage is marked as unavailable 26302/head
Morris Jobke [Thu, 25 Mar 2021 15:14:20 +0000 (16:14 +0100)]
Log when a storage is marked as unavailable

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 25 Mar 2021 02:25:57 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #26275 from nextcloud/backport/26265/stable20
Morris Jobke [Wed, 24 Mar 2021 20:45:42 +0000 (21:45 +0100)]
Merge pull request #26275 from nextcloud/backport/26265/stable20

[stable20] Fix casing of core test folder, bring back missing tests

3 years agoRevert "Fix core tests command for app enabling/disabling" 26275/head
Vincent Petry [Wed, 24 Mar 2021 16:17:16 +0000 (17:17 +0100)]
Revert "Fix core tests command for app enabling/disabling"

This reverts commit acfffcc6857145c98b152dada542ae8dca57947c.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #26278 from nextcloud/backport/26255/stable20
Morris Jobke [Wed, 24 Mar 2021 16:13:56 +0000 (17:13 +0100)]
Merge pull request #26278 from nextcloud/backport/26255/stable20

[stable20] l10n: Separate ellipsis

3 years agoRevert autocomplete controller tests to match stable20
Vincent Petry [Wed, 24 Mar 2021 14:24:30 +0000 (15:24 +0100)]
Revert autocomplete controller tests to match stable20

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoRevert controller tests to match stable21 API
Vincent Petry [Wed, 24 Mar 2021 14:22:35 +0000 (15:22 +0100)]
Revert controller tests to match stable21 API

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agol10n: Separate ellipsis 26278/head
Valdnet [Tue, 23 Mar 2021 08:12:52 +0000 (09:12 +0100)]
l10n: Separate ellipsis

Unifying the text string with the others.

3 years agoMerge pull request #26250 from nextcloud/backport/25529/stable20
Morris Jobke [Wed, 24 Mar 2021 13:18:19 +0000 (14:18 +0100)]
Merge pull request #26250 from nextcloud/backport/25529/stable20

[stable20] Fix non LGC glyphs in avatars and txt file previews

3 years agoMerge pull request #26272 from nextcloud/backport/26270/stable20
Morris Jobke [Wed, 24 Mar 2021 13:09:05 +0000 (14:09 +0100)]
Merge pull request #26272 from nextcloud/backport/26270/stable20

[stable20] Catch invalid cache source storage path

3 years agoFix language codes test result order
Vincent Petry [Wed, 24 Mar 2021 09:26:06 +0000 (10:26 +0100)]
Fix language codes test result order

Fixes issue with Oracle by enforcing the order of the results to check.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoBring back forgotten tests
Vincent Petry [Wed, 24 Mar 2021 08:07:54 +0000 (09:07 +0100)]
Bring back forgotten tests

Remove "ocs-provider" test folder reference as it doesn't exist any
more.
Added back "Test" test subdir and fixed the tests inside.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix more controller tests in Core subdir
Vincent Petry [Wed, 24 Mar 2021 08:02:19 +0000 (09:02 +0100)]
Fix more controller tests in Core subdir

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix more tests in the Core subdir
Vincent Petry [Wed, 24 Mar 2021 07:48:28 +0000 (08:48 +0100)]
Fix more tests in the Core subdir

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix core tests command for app enabling/disabling
Vincent Petry [Tue, 23 Mar 2021 19:40:28 +0000 (20:40 +0100)]
Fix core tests command for app enabling/disabling

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix casing of core test folder
Vincent Petry [Tue, 23 Mar 2021 17:12:46 +0000 (18:12 +0100)]
Fix casing of core test folder

It seems Phpunit < 9 was case insensitive.
Fixed the phpunit config to target the correct name for the "Core" test
directory.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoCatch invalid cache source storage path 26272/head
John Molakvoæ (skjnldsv) [Wed, 24 Mar 2021 09:36:51 +0000 (10:36 +0100)]
Catch invalid cache source storage path

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 24 Mar 2021 02:25:25 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 23 Mar 2021 02:24:24 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years agoAdd OCC command to reset rendered texts 26250/head
Daniel Calviño Sánchez [Sun, 7 Feb 2021 21:48:58 +0000 (22:48 +0100)]
Add OCC command to reset rendered texts

The command is meant to be used when the fonts used to render texts
("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf")
are changed (for example, to add support for other scripts). The avatar
and text file previews will be removed, so they will be generated again
with the updated font when needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoInclude additional scripts in Noto fonts
Daniel Calviño Sánchez [Fri, 5 Feb 2021 03:34:15 +0000 (04:34 +0100)]
Include additional scripts in Noto fonts

Generated avatars as well as text file previews are rendered using the
"core/fonts/NotoSans-Regular.ttf" font. The file was the standard hinted
"NotoSans-Regular.ttf" file from https://www.google.com/get/noto/.
However that file does not cover some non LGC (Latin, Greek, Cyrillic)
scripts, like Arabic, Devanagari or Hebrew, to name a few.

Markdown file previews also use "core/fonts/NotoSans-Bold.ttf", which is
in the same situation as the regular one.

Due to limitations in the TTF format it is not possible to provide a
single file for each style that includes all Noto fonts. However, it is
possible to add more scripts to the standard "NotoSans-Regular.ttf" and
"NotoSans-Bold.ttf" files (although no CJK (Chinese, Japanese, Korean)
glyph can be included due to the aforementioned limitations).

This commit replaces the standard files with an extended version created
using the Noto Tools. The build script (as well as a patch for the Noto
Tools) is also included for reference and to be able to update the font
files in the future if needed.

Due to the additional scripts added the font files are now much larger,
although this does not seem to increase the time spent rendering LGC
scripts.

Note that the file for the bold style still contains less scripts than
the regular one, as not all scripts supported by Noto have a bold
weight.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoMerge pull request #26239 from nextcloud/backport/26231/stable20
John Molakvoæ [Mon, 22 Mar 2021 12:55:29 +0000 (13:55 +0100)]
Merge pull request #26239 from nextcloud/backport/26231/stable20

3 years agol10n: Add changes to text string for user 26239/head
Valdnet [Mon, 22 Mar 2021 08:01:45 +0000 (09:01 +0100)]
l10n: Add changes to text string for user

3 years agol10n: Add word user in ShareByMailProvider.php
Valdnet [Sat, 20 Mar 2021 14:37:32 +0000 (15:37 +0100)]
l10n: Add word user in ShareByMailProvider.php

Standardizing text strings with other Nextcloud applications.

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 22 Mar 2021 02:24:06 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 21 Mar 2021 02:23:27 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #26217 from nextcloud/backport/26145/stable20
Roeland Jago Douma [Sat, 20 Mar 2021 09:53:48 +0000 (10:53 +0100)]
Merge pull request #26217 from nextcloud/backport/26145/stable20

[stable20] add (hidden) option to always show smb root as writable

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 20 Mar 2021 02:24:00 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #26209 from nextcloud/backport/23718/stable20
Morris Jobke [Fri, 19 Mar 2021 19:04:07 +0000 (20:04 +0100)]
Merge pull request #26209 from nextcloud/backport/23718/stable20

[stable20] expand 'path is already shared' error message

3 years agoexpand 'path is already shared' error message 26209/head
Robin Appelman [Tue, 27 Oct 2020 13:29:28 +0000 (14:29 +0100)]
expand 'path is already shared' error message

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoadd (hidden) option to always show smb root as writable 26217/head
Robin Appelman [Tue, 16 Mar 2021 14:34:41 +0000 (15:34 +0100)]
add (hidden) option to always show smb root as writable

some smb servers are very insistent in reporting that the root of the share is readonly, even if it isn't.

This works around the problem by adding a hidden option to overwrite the permissions of the root of the share.

This can be enabled using

```bash
occ files_external:config <mount id> root_force_writable true
```

where you can find your mount id using

```bash
occ files_external:list
```

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26205 from nextcloud/backport/26200/stable20
Morris Jobke [Fri, 19 Mar 2021 14:19:30 +0000 (15:19 +0100)]
Merge pull request #26205 from nextcloud/backport/26200/stable20

[stable20] Update user share must use correct expiration validation

3 years agoUpdate user share must use correct expiration validation 26205/head
Vincent Petry [Thu, 18 Mar 2021 16:12:28 +0000 (17:12 +0100)]
Update user share must use correct expiration validation

Updating a user or group share now uses the correct method for the
validation of the expiration date. Instead of using the one from links
it uses the one for internal shares.

To avoid future confusion, the method "validateExpirationDate" has been
renamed to "validateExpirationDateLink".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #26125 from nextcloud/backport/25533/stable20
Morris Jobke [Fri, 19 Mar 2021 08:19:14 +0000 (09:19 +0100)]
Merge pull request #26125 from nextcloud/backport/25533/stable20

[stable20] send share notification instead of erroring on duplicate share

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 19 Mar 2021 02:25:14 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #26063 from nextcloud/backport/25915/stable20
Morris Jobke [Thu, 18 Mar 2021 19:50:01 +0000 (20:50 +0100)]
Merge pull request #26063 from nextcloud/backport/25915/stable20

[stable20] Add appconfig to always show the unique label of a sharee

3 years agoMerge pull request #26123 from nextcloud/backport/26004/stable20
Roeland Jago Douma [Thu, 18 Mar 2021 15:20:37 +0000 (16:20 +0100)]
Merge pull request #26123 from nextcloud/backport/26004/stable20

[stable20] Allow overwriting isAuthenticated

3 years agoAdd appconfig to always show the unique label of a sharee 26063/head
Julius Härtl [Wed, 3 Mar 2021 12:20:58 +0000 (13:20 +0100)]
Add appconfig to always show the unique label of a sharee

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #26190 from nextcloud/backport/25331/stable20
Morris Jobke [Thu, 18 Mar 2021 12:09:22 +0000 (13:09 +0100)]
Merge pull request #26190 from nextcloud/backport/25331/stable20

[stable20] Fix valid storages removed when cleaning remote storages

3 years agoMerge pull request #26088 from nextcloud/backport/26049/stable20
Vincent Petry [Thu, 18 Mar 2021 10:22:53 +0000 (11:22 +0100)]
Merge pull request #26088 from nextcloud/backport/26049/stable20

[stable20] limit constructing of result objects in file search

3 years agoFix valid storages removed when cleaning remote storages 26190/head
Daniel Calviño Sánchez [Tue, 26 Jan 2021 09:26:10 +0000 (10:26 +0100)]
Fix valid storages removed when cleaning remote storages

The remote URL of a share is always stored in the database with a
trailing slash. However, when a cloud ID is generated trailing slashes
are removed.

The ID of a remote storage is generated from the cloud ID, but the
"cleanup-remote-storage" command directly used the remote URL stored in
the database. Due to this, even if the remote storage was valid, its ID
did not match the ID of the remote share generated by the command and
ended being removed.

Now the command generates the ID of remote shares using the cloud ID
instead, just like done by the remote storage, so there is no longer a
mismatch.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd integration tests for "sharing:cleanup-remote-storages" OCC command
Daniel Calviño Sánchez [Fri, 22 Jan 2021 11:40:59 +0000 (12:40 +0100)]
Add integration tests for "sharing:cleanup-remote-storages" OCC command

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoimplement PagedProvider for file search 26088/head
Robin Appelman [Thu, 11 Mar 2021 16:10:24 +0000 (17:10 +0100)]
implement PagedProvider for file search

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agolimit constructing of result objects in file search
Robin Appelman [Wed, 10 Mar 2021 17:46:18 +0000 (18:46 +0100)]
limit constructing of result objects in file search

even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects.

this saves about 40% of the time spend in the search request in my local testing

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 18 Mar 2021 02:25:22 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #26052 from nextcloud/backport/26048/stable20
Morris Jobke [Wed, 17 Mar 2021 19:14:05 +0000 (20:14 +0100)]
Merge pull request #26052 from nextcloud/backport/26048/stable20

[stable20] cache baseurl in url generator

3 years agoMerge pull request #25944 from nextcloud/backport/25659/stable20
Morris Jobke [Wed, 17 Mar 2021 19:13:57 +0000 (20:13 +0100)]
Merge pull request #25944 from nextcloud/backport/25659/stable20

[stable20] catch notfound and forbidden exception in smb::getmetadata

3 years agoMerge pull request #26091 from nextcloud/backport/25722/stable20
Morris Jobke [Wed, 17 Mar 2021 19:09:56 +0000 (20:09 +0100)]
Merge pull request #26091 from nextcloud/backport/25722/stable20

[stable20] apply object store copy optimization when 'cross storage' copy is wit…

3 years agoMerge pull request #26152 from nextcloud/backport/26137/stable20
Morris Jobke [Wed, 17 Mar 2021 19:06:56 +0000 (20:06 +0100)]
Merge pull request #26152 from nextcloud/backport/26137/stable20

[stable20] dont allow creating users with __groupfolders as uid

3 years agoMerge pull request #26181 from nextcloud/backport/26003/stable20
Morris Jobke [Wed, 17 Mar 2021 19:06:15 +0000 (20:06 +0100)]
Merge pull request #26181 from nextcloud/backport/26003/stable20

[stable20] Add getID function to the simplefile implementation

3 years agoMerge pull request #26147 from nextcloud/backport/26013/stable20
Morris Jobke [Wed, 17 Mar 2021 19:04:11 +0000 (20:04 +0100)]
Merge pull request #26147 from nextcloud/backport/26013/stable20

[stable20] Return the fileid from `copyFromCache` and use it instead of doing an extra query

3 years agoAdd getID function to the simplefile implementation 26181/head
Roeland Jago Douma [Mon, 8 Mar 2021 13:59:36 +0000 (14:59 +0100)]
Add getID function to the simplefile implementation

Sometimes it is useful to get the actual fileid

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #25876 from nextcloud/psalm/stable20/update
Morris Jobke [Wed, 17 Mar 2021 13:17:20 +0000 (14:17 +0100)]
Merge pull request #25876 from nextcloud/psalm/stable20/update

[stable20] Update psalm baseline

3 years agoMerge pull request #26163 from nextcloud/backport/26153/stable20
Morris Jobke [Wed, 17 Mar 2021 12:50:13 +0000 (13:50 +0100)]
Merge pull request #26163 from nextcloud/backport/26153/stable20

[stable20] Use correct exception type hint in catch statement

3 years agoMerge pull request #26168 from nextcloud/backport/26072/stable20
Morris Jobke [Wed, 17 Mar 2021 12:46:48 +0000 (13:46 +0100)]
Merge pull request #26168 from nextcloud/backport/26072/stable20

[stable20] remove explicit fclose from S3->writeStream

3 years agoUpdate and fix baseline 25876/head
Vincent Petry [Wed, 17 Mar 2021 11:01:19 +0000 (12:01 +0100)]
Update and fix baseline

Backported some bits of stable21 to make Psalm happy.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoremove explicit fclose from S3->writeStream 26168/head
Robin Appelman [Thu, 11 Mar 2021 17:05:04 +0000 (18:05 +0100)]
remove explicit fclose from S3->writeStream

streams get closed automatically when dropped, and in some cases the stream seems to be already closed by the S3 library, in which case trying to close it again will raise an error

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoFix baseline further
Vincent Petry [Wed, 17 Mar 2021 09:06:53 +0000 (10:06 +0100)]
Fix baseline further

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoUpdate psalm baseline
Roeland Jago Douma [Tue, 2 Mar 2021 13:23:27 +0000 (14:23 +0100)]
Update psalm baseline

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoUse correct exception type hint in catch statement 26163/head
Morris Jobke [Tue, 16 Mar 2021 21:06:00 +0000 (22:06 +0100)]
Use correct exception type hint in catch statement

Found by psalm update 4.6.2 to 4.6.3 in #26111

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 17 Mar 2021 02:24:39 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years agodont allow creating users with __groupfolders as uid 26152/head
Robin Appelman [Mon, 15 Mar 2021 20:09:12 +0000 (21:09 +0100)]
dont allow creating users with __groupfolders as uid

Fixes https://github.com/nextcloud/groupfolders/issues/338

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoverify that cache entry is valid 26147/head
Robin Appelman [Fri, 12 Mar 2021 16:23:02 +0000 (17:23 +0100)]
verify that cache entry is valid

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoalso implement for FailedCache and NullCache
Robin Appelman [Mon, 8 Mar 2021 18:27:39 +0000 (19:27 +0100)]
also implement for FailedCache and NullCache

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agouse returned file id for object store copy
Robin Appelman [Mon, 8 Mar 2021 17:50:33 +0000 (18:50 +0100)]
use returned file id for object store copy

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoadd ICopyFromCache trait to expose existing implementation
Robin Appelman [Mon, 8 Mar 2021 17:49:08 +0000 (18:49 +0100)]
add ICopyFromCache trait to expose existing implementation

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26134 from nextcloud/backport/25136/stable20
Morris Jobke [Tue, 16 Mar 2021 16:00:29 +0000 (17:00 +0100)]
Merge pull request #26134 from nextcloud/backport/25136/stable20

[stable20] do cachejail search filtering in sql

3 years agoonly use share cacheentry when available 26134/head
Robin Appelman [Tue, 26 Jan 2021 15:07:26 +0000 (16:07 +0100)]
only use share cacheentry when available

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoadjust tests
Robin Appelman [Tue, 26 Jan 2021 14:48:04 +0000 (15:48 +0100)]
adjust tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agofix search in nested jails
Robin Appelman [Mon, 25 Jan 2021 16:38:34 +0000 (17:38 +0100)]
fix search in nested jails

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agofix cachjail searching for root
Robin Appelman [Tue, 19 Jan 2021 14:30:27 +0000 (15:30 +0100)]
fix cachjail searching for root

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agodo cachejail search filtering in sql
Robin Appelman [Thu, 14 Jan 2021 18:03:39 +0000 (19:03 +0100)]
do cachejail search filtering in sql

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26130 from nextcloud/backport/26115/stable20
Christoph Wurst [Tue, 16 Mar 2021 10:09:44 +0000 (11:09 +0100)]
Merge pull request #26130 from nextcloud/backport/26115/stable20

[stable20] Log exceptions when creating share

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 16 Mar 2021 02:25:00 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

3 years agoLog exceptions when creating share 26130/head
Vincent Petry [Mon, 15 Mar 2021 11:00:41 +0000 (12:00 +0100)]
Log exceptions when creating share

Because the exceptions don't always contain a useful message for the UI,
but also because in some cases we need to find out what went wrong.

In some setups, a ShareNotFoundException might happen during creation
when we try to re-read the just written share. Usually related to Galera
Cluster where node syncing wait is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agosend share notification instead of erroring on duplicate share 26125/head
Robin Appelman [Mon, 8 Feb 2021 15:02:08 +0000 (16:02 +0100)]
send share notification instead of erroring on duplicate share

when creating a share that already exists, instead of erroring, resend the notifications

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoAllow overwriting isAuthenticated 26123/head
Roeland Jago Douma [Mon, 8 Mar 2021 14:05:28 +0000 (15:05 +0100)]
Allow overwriting isAuthenticated

* Some implementations might check for different things
* IT will not change how the current ones work

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #26059 from nextcloud/backport/25911/stable20
Christoph Wurst [Mon, 15 Mar 2021 08:48:19 +0000 (09:48 +0100)]
Merge pull request #26059 from nextcloud/backport/25911/stable20

[stable20] Only clear share password model when actually saved

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 15 Mar 2021 02:24:17 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 14 Mar 2021 02:23:58 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 13 Mar 2021 02:23:14 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years agoapply object store copy optimization when 'cross storage' copy is within the same... 26091/head
Robin Appelman [Fri, 19 Feb 2021 14:52:58 +0000 (15:52 +0100)]
apply object store copy optimization when 'cross storage' copy is within the same object store

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 12 Mar 2021 02:23:01 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years agoOnly clear share password model when actually saved 26059/head
Vincent Petry [Wed, 3 Mar 2021 10:32:29 +0000 (11:32 +0100)]
Only clear share password model when actually saved

Instead of always clearing the password in the share model, now only do
it when it was actually saved.

Fixes an issue where saving another field would clear the password too
early and prevent it to be saved when the dropdown closed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #26040 from nextcloud/backport/25916/stable20
Roeland Jago Douma [Thu, 11 Mar 2021 09:34:32 +0000 (10:34 +0100)]
Merge pull request #26040 from nextcloud/backport/25916/stable20

[stable20] Remove trash items from other trash backends when deleting all

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 11 Mar 2021 02:23:28 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years agocache baseurl in url generator 26052/head
Robin Appelman [Wed, 10 Mar 2021 16:22:31 +0000 (17:22 +0100)]
cache baseurl in url generator

Servers don't tend to change their url in the middle of a request

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #26027 from nextcloud/backport/25933/stable20
Roeland Jago Douma [Wed, 10 Mar 2021 14:46:53 +0000 (15:46 +0100)]
Merge pull request #26027 from nextcloud/backport/25933/stable20

[stable20] Hide expiration date field for remote shares

3 years agoHide expiration date field for remote shares 26027/head
Vincent Petry [Thu, 4 Mar 2021 15:35:30 +0000 (16:35 +0100)]
Hide expiration date field for remote shares

Remote shares currently do not support expiration date.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #25878 from nextcloud/backport/25568/stable20
Roeland Jago Douma [Wed, 10 Mar 2021 08:34:02 +0000 (09:34 +0100)]
Merge pull request #25878 from nextcloud/backport/25568/stable20

[stable20] disable trasbin during the moveFromStorage fallback

3 years agoRemove trash items from other trash backends when deleting all 26040/head
Julius Härtl [Wed, 3 Mar 2021 13:26:35 +0000 (14:26 +0100)]
Remove trash items from other trash backends when deleting all

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 10 Mar 2021 02:23:17 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #25938 from nextcloud/backport/25927/stable20
Roeland Jago Douma [Tue, 9 Mar 2021 19:20:49 +0000 (20:20 +0100)]
Merge pull request #25938 from nextcloud/backport/25927/stable20

[stable20] Sharebymail: set expiration on creation

3 years agoMerge pull request #25994 from nextcloud/backport/25975/stable20
Roeland Jago Douma [Tue, 9 Mar 2021 08:34:25 +0000 (09:34 +0100)]
Merge pull request #25994 from nextcloud/backport/25975/stable20

[stable20] Add missing waits and asserts in acceptance tests

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 9 Mar 2021 02:24:13 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #26009 from nextcloud/dependabot/npm_and_yarn/stable20/elliptic...
Roeland Jago Douma [Mon, 8 Mar 2021 18:37:51 +0000 (19:37 +0100)]
Merge pull request #26009 from nextcloud/dependabot/npm_and_yarn/stable20/elliptic-6.5.4

[Security] Bump elliptic from 6.5.3 to 6.5.4

3 years ago[Security] Bump elliptic from 6.5.3 to 6.5.4 26009/head
dependabot-preview[bot] [Mon, 8 Mar 2021 16:52:54 +0000 (16:52 +0000)]
[Security] Bump elliptic from 6.5.3 to 6.5.4

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoFind directly the label instead of falling back to it 25994/head
Daniel Calviño Sánchez [Fri, 5 Mar 2021 21:02:46 +0000 (22:02 +0100)]
Find directly the label instead of falling back to it

The input element is always hidden, so the check always ended falling
back to the label. Moreover, the label is the element that the user
interacts with, so it must be the one used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAssert also element visibility instead of just finding it
Daniel Calviño Sánchez [Fri, 5 Mar 2021 21:00:22 +0000 (22:00 +0100)]
Assert also element visibility instead of just finding it

Although if the element could not be found an exception would be thrown
and the test aborted if an element is in the DOM but hidden it would be
found and the test would pass.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd explicit locator for "Enable all" bundle button
Daniel Calviño Sánchez [Fri, 5 Mar 2021 20:57:47 +0000 (21:57 +0100)]
Add explicit locator for "Enable all" bundle button

Instead of looking for the bundle button and then checking its value now
the expected value is included in the locator and the button is checked
similarly to other elements.

No "Disable all" locator was added as it was not currently needed
anywhere.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>