]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoDirectly delete the user status instead of getting it a second time
Joas Schilling [Thu, 10 Feb 2022 14:50:09 +0000 (15:50 +0100)]
Directly delete the user status instead of getting it a second time

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAlso comment out in test 31171/head
Joas Schilling [Tue, 15 Feb 2022 06:14:14 +0000 (07:14 +0100)]
Also comment out in test

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoDisable bulk upload by not advertising it
Vincent Petry [Mon, 14 Feb 2022 15:14:57 +0000 (16:14 +0100)]
Disable bulk upload by not advertising it

It has been reported broken on many instances.
Disable it for now until it can be fixed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoMerge pull request #31126 from nextcloud/release/23.0.2rc1 v23.0.2rc1
blizzz [Fri, 11 Feb 2022 11:14:31 +0000 (12:14 +0100)]
Merge pull request #31126 from nextcloud/release/23.0.2rc1

23.0.2 RC 1

2 years ago23.0.2 RC 1 31126/head
Arthur Schiwon [Fri, 11 Feb 2022 10:42:19 +0000 (11:42 +0100)]
23.0.2 RC 1

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoMerge pull request #31108 from nextcloud/backport/31077/stable23
Vincent Petry [Thu, 10 Feb 2022 18:31:55 +0000 (19:31 +0100)]
Merge pull request #31108 from nextcloud/backport/31077/stable23

[stable23] Revert the 'broken' public page changes

2 years agoMerge pull request #31107 from nextcloud/backport/30936/stable23
blizzz [Thu, 10 Feb 2022 18:13:08 +0000 (19:13 +0100)]
Merge pull request #31107 from nextcloud/backport/30936/stable23

[stable23] Fix duplicated UUID migration issue

2 years agoRevert "Add non-breaking space in the file size" 31108/head
szaimen [Wed, 9 Feb 2022 08:47:44 +0000 (09:47 +0100)]
Revert "Add non-breaking space in the file size"

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoRevert "Improve layout for the public download page"
Carl Schwan [Tue, 8 Feb 2022 17:09:24 +0000 (18:09 +0100)]
Revert "Improve layout for the public download page"

This reverts commit 2e55ce089954bdab483cb1564a4b00b79b705346.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoRevert "Fix loading of the text app in public shared links"
Carl Schwan [Tue, 8 Feb 2022 17:07:59 +0000 (18:07 +0100)]
Revert "Fix loading of the text app in public shared links"

This reverts commit d3d117c4a874eb8803fb043b2b011d8732b2709f.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoSetup warning for invalid LDAP user or group UUIDs. 31107/head
Arthur Schiwon [Tue, 8 Feb 2022 20:31:32 +0000 (21:31 +0100)]
Setup warning for invalid LDAP user or group UUIDs.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoFix psalm errors in apps/user_ldap/lib/Jobs/CleanUp.php
Côme Chilliet [Mon, 7 Feb 2022 14:00:01 +0000 (15:00 +0100)]
Fix psalm errors in apps/user_ldap/lib/Jobs/CleanUp.php

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix ldap:update-uuid
Côme Chilliet [Mon, 7 Feb 2022 11:54:50 +0000 (12:54 +0100)]
Fix ldap:update-uuid

Generators cannot be iterated with while or returned by an other
 generator, using foreach instead.
And a few other problems.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoadd occ command to update UUIDs (incomplete)
Arthur Schiwon [Thu, 3 Feb 2022 21:59:23 +0000 (22:59 +0100)]
add occ command to update UUIDs (incomplete)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoallow to re-run migration step when backup DB is already created
Arthur Schiwon [Wed, 2 Feb 2022 17:26:31 +0000 (18:26 +0100)]
allow to re-run migration step when backup DB is already created

- to heal incomplete states from broken upgrades

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoinvalidated duplicated UUIDs prior to migration change
Arthur Schiwon [Wed, 2 Feb 2022 17:10:10 +0000 (18:10 +0100)]
invalidated duplicated UUIDs prior to migration change

- in a proper setup there are no duplicated UUIDs
- not all setups are proper
- log warning to admin

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoMerge pull request #30975 from nextcloud/nickvergessen-patch-1
Vincent Petry [Wed, 2 Feb 2022 14:46:45 +0000 (15:46 +0100)]
Merge pull request #30975 from nextcloud/nickvergessen-patch-1

Update version.php

2 years agoUpdate version.php 30975/head
Joas Schilling [Wed, 2 Feb 2022 14:42:36 +0000 (15:42 +0100)]
Update version.php

