]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoBump karma-viewport from 1.0.8 to 1.0.9 31893/head
dependabot[bot] [Fri, 8 Apr 2022 17:32:57 +0000 (17:32 +0000)]
Bump karma-viewport from 1.0.8 to 1.0.9

Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/squidfunk/karma-viewport/releases)
- [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.8...1.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #31901 from nextcloud/fs-setup-tweaks
Vincent Petry [Fri, 8 Apr 2022 15:47:36 +0000 (17:47 +0200)]
Merge pull request #31901 from nextcloud/fs-setup-tweaks

Filesystem setup tweaks

2 years agoMerge pull request #31676 from nextcloud/enh/ocp-owner-lock
Vincent Petry [Fri, 8 Apr 2022 15:43:26 +0000 (17:43 +0200)]
Merge pull request #31676 from nextcloud/enh/ocp-owner-lock

Add public API for owner based file locking

2 years agoMerge pull request #31887 from nextcloud/techdebt/noid/log-primary-key-violation
Julius Härtl [Fri, 8 Apr 2022 15:27:53 +0000 (17:27 +0200)]
Merge pull request #31887 from nextcloud/techdebt/noid/log-primary-key-violation

Log missing primary key until we make it a requirement

2 years agoMerge pull request #31898 from nextcloud/dependabot/npm_and_yarn/testing-library...
dependabot[bot] [Fri, 8 Apr 2022 13:59:23 +0000 (13:59 +0000)]
Merge pull request #31898 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.16.4

2 years agoMerge pull request #31867 from nextcloud/automated/noid/psalm-baseline-update-1649304710
Julius Härtl [Fri, 8 Apr 2022 13:41:46 +0000 (15:41 +0200)]
Merge pull request #31867 from nextcloud/automated/noid/psalm-baseline-update-1649304710

[Automated] Update psalm-baseline.xml

2 years agoMerge pull request #31894 from nextcloud/dependabot/npm_and_yarn/webpack-5.72.0
dependabot[bot] [Fri, 8 Apr 2022 13:39:48 +0000 (13:39 +0000)]
Merge pull request #31894 from nextcloud/dependabot/npm_and_yarn/webpack-5.72.0

2 years agomore preset metadata for LazyUserFolder 31901/head
Robin Appelman [Fri, 8 Apr 2022 13:09:40 +0000 (15:09 +0200)]
more preset metadata for LazyUserFolder

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoalways do full setup for home folder with submounts
Robin Appelman [Fri, 8 Apr 2022 13:05:43 +0000 (15:05 +0200)]
always do full setup for home folder with submounts

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoadd missing return
Robin Appelman [Fri, 8 Apr 2022 13:04:35 +0000 (15:04 +0200)]
add missing return

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #31879 from nextcloud/enh/noid/update-external-storage-wording
Simon L [Fri, 8 Apr 2022 12:57:13 +0000 (14:57 +0200)]
Merge pull request #31879 from nextcloud/enh/noid/update-external-storage-wording

update the wording of external storage deletion

2 years agoBump @testing-library/jest-dom from 5.16.3 to 5.16.4 31898/head
dependabot[bot] [Fri, 8 Apr 2022 12:29:28 +0000 (12:29 +0000)]
Bump @testing-library/jest-dom from 5.16.3 to 5.16.4

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.3 to 5.16.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.3...v5.16.4)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoBump webpack from 5.71.0 to 5.72.0 31894/head
dependabot[bot] [Fri, 8 Apr 2022 12:27:47 +0000 (12:27 +0000)]
Bump webpack from 5.71.0 to 5.72.0

