]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoMerge pull request #29529 from nextcloud/fix/update-psalm-baseline
Julius Härtl [Thu, 4 Nov 2021 08:49:24 +0000 (09:49 +0100)]
Merge pull request #29529 from nextcloud/fix/update-psalm-baseline

3 years agoMerge pull request #29482 from nextcloud/feat/revamp-profile-visibility-section v23.0.0beta3
John Molakvoæ [Thu, 4 Nov 2021 07:32:22 +0000 (08:32 +0100)]
Merge pull request #29482 from nextcloud/feat/revamp-profile-visibility-section

3 years agoMerge pull request #29501 from nextcloud/release/23.0.0beta3
John Molakvoæ [Thu, 4 Nov 2021 07:31:54 +0000 (08:31 +0100)]
Merge pull request #29501 from nextcloud/release/23.0.0beta3

3 years agoMerge pull request #29533 from nextcloud/enhancement/get-calendars-for-principal-api
Christoph Wurst [Thu, 4 Nov 2021 06:33:49 +0000 (07:33 +0100)]
Merge pull request #29533 from nextcloud/enhancement/get-calendars-for-principal-api

Add IManager::getCalendarsForPrincipal API

3 years agoAdd new profile visibility section 29482/head
Christopher Ng [Sat, 30 Oct 2021 03:36:33 +0000 (03:36 +0000)]
Add new profile visibility section

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoRefine profile backend for frontend visibility requirements
Christopher Ng [Thu, 28 Oct 2021 17:59:26 +0000 (17:59 +0000)]
Refine profile backend for frontend visibility requirements
- Provide metadata
  - Dynamic displayId
  - Add appId
- Filter out unused parameter config properties from the existing profile config

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoBetter function descriptions
Christopher Ng [Thu, 28 Oct 2021 00:56:55 +0000 (00:56 +0000)]
Better function descriptions

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoAdd additional check on action registrations
Christopher Ng [Thu, 28 Oct 2021 00:39:09 +0000 (00:39 +0000)]
Add additional check on action registrations
- Minor refactor

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoMerge pull request #29525 from nextcloud/bugfix/noid/allow-to-inject-by-public-interface
Christoph Wurst [Wed, 3 Nov 2021 13:16:12 +0000 (14:16 +0100)]
Merge pull request #29525 from nextcloud/bugfix/noid/allow-to-inject-by-public-interface

Allow to inject the trusted domain helper by public interface

3 years agoAdd IManager::getCalendarsForPrincipal API 29533/head
Christoph Wurst [Wed, 3 Nov 2021 11:19:47 +0000 (12:19 +0100)]
Add IManager::getCalendarsForPrincipal API

The Calendar app needs to access calendars of a given principal in the
back-end. The new calendar providers were not accessible for apps before
this patch. Now they can access the ICalendar objects on demand.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoAllow to inject the trusted domain helper by public interface 29525/head
Joas Schilling [Tue, 2 Nov 2021 16:06:31 +0000 (17:06 +0100)]
Allow to inject the trusted domain helper by public interface

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoUpdate update-psalm-baseline.yml 29529/head
John Molakvoæ [Wed, 3 Nov 2021 09:21:47 +0000 (10:21 +0100)]
Update update-psalm-baseline.yml

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 3 Nov 2021 02:23:35 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29524 from nextcloud/bugfix/noid/fix-phpunit-warnings
Christoph Wurst [Tue, 2 Nov 2021 18:23:23 +0000 (19:23 +0100)]
Merge pull request #29524 from nextcloud/bugfix/noid/fix-phpunit-warnings

Fix missing import of ILogger

3 years agoFix missing import of ILogger 29524/head
Joas Schilling [Tue, 2 Nov 2021 15:47:16 +0000 (16:47 +0100)]
Fix missing import of ILogger

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #29479 from nextcloud/fix/images-php-8.0
Côme Chilliet [Tue, 2 Nov 2021 09:57:08 +0000 (10:57 +0100)]
Merge pull request #29479 from nextcloud/fix/images-php-8.0

Fix image handling for PHP 8.0

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 2 Nov 2021 02:22:15 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29502 from nextcloud/revert-27378-dav-recalc-checksum
John Molakvoæ [Mon, 1 Nov 2021 12:50:52 +0000 (13:50 +0100)]
Merge pull request #29502 from nextcloud/revert-27378-dav-recalc-checksum

3 years agoMerge pull request #28385 from nextcloud/search-handle-wrapper-filtered-entries
John Molakvoæ [Mon, 1 Nov 2021 12:39:03 +0000 (13:39 +0100)]
Merge pull request #28385 from nextcloud/search-handle-wrapper-filtered-entries

