]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 3 Jan 2022 02:27:59 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 1 Jan 2022 02:27:25 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30448 from nextcloud/backport/30440/stable21
MichaIng [Fri, 31 Dec 2021 20:27:41 +0000 (21:27 +0100)]
Merge pull request #30448 from nextcloud/backport/30440/stable21

[stable21] Make sure to get file model in template picker

2 years agoMerge pull request #30435 from nextcloud/backport/30392/stable21
MichaIng [Fri, 31 Dec 2021 16:48:10 +0000 (17:48 +0100)]
Merge pull request #30435 from nextcloud/backport/30392/stable21

[stable21] Add missing index for propertypath only queries of DAV properties

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 31 Dec 2021 02:27:53 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoManual compilation 30448/head
Louis Chemineau [Thu, 30 Dec 2021 17:08:25 +0000 (18:08 +0100)]
Manual compilation

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years agofix template picker for file actions using the fileInfoModel
Julien Veyssier [Wed, 29 Dec 2021 13:54:40 +0000 (14:54 +0100)]
fix template picker for file actions using the fileInfoModel

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #30341 from nextcloud/backport/29329/stable21
Louis [Thu, 30 Dec 2021 10:03:30 +0000 (11:03 +0100)]
Merge pull request #30341 from nextcloud/backport/29329/stable21

[stable21] fix potential unwarranted memberships in nested groups from LDAP

2 years agoMerge pull request #30442 from nextcloud/backport/30353/stable21
John Molakvoæ [Thu, 30 Dec 2021 07:11:54 +0000 (08:11 +0100)]
Merge pull request #30442 from nextcloud/backport/30353/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 30 Dec 2021 02:28:21 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoHandle external share with invalid host 30442/head
Carl Schwan [Mon, 20 Dec 2021 14:20:52 +0000 (15:20 +0100)]
Handle external share with invalid host

remoteIsOwnCloud might throw an exception when the host is localhost.
Handle this case instead of aborting completely. The behavior is the
same as that is done 10 lines under it

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoAdd missing index for propertypath only queries against properties 30435/head
Christoph Wurst [Thu, 23 Dec 2021 10:34:51 +0000 (11:34 +0100)]
Add missing index for propertypath only queries against properties

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 28 Dec 2021 02:28:00 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 27 Dec 2021 02:27:35 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 25 Dec 2021 02:27:39 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 24 Dec 2021 02:29:31 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 23 Dec 2021 02:28:06 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 22 Dec 2021 02:28:29 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30314 from nextcloud/backport/30266/stable21
John Molakvoæ [Tue, 21 Dec 2021 14:09:52 +0000 (15:09 +0100)]
Merge pull request #30314 from nextcloud/backport/30266/stable21

2 years agoFix share owner not being displayed in sharing tab 30314/head
Carl Schwan [Tue, 14 Dec 2021 12:30:14 +0000 (13:30 +0100)]
Fix share owner not being displayed in sharing tab

This only concerns subfolder and files inside a shared folder and is
used as fallback when the OCS api returns a empty result, because it
only works on the shared folder and not the content inside of it.
This unify the tab with the folder list.

This offers a less descriptive share information but making the
OCS api returns all the details even for the subfolder would very
probably be bad for performance (since we would need to fetch the shares
for all the parent folders until we found one or are in the root folder).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 21 Dec 2021 02:28:15 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30251 from nextcloud/backport/30193/stable21
MichaIng [Mon, 20 Dec 2021 17:42:40 +0000 (18:42 +0100)]
Merge pull request #30251 from nextcloud/backport/30193/stable21

[stable21] Fix setting up 2FA when no providers are set up but backup codes

2 years agoMerge pull request #30248 from nextcloud/backport/30245/stable21
MichaIng [Mon, 20 Dec 2021 17:41:53 +0000 (18:41 +0100)]
Merge pull request #30248 from nextcloud/backport/30245/stable21

[stable21] Only wildcard search if enumeration is allowed