2 years agoMerge pull request #30915 from nextcloud/fix/psalm-composer-stable23
Carl Schwan [Tue, 1 Feb 2022 10:07:33 +0000 (11:07 +0100)]
Merge pull request #30915 from nextcloud/fix/psalm-composer-stable23

[stable23] Fix psalm warning related to registerEventListener

2 years agoMerge pull request #30800 from nextcloud/dependabot/npm_and_yarn/stable23/jquery...
Louis [Mon, 31 Jan 2022 15:40:43 +0000 (16:40 +0100)]
Merge pull request #30800 from nextcloud/dependabot/npm_and_yarn/stable23/jquery-ui-1.13.1

Bump jquery-ui from 1.13.0 to 1.13.1

2 years agoBump jquery-ui from 1.13.0 to 1.13.1 30800/head
dependabot[bot] [Mon, 24 Jan 2022 09:55:49 +0000 (09:55 +0000)]
Bump jquery-ui from 1.13.0 to 1.13.1

Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.1)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #30890 from nextcloud/backport/30886/stable23
Louis [Mon, 31 Jan 2022 12:44:37 +0000 (13:44 +0100)]
Merge pull request #30890 from nextcloud/backport/30886/stable23

[stable23] Fixes occ user:info when the user never logged in

2 years agoMerge pull request #30912 from nextcloud/dependabot/npm_and_yarn/stable23/clipboard...
Louis [Mon, 31 Jan 2022 12:41:21 +0000 (13:41 +0100)]
Merge pull request #30912 from nextcloud/dependabot/npm_and_yarn/stable23/clipboard-2.0.9

Bump clipboard from 2.0.8 to 2.0.9

2 years agoBump clipboard from 2.0.8 to 2.0.9 30912/head
dependabot[bot] [Mon, 31 Jan 2022 11:33:48 +0000 (11:33 +0000)]
Bump clipboard from 2.0.8 to 2.0.9

Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.8...v2.0.9)

---
updated-dependencies:
- dependency-name: clipboard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoFixes occ user:info when the user never logged in 30890/head
Côme Chilliet [Thu, 27 Jan 2022 15:33:24 +0000 (16:33 +0100)]
Fixes occ user:info when the user never logged in

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #30913 from nextcloud/dependabot/npm_and_yarn/stable23/webpack...
Louis [Mon, 31 Jan 2022 09:32:53 +0000 (10:32 +0100)]
Merge pull request #30913 from nextcloud/dependabot/npm_and_yarn/stable23/webpack-cli-4.9.2

Bump webpack-cli from 4.9.1 to 4.9.2

2 years agoMerge pull request #30911 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify...
Carl Schwan [Sun, 30 Jan 2022 08:50:55 +0000 (09:50 +0100)]
Merge pull request #30911 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify-2.3.5

Bump dompurify from 2.3.4 to 2.3.5

2 years agoBump dompurify from 2.3.4 to 2.3.5 30911/head
dependabot[bot] [Sat, 29 Jan 2022 03:35:01 +0000 (03:35 +0000)]
Bump dompurify from 2.3.4 to 2.3.5

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.4...2.3.5)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoFix psalm warning related to registerEventListener 30915/head
Carl Schwan [Sat, 29 Jan 2022 11:44:02 +0000 (12:44 +0100)]
Fix psalm warning related to registerEventListener

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoBump webpack-cli from 4.9.1 to 4.9.2 30913/head
dependabot[bot] [Sat, 29 Jan 2022 03:36:11 +0000 (03:36 +0000)]
Bump webpack-cli from 4.9.1 to 4.9.2

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.9.1...webpack-cli@4.9.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #30840 from nextcloud/releases/23.0.1 v23.0.1
John Molakvoæ [Thu, 27 Jan 2022 19:33:21 +0000 (20:33 +0100)]
Merge pull request #30840 from nextcloud/releases/23.0.1

2 years agoMerge pull request #30814 from nextcloud/backport/30508/stable23
John Molakvoæ [Thu, 27 Jan 2022 19:06:29 +0000 (20:06 +0100)]
Merge pull request #30814 from nextcloud/backport/30508/stable23

2 years agoFix psalm not running 30814/head
Carl Schwan [Thu, 6 Jan 2022 13:19:06 +0000 (14:19 +0100)]
Fix psalm not running

The issue was that we were using psalm/phar instead of vimeo/psalm. This
caused issue with the custom psalm plugin in buildd/psalm.

