]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoBump clipboard from 2.0.8 to 2.0.9 30909/head
dependabot[bot] [Sat, 29 Jan 2022 02:06:05 +0000 (02:06 +0000)]
Bump clipboard from 2.0.8 to 2.0.9

Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.8...v2.0.9)

---
updated-dependencies:
- dependency-name: clipboard
  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>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 28 Jan 2022 02:27:28 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30838 from nextcloud/releases/21.0.8 v21.0.8
John Molakvoæ [Thu, 27 Jan 2022 19:57:03 +0000 (20:57 +0100)]
Merge pull request #30838 from nextcloud/releases/21.0.8

2 years agoMerge pull request #30775 from nextcloud/backport/30769/stable21
John Molakvoæ [Thu, 27 Jan 2022 19:04:34 +0000 (20:04 +0100)]
Merge pull request #30775 from nextcloud/backport/30769/stable21

2 years agoMerge pull request #30874 from nextcloud/backport/30844/stable21
John Molakvoæ [Thu, 27 Jan 2022 11:10:48 +0000 (12:10 +0100)]
Merge pull request #30874 from nextcloud/backport/30844/stable21

2 years agoAlways call flush() as getAllKeys() is broken 30775/head
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>
2 years agoPrevent merging on EOL branches 30874/head
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>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 27 Jan 2022 02:27:44 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 26 Jan 2022 02:27:53 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago21.0.8 Final 30838/head
John Molakvoæ [Tue, 25 Jan 2022 13:52:25 +0000 (14:52 +0100)]
21.0.8 Final

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 25 Jan 2022 02:27:49 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30809 from nextcloud/dependabot/composer/build/integration/stable...
John Molakvoæ [Mon, 24 Jan 2022 07:07:14 +0000 (08:07 +0100)]
Merge pull request #30809 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.3.1

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 24 Jan 2022 02:26:58 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 23 Jan 2022 02:26:44 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoUpdate sabre/dav requirement from 4.3.0 to 4.3.1 in /build/integration 30809/head
dependabot[bot] [Sat, 22 Jan 2022 03:15:20 +0000 (03:15 +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>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 22 Jan 2022 02:26:53 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30787 from nextcloud/fix-backport/30470/stable21 v21.0.8rc3
John Molakvoæ [Fri, 21 Jan 2022 10:02:17 +0000 (11:02 +0100)]
Merge pull request #30787 from nextcloud/fix-backport/30470/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 21 Jan 2022 02:27:20 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix method for 21 30787/head
Joas Schilling [Thu, 20 Jan 2022 21:46:05 +0000 (22:46 +0100)]
Fix method for 21

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAdd hashed attribute column for indexed job existence check
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>
2 years agoRevert "[stable21] Hash job argument" 30785/head
John Molakvoæ [Thu, 20 Jan 2022 20:10:40 +0000 (21:10 +0100)]
Revert "[stable21] Hash job argument"

2 years agoMerge pull request #30767 from nextcloud/release/21.0.8rc3
John Molakvoæ [Thu, 20 Jan 2022 19:40:09 +0000 (20:40 +0100)]
Merge pull request #30767 from nextcloud/release/21.0.8rc3

2 years agoMerge pull request #30693 from nextcloud/backport/29923/stable21 30779/head
John Molakvoæ [Thu, 20 Jan 2022 09:42:21 +0000 (10:42 +0100)]
Merge pull request #30693 from nextcloud/backport/29923/stable21

2 years agoMerge pull request #30660 from nextcloud/backport/29622/stable21
John Molakvoæ [Thu, 20 Jan 2022 09:22:22 +0000 (10:22 +0100)]
Merge pull request #30660 from nextcloud/backport/29622/stable21

2 years ago21.0.8 RC3 30767/head
John Molakvoæ [Thu, 20 Jan 2022 09:19:56 +0000 (10:19 +0100)]
21.0.8 RC3

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago[tx-robot] updated from transifex
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>
2 years agoMerge pull request #30755 from nextcloud/backport/30738/stable21
John Molakvoæ [Wed, 19 Jan 2022 10:04:03 +0000 (11:04 +0100)]
Merge pull request #30755 from nextcloud/backport/30738/stable21

2 years agoMerge pull request #30749 from nextcloud/backport/30615/stable21
John Molakvoæ [Wed, 19 Jan 2022 09:45:29 +0000 (10:45 +0100)]
Merge pull request #30749 from nextcloud/backport/30615/stable21

2 years agoCreate block-merge-freeze.yml 30755/head
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>
2 years ago[tx-robot] updated from transifex
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>
2 years agoUpdate autoload 30749/head
Christopher Ng [Wed, 19 Jan 2022 02:25:57 +0000 (02:25 +0000)]
Update autoload

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoImprove installation pages
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>
2 years agoMerge pull request #30737 from nextcloud/backport/30470/stable21
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

2 years agoAdd hashed attribute column for indexed job existence check 30737/head
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>
2 years ago[tx-robot] updated from transifex
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>
2 years agoMerge pull request #30680 from nextcloud/release/21.0.8rc2 v21.0.8rc2
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

2 years agoMerge pull request #30633 from nextcloud/backport/30358/stable21
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

2 years agoMerge pull request #30682 from nextcloud/backport/30531/stable21
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

2 years agoMerge pull request #30686 from nextcloud/backport/30499/stable21
John Molakvoæ [Mon, 17 Jan 2022 07:57:06 +0000 (08:57 +0100)]
Merge pull request #30686 from nextcloud/backport/30499/stable21

2 years ago[tx-robot] updated from transifex
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>
2 years agoMerge pull request #30665 from nextcloud/backport/30530/stable21
John Molakvoæ [Sun, 16 Jan 2022 11:01:18 +0000 (12:01 +0100)]
Merge pull request #30665 from nextcloud/backport/30530/stable21

2 years ago[tx-robot] updated from transifex
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>
2 years ago[tx-robot] updated from transifex
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>
2 years agofiles_external SMB: throw InvalidArgument when user is not set 30693/head
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>
2 years agoMerge pull request #30677 from nextcloud/backport/stable21/30597
John Molakvoæ [Fri, 14 Jan 2022 16:30:45 +0000 (17:30 +0100)]
Merge pull request #30677 from nextcloud/backport/stable21/30597

2 years agoRemove inefficient fed share scanner 30686/head
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>
2 years agoMerge pull request #30676 from nextcloud/backport/30275/stable21
John Molakvoæ [Fri, 14 Jan 2022 15:45:44 +0000 (16:45 +0100)]
Merge pull request #30676 from nextcloud/backport/30275/stable21

2 years agoFix psalm issues 30682/head
Carl Schwan [Thu, 13 Jan 2022 11:30:27 +0000 (12:30 +0100)]
Fix psalm issues

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoAdd helper method in Wrapper
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>
2 years agoThe storage is not static anymore
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>
2 years agoOptimize FileSystemTags workflow for groupfolder
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>
2 years agoMerge pull request #30669 from nextcloud/backport/30363/stable21
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

2 years ago21.0.8 RC2 30680/head
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>
2 years agoMerge pull request #30667 from nextcloud/backport/30568/stable21
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

2 years agoFix file picker not respecting hidden files settings 30677/head
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)

2 years agoAdd version of disabled apps when available 30676/head
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>
2 years agoaddress 2nd review 30669/head
szaimen [Thu, 23 Dec 2021 11:24:17 +0000 (12:24 +0100)]
address 2nd review

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoaddress review
szaimen [Tue, 21 Dec 2021 19:52:49 +0000 (20:52 +0100)]
address review

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoimprove accessibility settings on mobile
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>
2 years agoMerge pull request #30642 from nextcloud/backport/30600/stable21
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

2 years agoFix linkToRoute 30665/head
John Molakvoæ [Fri, 14 Jan 2022 08:48:44 +0000 (09:48 +0100)]
Fix linkToRoute

2 years agoRemove useless indexes with duplicated names on backup table 30667/head
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>
2 years agoUpdate autoloader
Joas Schilling [Thu, 13 Jan 2022 13:22:30 +0000 (14:22 +0100)]
Update autoloader

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix user_ldap migration for long DNs support
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>
2 years agoMove duplicated code to a base class for group_mapping migrations
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>
2 years agoSplit dropTable and createTable in two migrations
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>
2 years agoFix primary key change in user_ldap migration
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>
2 years agoFix wrong unified search link to folder
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>
2 years agoMerge pull request #30596 from nextcloud/fix/static_analysis
John Molakvoæ [Fri, 14 Jan 2022 07:46:37 +0000 (08:46 +0100)]
Merge pull request #30596 from nextcloud/fix/static_analysis

2 years agoImplement multibucket shift for ObjectStore 30660/head
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>
2 years ago[tx-robot] updated from transifex
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>
2 years agoMerge pull request #30599 from nextcloud/backport/29118/stable21
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

2 years agoFix static analysis on CI 30596/head
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>
2 years agoFix idn emails not working in shares 30642/head
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>
2 years agoadd better index for finding unindexed paths 30599/head
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>
2 years agoMerge pull request #30638 from nextcloud/backport/30620/stable21
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

2 years agoProperly hide progress bar after error 30638/head
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>
2 years agoProperly abort uploads
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>
2 years ago[tx-robot] updated from transifex
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>
2 years agoUpdate lib/private/BackgroundJob/JobList.php 30633/head
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>
2 years agoMerge pull request #30629 from nextcloud/backport/30593/stable21
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

2 years agoReset job disabling timer on adding the job again
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>
2 years agoTrigger "changeDirectory" even on URL change 30629/head
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>
2 years agoMerge pull request #30617 from nextcloud/backport/30609/stable21
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

2 years agoMerge pull request #30601 from nextcloud/backport/30291/stable21
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.

2 years agoFix RequestURL check for cli commands 30617/head
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>
2 years ago[tx-robot] updated from transifex
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>
2 years agoPrevent loading images that would require too much memory. 30601/head
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>
2 years agoMerge pull request #30590 from nextcloud/backport/30571/stable21
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

2 years agoMerge pull request #30579 from nextcloud/backport/30565/stable21
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

2 years agoMerge pull request #30583 from nextcloud/bugfix/noid/npm-ci-for-karma/stable21
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

2 years agofix: only use jquery once it is available 30590/head
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>
2 years agoFix fail when keys/files folder already exists 30579/head
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>
2 years agoUpdate package-lock in build dir 30583/head
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>
2 years ago[tx-robot] updated from transifex
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>
2 years agoRecompile JS
Vincent Petry [Mon, 10 Jan 2022 16:50:42 +0000 (17:50 +0100)]
Recompile JS

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoFix JS tests after test lib updates
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>
2 years agoMake chokidar happy with fsevents
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>
2 years agoUpdate node deps for JS tests
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>
2 years agoUse npm ci when running JS tests
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>