2 years agoMerge pull request #30348 from nextcloud/backport/29965/stable21
MichaIng [Mon, 20 Dec 2021 12:58:33 +0000 (13:58 +0100)]
Merge pull request #30348 from nextcloud/backport/29965/stable21

[stable21] [stable23] Avoid use of iconv to get rid of unicode

2 years agoMerge pull request #30346 from nextcloud/backport/30322/stable21
Louis [Mon, 20 Dec 2021 10:32:05 +0000 (11:32 +0100)]
Merge pull request #30346 from nextcloud/backport/30322/stable21

[stable21] fix overlapping in the help settings section

2 years ago[stable23] Avoid use of iconv to get rid of unicode 30348/head
Côme Chilliet [Mon, 29 Nov 2021 16:02:25 +0000 (17:02 +0100)]
[stable23] Avoid use of iconv to get rid of unicode

Using iconv for translit depends upon server configuration, locale, and
 PHP version. Using htmlentities instead to have a consistent behavior
 independent of configuration.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: MichaIng <micha@dietpi.com>
2 years agofix overlapping in the help settings section 30346/head
szaimen [Fri, 17 Dec 2021 20:35:46 +0000 (21:35 +0100)]
fix overlapping in the help settings section

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoMerge pull request #30308 from nextcloud/backport/30281/stable21
Louis [Mon, 20 Dec 2021 09:20:27 +0000 (10:20 +0100)]
Merge pull request #30308 from nextcloud/backport/30281/stable21

[stable21] Ignore non-existing groups when notifying group shares

2 years agofix potential unwarranted memberships in nested groups from LDAP 30341/head
Arthur Schiwon [Tue, 19 Oct 2021 20:00:13 +0000 (22:00 +0200)]
fix potential unwarranted memberships in nested groups from LDAP

- the issue was present only when using PHP based resolving of nested
  group members. Normally nested members are common in AD (and Samba4) and
  are resolved per LDAP_MATCHING_RULE_IN_CHAIN by default
- resolving nested members is recursive
- when the cache entry was created it happend for intermediate groups, too,
  containing members from the parent group