This is using the opportunity to also update the psalm version from 3.8
to 3.17 and the php-cs-fixer too.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #30872 from nextcloud/backport/30844/stable23
John Molakvoæ [Thu, 27 Jan 2022 09:42:51 +0000 (10:42 +0100)]
Merge pull request #30872 from nextcloud/backport/30844/stable23

2 years agoPrevent merging on EOL branches 30872/head
John Molakvoæ [Wed, 26 Jan 2022 08:38:21 +0000 (09:38 +0100)]
Prevent merging on EOL branches

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoMerge pull request #30847 from nextcloud/backport/30846/stable23
John Molakvoæ [Wed, 26 Jan 2022 12:13:03 +0000 (13:13 +0100)]
Merge pull request #30847 from nextcloud/backport/30846/stable23

2 years agoFix php:cs 30847/head
Louis Chemineau [Wed, 26 Jan 2022 09:47:16 +0000 (10:47 +0100)]
Fix php:cs

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago23.0.1 Final 30840/head
John Molakvoæ [Tue, 25 Jan 2022 13:53:02 +0000 (14:53 +0100)]
23.0.1 Final

2 years agoMerge pull request #30799 from nextcloud/dependabot/composer/build/integration/stable...
John Molakvoæ [Mon, 24 Jan 2022 07:07:48 +0000 (08:07 +0100)]
Merge pull request #30799 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.3.1

2 years agoMerge pull request #30740 from nextcloud/backport23
John Molakvoæ [Sat, 22 Jan 2022 18:03:33 +0000 (19:03 +0100)]
Merge pull request #30740 from nextcloud/backport23

2 years agoMerge pull request #30811 from nextcloud/backport/30795/stable23
John Molakvoæ [Sat, 22 Jan 2022 13:14:56 +0000 (14:14 +0100)]
Merge pull request #30811 from nextcloud/backport/30795/stable23

2 years agoMerge pull request #30773 from nextcloud/backport/30769/stable23
John Molakvoæ [Sat, 22 Jan 2022 09:25:50 +0000 (10:25 +0100)]
Merge pull request #30773 from nextcloud/backport/30769/stable23

2 years agoFix accessing undefined offsets 30811/head
Carl Schwan [Fri, 21 Jan 2022 12:59:10 +0000 (13:59 +0100)]
Fix accessing undefined offsets

Move this to inside the else clause of the count($matches)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoUpdate sabre/dav requirement from 4.3.0 to 4.3.1 in /build/integration 30799/head
dependabot[bot] [Sat, 22 Jan 2022 02:10:48 +0000 (02:10 +0000)]
Update sabre/dav requirement from 4.3.0 to 4.3.1 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.3.0...4.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #30765 from nextcloud/release/23.0.1rc3
John Molakvoæ [Thu, 20 Jan 2022 20:37:22 +0000 (21:37 +0100)]
Merge pull request #30765 from nextcloud/release/23.0.1rc3

2 years agoMerge pull request #30782 from nextcloud/backport/29349/stable23 v23.0.1rc3
John Molakvoæ [Thu, 20 Jan 2022 20:25:58 +0000 (21:25 +0100)]
Merge pull request #30782 from nextcloud/backport/29349/stable23

2 years agoAdd test for samba kerberos sso in ci 30782/head
Robin Appelman [Thu, 20 Jan 2022 16:16:08 +0000 (17:16 +0100)]
Add test for samba kerberos sso in ci

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoupdate icewind/smb to 3.5.2
Robin Appelman [Thu, 20 Jan 2022 15:09:41 +0000 (16:09 +0100)]
update icewind/smb to 3.5.2

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoupdate to release smb lib
Robin Appelman [Thu, 4 Nov 2021 14:38:42 +0000 (15:38 +0100)]
update to release smb lib

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoupdate icewind/smb to 3.5.1
Robin Appelman [Thu, 4 Nov 2021 14:05:37 +0000 (15:05 +0100)]
update icewind/smb to 3.5.1

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agodo not use deprecated query() method
Arthur Schiwon [Wed, 3 Nov 2021 12:07:00 +0000 (13:07 +0100)]
do not use deprecated query() method

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoadd changes from Sebastian/dassIT and move default_realm to backend
Arthur Schiwon [Fri, 29 Oct 2021 16:27:30 +0000 (18:27 +0200)]
add changes from Sebastian/dassIT and move default_realm to backend

- Sebastian added the switch depending on the preg_match result and with it
  the fall back to login credentials
