Commit graph

58285 commits

Author SHA1 Message Date
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 +02:00
Nextcloud bot
884fcf0227
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-22 02:22:17 +00:00
Carl Schwan
ec8b2a90e6 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>
2021-10-21 16:34:46 +00:00
John Molakvoæ
6b0bdf192c
Merge pull request #29289 from nextcloud/backport/28768/stable21 2021-10-21 09:32:32 +02:00
Nextcloud bot
8a5317cbfe
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-21 02:24:37 +00:00
blizzz
4f83ef5b6d
Merge pull request #29315 from nextcloud/backport/29180/stable21
[stable21] Avoid PHP errors when the LDAP attribute is not found
2021-10-20 18:24:37 +02:00
Daniel
105d28c875
Merge pull request #29268 from nextcloud/backport/29125/stable21
[stable21] Add configuration flag to disable the background job for files_trashbin
2021-10-20 10:35:21 +02:00
Nextcloud bot
8191ee34f2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-20 02:43:22 +00:00
MichaIng
db4cdcec6f
Merge pull request #29267 from nextcloud/backport/29090/stable21
[stable21] Add configuration flag to disable the background job for files_versions
2021-10-20 00:13:25 +02:00
Côme Chilliet
573a6eadcf Use Psr\Log\LoggerInterface where it can easily be used in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-19 09:24:55 +00:00
Côme Chilliet
c256c9be19 Fix two mistakes in previous migration to LoggerInterface in OCA\User_LDAP\Access
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-19 09:24:55 +00:00
Côme Chilliet
ad1d9edb43 Use Psr\Log\LoggerInterface in OCA\User_LDAP\Access
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-19 09:24:55 +00:00
Côme Chilliet
2f5dd75b55 Avoid PHP errors when the LDAP attribute is not found
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-19 09:24:54 +00:00
John Molakvoæ
1493321401
Merge pull request #29182 from nextcloud/backport/29028/stable21 2021-10-19 11:11:20 +02:00
John Molakvoæ
9edb59ec57
Merge pull request #29282 from nextcloud/backport/28250/stable21 2021-10-19 11:08:21 +02:00
Julius Härtl
903afc1311
Merge pull request #29302 from nextcloud/backport/29259/stable21 2021-10-19 09:38:16 +02:00
Joas Schilling
2f6bd56c93
Fix app upgrade
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-19 08:47:52 +02:00
Nextcloud bot
c81b202eda
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-19 02:23:12 +00:00
acsfer
f57bbaf146 Simplify :) 2021-10-18 08:02:44 +00:00
acsfer
aeb0ad8cea Replace file_exists() method by is_file() 2021-10-18 08:02:44 +00:00
acsfer
0c1ccde7d2 Get filesize() if file_exists()
Should make sense.
2021-10-18 08:02:44 +00:00
Nextcloud bot
efaf112d67
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-18 02:25:03 +00:00
pjft
3ae5213308 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](f9536b0809) 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>
2021-10-17 19:32:46 +00:00
Nextcloud bot
94b3a8c1e9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-17 02:22:19 +00:00
Nextcloud bot
f04447f11f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-16 02:23:42 +00:00
Daniel Kesselberg
3738013493 Add configuration flag to disable the background job for files_trashbin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-15 16:34:14 +00:00
Daniel Kesselberg
90ddb19d23 Add configuration flag to disable the background job for files_versions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-15 16:34:03 +00:00
Daniel
1ea652d611
Merge pull request #29159 from nextcloud/backport/24185/stable21
[stable21] Properly handle folder deletion on external s3 storage
2021-10-15 11:36:56 +02:00
John Molakvoæ
bc62fb9b55
Merge pull request #29194 from nextcloud/revert-29178-backport/25774/stable21 2021-10-15 11:02:40 +02:00
Daniel
18db00c4c3
Merge pull request #29252 from nextcloud/backport/29248/stable21
[stable21] Fix background scan doc in config
2021-10-15 10:18:43 +02:00
Vincent Petry
2443cb3bc4 Fix background scan doc in config
The background scanner only processes entries with size < 0

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-15 08:12:32 +00:00
Nextcloud bot
4d287dabc1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-15 02:26:20 +00:00
MichaIng
d2a71ca010
Merge pull request #29203 from nextcloud/backport/26688/stable21
[stable21] Add proper message to created share not found
2021-10-14 15:08:10 +02:00
blizzz
049241bc04
Merge pull request #29222 from nextcloud/backport/29214/stable21
[stable21] Don't setup the filesystem to check for a favicon we don't use anyway
2021-10-14 12:51:51 +02:00
Nextcloud bot
3ead8d0e18
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-14 02:22:48 +00:00
Joas Schilling
04145b23c9 Don't setup the filesystem to check for a favicon we don't use anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 20:29:49 +00:00
Joas Schilling
7aa440b51d
Merge pull request #29197 from nextcloud/backport/29020/stable21
[stable21] Keep group restrictions when reenabling apps after an update
2021-10-13 22:24:18 +02:00
Daniel
8d43f26484
Merge pull request #29218 from nextcloud/backport/29136/stable21
[stable21] Add documentation for files_no_background_scan
2021-10-13 20:09:24 +02:00
Daniel Kesselberg
c95fc2baac Add documentation for files_no_background_scan
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-13 16:00:00 +00:00
Joas Schilling
eb273c8e5a
Merge pull request #29208 from nextcloud/backport/29004/stable21
[stable21] Fix translated app details
2021-10-13 17:01:48 +02:00
Joas Schilling
7f4b3fb68d
Keep group restrictions when reenabling apps after an update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 14:12:32 +02:00
Joas Schilling
fd4ff58d62
Fix translated app details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 13:32:30 +02:00
John Molakvoæ (skjnldsv)
d578d780e4 Default message for ShareNotFound exception
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13 09:44:52 +00:00
John Molakvoæ (skjnldsv)
098d918baf Add proper message to created share not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13 09:44:51 +00:00
John Molakvoæ
7b30576f55
Revert "[stable21] Add button color variables" 2021-10-13 08:55:32 +02:00
Vincent Petry
e229cd3d53
Merge pull request #29130 from nextcloud/backport/27886/stable21
[stable21] Keep pw based auth tokens valid when pw-less login happens
2021-10-13 08:39:27 +02:00
Vincent Petry
5735a55509
Merge pull request #29080 from nextcloud/path-prefix-filter-21
[21] generate a better optimized query for path prefix search filters
2021-10-13 08:37:28 +02:00
Nextcloud bot
bfc30df095
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-13 02:22:58 +00:00
Robin Appelman
916a838873
[21] generate a better optimized query for path prefix search filters
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-12 15:55:57 +02:00
Bjoern Schiessle
1237d64bdb add 'supported'-label to all supported apps, also if they are not downloaded yet
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2021-10-12 11:47:33 +00:00