- the check was added to only cache the root group with its members
- a runtime cache stores intermediate ldap read results

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 20 Dec 2021 02:30:02 +0000 (02:30 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 19 Dec 2021 02:29:36 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30327 from nextcloud/dependabot/composer/build/integration/stable...
dependabot[bot] [Sat, 18 Dec 2021 16:22:58 +0000 (16:22 +0000)]
Merge pull request #30327 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.3.0

2 years agoUpdate sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integration 30327/head
dependabot[bot] [Sat, 18 Dec 2021 04:11:17 +0000 (04:11 +0000)]
Update sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integration

Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.3...4.3.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 18 Dec 2021 02:27:44 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoDiscard share notification for non-existing groups 30308/head
Vincent Petry [Wed, 15 Dec 2021 13:25:39 +0000 (14:25 +0100)]
Discard share notification for non-existing groups

Group shares might exist even after a group got deleted.

This fix catches the situation and discards the notification for the
obsolete group.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <coding@schilljs.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 17 Dec 2021 02:29:14 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30192 from nextcloud/backport/30157/stable21
Louis [Thu, 16 Dec 2021 12:30:18 +0000 (13:30 +0100)]
Merge pull request #30192 from nextcloud/backport/30157/stable21

[stable21] Properly format sharing datepicker locale

2 years agoManual compilation 30192/head
Louis Chemineau [Thu, 16 Dec 2021 10:17:20 +0000 (11:17 +0100)]
Manual compilation

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years agoFix first day locale
John Molakvoæ [Thu, 9 Dec 2021 08:07:32 +0000 (09:07 +0100)]
Fix first day locale

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoProperly format sharing datepicker locale
John Molakvoæ [Thu, 9 Dec 2021 07:48:03 +0000 (08:48 +0100)]
Properly format sharing datepicker locale

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoMerge pull request #30287 from nextcloud/backport/30256/stable21
Louis [Thu, 16 Dec 2021 09:58:31 +0000 (10:58 +0100)]
Merge pull request #30287 from nextcloud/backport/30256/stable21

[stable21] Fix ShareLink Upload UI for Folders

2 years agoMerge pull request #30261 from nextcloud/backport/29523/stable21
Côme Chilliet [Thu, 16 Dec 2021 08:06:45 +0000 (09:06 +0100)]
Merge pull request #30261 from nextcloud/backport/29523/stable21

[stable21] Support LDAP dns longer than 255 characters

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 16 Dec 2021 02:28:09 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoBuild assets 30287/head
Jonas Rittershofer [Wed, 15 Dec 2021 19:23:48 +0000 (20:23 +0100)]
Build assets

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2 years agoFix ShareLink Upload UI for Folders
Jonas Rittershofer [Tue, 14 Dec 2021 00:02:04 +0000 (01:02 +0100)]
Fix ShareLink Upload UI for Folders

Do not show the Upload-Option if it is not allowed to check.

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2 years agoMerge pull request #30270 from nextcloud/search-folder-case-insensitive-21
Julius Härtl [Wed, 15 Dec 2021 07:27:57 +0000 (08:27 +0100)]
Merge pull request #30270 from nextcloud/search-folder-case-insensitive-21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 15 Dec 2021 02:28:11 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoalso use case sensitive like when searching in a folder 30270/head
Robin Appelman [Tue, 14 Dec 2021 16:49:48 +0000 (17:49 +0100)]
also use case sensitive like when searching in a folder

this case was missed from https://github.com/nextcloud/server/pull/29080

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #30117 from nextcloud/backport/30040/stable21
Côme Chilliet [Tue, 14 Dec 2021 12:52:20 +0000 (13:52 +0100)]
Merge pull request #30117 from nextcloud/backport/30040/stable21

[stable21] Avoid calling image* methods on boolean

2 years agoAvoid assignment in if clause 30117/head
Côme Chilliet [Thu, 2 Dec 2021 14:38:42 +0000 (15:38 +0100)]
Avoid assignment in if clause

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix typing problems in OC_Image
Côme Chilliet [Thu, 2 Dec 2021 10:30:10 +0000 (11:30 +0100)]
Fix typing problems in OC_Image

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAvoid calling image* methods on boolean
Côme Chilliet [Thu, 2 Dec 2021 10:06:17 +0000 (11:06 +0100)]
Avoid calling image* methods on boolean

This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdapt execute function name for stable21 30261/head
Côme Chilliet [Tue, 14 Dec 2021 10:04:37 +0000 (11:04 +0100)]
Adapt execute function name for stable21

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoBump user_ldap version to make sure the migration runs
Côme Chilliet [Thu, 9 Dec 2021 16:42:44 +0000 (17:42 +0100)]
Bump user_ldap version to make sure the migration runs

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdd missing copyright headers in migration steps
Côme Chilliet [Thu, 9 Dec 2021 16:42:17 +0000 (17:42 +0100)]
Add missing copyright headers in migration steps

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoUse clearer names for variables
Côme Chilliet [Thu, 18 Nov 2021 09:48:41 +0000 (10:48 +0100)]
Use clearer names for variables

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdd an index for directory_uuid as well
Côme Chilliet [Thu, 18 Nov 2021 09:40:55 +0000 (10:40 +0100)]
Add an index for directory_uuid as well

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMake sure that hash function returns a string
Côme Chilliet [Thu, 18 Nov 2021 09:30:35 +0000 (10:30 +0100)]
Make sure that hash function returns a string

The documentation says it can return false, and even if that is highly
 unlikely for sha256, better safe than sorry.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdd the columns and alter the index in Version1010Date20200630192842
Côme Chilliet [Thu, 18 Nov 2021 09:25:19 +0000 (10:25 +0100)]
Add the columns and alter the index in Version1010Date20200630192842

This is to ensure new installations do not need to go through migration
 history.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFixes in migration step
Côme Chilliet [Thu, 4 Nov 2021 14:38:01 +0000 (15:38 +0100)]
Fixes in migration step

We cannot set ldap_dn_hash column as notnull because it is empty for
 existing users before postSchemaChange is called

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoPut back length check to have a clear error
Côme Chilliet [Thu, 4 Nov 2021 11:30:38 +0000 (12:30 +0100)]
Put back length check to have a clear error

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFixed migration step for user_ldap
Côme Chilliet [Thu, 4 Nov 2021 11:27:44 +0000 (12:27 +0100)]
Fixed migration step for user_ldap

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix variable names
Joas Schilling [Thu, 4 Nov 2021 11:13:18 +0000 (12:13 +0100)]
Fix variable names

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoChange column names to ldap_dn and ldap_dn_hash and add migration
Côme Chilliet [Thu, 4 Nov 2021 11:06:59 +0000 (12:06 +0100)]
Change column names to ldap_dn and ldap_dn_hash and add migration

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoSupport LDAP dns longer than 255 characters
Côme Chilliet [Tue, 2 Nov 2021 15:22:37 +0000 (16:22 +0100)]
Support LDAP dns longer than 255 characters

Adds an ldap_full_dn column to store the dn, and only store a sha256
 hash in the ldap_dn which is shorter and can be indexed without
 trouble.
Migration still needs to be implemented.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 14 Dec 2021 02:28:14 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix setting up 2FA when no providers are set up but backup codes 30251/head
Christoph Wurst [Fri, 10 Dec 2021 10:35:36 +0000 (11:35 +0100)]
Fix setting up 2FA when no providers are set up but backup codes

2FA set up is allowed when only backup codes are set up but no other
provider and no provider is failing.

This patch syncs up the login controller check with the challenge
controller check 10 lines above.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoFix backport 30248/head
Louis Chemineau [Mon, 13 Dec 2021 14:36:45 +0000 (15:36 +0100)]
Fix backport

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years agoMake psalm more happy
Joas Schilling [Thu, 9 Dec 2021 08:25:50 +0000 (09:25 +0100)]
Make psalm more happy

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix docs to make Psalm happier
Joas Schilling [Thu, 9 Dec 2021 08:18:53 +0000 (09:18 +0100)]
Fix docs to make Psalm happier

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoConvert strict_search to wildcard property and add psalm docs
Joas Schilling [Wed, 8 Dec 2021 17:53:54 +0000 (18:53 +0100)]
Convert strict_search to wildcard property and add psalm docs

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoLimit more contact searches
Joas Schilling [Wed, 8 Dec 2021 16:26:30 +0000 (17:26 +0100)]
Limit more contact searches

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoOnly limit search in the system address book
Joas Schilling [Wed, 8 Dec 2021 15:59:32 +0000 (16:59 +0100)]
Only limit search in the system address book

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoOnly wildcard search if enumeration is allowed
Joas Schilling [Wed, 8 Dec 2021 15:40:39 +0000 (16:40 +0100)]
Only wildcard search if enumeration is allowed

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 13 Dec 2021 02:28:06 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 12 Dec 2021 02:28:37 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30216 from nextcloud/dependabot/composer/build/integration/stable...
MichaIng [Sat, 11 Dec 2021 12:48:47 +0000 (13:48 +0100)]
Merge pull request #30216 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.3

Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration

2 years agoUpdate sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration 30216/head
dependabot[bot] [Sat, 11 Dec 2021 03:51:32 +0000 (03:51 +0000)]
Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration

Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.1...4.2.3)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 11 Dec 2021 02:27:48 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30189 from nextcloud/backport/30164/stable21
Vincent Petry [Fri, 10 Dec 2021 12:24:14 +0000 (13:24 +0100)]
Merge pull request #30189 from nextcloud/backport/30164/stable21

