Commit Graph

58334 Commits (db625f01b3fdafacd2e4d110eaaa6efb69cd6eb9)
 

Author SHA1 Message Date
dependabot[bot] db625f01b3 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>
2021-10-30 14:21:48 +07:00
Nextcloud bot 8d180c00a3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-30 02:22:34 +07:00
MichaIng e250aef6b4
Merge pull request #29416 from nextcloud/backport/27440/stable21
[stable21] Handle files with `is_file` instead of `file_exists`
2021-10-30 00:19:35 +07:00
Nextcloud bot 81b3e65703
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-29 02:22:45 +07:00
Carl Schwan 373b63ecea
Merge pull request #29476 from nextcloud/backport/29115/stable21
[stable21] Fix permissions when copying from ObjectStorage
2021-10-28 16:44:24 +07:00
Carl Schwan 00a9b0c1db 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>
2021-10-28 12:55:53 +07:00
Julius Härtl e4e35107b0
Merge pull request #29458 from nextcloud/backport/29454/stable21 2021-10-28 09:29:37 +07:00
Nextcloud bot ea56f85fa1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-28 02:23:12 +07:00
John Molakvoæ cf58d5ff51
Merge pull request #29447 from nextcloud/backport/29220/stable21 2021-10-27 15:52:30 +07:00
Joas Schilling c6cff0ff06 Detect mimetype by content only with content
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27 13:47:31 +07:00
Nextcloud bot 799b77208e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-27 02:23:55 +07:00
Louis df8ec07862
Merge pull request #29443 from nextcloud/backport/stable21/26841
[stable21] Implement local filtering in file list
2021-10-26 15:09:29 +07:00
Robin Appelman cf6da08f00
ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:46:21 +07:00
Robin Appelman ce243798f6
cache versioning enabled status
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:45:59 +07:00
Robin Appelman 759f2daf38
minor directory detect improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:45:20 +07:00
Robin Appelman 99ba96524e
more reliable return value for Watcher::checkUpdate
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:45:08 +07:00
Robin Appelman 4bc357d1ce
always set Key field in `headObject`
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:44:25 +07:00
Robin Appelman 06b59b5002
more reliable hasUpdated for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:44:13 +07:00
Robin Appelman df013e2d53
remove old migration method
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:44:07 +07:00
Robin Appelman 15aa354e74
optimize filetype for s3 directories a bit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:43:59 +07:00
Robin Appelman 87c4c05671
more reliable directory copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:42:26 +07:00
Robin Appelman 69e93edf90
doesDirectoryExist fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:41:54 +07:00
Robin Appelman f18a76fec9
s3 external storage listing rework
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:41:46 +07:00
Julius Härtl cba70e4541
Move to combined files entrypoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-26 09:52:56 +07:00
Joas Schilling 5c8c486791
Fix "No entries in this …" template
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-26 09:25:40 +07:00
Julius Härtl fd1d9798e8
Implement local filtering in file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-26 09:25:40 +07:00
Nextcloud bot c89eaec9e4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-26 02:23:16 +07:00
Lukas Reschke 9fc4bd5248
Merge pull request #29428 from nextcloud/fix/user_status_enumeration_21
Backport #29260: Respect user enumeration settings in user status lists
2021-10-25 14:52:13 +07:00
Jonas Meurer e838e63b88
Add integration tests for user_status API
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-10-25 11:37:44 +07:00
Jonas Meurer 02ce5c8f7d
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>
2021-10-25 10:05:33 +07:00
Nextcloud bot 082d429c6e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-25 02:22:42 +07:00
Nextcloud bot b3001fd69e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-24 02:22:43 +07:00
blizzz b8ab9ffc1e
Merge pull request #29420 from nextcloud/backport/29400/stable21
[stable21] fixes an undefined index when getAccessList returns an empty array
2021-10-24 01:27:20 +07:00
dependabot[bot] 7ead027da4
Merge pull request #29411 from nextcloud/dependabot/npm_and_yarn/stable21/babel-loader-8.2.3 2021-10-23 18:51:01 +07:00
MichaIng a17529b483
Merge pull request #29399 from nextcloud/backport/29378/stable21
[stable21] Make the route name error more helpful
2021-10-23 20:12:44 +07:00
dependabot[bot] 59919fddd8 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>
2021-10-23 20:11:11 +07:00
dependabot[bot] bf35e6e5de
Merge pull request #29403 from nextcloud/dependabot/composer/build/integration/stable21/behat/behat-approx-3.9.0 2021-10-23 16:06:44 +07:00
dependabot[bot] 123a0de273 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>
2021-10-23 17:36:36 +07:00
Arthur Schiwon d3576d32ae 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>
2021-10-23 12:51:15 +07:00
acsfer 8610099c5f Update Tests 2021-10-23 09:28:26 +07:00
acsfer b3482b1d06 Tests update 2021-10-23 09:28:25 +07:00
acsfer eea1c23719 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`
2021-10-23 09:28:25 +07:00
Nextcloud bot a87643a9e0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-23 02:22:54 +07:00
Christoph Wurst 48d97fa865 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>
2021-10-22 20:38:58 +07:00
Julius Härtl 6750662047
Merge pull request #29390 from nextcloud/backport/29375/stable21 2021-10-22 20:12:39 +07:00
Daniel 88cb9e0ec6
Merge pull request #29386 from nextcloud/backport/28997/stable21
[stable21] Scheduling plugin not updating responding attendee status
2021-10-22 18:14:33 +07:00
Julius Härtl 35910f483d Make calendar schedule options translatable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-22 10:38:16 +07:00
Daniel Kesselberg 6df439177d 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>
2021-10-22 10:14:00 +07:00
Anna Larch a44e728a89 Scheduling plugin not updating responding attendee status take two
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-10-22 10:14:00 +07:00
Vincent Petry a080c08d64
Merge pull request #29367 from nextcloud/backport/29362/stable21
[stable21] Fix security issues when copying groupfolder with advanced ACL
2021-10-22 09:56:21 +07:00