- I turned default_realm to a backend option (was previously suggested as
  system config key)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoadd KerberosApacheAuth support to files_external
Arthur Schiwon [Wed, 20 Oct 2021 20:39:13 +0000 (22:39 +0200)]
add KerberosApacheAuth support to files_external

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoAlways call flush() as getAllKeys() is broken 30773/head
Côme Chilliet [Thu, 20 Jan 2022 10:20:18 +0000 (11:20 +0100)]
Always call flush() as getAllKeys() is broken

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #30728 from nextcloud/backport/30614/stable23
John Molakvoæ [Thu, 20 Jan 2022 10:12:34 +0000 (11:12 +0100)]
Merge pull request #30728 from nextcloud/backport/30614/stable23

2 years agoFix tests with email templates 30740/head
Carl Schwan [Tue, 18 Jan 2022 13:59:02 +0000 (14:59 +0100)]
Fix tests with email templates

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #29798 from nextcloud/stable23-disk
John Molakvoæ [Thu, 20 Jan 2022 09:36:40 +0000 (10:36 +0100)]
Merge pull request #29798 from nextcloud/stable23-disk

2 years agoMerge pull request #30759 from nextcloud/backport/30731/stable23
John Molakvoæ [Thu, 20 Jan 2022 09:36:13 +0000 (10:36 +0100)]
Merge pull request #30759 from nextcloud/backport/30731/stable23

2 years ago23.0.1 RC3 30765/head
John Molakvoæ [Thu, 20 Jan 2022 09:16:39 +0000 (10:16 +0100)]
23.0.1 RC3

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoLog bruteforce throttle and blocking 30759/head
Joas Schilling [Tue, 18 Jan 2022 09:10:19 +0000 (10:10 +0100)]
Log bruteforce throttle and blocking

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #30753 from nextcloud/backport/30738/stable23
John Molakvoæ [Wed, 19 Jan 2022 10:04:33 +0000 (11:04 +0100)]
Merge pull request #30753 from nextcloud/backport/30738/stable23

2 years agoMerge pull request #30747 from nextcloud/backport/30615/stable23
John Molakvoæ [Wed, 19 Jan 2022 09:45:33 +0000 (10:45 +0100)]
Merge pull request #30747 from nextcloud/backport/30615/stable23

2 years agoCreate block-merge-freeze.yml 30753/head
Joas Schilling [Tue, 18 Jan 2022 14:34:25 +0000 (15:34 +0100)]
Create block-merge-freeze.yml

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoUpdate autoload and ClassLoader 30747/head
Christopher Ng [Wed, 19 Jan 2022 02:12:15 +0000 (02:12 +0000)]
Update autoload and ClassLoader

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoImprove installation pages
Christopher Ng [Fri, 14 Jan 2022 19:32:10 +0000 (19:32 +0000)]
Improve installation pages

Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 22768769c3f29f9952110f86a032e4bf3a4bf460)
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #30734 from nextcloud/backport/30470/stable23
Carl Schwan [Tue, 18 Jan 2022 16:02:37 +0000 (17:02 +0100)]
Merge pull request #30734 from nextcloud/backport/30470/stable23

[stable23] Hash job argument

2 years ago[stable23] Increase email main buttons width for non-english languages
acsfer [Tue, 18 Jan 2022 15:01:26 +0000 (16:01 +0100)]
[stable23] Increase email main buttons width for non-english languages

Manual backport of https://github.com/nextcloud/server/pull/30653

2 years agoAdd hashed attribute column for indexed job existence check 30734/head
Julius Härtl [Mon, 3 Jan 2022 10:17:28 +0000 (11:17 +0100)]
Add hashed attribute column for indexed job existence check

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoUpdate Session.php 30728/head
Marek-Wojtowicz [Tue, 11 Jan 2022 21:33:18 +0000 (22:33 +0100)]
Update Session.php

The http headers according to rfc 2616 is iso-8859-1. This patch fixes the behavior when non-ascii characters are present in the header.

Signed-off-by: Marek Wójtowicz <Marek.Wojtowicz@agh.edu.pl>
2 years agoMerge pull request #30685 from nextcloud/backport/29923/stable23
MichaIng [Mon, 17 Jan 2022 20:20:05 +0000 (21:20 +0100)]
Merge pull request #30685 from nextcloud/backport/29923/stable23

[stable23] Fix users can't login external mount user entered credentials not set