[stable21] Use correct icon for dir-external-root

2 years agoUse correct icon for dir-external-root 30189/head
Vincent Petry [Thu, 9 Dec 2021 13:58:31 +0000 (14:58 +0100)]
Use correct icon for dir-external-root

When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.

This fixes the logic to use the "folder-external" icon in such
scenarios.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoMerge pull request #30182 from nextcloud/backport/30160/stable21
Vincent Petry [Fri, 10 Dec 2021 07:56:26 +0000 (08:56 +0100)]
Merge pull request #30182 from nextcloud/backport/30160/stable21

[stable21] Check resource before closing in encryption wrapper

2 years agoMerge pull request #30178 from nextcloud/backport/30168/stable21
John Molakvoæ [Fri, 10 Dec 2021 07:46:56 +0000 (08:46 +0100)]
Merge pull request #30178 from nextcloud/backport/30168/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 10 Dec 2021 02:27:38 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoCheck resource before closing in encryption wrapper 30182/head
Vincent Petry [Thu, 9 Dec 2021 10:28:10 +0000 (11:28 +0100)]
Check resource before closing in encryption wrapper

In case of error there is no guarantee that $source or $target is set or
is a resource when handling an error.

Without this fix, there's a risk that fclose will fail and the actual
exception will not be thrown, making it impossible to find out about the
root cause.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoAllow to delete non-migrated previews instead of moving them 30178/head
John Molakvoæ [Thu, 9 Dec 2021 15:52:15 +0000 (16:52 +0100)]
Allow to delete non-migrated previews instead of moving them

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 9 Dec 2021 02:29:49 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30056 from nextcloud/backport/29735/stable21
Louis [Wed, 8 Dec 2021 17:06:00 +0000 (18:06 +0100)]
Merge pull request #30056 from nextcloud/backport/29735/stable21