3 years agoproperly handle cases where cache wrappers block access 28385/head
Robin Appelman [Wed, 11 Aug 2021 15:35:37 +0000 (17:35 +0200)]
properly handle cases where cache wrappers block access

`CacheWrapper::formatCacheEntry` can return false for files that should be filtered out

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #29281 from vijfhoek/master
John Molakvoæ [Mon, 1 Nov 2021 10:29:37 +0000 (11:29 +0100)]
Merge pull request #29281 from vijfhoek/master

3 years agoRevert "add dav plugin to trigger recalculating of checksums" 29502/head
John Molakvoæ [Mon, 1 Nov 2021 10:26:17 +0000 (11:26 +0100)]
Revert "add dav plugin to trigger recalculating of checksums"

3 years agoMerge pull request #27378 from nextcloud/dav-recalc-checksum
John Molakvoæ [Mon, 1 Nov 2021 10:25:21 +0000 (11:25 +0100)]
Merge pull request #27378 from nextcloud/dav-recalc-checksum

3 years agoMerge pull request #29465 from nextcloud/crl/noid/previewgenerator
John Molakvoæ [Mon, 1 Nov 2021 10:23:09 +0000 (11:23 +0100)]
Merge pull request #29465 from nextcloud/crl/noid/previewgenerator

3 years ago23.0.0 beta 3 29501/head
John Molakvoæ [Mon, 1 Nov 2021 10:15:41 +0000 (11:15 +0100)]
23.0.0 beta 3

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
3 years agoMerge pull request #29497 from nextcloud/rakekniven-patch-1
Valdnet [Mon, 1 Nov 2021 10:12:10 +0000 (11:12 +0100)]
Merge pull request #29497 from nextcloud/rakekniven-patch-1

Fixed grammar for "trash bin"

3 years agoFixed grammar 29497/head
rakekniven [Sun, 31 Oct 2021 17:27:14 +0000 (18:27 +0100)]
Fixed grammar

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 1 Nov 2021 02:22:37 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoFixed grammar
rakekniven [Sun, 31 Oct 2021 17:25:35 +0000 (18:25 +0100)]
Fixed grammar

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 31 Oct 2021 02:22:04 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29490 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.0
dependabot[bot] [Sat, 30 Oct 2021 17:25:33 +0000 (17:25 +0000)]
Merge pull request #29490 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.0

3 years agoBump core-js from 3.18.3 to 3.19.0 29490/head
dependabot[bot] [Sat, 30 Oct 2021 16:37:27 +0000 (16:37 +0000)]
Bump core-js from 3.18.3 to 3.19.0

Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.3 to 3.19.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.3...v3.19.0)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoMerge pull request #29489 from nextcloud/dependabot/npm_and_yarn/vue-router-3.5.3
dependabot[bot] [Sat, 30 Oct 2021 16:15:53 +0000 (16:15 +0000)]
Merge pull request #29489 from nextcloud/dependabot/npm_and_yarn/vue-router-3.5.3