2 years agoMerge pull request #30722 from nextcloud/backport/30719/stable23
max-nextcloud [Mon, 17 Jan 2022 19:45:25 +0000 (20:45 +0100)]
Merge pull request #30722 from nextcloud/backport/30719/stable23

[stable23] Fix loading of the text app in public shared links

2 years agoFix loading of the text app in public shared links 30722/head
Carl Schwan [Mon, 17 Jan 2022 15:00:19 +0000 (16:00 +0100)]
Fix loading of the text app in public shared links

Instead of doing the centering for the entire public content, only do it
for the preview. This is more safe.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #30678 from nextcloud/release/23.0.1rc2 v23.0.1rc2
blizzz [Mon, 17 Jan 2022 11:28:47 +0000 (12:28 +0100)]
Merge pull request #30678 from nextcloud/release/23.0.1rc2

23.0.1 RC2

2 years agoMerge pull request #30684 from nextcloud/backport/30531/stable23
Carl Schwan [Mon, 17 Jan 2022 09:15:26 +0000 (10:15 +0100)]
Merge pull request #30684 from nextcloud/backport/30531/stable23

[stable23] Optimize FileSystemTags workflow for groupfolder

2 years agoMerge pull request #30688 from nextcloud/backport/30499/stable23
MichaIng [Sat, 15 Jan 2022 01:52:03 +0000 (02:52 +0100)]
Merge pull request #30688 from nextcloud/backport/30499/stable23

[stable23] Remove inefficient fed share scanner

2 years agoMerge pull request #30689 from nextcloud/backport/30645/stable23
MichaIng [Sat, 15 Jan 2022 01:50:26 +0000 (02:50 +0100)]
Merge pull request #30689 from nextcloud/backport/30645/stable23

[stable23] New Files internal link GET param to avoid opening the file

2 years agoMerge pull request #30695 from nextcloud/backport/30631/stable23
MichaIng [Sat, 15 Jan 2022 01:48:12 +0000 (02:48 +0100)]
Merge pull request #30695 from nextcloud/backport/30631/stable23

[stable23] updateEncryptedVersion: cleanup on target if cache already got renamed

2 years agoMerge pull request #30698 from nextcloud/backport/30655/stable23
MichaIng [Sat, 15 Jan 2022 01:39:47 +0000 (02:39 +0100)]
Merge pull request #30698 from nextcloud/backport/30655/stable23

[stable23] Improve layout for the public download page

2 years agoAdd non-breaking space in the file size 30698/head
Carl Schwan [Thu, 13 Jan 2022 18:29:21 +0000 (19:29 +0100)]
Add non-breaking space in the file size

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoImprove layout for the public download page
Carl Schwan [Thu, 13 Jan 2022 17:59:33 +0000 (18:59 +0100)]
Improve layout for the public download page

This centers the content inside the pages, while also not hardcoded the
size of the footer.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoupdateEncryptedVersion: cleanup on target if cache already got renamed 30695/head
Jonas Meurer [Wed, 12 Jan 2022 14:28:34 +0000 (15:28 +0100)]
updateEncryptedVersion: cleanup on target if cache already got renamed

When moving a file to trash with encryption enabled, the cache gets
moved before the actual file. According to @icewind1991 this is in order
to not break object storage.

When moving a file from an unencrypted storage (e.g. a collectives
storage) to the encrypted trashbin storage, this causes errors, see

This commit fixes it by doing `updateEncryptedVersion()` on the target
cache entry *if* the source cache entry doesn't exist anymore, but the
corresponding target cache entry does exist already.

Fixes: #26544
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 years ago[files] new internal link GET param to avoid setting 'openfile' on redirect 30689/head
Julien Veyssier [Thu, 13 Jan 2022 12:07:52 +0000 (13:07 +0100)]
[files] new internal link GET param to avoid setting 'openfile' on redirect

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2 years agoMerge pull request #30672 from nextcloud/backport/stable23/30597
John Molakvoæ [Fri, 14 Jan 2022 16:30:13 +0000 (17:30 +0100)]
Merge pull request #30672 from nextcloud/backport/stable23/30597

2 years agoRemove inefficient fed share scanner 30688/head
Vincent Petry [Wed, 5 Jan 2022 16:19:24 +0000 (17:19 +0100)]
Remove inefficient fed share scanner