[stable21] find users for background scan one by one

2 years agoMerge pull request #30153 from nextcloud/backport/30141/stable21
MichaIng [Wed, 8 Dec 2021 13:32:20 +0000 (14:32 +0100)]
Merge pull request #30153 from nextcloud/backport/30141/stable21

[stable21] Reload page instead of file list when getting 401 authentification error

2 years agoReload page on 401 since there is an authentification problem 30153/head
Carl Schwan [Tue, 7 Dec 2021 16:48:28 +0000 (17:48 +0100)]
Reload page on 401 since there is an authentification problem

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoStop reloading file list when getting 401 error on root dir
Carl Schwan [Tue, 7 Dec 2021 16:24:11 +0000 (17:24 +0100)]
Stop reloading file list when getting 401 error on root dir

When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #30138 from nextcloud/backport/30134/stable21
Julius Härtl [Wed, 8 Dec 2021 08:07:27 +0000 (09:07 +0100)]
Merge pull request #30138 from nextcloud/backport/30134/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 8 Dec 2021 02:29:04 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agodo not trigger events when setting active view in gotoplugin 30138/head
Julien Veyssier [Tue, 7 Dec 2021 13:34:48 +0000 (14:34 +0100)]
do not trigger events when setting active view in gotoplugin

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 7 Dec 2021 02:40:16 +0000 (02:40 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30109 from nextcloud/backport/30104/stable21
Louis [Mon, 6 Dec 2021 14:58:29 +0000 (15:58 +0100)]
Merge pull request #30109 from nextcloud/backport/30104/stable21

[stable21] Strengthify is now in the Nextcloud org

2 years agoMerge pull request #29834 from nextcloud/carl/bugfix/file-search-21
John Molakvoæ [Mon, 6 Dec 2021 13:51:55 +0000 (14:51 +0100)]
Merge pull request #29834 from nextcloud/carl/bugfix/file-search-21

2 years agoStrengthify is now in the Nextcloud org 30109/head
Joas Schilling [Mon, 6 Dec 2021 09:31:19 +0000 (10:31 +0100)]
Strengthify is now in the Nextcloud org

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 6 Dec 2021 02:30:47 +0000 (02:30 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 5 Dec 2021 02:30:41 +0000 (02:30 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>