3 years agoBump vue-router from 3.5.2 to 3.5.3 29489/head
dependabot[bot] [Sat, 30 Oct 2021 02:07:36 +0000 (02:07 +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>
3 years agoMerge pull request #29487 from nextcloud/dependabot/npm_and_yarn/sass-1.43.4
dependabot[bot] [Sat, 30 Oct 2021 14:46:01 +0000 (14:46 +0000)]
Merge pull request #29487 from nextcloud/dependabot/npm_and_yarn/sass-1.43.4

3 years agoBump sass from 1.43.3 to 1.43.4 29487/head
dependabot[bot] [Sat, 30 Oct 2021 14:07:16 +0000 (14:07 +0000)]
Bump sass from 1.43.3 to 1.43.4

Bumps [sass](https://github.com/sass/dart-sass) from 1.43.3 to 1.43.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.43.3...1.43.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 30 Oct 2021 02:22:16 +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 [Fri, 29 Oct 2021 02:22:24 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29481 from nextcloud/fix/dav-calendar-query-start-end-immutable
Christoph Wurst [Thu, 28 Oct 2021 20:15:13 +0000 (22:15 +0200)]
Merge pull request #29481 from nextcloud/fix/dav-calendar-query-start-end-immutable

Fix immutable datetime handling in DAV calendar search

3 years agoMerge pull request #29480 from nextcloud/fix/missing-dav-calendar-provider
Christoph Wurst [Thu, 28 Oct 2021 19:04:45 +0000 (21:04 +0200)]
Merge pull request #29480 from nextcloud/fix/missing-dav-calendar-provider

Register missing DAV app calendar provider

3 years agoFix immutable datetime handling in DAV calendar search 29481/head
Christoph Wurst [Thu, 28 Oct 2021 16:37:20 +0000 (18:37 +0200)]
Fix immutable datetime handling in DAV calendar search

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #29431 from nextcloud/release/23.0.0beta2 v23.0.0beta2
John Molakvoæ [Thu, 28 Oct 2021 16:46:52 +0000 (18:46 +0200)]
Merge pull request #29431 from nextcloud/release/23.0.0beta2

3 years agoRegister missing DAV app calendar provider 29480/head
Christoph Wurst [Thu, 28 Oct 2021 16:33:13 +0000 (18:33 +0200)]
Register missing DAV app calendar provider

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoEnable Avatar tests as well for PHP>=8 29479/head
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>
3 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>
3 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>
3 years agoMerge pull request #29115 from nextcloud/work/carl/correct-permissions-when-copying
Carl Schwan [Thu, 28 Oct 2021 12:38:20 +0000 (14:38 +0200)]
Merge pull request #29115 from nextcloud/work/carl/correct-permissions-when-copying

Fix permissions when copying from ObjectStorage

3 years agoFix permissions when copying from ObjectStorage 29115/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>
3 years agoMerge pull request #29444 from nextcloud/bugfix/noid/public-api-for-trusted-domain...
Joas Schilling [Thu, 28 Oct 2021 09:45:03 +0000 (11:45 +0200)]
Merge pull request #29444 from nextcloud/bugfix/noid/public-api-for-trusted-domain-helpers

Add an OCP for trusted domain helper

3 years agoAdd an OCP for trusted domain helper 29444/head
Joas Schilling [Tue, 26 Oct 2021 11:26:46 +0000 (13:26 +0200)]
Add an OCP for trusted domain helper

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 28 Oct 2021 02:22:54 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoupdate crl 29465/head
Arthur Schiwon [Wed, 27 Oct 2021 21:39:31 +0000 (23:39 +0200)]
update crl

- previewgenerator was revoked

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoMerge pull request #29454 from nextcloud/bugfix/noid/detect-mimetype-by-content-only...
blizzz [Wed, 27 Oct 2021 12:26:31 +0000 (14:26 +0200)]
Merge pull request #29454 from nextcloud/bugfix/noid/detect-mimetype-by-content-only-with-content

Detect mimetype by content only with content

3 years agoMerge pull request #29453 from nextcloud/bugfix/noid/improve-wording
John Molakvoæ [Wed, 27 Oct 2021 08:48:21 +0000 (10:48 +0200)]
Merge pull request #29453 from nextcloud/bugfix/noid/improve-wording

3 years agoDetect mimetype by content only with content 29454/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>
3 years agoMerge pull request #29327 from nextcloud/bugfix/noid/do-not-make-actionbuttons-spans...
John Molakvoæ [Wed, 27 Oct 2021 08:17:11 +0000 (10:17 +0200)]
Merge pull request #29327 from nextcloud/bugfix/noid/do-not-make-actionbuttons-spans-too-transparent

3 years agoImprove wording 29453/head
Joas Schilling [Wed, 27 Oct 2021 08:12:30 +0000 (10:12 +0200)]
Improve wording

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29436 from nextcloud/fix/profile-link-action-registration
John Molakvoæ [Tue, 26 Oct 2021 10:38:23 +0000 (12:38 +0200)]
Merge pull request #29436 from nextcloud/fix/profile-link-action-registration

3 years agoPrevent unnecesary profile action registrations 29436/head
Christopher Ng [Mon, 25 Oct 2021 21:55:29 +0000 (21:55 +0000)]
Prevent unnecesary profile action registrations

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoMerge pull request #29435 from nextcloud/explicitly-name-profile-link-action
John Molakvoæ [Tue, 26 Oct 2021 08:51:11 +0000 (10:51 +0200)]
Merge pull request #29435 from nextcloud/explicitly-name-profile-link-action

3 years agoMerge pull request #26841 from nextcloud/bugfix/files-search-filter
Vincent Petry [Tue, 26 Oct 2021 06:23:51 +0000 (08:23 +0200)]
Merge pull request #26841 from nextcloud/bugfix/files-search-filter

Implement local filtering in file list

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 26 Oct 2021 02:22:53 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoUse more explicit naming for profile link action 29435/head
Christopher Ng [Mon, 25 Oct 2021 22:20:19 +0000 (22:20 +0000)]
Use more explicit naming for profile link action

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoMerge pull request #29318 from nextcloud/fix/dav-availability-settings-timezone-id
Christoph Wurst [Mon, 25 Oct 2021 14:57:16 +0000 (16:57 +0200)]
Merge pull request #29318 from nextcloud/fix/dav-availability-settings-timezone-id

Read and write time zone ID when updating CalDAV availability

3 years agoMove to combined files entrypoint 26841/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>
3 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>
3 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>
3 years agoGet VTIMEZONE data from a time zone database lib 29318/head
Christoph Wurst [Tue, 19 Oct 2021 11:47:02 +0000 (13:47 +0200)]
Get VTIMEZONE data from a time zone database lib

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago23.0.0 beta 2 29431/head
John Molakvoæ [Mon, 25 Oct 2021 13:54:57 +0000 (15:54 +0200)]
23.0.0 beta 2

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
3 years agoMerge pull request #29021 from nextcloud/work/smb/additional-logging
Julius Härtl [Mon, 25 Oct 2021 11:25:04 +0000 (13:25 +0200)]
Merge pull request #29021 from nextcloud/work/smb/additional-logging

3 years agoMerge pull request #27949 from CarlSchwan/work/carl/password-reset-autocomplete
Louis [Mon, 25 Oct 2021 10:24:31 +0000 (12:24 +0200)]
Merge pull request #27949 from CarlSchwan/work/carl/password-reset-autocomplete

Add autocompletion for password reset

3 years agoRead and write time zone ID when updating CalDAV availability
Christoph Wurst [Tue, 19 Oct 2021 09:53:43 +0000 (11:53 +0200)]
Read and write time zone ID when updating CalDAV availability

Tiny bug/limitation of #27466

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #29425 from nextcloud/revert-28138-zorn-v-patch-2
John Molakvoæ [Mon, 25 Oct 2021 07:25:03 +0000 (09:25 +0200)]
Merge pull request #29425 from nextcloud/revert-28138-zorn-v-patch-2

3 years agoMerge pull request #26531 from J0WI/refactor-preview-exec
John Molakvoæ [Mon, 25 Oct 2021 07:23:01 +0000 (09:23 +0200)]
Merge pull request #26531 from J0WI/refactor-preview-exec

3 years agoRevert "Fix "never catch" catches in OC_App" 29425/head
Joas Schilling [Mon, 25 Oct 2021 06:41:56 +0000 (08:41 +0200)]
Revert "Fix "never catch" catches in OC_App"

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 25 Oct 2021 02:22:23 +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 [Sun, 24 Oct 2021 02:22:24 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoUse findBinaryPath for previews 26531/head
J0WI [Mon, 12 Apr 2021 23:17:28 +0000 (01:17 +0200)]
Use findBinaryPath for previews

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 years agoMerge pull request #28389 from alanmeeson/bugfix/22077/default-encryption-module
John Molakvoæ [Sat, 23 Oct 2021 17:10:34 +0000 (19:10 +0200)]
Merge pull request #28389 from alanmeeson/bugfix/22077/default-encryption-module

3 years agoAdd type hint to fread_block $blockSize param & apply cs:fix. 28389/head
alanmeeson [Mon, 30 Aug 2021 12:31:54 +0000 (13:31 +0100)]
Add type hint to fread_block $blockSize param & apply cs:fix.

Signed-off-by: alanmeeson <alan@carefullycalculated.co.uk>
3 years agoFix truncation of files upon read when using object store and encryption.
Alan Meeson [Wed, 11 Aug 2021 18:34:23 +0000 (19:34 +0100)]
Fix truncation of files upon read when using object store and encryption.

When using and object store as primary storage and using the default
encryption module at the same time,  any encrypted file would be truncated
when read, and a text error message added to the end.

This was caused by a combination of the reliance of the read functions on
on knowing the unencrypted file size,  and a bug in the function which
calculated the unencrypted file size for a given file.

In order to calculate the unencrypted file size,  the function would first
skip the header block, then use fseek to skip to the last encrypted block
in the file.  Because there was a corresponence between the encrypted and
unencrypted blocks, this would also be the last encrypted block.  It would
then read the final block and decrypt it to get the unencrypted length of
the last block.  With that, the number of blocks, and the unencrypted block
size, it could calculate the unencrypted file size.

The trouble was that when using an object store, an fread call doesn't
always get you the number of bytes you asked for, even if they are
available.  To resolve this I adapted the stream_read_block function from
lib/private/Files/Streams/Encryption.php to work here.  This function
wraps the fread call in a loop and repeats until it has the entire set of
bytes that were requested,  or there are no more to get.

This fixes the imediate bug, and should (with luck) allow people to get
their encrypted files out of Nextcloud now.  (The problem was purely on
the decryption side).  In the future it would be nice to do some
refactoring here.

I have tested this with image files ranging from 1kb to 10mb using
Nextcloud version 22.1.0 (the nextcloud:22.1-apache docker image), with
sqlite and a Linode object store as the primary storage.

Signed-off-by: Alan Meeson <alan@carefullycalculated.co.uk>
3 years agoMerge pull request #29400 from nextcloud/fix/noid/undef-index-error
Julius Härtl [Sat, 23 Oct 2021 12:46:36 +0000 (14:46 +0200)]
Merge pull request #29400 from nextcloud/fix/noid/undef-index-error

fixes an undefined index when getAccessList returns an empty array

3 years agoMerge pull request #27440 from nextcloud/is-file-handle
John Molakvoæ [Sat, 23 Oct 2021 09:18:52 +0000 (11:18 +0200)]
Merge pull request #27440 from nextcloud/is-file-handle

3 years agoMerge pull request #28138 from nextcloud/zorn-v-patch-2
John Molakvoæ [Sat, 23 Oct 2021 09:18:07 +0000 (11:18 +0200)]
Merge pull request #28138 from nextcloud/zorn-v-patch-2

3 years agoMerge pull request #29363 from nextcloud/fair-use-push
John Molakvoæ [Sat, 23 Oct 2021 08:53:22 +0000 (10:53 +0200)]
Merge pull request #29363 from nextcloud/fair-use-push

3 years agoMerge pull request #29397 from nextcloud/fix/noid/profile-missing-def-values
John Molakvoæ [Sat, 23 Oct 2021 08:52:44 +0000 (10:52 +0200)]
Merge pull request #29397 from nextcloud/fix/noid/profile-missing-def-values

3 years agoMerge pull request #29413 from nextcloud/dependabot/npm_and_yarn/testing-library...
dependabot[bot] [Sat, 23 Oct 2021 06:21:33 +0000 (06:21 +0000)]
Merge pull request #29413 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-13.5.0

3 years agoMerge pull request #29412 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.9.1
dependabot[bot] [Sat, 23 Oct 2021 05:27:16 +0000 (05:27 +0000)]
Merge pull request #29412 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.9.1

3 years agoMerge pull request #29408 from nextcloud/dependabot/composer/build/integration/behat...
dependabot[bot] [Sat, 23 Oct 2021 05:00:44 +0000 (05:00 +0000)]
Merge pull request #29408 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.9.0

3 years agoMerge pull request #29402 from nextcloud/dependabot/npm_and_yarn/sass-1.43.3
dependabot[bot] [Sat, 23 Oct 2021 03:49:04 +0000 (03:49 +0000)]
Merge pull request #29402 from nextcloud/dependabot/npm_and_yarn/sass-1.43.3

3 years agoBump @testing-library/user-event from 13.4.1 to 13.5.0 29413/head
dependabot[bot] [Sat, 23 Oct 2021 03:46:56 +0000 (03:46 +0000)]
Bump @testing-library/user-event from 13.4.1 to 13.5.0

Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.4.1 to 13.5.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.4.1...v13.5.0)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #29401 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.3
dependabot[bot] [Sat, 23 Oct 2021 03:45:23 +0000 (03:45 +0000)]
Merge pull request #29401 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.3

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoBump webpack-cli from 4.9.0 to 4.9.1 29412/head
dependabot[bot] [Sat, 23 Oct 2021 02:17:58 +0000 (02:17 +0000)]
Bump webpack-cli from 4.9.0 to 4.9.1

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.0 to 4.9.1.
- [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.0...webpack-cli@4.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoUpdate behat/behat requirement in /build/integration 29408/head
dependabot[bot] [Sat, 23 Oct 2021 01:04:34 +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>
3 years agoBump sass from 1.43.2 to 1.43.3 29402/head
dependabot[bot] [Sat, 23 Oct 2021 01:03:33 +0000 (01:03 +0000)]
Bump sass from 1.43.2 to 1.43.3

Bumps [sass](https://github.com/sass/dart-sass) from 1.43.2 to 1.43.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.43.2...1.43.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoBump babel-loader from 8.2.2 to 8.2.3 29401/head
dependabot[bot] [Sat, 23 Oct 2021 01:03:20 +0000 (01:03 +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>
3 years agoshow warning on personal settings page 29363/head
Vitor Mattos [Thu, 21 Oct 2021 16:24:53 +0000 (13:24 -0300)]
show warning on personal settings page

Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years agoShow warning on admin settings page
Vitor Mattos [Wed, 20 Oct 2021 18:24:45 +0000 (15:24 -0300)]
Show warning on admin settings page

Signed-off-by: Vitor Mattos <vitor@php.rio>