Bumps [webpack](https://github.com/webpack/webpack) from 5.71.0 to 5.72.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.71.0...v5.72.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoLog missing primary key until we make it a requirement 31887/head
Joas Schilling [Fri, 8 Apr 2022 08:47:24 +0000 (10:47 +0200)]
Log missing primary key until we make it a requirement

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 8 Apr 2022 02:28:23 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #31871 from nextcloud/releases/24/beta3 v24.0.0beta3
blizzz [Thu, 7 Apr 2022 20:12:41 +0000 (22:12 +0200)]
Merge pull request #31871 from nextcloud/releases/24/beta3

24.0.0 beta 3

2 years agoMerge pull request #31713 from nextcloud/fed-performance
Robin Appelman [Thu, 7 Apr 2022 18:53:36 +0000 (18:53 +0000)]
Merge pull request #31713 from nextcloud/fed-performance

Federated share performance improvements

2 years agoMerge pull request #31832 from nextcloud/firefox-reload-filelist
Robin Appelman [Thu, 7 Apr 2022 18:05:47 +0000 (18:05 +0000)]
Merge pull request #31832 from nextcloud/firefox-reload-filelist

fix filelist not loading after refresh in firefox

2 years agoMerge pull request #31850 from nextcloud/performance/heartbeat-fetch-status-once
Carl Schwan [Thu, 7 Apr 2022 16:20:43 +0000 (18:20 +0200)]
Merge pull request #31850 from nextcloud/performance/heartbeat-fetch-status-once

Fetch status in heartbeat controller only once

2 years agoMerge pull request #31845 from nextcloud/querybuilder-shareexternal
Carl Schwan [Thu, 7 Apr 2022 15:53:58 +0000 (17:53 +0200)]
Merge pull request #31845 from nextcloud/querybuilder-shareexternal

Use querybuilder for share external mountpoint

2 years agoMerge pull request #31847 from nextcloud/performance/user-status-retrival
Vincent Petry [Thu, 7 Apr 2022 15:40:26 +0000 (17:40 +0200)]
Merge pull request #31847 from nextcloud/performance/user-status-retrival

Retrieve user status only once when displaying page

2 years agofix filelist not loading after refresh in firefox 31832/head
Robin Appelman [Mon, 4 Apr 2022 15:29:52 +0000 (17:29 +0200)]
fix filelist not loading after refresh in firefox

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #31673 from nextcloud/feat/contacts-migration
Vincent Petry [Thu, 7 Apr 2022 15:36:53 +0000 (17:36 +0200)]
Merge pull request #31673 from nextcloud/feat/contacts-migration

Contacts migration

2 years agoupdate the wording of external storage deletion 31879/head
szaimen [Thu, 7 Apr 2022 14:22:12 +0000 (16:22 +0200)]
update the wording of external storage deletion

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoMerge pull request #31877 from nextcloud/fix/no-console-formatting-if-decoration-off
Côme Chilliet [Thu, 7 Apr 2022 15:12:12 +0000 (17:12 +0200)]
Merge pull request #31877 from nextcloud/fix/no-console-formatting-if-decoration-off

Do not decorate the CLI output if it's explicitly turned off

2 years agoMerge pull request #31876 from nextcloud/bugfix/noid/fix-getCurrentApp-from-cli
Vincent Petry [Thu, 7 Apr 2022 15:09:51 +0000 (17:09 +0200)]
Merge pull request #31876 from nextcloud/bugfix/noid/fix-getCurrentApp-from-cli

Fix \OC_App::getCurrentApp() when being called from CLI or phpunit

2 years agoMerge pull request #31825 from nextcloud/bugfix/noid/add-missing-docs
blizzz [Thu, 7 Apr 2022 14:06:43 +0000 (16:06 +0200)]
Merge pull request #31825 from nextcloud/bugfix/noid/add-missing-docs

Add missing doc changes and limit string length 4000 to new columns

2 years agoAdd missing doc changes 31825/head
Joas Schilling [Mon, 4 Apr 2022 13:56:54 +0000 (15:56 +0200)]
Add missing doc changes

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFetch status in heartbeat controller only once 31850/head
Carl Schwan [Tue, 5 Apr 2022 18:21:02 +0000 (20:21 +0200)]
Fetch status in heartbeat controller only once

Store the user status inside the event instead of fetching it again

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #25747 from nextcloud/XAccelBuffering
blizzz [Thu, 7 Apr 2022 13:08:21 +0000 (15:08 +0200)]
Merge pull request #25747 from nextcloud/XAccelBuffering

Add X-Accel-Buffering header to downloads

2 years agoMerge pull request #31872 from nextcloud/fix/oracle-contrainst
blizzz [Thu, 7 Apr 2022 12:52:57 +0000 (14:52 +0200)]
Merge pull request #31872 from nextcloud/fix/oracle-contrainst

Ensure schema change before checking OracleConstraints

2 years agoLog exception 31876/head
Joas Schilling [Thu, 7 Apr 2022 12:45:58 +0000 (14:45 +0200)]
Log exception

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoDo not decorate the CLI output if it's explicitly turned off 31877/head
Christoph Wurst [Thu, 7 Apr 2022 12:38:10 +0000 (14:38 +0200)]
Do not decorate the CLI output if it's explicitly turned off

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoFix \OC_App::getCurrentApp() when being called from CLI or phpunit
Joas Schilling [Thu, 7 Apr 2022 12:08:37 +0000 (14:08 +0200)]
Fix \OC_App::getCurrentApp() when being called from CLI or phpunit

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix typos and empty tabs 31872/head
Joas Schilling [Thu, 7 Apr 2022 10:42:52 +0000 (12:42 +0200)]
Fix typos and empty tabs

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAdapt LockScope to LockContext rename 31676/head
Julius Härtl [Wed, 6 Apr 2022 15:47:45 +0000 (17:47 +0200)]
Adapt LockScope to LockContext rename

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoMerge pull request #31864 from nextcloud/fix/preview-generate-imaginary-request
John Molakvoæ [Thu, 7 Apr 2022 09:50:50 +0000 (11:50 +0200)]
Merge pull request #31864 from nextcloud/fix/preview-generate-imaginary-request

2 years agoImprove error logging on migration failure
John Molakvoæ [Thu, 7 Apr 2022 09:45:54 +0000 (11:45 +0200)]
Improve error logging on migration failure

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago24.0.0 beta 3 31871/head
Arthur Schiwon [Thu, 7 Apr 2022 09:40:20 +0000 (11:40 +0200)]
24.0.0 beta 3

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoFix createNamedParameter in LDAP migrations
John Molakvoæ [Thu, 7 Apr 2022 09:34:13 +0000 (11:34 +0200)]
Fix createNamedParameter in LDAP migrations

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoEnsure schema change before checking OracleConstraints
John Molakvoæ [Thu, 7 Apr 2022 09:18:14 +0000 (11:18 +0200)]
Ensure schema change before checking OracleConstraints

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoMerge pull request #31833 from nextcloud/profile-db-backtrace
Carl Schwan [Thu, 7 Apr 2022 08:30:52 +0000 (10:30 +0200)]
Merge pull request #31833 from nextcloud/profile-db-backtrace

record backtrace when profiling db requests

2 years agoUpdate psalm baseline 31867/head
nextcloud-command [Thu, 7 Apr 2022 04:11:50 +0000 (04:11 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 7 Apr 2022 02:27:37 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #31852 from nextcloud/test-account-migrator
Pytal [Wed, 6 Apr 2022 18:42:08 +0000 (11:42 -0700)]
Merge pull request #31852 from nextcloud/test-account-migrator

2 years agoGenerate small preview straight away if Imaginary is enabled 31864/head
John Molakvoæ [Wed, 6 Apr 2022 16:53:21 +0000 (18:53 +0200)]
Generate small preview straight away if Imaginary is enabled

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoMerge pull request #31843 from nextcloud/dav-plugin-perf
Robin Appelman [Wed, 6 Apr 2022 16:49:43 +0000 (16:49 +0000)]
Merge pull request #31843 from nextcloud/dav-plugin-perf

Improve performance dav PROPFIND

2 years agosh 31843/head
Robin Appelman [Wed, 6 Apr 2022 13:46:38 +0000 (15:46 +0200)]
sh

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agouse existing node in SharesPlugin
Robin Appelman [Tue, 5 Apr 2022 13:30:10 +0000 (15:30 +0200)]
use existing node in SharesPlugin

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #28935 from cahogan/trashbin-restore
Vincent Petry [Wed, 6 Apr 2022 13:32:39 +0000 (15:32 +0200)]
Merge pull request #28935 from cahogan/trashbin-restore

Add trashbin:restore occ command

2 years agoallow reusing known folder info when getting directory contents
Robin Appelman [Tue, 5 Apr 2022 13:29:49 +0000 (15:29 +0200)]
allow reusing known folder info when getting directory contents

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agosave filesystem node in dav node
Robin Appelman [Tue, 5 Apr 2022 13:27:59 +0000 (15:27 +0200)]
save filesystem node in dav node

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #31844 from nextcloud/fs-home-only-setup
Robin Appelman [Wed, 6 Apr 2022 11:58:37 +0000 (11:58 +0000)]
Merge pull request #31844 from nextcloud/fs-home-only-setup

only setup home mount when getting home folder

2 years agodon't force a full setup for getting storage stats 31844/head
Robin Appelman [Tue, 5 Apr 2022 13:42:35 +0000 (15:42 +0200)]
don't force a full setup for getting storage stats

the auto-setup is good enough

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoonly setup home mount when getting home folder
Robin Appelman [Tue, 5 Apr 2022 13:42:14 +0000 (15:42 +0200)]
only setup home mount when getting home folder

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #31853 from nextcloud/automated/noid/psalm-baseline-update-1649218284
Carl Schwan [Wed, 6 Apr 2022 09:46:59 +0000 (11:46 +0200)]
Merge pull request #31853 from nextcloud/automated/noid/psalm-baseline-update-1649218284

[Automated] Update psalm-baseline.xml

2 years agoMerge pull request #31594 from nextcloud/fix/federated-shares-events
Joas Schilling [Wed, 6 Apr 2022 09:16:47 +0000 (11:16 +0200)]
Merge pull request #31594 from nextcloud/fix/federated-shares-events

Log in audit log federated shares events

2 years agoUse querybuilder for share external mountpoint 31845/head
Carl Schwan [Tue, 5 Apr 2022 14:50:49 +0000 (16:50 +0200)]
Use querybuilder for share external mountpoint

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #31194 from nextcloud/feat/allow-to-exclude-groups-from-password...
Vincent Petry [Wed, 6 Apr 2022 08:13:23 +0000 (10:13 +0200)]
Merge pull request #31194 from nextcloud/feat/allow-to-exclude-groups-from-password-enforcement

Allow to disable password policy enforcement for selected groups

2 years agoUpdate psalm baseline 31853/head
nextcloud-command [Wed, 6 Apr 2022 04:11:24 +0000 (04:11 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 6 Apr 2022 02:27:52 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoTest migration of account information 31852/head
Christopher Ng [Fri, 1 Apr 2022 20:08:36 +0000 (20:08 +0000)]
Test migration of account information

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoMerge pull request #31849 from nextcloud/fix/cache-account
John Molakvoæ [Tue, 5 Apr 2022 19:38:03 +0000 (21:38 +0200)]
Merge pull request #31849 from nextcloud/fix/cache-account

2 years agoCache account information 31849/head
Carl Schwan [Tue, 5 Apr 2022 16:57:55 +0000 (18:57 +0200)]
Cache account information

Currently, each field of the profile settings is fetching the account
information. This patch makes it so that only the first time do a DB call
and all the later ones are cached.

Reduce by 5 queries when loading the profile setting page and I suppose
other pages are affected since loading a page generates always fetch at
least once the account information to see if the profile feature is enabled
for the user.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoRetrieve user status only once when displaying page 31847/head
Carl Schwan [Tue, 5 Apr 2022 16:28:52 +0000 (18:28 +0200)]
Retrieve user status only once when displaying page

We don't need to inject it in the template if the data is already
available in the initial state. This is also a bit cleaner.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoAllow to disable password policy enforcement for selected groups 31194/head
Carl Schwan [Tue, 15 Feb 2022 16:45:09 +0000 (17:45 +0100)]
Allow to disable password policy enforcement for selected groups

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #31754 from nextcloud/fix/view-inconsistent-if-conditions
Côme Chilliet [Tue, 5 Apr 2022 16:06:42 +0000 (18:06 +0200)]
Merge pull request #31754 from nextcloud/fix/view-inconsistent-if-conditions

Fix incorrect if conditions in View

2 years agoMerge pull request #31684 from nextcloud/user-share-permissions-merge
Simon L [Tue, 5 Apr 2022 15:37:46 +0000 (17:37 +0200)]
Merge pull request #31684 from nextcloud/user-share-permissions-merge

take permissions from multiple paths into account for share permissions

2 years agoMerge pull request #31773 from nextcloud/share-limited-owner-setup
Vincent Petry [Tue, 5 Apr 2022 15:05:57 +0000 (17:05 +0200)]
Merge pull request #31773 from nextcloud/share-limited-owner-setup

Perform a limited filesystem setup when getting share source

2 years agocomposer run cs:fix 31754/head
Côme Chilliet [Tue, 5 Apr 2022 14:47:13 +0000 (16:47 +0200)]
composer run cs:fix

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoExit early if $storage is falsy in View::getDirectoryContent
Côme Chilliet [Tue, 5 Apr 2022 08:35:53 +0000 (10:35 +0200)]
Exit early if $storage is falsy in View::getDirectoryContent

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix incorrect if conditions in View
Côme Chilliet [Wed, 30 Mar 2022 09:19:30 +0000 (11:19 +0200)]
Fix incorrect if conditions in View

($something->getPermissions() && Constants::PERMISSION_READ) does not
  make sense as PERMISSION_READ contant is 1 this will always evaluate to
  true.
getPersmissions is returning an int which is a bitwise combination as
  documented in the interface, so it should be used with bit operators.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #31829 from nextcloud/fix/exif-imaginary
Vincent Petry [Tue, 5 Apr 2022 13:39:16 +0000 (15:39 +0200)]
Merge pull request #31829 from nextcloud/fix/exif-imaginary

Fix imaginary with rotated exif images

2 years agoMerge pull request #31827 from nextcloud/enh/allow-long-filename-in-share-external
Vincent Petry [Tue, 5 Apr 2022 13:37:20 +0000 (15:37 +0200)]
Merge pull request #31827 from nextcloud/enh/allow-long-filename-in-share-external

Set oc_share_external.name column length to 4000 to remove arbitrary …

2 years agoMerge pull request #31841 from nextcloud/port-number-numeric-input
Louis [Tue, 5 Apr 2022 11:24:50 +0000 (13:24 +0200)]
Merge pull request #31841 from nextcloud/port-number-numeric-input

use `inputmode="numeric"` on port number

2 years agoMerge pull request #31820 from nextcloud/fix/30002
Louis [Tue, 5 Apr 2022 09:35:56 +0000 (11:35 +0200)]
Merge pull request #31820 from nextcloud/fix/30002

Explicitly close div element

2 years agouse `inputmode="numeric"` on port number 31841/head
Christian Oliff [Tue, 5 Apr 2022 08:59:47 +0000 (17:59 +0900)]
use `inputmode="numeric"` on port number

this is a UX enhancement for touchscreen devices... e.g. iPad

2 years agoMerge pull request #31661 from nextcloud/enh/user_ldap-add-command-to-unmap-groups
blizzz [Tue, 5 Apr 2022 08:57:33 +0000 (10:57 +0200)]
Merge pull request #31661 from nextcloud/enh/user_ldap-add-command-to-unmap-groups

Add ldap:reset-group command to unmap groups from LDAP

2 years agoUpdate autoloader to include new migration 31827/head
Côme Chilliet [Tue, 5 Apr 2022 07:15:29 +0000 (09:15 +0200)]
Update autoloader to include new migration

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29510 from nextcloud/backport/27378/master
John Molakvoæ [Mon, 4 Apr 2022 20:15:01 +0000 (22:15 +0200)]
Merge pull request #29510 from nextcloud/backport/27378/master

2 years agoMerge pull request #31828 from nextcloud/fix/do-not-ignore-deleteGroup-result
Côme Chilliet [Mon, 4 Apr 2022 20:04:20 +0000 (22:04 +0200)]
Merge pull request #31828 from nextcloud/fix/do-not-ignore-deleteGroup-result

Do not ignore return value of deleteGroup from backend

2 years agoMerge pull request #31734 from nextcloud/dav-quota-dont-query
Robin Appelman [Mon, 4 Apr 2022 19:02:54 +0000 (19:02 +0000)]
Merge pull request #31734 from nextcloud/dav-quota-dont-query

dont re-query fileinfo when getting dav quota

2 years agoExplicitly close div element 31820/head
Louis Chemineau [Mon, 4 Apr 2022 10:53:58 +0000 (12:53 +0200)]
Explicitly close div element

Fix: #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #31816 from nextcloud/bugfix/noid/deduplicate-storage-id-before...
Joas Schilling [Mon, 4 Apr 2022 17:00:22 +0000 (19:00 +0200)]
Merge pull request #31816 from nextcloud/bugfix/noid/deduplicate-storage-id-before-reusing

Deduplicate storage ids in list before reusing

2 years agorecord backtrace when profiling db requests 31833/head
Robin Appelman [Mon, 4 Apr 2022 13:35:31 +0000 (15:35 +0200)]
record backtrace when profiling db requests

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoVersion bump
Côme Chilliet [Mon, 4 Apr 2022 14:58:06 +0000 (16:58 +0200)]
Version bump

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #31776 from nextcloud/storage-id-cache-bi-directional
Robin Appelman [Mon, 4 Apr 2022 14:50:23 +0000 (14:50 +0000)]
Merge pull request #31776 from nextcloud/storage-id-cache-bi-directional

cache storage id mapping both ways

2 years agouse the same cached propfind for free space for dav storage 31713/head
Robin Appelman [Fri, 25 Mar 2022 14:24:38 +0000 (15:24 +0100)]
use the same cached propfind for free space for dav storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoonly request free space once for external shares
Robin Appelman [Fri, 25 Mar 2022 14:24:16 +0000 (15:24 +0100)]
only request free space once for external shares

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agouse all possible permissions dav properties
Robin Appelman [Fri, 25 Mar 2022 14:23:08 +0000 (15:23 +0100)]
use all possible permissions dav properties

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agodon't overwrite the etag from storage backends that already provide "good" etags
Robin Appelman [Fri, 25 Mar 2022 14:15:02 +0000 (15:15 +0100)]
don't overwrite the etag from storage backends that already provide "good" etags

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoDo not ignore return value of deleteGroup from backend 31828/head
Côme Chilliet [Mon, 4 Apr 2022 14:40:07 +0000 (16:40 +0200)]
Do not ignore return value of deleteGroup from backend

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix imaginary with rotated exif images 31829/head
Carl Schwan [Mon, 4 Apr 2022 14:38:38 +0000 (16:38 +0200)]
Fix imaginary with rotated exif images

Now do the operation in two steps:

1. Rotate the image according the exif data
2. Do the actual operation

This should only have a performance impact on image with exif rotation
data to do the rotation. For all the other images the autorotate steps
should be almost instant.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoSet oc_share_external.name column length to 4000 to remove arbitrary limitation
Côme Chilliet [Mon, 4 Apr 2022 14:28:06 +0000 (16:28 +0200)]
Set oc_share_external.name column length to 4000 to remove arbitrary limitation

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agocache internalpath in versions cleanup 31773/head
Robin Appelman [Thu, 31 Mar 2022 12:30:40 +0000 (14:30 +0200)]
cache internalpath in versions cleanup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoensure user folder is created in ApiTest
Robin Appelman [Thu, 31 Mar 2022 11:31:56 +0000 (13:31 +0200)]
ensure user folder is created in ApiTest

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agorename cached fileinfo on rename
Robin Appelman [Thu, 31 Mar 2022 10:43:18 +0000 (12:43 +0200)]
rename cached fileinfo on rename

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agodont needlessly resolve path when getting internalPath/storage from Node
Robin Appelman [Mon, 28 Mar 2022 16:53:20 +0000 (18:53 +0200)]
dont needlessly resolve path when getting internalPath/storage from Node

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agodon't do a full setup for `findByStorageId`
Robin Appelman [Mon, 28 Mar 2022 16:50:36 +0000 (18:50 +0200)]
don't do a full setup for `findByStorageId`

Signed-off-by: Robin Appelman <robin@icewind.nl>