]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 9 Nov 2021 03:26:43 +0000 (03:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29596 from nextcloud/backport/29592/stable21
John Molakvoæ [Mon, 8 Nov 2021 19:56:23 +0000 (20:56 +0100)]
Merge pull request #29596 from nextcloud/backport/29592/stable21

2 years agorefs #11864 handle empty dir drop in Files UI 29596/head
Julien Veyssier [Mon, 8 Nov 2021 11:22:57 +0000 (12:22 +0100)]
refs #11864 handle empty dir drop in Files UI

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2 years agoMerge pull request #29520 from nextcloud/backport/29479/stable21
Côme Chilliet [Mon, 8 Nov 2021 10:57:23 +0000 (11:57 +0100)]
Merge pull request #29520 from nextcloud/backport/29479/stable21

[stable21] Fix images on php 8.0

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 8 Nov 2021 02:33:28 +0000 (02:33 +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, 7 Nov 2021 02:22:53 +0000 (02:22 +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, 6 Nov 2021 02:22:58 +0000 (02:22 +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, 5 Nov 2021 02:23:14 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29550 from nextcloud/backposkjnldsv/update-psalm-baseline-21
John Molakvoæ [Thu, 4 Nov 2021 12:39:02 +0000 (13:39 +0100)]
Merge pull request #29550 from nextcloud/backposkjnldsv/update-psalm-baseline-21

2 years agoAdd branch-suffix to update-psalm-baseline PR creation 29550/head
John Molakvoæ [Thu, 4 Nov 2021 10:42:34 +0000 (11:42 +0100)]
Add branch-suffix to update-psalm-baseline PR creation

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoMerge pull request #29551 from nextcloud/revert-29322-mysql-search-ignore-index-21
John Molakvoæ [Thu, 4 Nov 2021 10:24:39 +0000 (11:24 +0100)]
Merge pull request #29551 from nextcloud/revert-29322-mysql-search-ignore-index-21

2 years agoRevert "[21] tell mysql to ignore the sort index for search queries" 29551/head
John Molakvoæ [Thu, 4 Nov 2021 10:10:46 +0000 (11:10 +0100)]
Revert "[21] tell mysql to ignore the sort index for search queries"

2 years ago[stable21] Update update-psalm-baseline workflow
John Molakvoæ [Thu, 4 Nov 2021 10:02:50 +0000 (11:02 +0100)]
[stable21] Update update-psalm-baseline workflow

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoRevert "[stable21] Update update-psalm-baseline workflow"
John Molakvoæ [Thu, 4 Nov 2021 10:04:09 +0000 (11:04 +0100)]
Revert "[stable21] Update update-psalm-baseline workflow"

This reverts commit 51accaabe9a4d9196483d17e0fb1de0a26452c35.

2 years ago[stable21] Update update-psalm-baseline workflow
John Molakvoæ [Thu, 4 Nov 2021 10:02:50 +0000 (11:02 +0100)]
[stable21] Update update-psalm-baseline workflow

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoMerge branch 'stable21' into backport/29479/stable21 29520/head
Côme Chilliet [Thu, 4 Nov 2021 08:21:48 +0000 (09:21 +0100)]
Merge branch 'stable21' into backport/29479/stable21

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #29539 from nextcloud/version/21.0.6/rc1 v21.0.6rc1
John Molakvoæ [Thu, 4 Nov 2021 08:02:21 +0000 (09:02 +0100)]
Merge pull request #29539 from nextcloud/version/21.0.6/rc1

2 years agoMerge pull request #29322 from nextcloud/mysql-search-ignore-index-21
John Molakvoæ [Thu, 4 Nov 2021 08:00:16 +0000 (09:00 +0100)]
Merge pull request #29322 from nextcloud/mysql-search-ignore-index-21

2 years agoMerge pull request #29507 from nextcloud/backport/29281/stable21
John Molakvoæ [Thu, 4 Nov 2021 07:51:37 +0000 (08:51 +0100)]
Merge pull request #29507 from nextcloud/backport/29281/stable21

2 years agoMerge pull request #29504 from nextcloud/backport/29465/stable21
John Molakvoæ [Thu, 4 Nov 2021 07:51:21 +0000 (08:51 +0100)]
Merge pull request #29504 from nextcloud/backport/29465/stable21

2 years agoMerge pull request #29071 from nextcloud/backport/29056/stable21
John Molakvoæ [Thu, 4 Nov 2021 07:50:08 +0000 (08:50 +0100)]
Merge pull request #29071 from nextcloud/backport/29056/stable21

2 years ago21.0.6 RC1 29539/head
Arthur Schiwon [Wed, 3 Nov 2021 17:36:44 +0000 (18:36 +0100)]
21.0.6 RC1

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoMerge pull request #29384 from nextcloud/backport/26725/stable21
John Molakvoæ [Wed, 3 Nov 2021 09:17:18 +0000 (10:17 +0100)]
Merge pull request #29384 from nextcloud/backport/26725/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 3 Nov 2021 02:23:54 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix psalm-ocp error about GdImage class
Côme Chilliet [Tue, 2 Nov 2021 10:07:40 +0000 (11:07 +0100)]
Fix psalm-ocp error about GdImage class

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoEnable Avatar tests as well for PHP>=8
Côme Chilliet [Tue, 26 Oct 2021 10:11:45 +0000 (12:11 +0200)]
Enable Avatar tests as well for PHP>=8

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRevert "Do not run image tests on php8"
Côme Chilliet [Tue, 26 Oct 2021 09:55:43 +0000 (11:55 +0200)]
Revert "Do not run image tests on php8"

This reverts commit d690f909284ae4bb4dee7d00318104ee76720bfa.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix resource usages in OC_Image
Côme Chilliet [Mon, 25 Oct 2021 14:13:50 +0000 (16:13 +0200)]
Fix resource usages in OC_Image

This makes sure using resource or GdImage (PHP>=8) behaves the same.

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMove query outside the loop and reduce chunk size to 1000 29507/head
Sijmen Schoon [Sun, 17 Oct 2021 18:52:38 +0000 (20:52 +0200)]
Move query outside the loop and reduce chunk size to 1000

This involved changing CacheQueryBuilder\whereParentIn to take a
parameter name, renaming the function accordingly.

Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
2 years agoLimit parameter count per query in Cache.removeChildren
Sijmen Schoon [Sun, 17 Oct 2021 17:08:27 +0000 (19:08 +0200)]
Limit parameter count per query in Cache.removeChildren

Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
2 years agoupdate CRL 29504/head
Arthur Schiwon [Mon, 1 Nov 2021 10:51:43 +0000 (11:51 +0100)]
update CRL

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 1 Nov 2021 02:22:59 +0000 (02:22 +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, 31 Oct 2021 02:22:23 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29493 from nextcloud/dependabot/composer/build/integration/stable...
dependabot[bot] [Sat, 30 Oct 2021 16:02:47 +0000 (16:02 +0000)]
Merge pull request #29493 from nextcloud/dependabot/composer/build/integration/stable21/guzzlehttp/guzzle-6.5.5

2 years agoUpdate guzzlehttp/guzzle requirement in /build/integration 29493/head
dependabot[bot] [Sat, 30 Oct 2021 04:11:56 +0000 (04:11 +0000)]
Update guzzlehttp/guzzle requirement in /build/integration

Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #29492 from nextcloud/dependabot/npm_and_yarn/stable21/bootstrap...
dependabot[bot] [Sat, 30 Oct 2021 14:53:24 +0000 (14:53 +0000)]
Merge pull request #29492 from nextcloud/dependabot/npm_and_yarn/stable21/bootstrap-4.6.1

2 years agoBump bootstrap from 4.6.0 to 4.6.1 29492/head
dependabot[bot] [Sat, 30 Oct 2021 03:51:26 +0000 (03:51 +0000)]
Bump bootstrap from 4.6.0 to 4.6.1

Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: bootstrap
  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 ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 30 Oct 2021 02:22:34 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29416 from nextcloud/backport/27440/stable21
MichaIng [Fri, 29 Oct 2021 22:19:35 +0000 (00:19 +0200)]
Merge pull request #29416 from nextcloud/backport/27440/stable21

[stable21] Handle files with `is_file` instead of `file_exists`

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 29 Oct 2021 02:22:45 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29476 from nextcloud/backport/29115/stable21
Carl Schwan [Thu, 28 Oct 2021 14:44:24 +0000 (16:44 +0200)]
Merge pull request #29476 from nextcloud/backport/29115/stable21

[stable21] Fix permissions when copying from ObjectStorage

2 years agoFix permissions when copying from ObjectStorage 29476/head
Carl Schwan [Thu, 7 Oct 2021 09:50:33 +0000 (11:50 +0200)]
Fix permissions when copying from ObjectStorage

Make sure that when a user copy a file from a directory they don't have
all permissions to a directory where they have more permissions, the
permissions are correctly set to the one from the parent taget folder.

This was caused by the ObjectStoreStorage::copyFromStorage using
the jailed storage and cache entry instead of the unjailed one like other
storages (the local one).
Steps to reproduce

+ Use object storage
+ Create a groupfolder with one group having full permission and another one
  who can just read files.
+ With an user who is in the second group, copy a file from the groupfolder to
  the home folder of this user.
+ The file in the home folder of the user will be read only and can't be deleted
  even though it is in their home folder and they are the owner. In oc_filecache,
  the permissions stored for this file are 1 (READ)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #29458 from nextcloud/backport/29454/stable21
Julius Härtl [Thu, 28 Oct 2021 07:29:37 +0000 (09:29 +0200)]
Merge pull request #29458 from nextcloud/backport/29454/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 28 Oct 2021 02:23:12 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29447 from nextcloud/backport/29220/stable21
John Molakvoæ [Wed, 27 Oct 2021 13:52:30 +0000 (15:52 +0200)]
Merge pull request #29447 from nextcloud/backport/29220/stable21

2 years agoDetect mimetype by content only with content 29458/head
Joas Schilling [Wed, 27 Oct 2021 08:45:03 +0000 (10:45 +0200)]
Detect mimetype by content only with content

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 27 Oct 2021 02:23:55 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29443 from nextcloud/backport/stable21/26841
Louis [Tue, 26 Oct 2021 13:09:29 +0000 (15:09 +0200)]
Merge pull request #29443 from nextcloud/backport/stable21/26841

[stable21] Implement local filtering in file list

2 years agoci 29447/head
Robin Appelman [Thu, 14 Oct 2021 15:28:32 +0000 (17:28 +0200)]
ci

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agocache versioning enabled status
Robin Appelman [Tue, 19 Oct 2021 13:03:22 +0000 (15:03 +0200)]
cache versioning enabled status

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agominor directory detect improvements
Robin Appelman [Tue, 19 Oct 2021 12:58:40 +0000 (14:58 +0200)]
minor directory detect improvements

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agomore reliable return value for Watcher::checkUpdate
Robin Appelman [Fri, 15 Oct 2021 14:03:18 +0000 (16:03 +0200)]
more reliable return value for Watcher::checkUpdate

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoalways set Key field in `headObject`
Robin Appelman [Fri, 15 Oct 2021 14:23:39 +0000 (16:23 +0200)]
always set Key field in `headObject`

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agomore reliable hasUpdated for s3
Robin Appelman [Fri, 15 Oct 2021 14:02:57 +0000 (16:02 +0200)]
more reliable hasUpdated for s3

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoremove old migration method
Robin Appelman [Fri, 15 Oct 2021 13:15:56 +0000 (15:15 +0200)]
remove old migration method

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agooptimize filetype for s3 directories a bit
Robin Appelman [Fri, 15 Oct 2021 12:54:09 +0000 (14:54 +0200)]
optimize filetype for s3 directories a bit

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agomore reliable directory copy
Robin Appelman [Thu, 14 Oct 2021 17:16:58 +0000 (19:16 +0200)]
more reliable directory copy

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agodoesDirectoryExist fixes
Robin Appelman [Thu, 14 Oct 2021 16:36:55 +0000 (18:36 +0200)]
doesDirectoryExist fixes

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agos3 external storage listing rework
Robin Appelman [Wed, 13 Oct 2021 17:42:31 +0000 (19:42 +0200)]
s3 external storage listing rework

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMove to combined files entrypoint 29443/head
Julius Härtl [Wed, 20 Oct 2021 14:39:16 +0000 (16:39 +0200)]
Move to combined files entrypoint

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoFix "No entries in this …" template
Joas Schilling [Fri, 30 Apr 2021 09:52:47 +0000 (11:52 +0200)]
Fix "No entries in this …" template

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoImplement local filtering in file list
Julius Härtl [Thu, 29 Apr 2021 10:09:06 +0000 (12:09 +0200)]
Implement local filtering in file list

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 26 Oct 2021 02:23:16 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29428 from nextcloud/fix/user_status_enumeration_21
Lukas Reschke [Mon, 25 Oct 2021 12:52:13 +0000 (14:52 +0200)]
Merge pull request #29428 from nextcloud/fix/user_status_enumeration_21

Backport #29260: Respect user enumeration settings in user status lists

2 years agoAdd integration tests for user_status API 29428/head
Jonas Meurer [Tue, 19 Oct 2021 08:56:07 +0000 (10:56 +0200)]
Add integration tests for user_status API

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 years agoRespect user enumeration settings in user status lists
Jonas Meurer [Thu, 8 Jul 2021 16:26:27 +0000 (18:26 +0200)]
Respect user enumeration settings in user status lists

So far, the functions to find user statuses listed didn't respect user
enumeration settings (`shareapi_allow_share_dialog_user_enumeration`
and `shareapi_restrict_user_enumeration_to_group` core app settings).

Fix this privacy issue by returning an empty list in case
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.

In the long run, we might want to return users from common groups if
`shareapi_restrict_user_enumeration_to_group` is set. It's complicated
to implement this in a way that scales, though. See the discussion at
https://github.com/nextcloud/server/pull/27879#pullrequestreview-753655308
for details.

Also, don't register the user_status dashboard widget at all if
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.

Fixes: #27122
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 25 Oct 2021 02:22:42 +0000 (02:22 +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, 24 Oct 2021 02:22:43 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29420 from nextcloud/backport/29400/stable21
blizzz [Sat, 23 Oct 2021 23:27:20 +0000 (01:27 +0200)]
Merge pull request #29420 from nextcloud/backport/29400/stable21

[stable21] fixes an undefined index when getAccessList returns an empty array

2 years agoMerge pull request #29411 from nextcloud/dependabot/npm_and_yarn/stable21/babel-loade...
dependabot[bot] [Sat, 23 Oct 2021 18:51:01 +0000 (18:51 +0000)]
Merge pull request #29411 from nextcloud/dependabot/npm_and_yarn/stable21/babel-loader-8.2.3

2 years agoMerge pull request #29399 from nextcloud/backport/29378/stable21
MichaIng [Sat, 23 Oct 2021 18:12:44 +0000 (20:12 +0200)]
Merge pull request #29399 from nextcloud/backport/29378/stable21

[stable21] Make the route name error more helpful

2 years agoBump babel-loader from 8.2.2 to 8.2.3 29411/head
dependabot[bot] [Sat, 23 Oct 2021 02:12:03 +0000 (02:12 +0000)]
Bump babel-loader from 8.2.2 to 8.2.3

Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.3.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.3)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #29403 from nextcloud/dependabot/composer/build/integration/stable...
dependabot[bot] [Sat, 23 Oct 2021 16:06:44 +0000 (16:06 +0000)]
Merge pull request #29403 from nextcloud/dependabot/composer/build/integration/stable21/behat/behat-approx-3.9.0

2 years agoUpdate behat/behat requirement in /build/integration 29403/head
dependabot[bot] [Sat, 23 Oct 2021 01:04:24 +0000 (01:04 +0000)]
Update behat/behat requirement in /build/integration

Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.8.0...v3.9.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agofixes an undefined index when getAccessList returns an empty array 29420/head
Arthur Schiwon [Fri, 22 Oct 2021 20:42:25 +0000 (22:42 +0200)]
fixes an undefined index when getAccessList returns an empty array

- [] is a valid return value that should be honored as having no access

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoUpdate Tests 29416/head
acsfer [Fri, 22 Oct 2021 10:16:11 +0000 (12:16 +0200)]
Update Tests

2 years agoTests update
acsfer [Sun, 15 Aug 2021 10:23:29 +0000 (12:23 +0200)]
Tests update

2 years agoHandle files with is_file instead of file_exists
acsfer [Wed, 9 Jun 2021 12:38:21 +0000 (14:38 +0200)]
Handle files with is_file instead of file_exists

Should fix things like `fread(): read of 8192 bytes failed with errno=21 Is a directory`

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 23 Oct 2021 02:22:54 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMake the route name error more helpful 29399/head
Christoph Wurst [Fri, 22 Oct 2021 08:41:27 +0000 (10:41 +0200)]
Make the route name error more helpful

As a developer I have no clue what "Invalid route name" means. If the
exception gives me a hint I might find it easier to figure out why my
route triggers this error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #29390 from nextcloud/backport/29375/stable21
Julius Härtl [Fri, 22 Oct 2021 18:12:39 +0000 (20:12 +0200)]
Merge pull request #29390 from nextcloud/backport/29375/stable21

2 years agoMerge pull request #29386 from nextcloud/backport/28997/stable21
Daniel [Fri, 22 Oct 2021 16:14:33 +0000 (18:14 +0200)]
Merge pull request #29386 from nextcloud/backport/28997/stable21

[stable21] Scheduling plugin not updating responding attendee status

2 years agoMake calendar schedule options translatable 29390/head
Julius Härtl [Fri, 22 Oct 2021 07:24:30 +0000 (09:24 +0200)]
Make calendar schedule options translatable

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoUpdate attendence for external users 29386/head
Daniel Kesselberg [Fri, 8 Oct 2021 14:34:43 +0000 (16:34 +0200)]
Update attendence for external users

For local users it's possible to select their calendar via the principal url and first update their own attendance status.
External users have no calendar event hence the recipient is the organizer.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 years agoScheduling plugin not updating responding attendee status take two
Anna Larch [Wed, 29 Sep 2021 15:32:13 +0000 (17:32 +0200)]
Scheduling plugin not updating responding attendee status take two

Signed-off-by: Anna Larch <anna@nextcloud.com>
2 years agoHide "federated" scope when Federation app is disabled 29384/head
Daniel Calviño Sánchez [Wed, 23 Jun 2021 23:46:44 +0000 (01:46 +0200)]
Hide "federated" scope when Federation app is disabled

If the Federation app is disabled it is not possible to synchronize the
users from a different server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years agoFix "Federated" scope not shown when the lookup server is disabled
Daniel Calviño Sánchez [Fri, 16 Apr 2021 16:24:40 +0000 (18:24 +0200)]
Fix "Federated" scope not shown when the lookup server is disabled

When the lookup server is disabled the address books can still be
exchanged between trusted servers. Therefore the user should be able to
set the "Federated" scope in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years agoAdd missing scope to test
Daniel Calviño Sánchez [Fri, 16 Apr 2021 16:21:11 +0000 (18:21 +0200)]
Add missing scope to test

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years agoMerge pull request #29367 from nextcloud/backport/29362/stable21
Vincent Petry [Fri, 22 Oct 2021 07:56:21 +0000 (09:56 +0200)]
Merge pull request #29367 from nextcloud/backport/29362/stable21

[stable21] Fix security issues when copying groupfolder with advanced ACL

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 22 Oct 2021 02:22:17 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix security issues when copying groupfolder with advanced ACL 29367/head
Carl Schwan [Thu, 21 Oct 2021 14:57:07 +0000 (16:57 +0200)]
Fix security issues when copying groupfolder with advanced ACL

Using advanced ACL, it is possible that an user has access to a
directory but not to a subdirectory, so the copying use
Common::copyFromStorage instead of Local::copyFromStorage.

Fix https://github.com/nextcloud/groupfolders/issues/1692

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #29289 from nextcloud/backport/28768/stable21
John Molakvoæ [Thu, 21 Oct 2021 07:32:32 +0000 (09:32 +0200)]
Merge pull request #29289 from nextcloud/backport/28768/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 21 Oct 2021 02:24:37 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29315 from nextcloud/backport/29180/stable21
blizzz [Wed, 20 Oct 2021 16:24:37 +0000 (18:24 +0200)]
Merge pull request #29315 from nextcloud/backport/29180/stable21

[stable21] Avoid PHP errors when the LDAP attribute is not found

2 years agoMerge pull request #29268 from nextcloud/backport/29125/stable21
Daniel [Wed, 20 Oct 2021 08:35:21 +0000 (10:35 +0200)]
Merge pull request #29268 from nextcloud/backport/29125/stable21

[stable21] Add configuration flag to disable the background job for files_trashbin

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 20 Oct 2021 02:43:22 +0000 (02:43 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29267 from nextcloud/backport/29090/stable21
MichaIng [Tue, 19 Oct 2021 22:13:25 +0000 (00:13 +0200)]
Merge pull request #29267 from nextcloud/backport/29090/stable21

[stable21] Add configuration flag to disable the background job for files_versions

2 years agoUse Psr\Log\LoggerInterface where it can easily be used in user_ldap 29315/head
Côme Chilliet [Thu, 14 Oct 2021 10:16:43 +0000 (12:16 +0200)]
Use Psr\Log\LoggerInterface where it can easily be used in user_ldap

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix two mistakes in previous migration to LoggerInterface in OCA\User_LDAP\Access
Côme Chilliet [Thu, 14 Oct 2021 07:13:20 +0000 (09:13 +0200)]
Fix two mistakes in previous migration to LoggerInterface in OCA\User_LDAP\Access

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>