Remove scanAll which relies on the "shareinfo" endpoint that returns the
full cache tree.
The latter can become big for big shares and result in timeouts.
Furthermode, the full tree would be retrieved again for each and every
detected change which can become expensive quickly.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoMerge pull request #30674 from nextcloud/backport/30275/stable23
John Molakvoæ [Fri, 14 Jan 2022 15:27:21 +0000 (16:27 +0100)]
Merge pull request #30674 from nextcloud/backport/30275/stable23

2 years agofiles_external SMB: throw InvalidArgument when user is not set 30685/head
Anderson Luiz Alves [Fri, 3 Dec 2021 13:57:00 +0000 (10:57 -0300)]
files_external SMB: throw InvalidArgument when user is not set

Signed-off-by: Anderson Luiz Alves <alacn1@gmail.com>
2 years agoFix psalm issues 30684/head
Carl Schwan [Thu, 13 Jan 2022 11:30:27 +0000 (12:30 +0100)]
Fix psalm issues

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoAdd helper method in Wrapper
Carl Schwan [Mon, 10 Jan 2022 10:36:51 +0000 (11:36 +0100)]
Add helper method in Wrapper

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoThe storage is not static anymore
Carl Schwan [Fri, 7 Jan 2022 16:55:02 +0000 (17:55 +0100)]
The storage is not static anymore

Don't call twice $cache->getId

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoOptimize FileSystemTags workflow for groupfolder
Carl Schwan [Fri, 7 Jan 2022 13:00:48 +0000 (14:00 +0100)]
Optimize FileSystemTags workflow for groupfolder

In https://github.com/nextcloud/server/pull/28774 we disabled the
caching for the groupfolder application since it worked due to the fact
that in groupfolders, getFileIds could be called with the same $cacheId
and path for actually different groupfolders.

This revert this change and instead add the folderId from the
groupFolder to the cacheId. This solve the issue of the uniqueness of
the cacheId inside GroupFolder. Downside is that we introduce
groupfolder specific implementation inside the server repo.

The seconf optimization is to not consider paths starting with
__groupfolders in executeCheck. This is due to the fact that files in
the groupfolder application call two times executeCheck one time with
the url __groupfolder/<folderId>/<path> and the other time with <path>.
The first time will always return an empty systemTags array while the
second call will return the correct system tags.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #30671 from nextcloud/backport/30363/stable23
Simon L [Fri, 14 Jan 2022 13:31:05 +0000 (14:31 +0100)]
Merge pull request #30671 from nextcloud/backport/30363/stable23

[stable23] improve accessibility settings on mobile

2 years ago23.0.1 RC2 30678/head
Arthur Schiwon [Fri, 14 Jan 2022 11:46:43 +0000 (12:46 +0100)]
23.0.1 RC2

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoMerge pull request #30662 from nextcloud/backport/30530/stable23
Vincent Petry [Fri, 14 Jan 2022 11:21:22 +0000 (12:21 +0100)]
Merge pull request #30662 from nextcloud/backport/30530/stable23

[stable23] Fix wrong unified search link to folder

2 years agoMerge pull request #30663 from nextcloud/backport/30568/stable23
blizzz [Fri, 14 Jan 2022 11:04:06 +0000 (12:04 +0100)]
Merge pull request #30663 from nextcloud/backport/30568/stable23

[stable23] Fix primary key change in user_ldap migration

2 years agoAdd version of disabled apps when available 30674/head
Joas Schilling [Wed, 15 Dec 2021 08:08:14 +0000 (09:08 +0100)]
Add version of disabled apps when available

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix file picker not respecting hidden files settings 30672/head
Carl Schwan [Tue, 11 Jan 2022 14:06:54 +0000 (15:06 +0100)]
Fix file picker not respecting hidden files settings

This will only respect the setting inside the file app. For other apps
we will either need to do an API call or add an input field with the
same idea to spare a blocking api call.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit 1fa58be1aa78ff6216b7a129925a7bb270ac9fe1)

2 years agoMerge pull request #30659 from nextcloud/backport/29622/stable23
Julius Härtl [Fri, 14 Jan 2022 09:41:46 +0000 (10:41 +0100)]
Merge pull request #30659 from nextcloud/backport/29622/stable23

2 years agoaddress 2nd review 30671/head
szaimen [Thu, 23 Dec 2021 11:24:17 +0000 (12:24 +0100)]
address 2nd review

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoaddress review
szaimen [Tue, 21 Dec 2021 19:52:49 +0000 (20:52 +0100)]
address review

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoimprove accessibility settings on mobile
szaimen [Tue, 21 Dec 2021 11:28:12 +0000 (12:28 +0100)]
improve accessibility settings on mobile

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>