]>
source.dussan.org Git - nextcloud-server.git/log
Louis [Mon, 31 Jan 2022 09:32:53 +0000 (10:32 +0100)]
Merge pull request #30913 from nextcloud/dependabot/npm_and_yarn/stable23/webpack-cli-4.9.2
Bump webpack-cli from 4.9.1 to 4.9.2
Carl Schwan [Sun, 30 Jan 2022 08:50:55 +0000 (09:50 +0100)]
Merge pull request #30911 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify-2.3.5
Bump dompurify from 2.3.4 to 2.3.5
dependabot[bot] [Sat, 29 Jan 2022 03:35:01 +0000 (03:35 +0000)]
Bump dompurify from 2.3.4 to 2.3.5
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.4...2.3.5)
---
updated-dependencies:
- dependency-name: dompurify
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>
dependabot[bot] [Sat, 29 Jan 2022 03:36:11 +0000 (03:36 +0000)]
Bump webpack-cli from 4.9.1 to 4.9.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.1 to 4.9.2.
- [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.1...webpack-cli@4.9.2)
---
updated-dependencies:
- dependency-name: webpack-cli
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
John Molakvoæ [Thu, 27 Jan 2022 19:33:21 +0000 (20:33 +0100)]
Merge pull request #30840 from nextcloud/releases/23.0.1
John Molakvoæ [Thu, 27 Jan 2022 19:06:29 +0000 (20:06 +0100)]
Merge pull request #30814 from nextcloud/backport/30508/stable23
Carl Schwan [Thu, 6 Jan 2022 13:19:06 +0000 (14:19 +0100)]
Fix psalm not running
The issue was that we were using psalm/phar instead of vimeo/psalm. This
caused issue with the custom psalm plugin in buildd/psalm.
This is using the opportunity to also update the psalm version from 3.8
to 3.17 and the php-cs-fixer too.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
John Molakvoæ [Thu, 27 Jan 2022 09:42:51 +0000 (10:42 +0100)]
Merge pull request #30872 from nextcloud/backport/30844/stable23
John Molakvoæ [Wed, 26 Jan 2022 08:38:21 +0000 (09:38 +0100)]
Prevent merging on EOL branches
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
John Molakvoæ [Wed, 26 Jan 2022 12:13:03 +0000 (13:13 +0100)]
Merge pull request #30847 from nextcloud/backport/30846/stable23
Louis Chemineau [Wed, 26 Jan 2022 09:47:16 +0000 (10:47 +0100)]
Fix php:cs
Signed-off-by: Louis Chemineau <louis@chmn.me>
John Molakvoæ [Tue, 25 Jan 2022 13:53:02 +0000 (14:53 +0100)]
23.0.1 Final
John Molakvoæ [Mon, 24 Jan 2022 07:07:48 +0000 (08:07 +0100)]
Merge pull request #30799 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.3.1
John Molakvoæ [Sat, 22 Jan 2022 18:03:33 +0000 (19:03 +0100)]
Merge pull request #30740 from nextcloud/backport23
John Molakvoæ [Sat, 22 Jan 2022 13:14:56 +0000 (14:14 +0100)]
Merge pull request #30811 from nextcloud/backport/30795/stable23
John Molakvoæ [Sat, 22 Jan 2022 09:25:50 +0000 (10:25 +0100)]
Merge pull request #30773 from nextcloud/backport/30769/stable23
Carl Schwan [Fri, 21 Jan 2022 12:59:10 +0000 (13:59 +0100)]
Fix accessing undefined offsets
Move this to inside the else clause of the count($matches)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
dependabot[bot] [Sat, 22 Jan 2022 02:10:48 +0000 (02:10 +0000)]
Update sabre/dav requirement from 4.3.0 to 4.3.1 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.3.0...4.3.1)
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
John Molakvoæ [Thu, 20 Jan 2022 20:37:22 +0000 (21:37 +0100)]
Merge pull request #30765 from nextcloud/release/23.0.1rc3
John Molakvoæ [Thu, 20 Jan 2022 20:25:58 +0000 (21:25 +0100)]
Merge pull request #30782 from nextcloud/backport/29349/stable23
Robin Appelman [Thu, 20 Jan 2022 16:16:08 +0000 (17:16 +0100)]
Add test for samba kerberos sso in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 20 Jan 2022 15:09:41 +0000 (16:09 +0100)]
update icewind/smb to 3.5.2
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 4 Nov 2021 14:38:42 +0000 (15:38 +0100)]
update to release smb lib
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 4 Nov 2021 14:05:37 +0000 (15:05 +0100)]
update icewind/smb to 3.5.1
Signed-off-by: Robin Appelman <robin@icewind.nl>
Arthur Schiwon [Wed, 3 Nov 2021 12:07:00 +0000 (13:07 +0100)]
do not use deprecated query() method
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Arthur Schiwon [Fri, 29 Oct 2021 16:27:30 +0000 (18:27 +0200)]
add changes from Sebastian/dassIT and move default_realm to backend
- Sebastian added the switch depending on the preg_match result and with it
the fall back to login credentials
- I turned default_realm to a backend option (was previously suggested as
system config key)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Arthur Schiwon [Wed, 20 Oct 2021 20:39:13 +0000 (22:39 +0200)]
add KerberosApacheAuth support to files_external
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Côme Chilliet [Thu, 20 Jan 2022 10:20:18 +0000 (11:20 +0100)]
Always call flush() as getAllKeys() is broken
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
John Molakvoæ [Thu, 20 Jan 2022 10:12:34 +0000 (11:12 +0100)]
Merge pull request #30728 from nextcloud/backport/30614/stable23
Carl Schwan [Tue, 18 Jan 2022 13:59:02 +0000 (14:59 +0100)]
Fix tests with email templates
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
John Molakvoæ [Thu, 20 Jan 2022 09:36:40 +0000 (10:36 +0100)]
Merge pull request #29798 from nextcloud/stable23-disk
John Molakvoæ [Thu, 20 Jan 2022 09:36:13 +0000 (10:36 +0100)]
Merge pull request #30759 from nextcloud/backport/30731/stable23
John Molakvoæ [Thu, 20 Jan 2022 09:16:39 +0000 (10:16 +0100)]
23.0.1 RC3
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Joas Schilling [Tue, 18 Jan 2022 09:10:19 +0000 (10:10 +0100)]
Log bruteforce throttle and blocking
Signed-off-by: Joas Schilling <coding@schilljs.com>
John Molakvoæ [Wed, 19 Jan 2022 10:04:33 +0000 (11:04 +0100)]
Merge pull request #30753 from nextcloud/backport/30738/stable23
John Molakvoæ [Wed, 19 Jan 2022 09:45:33 +0000 (10:45 +0100)]
Merge pull request #30747 from nextcloud/backport/30615/stable23
Joas Schilling [Tue, 18 Jan 2022 14:34:25 +0000 (15:34 +0100)]
Create block-merge-freeze.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Christopher Ng [Wed, 19 Jan 2022 02:12:15 +0000 (02:12 +0000)]
Update autoload and ClassLoader
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Christopher Ng [Fri, 14 Jan 2022 19:32:10 +0000 (19:32 +0000)]
Improve installation pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit
22768769c3f29f9952110f86a032e4bf3a4bf460 )
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Carl Schwan [Tue, 18 Jan 2022 16:02:37 +0000 (17:02 +0100)]
Merge pull request #30734 from nextcloud/backport/30470/stable23
[stable23] Hash job argument
acsfer [Tue, 18 Jan 2022 15:01:26 +0000 (16:01 +0100)]
[stable23] Increase email main buttons width for non-english languages
Manual backport of https://github.com/nextcloud/server/pull/30653
Julius Härtl [Mon, 3 Jan 2022 10:17:28 +0000 (11:17 +0100)]
Add hashed attribute column for indexed job existence check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Marek-Wojtowicz [Tue, 11 Jan 2022 21:33:18 +0000 (22:33 +0100)]
Update Session.php
The http headers according to rfc 2616 is iso-8859-1. This patch fixes the behavior when non-ascii characters are present in the header.
Signed-off-by: Marek Wójtowicz <Marek.Wojtowicz@agh.edu.pl>
MichaIng [Mon, 17 Jan 2022 20:20:05 +0000 (21:20 +0100)]
Merge pull request #30685 from nextcloud/backport/29923/stable23
[stable23] Fix users can't login external mount user entered credentials not set
max-nextcloud [Mon, 17 Jan 2022 19:45:25 +0000 (20:45 +0100)]
Merge pull request #30722 from nextcloud/backport/30719/stable23
[stable23] Fix loading of the text app in public shared links
Carl Schwan [Mon, 17 Jan 2022 15:00:19 +0000 (16:00 +0100)]
Fix loading of the text app in public shared links
Instead of doing the centering for the entire public content, only do it
for the preview. This is more safe.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
blizzz [Mon, 17 Jan 2022 11:28:47 +0000 (12:28 +0100)]
Merge pull request #30678 from nextcloud/release/23.0.1rc2
23.0.1 RC2
Carl Schwan [Mon, 17 Jan 2022 09:15:26 +0000 (10:15 +0100)]
Merge pull request #30684 from nextcloud/backport/30531/stable23
[stable23] Optimize FileSystemTags workflow for groupfolder
MichaIng [Sat, 15 Jan 2022 01:52:03 +0000 (02:52 +0100)]
Merge pull request #30688 from nextcloud/backport/30499/stable23
[stable23] Remove inefficient fed share scanner
MichaIng [Sat, 15 Jan 2022 01:50:26 +0000 (02:50 +0100)]
Merge pull request #30689 from nextcloud/backport/30645/stable23
[stable23] New Files internal link GET param to avoid opening the file
MichaIng [Sat, 15 Jan 2022 01:48:12 +0000 (02:48 +0100)]
Merge pull request #30695 from nextcloud/backport/30631/stable23
[stable23] updateEncryptedVersion: cleanup on target if cache already got renamed
MichaIng [Sat, 15 Jan 2022 01:39:47 +0000 (02:39 +0100)]
Merge pull request #30698 from nextcloud/backport/30655/stable23
[stable23] Improve layout for the public download page
Carl Schwan [Thu, 13 Jan 2022 18:29:21 +0000 (19:29 +0100)]
Add non-breaking space in the file size
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Carl Schwan [Thu, 13 Jan 2022 17:59:33 +0000 (18:59 +0100)]
Improve layout for the public download page
This centers the content inside the pages, while also not hardcoded the
size of the footer.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Jonas Meurer [Wed, 12 Jan 2022 14:28:34 +0000 (15:28 +0100)]
updateEncryptedVersion: cleanup on target if cache already got renamed
When moving a file to trash with encryption enabled, the cache gets
moved before the actual file. According to @icewind1991 this is in order
to not break object storage.
When moving a file from an unencrypted storage (e.g. a collectives
storage) to the encrypted trashbin storage, this causes errors, see
This commit fixes it by doing `updateEncryptedVersion()` on the target
cache entry *if* the source cache entry doesn't exist anymore, but the
corresponding target cache entry does exist already.
Fixes: #26544
Signed-off-by: Jonas Meurer <jonas@freesources.org>
Julien Veyssier [Thu, 13 Jan 2022 12:07:52 +0000 (13:07 +0100)]
[files] new internal link GET param to avoid setting 'openfile' on redirect
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
John Molakvoæ [Fri, 14 Jan 2022 16:30:13 +0000 (17:30 +0100)]
Merge pull request #30672 from nextcloud/backport/stable23/30597
Vincent Petry [Wed, 5 Jan 2022 16:19:24 +0000 (17:19 +0100)]
Remove inefficient fed share scanner
Remove scanAll which relies on the "shareinfo" endpoint that returns the
full cache tree.
The latter can become big for big shares and result in timeouts.
Furthermode, the full tree would be retrieved again for each and every
detected change which can become expensive quickly.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
John Molakvoæ [Fri, 14 Jan 2022 15:27:21 +0000 (16:27 +0100)]
Merge pull request #30674 from nextcloud/backport/30275/stable23
Anderson Luiz Alves [Fri, 3 Dec 2021 13:57:00 +0000 (10:57 -0300)]
files_external SMB: throw InvalidArgument when user is not set
Signed-off-by: Anderson Luiz Alves <alacn1@gmail.com>
Carl Schwan [Thu, 13 Jan 2022 11:30:27 +0000 (12:30 +0100)]
Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Carl Schwan [Mon, 10 Jan 2022 10:36:51 +0000 (11:36 +0100)]
Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Carl Schwan [Fri, 7 Jan 2022 16:55:02 +0000 (17:55 +0100)]
The storage is not static anymore
Don't call twice $cache->getId
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Carl Schwan [Fri, 7 Jan 2022 13:00:48 +0000 (14:00 +0100)]
Optimize FileSystemTags workflow for groupfolder
In https://github.com/nextcloud/server/pull/28774 we disabled the
caching for the groupfolder application since it worked due to the fact
that in groupfolders, getFileIds could be called with the same $cacheId
and path for actually different groupfolders.
This revert this change and instead add the folderId from the
groupFolder to the cacheId. This solve the issue of the uniqueness of
the cacheId inside GroupFolder. Downside is that we introduce
groupfolder specific implementation inside the server repo.
The seconf optimization is to not consider paths starting with
__groupfolders in executeCheck. This is due to the fact that files in
the groupfolder application call two times executeCheck one time with
the url __groupfolder/<folderId>/<path> and the other time with <path>.
The first time will always return an empty systemTags array while the
second call will return the correct system tags.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Simon L [Fri, 14 Jan 2022 13:31:05 +0000 (14:31 +0100)]
Merge pull request #30671 from nextcloud/backport/30363/stable23
[stable23] improve accessibility settings on mobile
Arthur Schiwon [Fri, 14 Jan 2022 11:46:43 +0000 (12:46 +0100)]
23.0.1 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Vincent Petry [Fri, 14 Jan 2022 11:21:22 +0000 (12:21 +0100)]
Merge pull request #30662 from nextcloud/backport/30530/stable23
[stable23] Fix wrong unified search link to folder
blizzz [Fri, 14 Jan 2022 11:04:06 +0000 (12:04 +0100)]
Merge pull request #30663 from nextcloud/backport/30568/stable23
[stable23] Fix primary key change in user_ldap migration
Joas Schilling [Wed, 15 Dec 2021 08:08:14 +0000 (09:08 +0100)]
Add version of disabled apps when available
Signed-off-by: Joas Schilling <coding@schilljs.com>
Carl Schwan [Tue, 11 Jan 2022 14:06:54 +0000 (15:06 +0100)]
Fix file picker not respecting hidden files settings
This will only respect the setting inside the file app. For other apps
we will either need to do an API call or add an input field with the
same idea to spare a blocking api call.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit
1fa58be1aa78ff6216b7a129925a7bb270ac9fe1 )
Julius Härtl [Fri, 14 Jan 2022 09:41:46 +0000 (10:41 +0100)]
Merge pull request #30659 from nextcloud/backport/29622/stable23
szaimen [Thu, 23 Dec 2021 11:24:17 +0000 (12:24 +0100)]
address 2nd review
Signed-off-by: szaimen <szaimen@e.mail.de>
szaimen [Tue, 21 Dec 2021 19:52:49 +0000 (20:52 +0100)]
address review
Signed-off-by: szaimen <szaimen@e.mail.de>
szaimen [Tue, 21 Dec 2021 11:28:12 +0000 (12:28 +0100)]
improve accessibility settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Carl Schwan [Fri, 14 Jan 2022 09:08:19 +0000 (10:08 +0100)]
Merge pull request #30643 from nextcloud/backport/30600/stable23
[stable23] Fix idn emails not working in shares
Côme Chilliet [Thu, 13 Jan 2022 16:20:45 +0000 (17:20 +0100)]
Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Joas Schilling [Thu, 13 Jan 2022 13:22:30 +0000 (14:22 +0100)]
Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
Côme Chilliet [Thu, 13 Jan 2022 11:20:57 +0000 (12:20 +0100)]
Fix user_ldap migration for long DNs support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Tue, 11 Jan 2022 15:36:27 +0000 (16:36 +0100)]
Move duplicated code to a base class for group_mapping migrations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Côme Chilliet [Tue, 11 Jan 2022 15:16:02 +0000 (16:16 +0100)]
Split dropTable and createTable in two migrations
It is not possible to drop and create the same table in one migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Mon, 10 Jan 2022 11:07:41 +0000 (12:07 +0100)]
Fix primary key change in user_ldap migration
Use a backup table to copy the data, drop table and recreate it with
correct primary key, then copy the data back and drop the backup table.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
John Molakvoæ [Fri, 7 Jan 2022 11:28:34 +0000 (12:28 +0100)]
Fix wrong unified search link to folder
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
John Molakvoæ [Wed, 10 Nov 2021 11:21:01 +0000 (12:21 +0100)]
Implement multibucket shift for ObjectStore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Carl Schwan [Wed, 12 Jan 2022 13:15:08 +0000 (14:15 +0100)]
Fix idn emails not working in shares
And add check before sending email that email address is valid
Fix #30595
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Vincent Petry [Thu, 13 Jan 2022 10:35:38 +0000 (11:35 +0100)]
Merge pull request #30636 from nextcloud/backport/30620/stable23
[stable23] Properly abort uploads
Vincent Petry [Wed, 12 Jan 2022 15:39:45 +0000 (16:39 +0100)]
Properly hide progress bar after error
Whenever an error occurs, also hide the progress bar.
The logic was also adjusted to properly detect uploads that are pending
deletion, in which case the progress bar can already be hidden.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 12 Jan 2022 10:42:10 +0000 (11:42 +0100)]
Properly abort uploads
Add a new approach for flagging an upload as aborted because we can't
rely on the browser fully cancelling the request as we now seem to
receive an error response from the server instead of a jQuery "abort"
message.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 12 Jan 2022 16:42:45 +0000 (17:42 +0100)]
Merge pull request #30627 from nextcloud/backport/30593/stable23
[stable23] Trigger "changeDirectory" event on URL change
MichaIng [Wed, 12 Jan 2022 15:01:56 +0000 (16:01 +0100)]
Merge pull request #30621 from nextcloud/backport/30358/stable23
[stable23] Reset job disabling timer on adding the job again
Vincent Petry [Tue, 11 Jan 2022 11:17:23 +0000 (12:17 +0100)]
Trigger "changeDirectory" even on URL change
When using the browser back button or clicking on sections on the left
sidebar (like favorites), the "changeDirectory" jQuery event did not get
called, so apps like recommendations would not notice the directory
change.
This fixes the issue by also setting changeUrl to true when the file
list's directory got changed as a result from a URL change.
Added optional changedThroughUrl argument to make sure the event
recipient knows if the change was done through a URL change and make it
possible prevent a loop in the onDirectoryChange handler that actually
changes the URL when the origin was already from a URL change.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Carl Schwan [Wed, 12 Jan 2022 13:01:00 +0000 (14:01 +0100)]
Merge pull request #30619 from nextcloud/backport/30609/stable23
[stable23] Fix RequestURL check for cli commands
Joas Schilling [Wed, 12 Jan 2022 12:51:07 +0000 (13:51 +0100)]
Merge pull request #30611 from nextcloud/backport/30588/stable23
[stable23] Fix undefined/unset scope in account properties
Louis [Wed, 12 Jan 2022 12:36:38 +0000 (13:36 +0100)]
Merge pull request #30623 from nextcloud/backport/30485/stable23
[stable23] Set the file's mtime from the headers in bulk upload
Louis Chemineau [Tue, 11 Jan 2022 09:56:49 +0000 (10:56 +0100)]
Set the file's mtime from the headers in bulk upload
Signed-off-by: Louis Chemineau <louis@chmn.me>
Julius Härtl [Tue, 21 Dec 2021 07:05:50 +0000 (08:05 +0100)]
Reset job disabling timer on adding the job again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
blizzz [Wed, 12 Jan 2022 10:16:48 +0000 (11:16 +0100)]
Merge pull request #30602 from nextcloud/backport/30291/stable23
[stable23] Prevent loading images that would require too much memory.
Carl Schwan [Tue, 11 Jan 2022 18:14:28 +0000 (19:14 +0100)]
Fix RequestURL check for cli commands
Fix https://github.com/nextcloud/files_automatedtagging/issues/526
Fix https://github.com/nextcloud/groupfolders/issues/1855
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Joas Schilling [Tue, 11 Jan 2022 11:54:41 +0000 (12:54 +0100)]
Fix test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Tue, 11 Jan 2022 09:15:06 +0000 (10:15 +0100)]
Fix undefined/unset scope in account properties
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joachim Bauch [Thu, 16 Dec 2021 08:17:11 +0000 (09:17 +0100)]
Prevent loading images that would require too much memory.
For most image formats, the header specifies the width/height.
PHP allocates an image object from that size, even if the actual
image data is much smaller. This image object size is not limited
by the limit configured in PHP.
The memory limit can be configured through "config.php" setting
"preview_max_memory" and defaults to 128 MBytes which should be
enough for most images without filling up all memory.
Signed-off-by: Joachim Bauch <bauch@struktur.de>