]>
source.dussan.org Git - nextcloud-server.git/log
John Molakvoæ [Thu, 20 Jan 2022 09:42:21 +0000 (10:42 +0100)]
Merge pull request #30693 from nextcloud/backport/29923/stable21
John Molakvoæ [Thu, 20 Jan 2022 09:22:22 +0000 (10:22 +0100)]
Merge pull request #30660 from nextcloud/backport/29622/stable21
Nextcloud bot [Thu, 20 Jan 2022 02:27:41 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
John Molakvoæ [Wed, 19 Jan 2022 10:04:03 +0000 (11:04 +0100)]
Merge pull request #30755 from nextcloud/backport/30738/stable21
John Molakvoæ [Wed, 19 Jan 2022 09:45:29 +0000 (10:45 +0100)]
Merge pull request #30749 from nextcloud/backport/30615/stable21
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>
Nextcloud bot [Wed, 19 Jan 2022 02:27:57 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Christopher Ng [Wed, 19 Jan 2022 02:25:57 +0000 (02:25 +0000)]
Update autoload
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:12:19 +0000 (17:12 +0100)]
Merge pull request #30737 from nextcloud/backport/30470/stable21
[stable21] Hash job argument
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>
Nextcloud bot [Tue, 18 Jan 2022 02:45:40 +0000 (02:45 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
blizzz [Mon, 17 Jan 2022 11:07:00 +0000 (12:07 +0100)]
Merge pull request #30680 from nextcloud/release/21.0.8rc2
21.0.8 RC2
Louis [Mon, 17 Jan 2022 09:42:59 +0000 (10:42 +0100)]
Merge pull request #30633 from nextcloud/backport/30358/stable21
[stable21] Reset job disabling timer on adding the job again
Carl Schwan [Mon, 17 Jan 2022 09:14:56 +0000 (10:14 +0100)]
Merge pull request #30682 from nextcloud/backport/30531/stable21
[stable21] Optimize FileSystemTags workflow for groupfolder
John Molakvoæ [Mon, 17 Jan 2022 07:57:06 +0000 (08:57 +0100)]
Merge pull request #30686 from nextcloud/backport/30499/stable21
Nextcloud bot [Mon, 17 Jan 2022 02:26:11 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
John Molakvoæ [Sun, 16 Jan 2022 11:01:18 +0000 (12:01 +0100)]
Merge pull request #30665 from nextcloud/backport/30530/stable21
Nextcloud bot [Sun, 16 Jan 2022 02:27:26 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 15 Jan 2022 02:27:26 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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>
John Molakvoæ [Fri, 14 Jan 2022 16:30:45 +0000 (17:30 +0100)]
Merge pull request #30677 from nextcloud/backport/stable21/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:45:44 +0000 (16:45 +0100)]
Merge pull request #30676 from nextcloud/backport/30275/stable21
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>
Carl Schwan [Fri, 14 Jan 2022 13:11:43 +0000 (14:11 +0100)]
Merge pull request #30669 from nextcloud/backport/30363/stable21
[stable21] improve accessibility settings on mobile
Arthur Schiwon [Fri, 14 Jan 2022 11:52:29 +0000 (12:52 +0100)]
21.0.8 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
blizzz [Fri, 14 Jan 2022 11:20:45 +0000 (12:20 +0100)]
Merge pull request #30667 from nextcloud/backport/30568/stable21
[stable21] Fix primary key change in user_ldap migration
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 )
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>
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:07:47 +0000 (10:07 +0100)]
Merge pull request #30642 from nextcloud/backport/30600/stable21
[stable21] Fix idn emails not working in shares
John Molakvoæ [Fri, 14 Jan 2022 08:48:44 +0000 (09:48 +0100)]
Fix linkToRoute
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æ [Fri, 14 Jan 2022 07:46:37 +0000 (08:46 +0100)]
Merge pull request #30596 from nextcloud/fix/static_analysis
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>
Nextcloud bot [Fri, 14 Jan 2022 02:28:27 +0000 (02:28 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
MichaIng [Thu, 13 Jan 2022 22:02:21 +0000 (23:02 +0100)]
Merge pull request #30599 from nextcloud/backport/29118/stable21
[stable21] add better index for finding unindexed paths
Louis Chemineau [Tue, 11 Jan 2022 13:28:28 +0000 (14:28 +0100)]
Fix static analysis on CI
Signed-off-by: Louis Chemineau <louis@chmn.me>
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>
Robin Appelman [Thu, 7 Oct 2021 14:11:49 +0000 (16:11 +0200)]
add better index for finding unindexed paths
for the following query 'SELECT "path" FROM "oc_filecache" WHERE ("storage" = $storage) AND ("size" < 0) ORDER BY "fileid" DESC LIMIT 1;'
currently the database will in some cases decide to priorize the sort by fileid over the filter when picking what index to use, resulting in a much slower query.
by creating an index that allows first sorting by fileid and also filter by storage and size this case will be greatly sped up
Signed-off-by: Robin Appelman <robin@icewind.nl>
Vincent Petry [Thu, 13 Jan 2022 10:36:06 +0000 (11:36 +0100)]
Merge pull request #30638 from nextcloud/backport/30620/stable21
[stable21] 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>
Nextcloud bot [Thu, 13 Jan 2022 02:26:53 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Louis Chemineau [Wed, 12 Jan 2022 16:44:33 +0000 (17:44 +0100)]
Update lib/private/BackgroundJob/JobList.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
Vincent Petry [Wed, 12 Jan 2022 16:43:39 +0000 (17:43 +0100)]
Merge pull request #30629 from nextcloud/backport/30593/stable21
[stable21] Trigger "changeDirectory" event on URL change
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>
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>
Vincent Petry [Wed, 12 Jan 2022 13:42:53 +0000 (14:42 +0100)]
Merge pull request #30617 from nextcloud/backport/30609/stable21
[stable21] Fix RequestURL check for cli commands
Joas Schilling [Wed, 12 Jan 2022 12:50:22 +0000 (13:50 +0100)]
Merge pull request #30601 from nextcloud/backport/30291/stable21
[stable21] 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>
Nextcloud bot [Wed, 12 Jan 2022 02:27:17 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.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>
Louis [Tue, 11 Jan 2022 13:15:41 +0000 (14:15 +0100)]
Merge pull request #30590 from nextcloud/backport/30571/stable21
[stable21] fix: only use jquery once it is available
Vincent Petry [Tue, 11 Jan 2022 13:07:23 +0000 (14:07 +0100)]
Merge pull request #30579 from nextcloud/backport/30565/stable21
[stable21] Fix fail when keys/files folder already exists
Vincent Petry [Tue, 11 Jan 2022 13:05:55 +0000 (14:05 +0100)]
Merge pull request #30583 from nextcloud/bugfix/noid/npm-ci-for-karma/stable21
[stable21] Use npm ci when running JS tests
Azul [Mon, 10 Jan 2022 13:54:29 +0000 (14:54 +0100)]
fix: only use jquery once it is available
publicpage.js is loaded very early and cannot rely on jquery being loaded already.
Move the use of `$` into the `DomContentLoaded` handler.
Signed-off-by: Azul <azul@riseup.net>
Vincent Petry [Mon, 10 Jan 2022 10:15:22 +0000 (11:15 +0100)]
Fix fail when keys/files folder already exists
Fixes an issue with transfer ownership in move mode where the folder
"files_encryption/keys/files" already exists.
Instead of failing, its existence is checked before calling mkdir.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 11 Jan 2022 07:56:37 +0000 (08:56 +0100)]
Update package-lock in build dir
It wasn't up to date with package.json
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Nextcloud bot [Tue, 11 Jan 2022 02:27:25 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Vincent Petry [Mon, 10 Jan 2022 16:50:42 +0000 (17:50 +0100)]
Recompile JS
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Mon, 10 Jan 2022 14:08:03 +0000 (15:08 +0100)]
Fix JS tests after test lib updates
Prevent XHR during load by checking window.TESTING.
Adjust some expected values.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Mon, 10 Jan 2022 17:00:24 +0000 (18:00 +0100)]
Make chokidar happy with fsevents
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Mon, 10 Jan 2022 13:17:09 +0000 (14:17 +0100)]
Update node deps for JS tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Mon, 10 Jan 2022 11:00:16 +0000 (12:00 +0100)]
Use npm ci when running JS tests
This makes sure that the pinned versions are selected correctly.
Fixes the colors.js incident.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Nextcloud bot [Mon, 10 Jan 2022 02:26:52 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
MichaIng [Sun, 9 Jan 2022 20:28:05 +0000 (21:28 +0100)]
Merge pull request #30559 from nextcloud/backport/30468/stable21
[stable21] Handle LocalServerException when scanning external shares
Carl Schwan [Mon, 3 Jan 2022 08:12:27 +0000 (09:12 +0100)]
Handle LocalServerException when scanning external shares
When remoteIsOwnCloud trows LocalServerException, the storage is
unavailable and instead of crashing the scanner, ignore the specific
storage.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Nextcloud bot [Sun, 9 Jan 2022 02:26:41 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Simon L [Sat, 8 Jan 2022 10:41:49 +0000 (11:41 +0100)]
Merge pull request #30454 from nextcloud/backport/30420/stable21
[stable21] improve status modal
szaimen [Sat, 8 Jan 2022 09:26:46 +0000 (10:26 +0100)]
fix compiling
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Nextcloud bot [Sat, 8 Jan 2022 02:26:44 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
blizzz [Fri, 7 Jan 2022 23:54:39 +0000 (00:54 +0100)]
Merge pull request #30527 from nextcloud/backport/30511/stable21
[stable21] update CRL after revocation of sharerenamer.crt
John Molakvoæ [Fri, 7 Jan 2022 14:37:52 +0000 (15:37 +0100)]
Merge pull request #30520 from nextcloud/release/21.0.8
John Molakvoæ [Fri, 7 Jan 2022 12:11:26 +0000 (13:11 +0100)]
Merge pull request #30488 from nextcloud/backport/29780/stable21
MichaIng [Fri, 7 Jan 2022 11:25:36 +0000 (12:25 +0100)]
Merge pull request #30521 from nextcloud/backport/30515/stable21
[stable21] Remove iconv from dependencies and tests
Vitor Mattos [Thu, 6 Jan 2022 15:18:06 +0000 (12:18 -0300)]
Update crl
Signed-off-by: Vitor Mattos <vitor@php.rio>
Joas Schilling [Fri, 7 Jan 2022 09:50:38 +0000 (10:50 +0100)]
Merge pull request #30524 from nextcloud/backport/30492/stable21
[stable21] Fix passing on the parameter
MichaIng [Thu, 6 Jan 2022 22:56:28 +0000 (23:56 +0100)]
[stable22] Remove iconv from dependencies and tests
which is not used anymore since: https://github.com/nextcloud/server/pull/29470
Signed-off-by: MichaIng <micha@dietpi.com>
Joas Schilling [Wed, 5 Jan 2022 08:30:20 +0000 (09:30 +0100)]
Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Fri, 19 Nov 2021 08:31:37 +0000 (09:31 +0100)]
Run migrations fully when reenabling an app
Signed-off-by: Joas Schilling <coding@schilljs.com>
John Molakvoæ [Fri, 7 Jan 2022 07:49:00 +0000 (08:49 +0100)]
Merge pull request #30482 from nextcloud/backport/30423/stable21
John Molakvoæ [Fri, 7 Jan 2022 07:48:20 +0000 (08:48 +0100)]
Merge pull request #29963 from nextcloud/backport/29951/stable21
John Molakvoæ [Fri, 7 Jan 2022 07:46:22 +0000 (08:46 +0100)]
Merge pull request #29325 from nextcloud/backport/28541/stable21
John Molakvoæ [Fri, 7 Jan 2022 07:45:14 +0000 (08:45 +0100)]
Merge pull request #28657 from nextcloud/backport/28419/stable21
John Molakvoæ [Fri, 7 Jan 2022 07:28:08 +0000 (08:28 +0100)]
21.0.8 RC1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Nextcloud bot [Fri, 7 Jan 2022 02:28:22 +0000 (02:28 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Thu, 6 Jan 2022 02:28:41 +0000 (02:28 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>