]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoFix psalm-ocp error about GdImage class 29519/head
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:28 +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 [Mon, 1 Nov 2021 02:22:49 +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:13 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29495 from nextcloud/dependabot/npm_and_yarn/stable22/bootstrap...
dependabot[bot] [Sat, 30 Oct 2021 16:24:58 +0000 (16:24 +0000)]
Merge pull request #29495 from nextcloud/dependabot/npm_and_yarn/stable22/bootstrap-4.6.1

2 years agoBump bootstrap from 4.6.0 to 4.6.1 29495/head
dependabot[bot] [Sat, 30 Oct 2021 15:07:19 +0000 (15:07 +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 agoMerge pull request #29494 from nextcloud/dependabot/npm_and_yarn/stable22/vue-router...
dependabot[bot] [Sat, 30 Oct 2021 15:00:04 +0000 (15:00 +0000)]
Merge pull request #29494 from nextcloud/dependabot/npm_and_yarn/stable22/vue-router-3.5.3

2 years agoBump vue-router from 3.5.2 to 3.5.3 29494/head
dependabot[bot] [Sat, 30 Oct 2021 04:15:51 +0000 (04:15 +0000)]
Bump vue-router from 3.5.2 to 3.5.3

Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.5.2...v3.5.3)

---
updated-dependencies:
- dependency-name: vue-router
  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 #29475 from nextcloud/backport/29115/stable22
Carl Schwan [Sat, 30 Oct 2021 09:20:07 +0000 (11:20 +0200)]
Merge pull request #29475 from nextcloud/backport/29115/stable22

[stable22] Fix permissions when copying from ObjectStorage

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

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

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

2 years agoFix permissions when copying from ObjectStorage 29475/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 ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 29 Oct 2021 02:22:34 +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 [Thu, 28 Oct 2021 02:23:05 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29459 from nextcloud/backport/29454/stable22
blizzz [Wed, 27 Oct 2021 15:22:31 +0000 (17:22 +0200)]
Merge pull request #29459 from nextcloud/backport/29454/stable22

[stable22] Detect mimetype by content only with content

2 years agoDetect mimetype by content only with content 29459/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:49 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29442 from nextcloud/backport/stable22/26841
John Molakvoæ [Tue, 26 Oct 2021 14:47:20 +0000 (16:47 +0200)]
Merge pull request #29442 from nextcloud/backport/stable22/26841

2 years agoFix "No entries in this …" template 29442/head
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 agoMove to combined files entrypoint
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 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:06 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

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

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

2 years agoAdd integration tests for user_status API 29427/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:35 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29409 from nextcloud/dependabot/npm_and_yarn/stable22/babel-loade...
dependabot[bot] [Sun, 24 Oct 2021 18:50:32 +0000 (18:50 +0000)]
Merge pull request #29409 from nextcloud/dependabot/npm_and_yarn/stable22/babel-loader-8.2.3

2 years agoBump babel-loader from 8.2.2 to 8.2.3 29409/head
dependabot[bot] [Sat, 23 Oct 2021 02:08:49 +0000 (02:08 +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 #29393 from nextcloud/backport/26725/stable22
MichaIng [Sun, 24 Oct 2021 18:05:38 +0000 (20:05 +0200)]
Merge pull request #29393 from nextcloud/backport/26725/stable22

[stable22] Fix federated scope not shown when public addressbook upload is disabled

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

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

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

2 years agoSplit capability 29393/head
Daniel Calviño Sánchez [Wed, 23 Jun 2021 23:47:07 +0000 (01:47 +0200)]
Split capability

The "federated" and "published" scopes are independent one from each
other, so the capability that encompassed both needs to be split.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years agoHide "federated" scope when Federation app is disabled
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 #29391 from nextcloud/backport/29220/stable22
MichaIng [Sat, 23 Oct 2021 18:20:25 +0000 (20:20 +0200)]
Merge pull request #29391 from nextcloud/backport/29220/stable22

[stable22] s3 external storage fixes

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

[stable22] Make the route name error more helpful

2 years agofixes an undefined index when getAccessList returns an empty array 29419/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 29415/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 agoMerge pull request #29410 from nextcloud/dependabot/composer/build/integration/stable...
dependabot[bot] [Sat, 23 Oct 2021 04:26:55 +0000 (04:26 +0000)]
Merge pull request #29410 from nextcloud/dependabot/composer/build/integration/stable22/behat/behat-approx-3.9.0

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoUpdate behat/behat requirement in /build/integration 29410/head
dependabot[bot] [Sat, 23 Oct 2021 02:11:35 +0000 (02:11 +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 agoMake the route name error more helpful 29398/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 #29381 from nextcloud/backport/29357/stable22
Julius Härtl [Fri, 22 Oct 2021 18:14:56 +0000 (20:14 +0200)]
Merge pull request #29381 from nextcloud/backport/29357/stable22

2 years agoMerge pull request #29385 from nextcloud/backport/28997/stable22
John Molakvoæ [Fri, 22 Oct 2021 16:37:49 +0000 (18:37 +0200)]
Merge pull request #29385 from nextcloud/backport/28997/stable22

2 years agoMerge pull request #29389 from nextcloud/backport/29375/stable22
Richard Steinmetz [Fri, 22 Oct 2021 16:23:24 +0000 (18:23 +0200)]
Merge pull request #29389 from nextcloud/backport/29375/stable22

[stable22] Make calendar schedule options translatable

2 years agocache versioning enabled status 29391/head
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 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 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 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 agoci
Robin Appelman [Thu, 14 Oct 2021 15:28:32 +0000 (17:28 +0200)]
ci

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 agoMake calendar schedule options translatable 29389/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 29385/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 agoMerge pull request #29316 from nextcloud/backport/29180/stable22
John Molakvoæ [Fri, 22 Oct 2021 09:20:19 +0000 (11:20 +0200)]
Merge pull request #29316 from nextcloud/backport/29180/stable22

2 years agoPrevent duplicate auth token activity updates 29381/head
Christoph Wurst [Thu, 21 Oct 2021 12:12:36 +0000 (14:12 +0200)]
Prevent duplicate auth token activity updates

The auth token activity logic works as follows
* Read auth token
* Compare last activity time stamp to current time
* Update auth token activity if it's older than x seconds

This works fine in isolation but with concurrency that means that
occasionally the same token is read simultaneously by two processes and
both of these processes will trigger an update of the same row.
Affectively the second update doesn't add much value. It might set the
time stamp to the exact same time stamp or one a few seconds later. But
the last activity is no precise science, we don't need this accuracy.

This patch changes the UPDATE query to include the expected value in a
comparison with the current data. This results in an affected row when
the data in the DB still has an old time stamp, but won't affect a row
if the time stamp is (nearly) up to date.

This is a micro optimization and will possibly not show any significant
performance improvement. Yet in setups with a DB cluster it means that
the write node has to send fewer changes to the read nodes due to the
lower number of actual changes.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #29359 from nextcloud/backport/29355/stable22
Carl Schwan [Fri, 22 Oct 2021 08:20:44 +0000 (10:20 +0200)]
Merge pull request #29359 from nextcloud/backport/29355/stable22

[stable22] Fix login button alignment

2 years agoMerge pull request #29365 from nextcloud/backport/29362/stable22
Vincent Petry [Fri, 22 Oct 2021 07:56:02 +0000 (09:56 +0200)]
Merge pull request #29365 from nextcloud/backport/29362/stable22

[stable22] 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:11 +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 29365/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 agoFix login button alignment 29359/head
Carl Schwan [Thu, 21 Oct 2021 10:00:58 +0000 (12:00 +0200)]
Fix login button alignment

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

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 21 Oct 2021 02:24:27 +0000 (02:24 +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, 20 Oct 2021 02:43:11 +0000 (02:43 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29311 from nextcloud/backport/29295/stable22
Pytal [Wed, 20 Oct 2021 02:06:22 +0000 (19:06 -0700)]
Merge pull request #29311 from nextcloud/backport/29295/stable22

2 years agoMerge pull request #29263 from nextcloud/backport/29090/stable22
MichaIng [Tue, 19 Oct 2021 22:12:36 +0000 (00:12 +0200)]
Merge pull request #29263 from nextcloud/backport/29090/stable22

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

2 years agoMerge pull request #29262 from nextcloud/backport/29125/stable22
MichaIng [Tue, 19 Oct 2021 22:10:54 +0000 (00:10 +0200)]
Merge pull request #29262 from nextcloud/backport/29125/stable22

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

2 years agoMerge pull request #29301 from nextcloud/backport/29259/stable22
Joas Schilling [Tue, 19 Oct 2021 11:36:57 +0000 (13:36 +0200)]
Merge pull request #29301 from nextcloud/backport/29259/stable22

[stable22] Fix app upgrade

2 years agoUse Psr\Log\LoggerInterface where it can easily be used in user_ldap 29316/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>
2 years agoUse Psr\Log\LoggerInterface in OCA\User_LDAP\Access
Côme Chilliet [Tue, 12 Oct 2021 15:19:51 +0000 (17:19 +0200)]
Use Psr\Log\LoggerInterface in OCA\User_LDAP\Access

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAvoid PHP errors when the LDAP attribute is not found
Côme Chilliet [Tue, 12 Oct 2021 10:38:00 +0000 (12:38 +0200)]
Avoid PHP errors when the LDAP attribute is not found

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #29283 from nextcloud/backport/28250/stable22
John Molakvoæ [Tue, 19 Oct 2021 09:11:42 +0000 (11:11 +0200)]
Merge pull request #29283 from nextcloud/backport/28250/stable22

2 years agoMerge pull request #29183 from nextcloud/backport/29028/stable22
John Molakvoæ [Tue, 19 Oct 2021 09:11:26 +0000 (11:11 +0200)]
Merge pull request #29183 from nextcloud/backport/29028/stable22

2 years agoFix cliping issues in alternative logging buttons 29311/head
Carl Schwan [Mon, 18 Oct 2021 10:57:40 +0000 (12:57 +0200)]
Fix cliping issues in alternative logging buttons

The issues was caused because the button with its margins was bigger
than the parent. Instead of setting the margin of the button, add
padding to the parent. This is more reliable.

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix app upgrade 29301/head
Joas Schilling [Fri, 15 Oct 2021 12:16:08 +0000 (14:16 +0200)]
Fix app upgrade

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoSimplify :) 29288/head
acsfer [Mon, 4 Oct 2021 15:21:37 +0000 (17:21 +0200)]
Simplify :)

2 years agoReplace `file_exists()` method by `is_file()`
acsfer [Mon, 4 Oct 2021 15:20:17 +0000 (17:20 +0200)]
Replace `file_exists()` method by `is_file()`

2 years agoGet `filesize()` if `file_exists()`
acsfer [Thu, 9 Sep 2021 10:10:09 +0000 (12:10 +0200)]
Get `filesize()` if `file_exists()`

Should make sense.

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 18 Oct 2021 02:24:56 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix bug introduced on drag and drop external files 29283/head
pjft [Thu, 29 Jul 2021 21:50:02 +0000 (22:50 +0100)]
Fix bug introduced on drag and drop external files

Drag and drop of external (OS filesystem) to subdirectories in the browser would fail on specific cases, mainly when the subdirectory was no longer off the root folder.
This seemed to have been an issue introduced with the subdirectory free space calculation [here](https://github.com/nextcloud/server/commit/f9536b08096ed1c80391af36d33a18198be1fced) and it seems to fail for any subdirectory that doesn't belong to the root folder.

Bug reports:
- https://help.nextcloud.com/t/drag-drop-into-subfolders/120731
- https://github.com/nextcloud/server/issues/24720

I couldn't find any reference on scenarios or quota management that would suggest when a subdirectory's free space would be different to the parent's free space, other than when on the root folder, where subdirectories can be external mounts.

As such, if my understanding is correct (please review), this calculation can - and should - be made by getting the free space from the first subdirectory in the total path, which caters for all subdirectory scenarios.

Please advise, happy to help improve this.

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: pjft <pjft@users.noreply.github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 17 Oct 2021 02:22:09 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 16 Oct 2021 02:23:32 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoAdd configuration flag to disable the background job for files_versions 29263/head
Daniel Kesselberg [Wed, 6 Oct 2021 09:54:27 +0000 (11:54 +0200)]
Add configuration flag to disable the background job for files_versions

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 years agoAdd configuration flag to disable the background job for files_trashbin 29262/head
Daniel Kesselberg [Thu, 7 Oct 2021 19:34:16 +0000 (21:34 +0200)]
Add configuration flag to disable the background job for files_trashbin

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 years agoMerge pull request #29251 from nextcloud/backport/29248/stable22
Daniel [Fri, 15 Oct 2021 08:18:29 +0000 (10:18 +0200)]
Merge pull request #29251 from nextcloud/backport/29248/stable22

[stable22] Fix background scan doc in config

3 years agoFix background scan doc in config 29251/head
Vincent Petry [Fri, 15 Oct 2021 07:56:57 +0000 (09:56 +0200)]
Fix background scan doc in config

The background scanner only processes entries with size < 0

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 15 Oct 2021 02:26:14 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

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