Commit Graph

24782 Commits (e73848c570e290fa4ebcab2e500537599eaab2f9)

Author SHA1 Message Date
Nextcloud bot 259f49e879
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-20 02:27:41 +07:00
Nextcloud bot cf3c3d129c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-19 02:27:57 +07:00
Julius Härtl b9e3fb02ff
Add hashed attribute column for indexed job existence check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-18 15:16:40 +07:00
Nextcloud bot 2433e32d70
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-18 02:45:40 +07:00
Carl Schwan 77e2427434
Merge pull request #30682 from nextcloud/backport/30531/stable21
[stable21] Optimize FileSystemTags workflow for groupfolder
2022-01-17 10:14:56 +07:00
John Molakvoæ eb8b7b8218
Merge pull request #30686 from nextcloud/backport/30499/stable21 2022-01-17 08:57:06 +07:00
John Molakvoæ f3df26e22a
Merge pull request #30665 from nextcloud/backport/30530/stable21 2022-01-16 12:01:18 +07:00
Nextcloud bot 2bfcbe4aba
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-16 02:27:26 +07:00
Nextcloud bot 69af22659a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-15 02:27:26 +07:00
Vincent Petry 21e12e1c4f 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>
2022-01-14 16:09:00 +07:00
Carl Schwan 396157af18 Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:59 +07:00
Carl Schwan 73e402f715 Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:54 +07:00
Carl Schwan a735773d71 The storage is not static anymore
Don't call twice $cache->getId

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:53 +07:00
Carl Schwan 31fb8d0c71 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>
2022-01-14 14:16:51 +07:00
Carl Schwan 990259f9d8
Merge pull request #30669 from nextcloud/backport/30363/stable21
[stable21] improve accessibility settings on mobile
2022-01-14 14:11:43 +07:00
blizzz 0738110f01
Merge pull request #30667 from nextcloud/backport/30568/stable21
[stable21] Fix primary key change in user_ldap migration
2022-01-14 12:20:45 +07:00
szaimen 8a4ab10a8b address 2nd review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-14 09:38:55 +07:00
szaimen c9d93744b0 address review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-14 09:38:54 +07:00
szaimen af87126c78 improve accessibility settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-14 09:38:51 +07:00
Carl Schwan e966ddea8a
Merge pull request #30642 from nextcloud/backport/30600/stable21
[stable21] Fix idn emails not working in shares
2022-01-14 10:07:47 +07:00
John Molakvoæ 99e3b61ff5
Fix linkToRoute 2022-01-14 09:48:44 +07:00
Côme Chilliet 7ebbee52b7 Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:43:46 +07:00
Joas Schilling c49bb41ef9 Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 08:43:45 +07:00
Côme Chilliet 417e76cd2d Fix user_ldap migration for long DNs support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:43:45 +07:00
Côme Chilliet a56ef49033 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>
2022-01-14 08:43:44 +07:00
Côme Chilliet 655dfcda01 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>
2022-01-14 08:43:43 +07:00
Côme Chilliet e9d7ab15fc 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>
2022-01-14 08:43:42 +07:00
John Molakvoæ 3500ef156a Fix wrong unified search link to folder
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 08:38:22 +07:00
Nextcloud bot 46d6e26480
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-14 02:28:27 +07:00
Carl Schwan 2f10bc14f7
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>
2022-01-13 17:19:28 +07:00
Vincent Petry 3a230b8dba 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>
2022-01-13 08:35:52 +07:00
Vincent Petry 7ac4856b10 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>
2022-01-13 08:35:51 +07:00
Nextcloud bot bbdc84ef1c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-13 02:26:53 +07:00
Vincent Petry 672669ca98 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>
2022-01-12 13:56:58 +07:00
Carl Schwan 056b109b69 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>
2022-01-12 09:07:01 +07:00
Nextcloud bot b7f3c7c8d6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-12 02:27:17 +07:00
Vincent Petry 477a693bb2
Merge pull request #30583 from nextcloud/bugfix/noid/npm-ci-for-karma/stable21
[stable21] Use npm ci when running JS tests
2022-01-11 14:05:55 +07:00
Vincent Petry dcb121958d 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>
2022-01-11 08:47:39 +07:00
Nextcloud bot be642889ec
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-11 02:27:25 +07:00
Vincent Petry eed0b7dbb1
Recompile JS
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 19:27:22 +07:00
Vincent Petry 9b5c5d0cfe
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>
2022-01-10 19:08:28 +07:00
Nextcloud bot ea94d34845
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-10 02:26:52 +07:00
Carl Schwan e18c8b5b40 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>
2022-01-09 17:46:42 +07:00
Nextcloud bot 0621eb9f60
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-09 02:26:41 +07:00
Simon L 62a9fd5b99
Merge pull request #30454 from nextcloud/backport/30420/stable21
[stable21] improve status modal
2022-01-08 11:41:49 +07:00
szaimen a1fc749ee3 fix compiling
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-08 09:35:51 +07:00
Nextcloud bot ea96a9e7e0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-08 02:26:44 +07:00
Joas Schilling 799b4d5a56
Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-07 09:32:20 +07:00
John Molakvoæ 1c8c075f32
Merge pull request #30482 from nextcloud/backport/30423/stable21 2022-01-07 08:49:00 +07:00
John Molakvoæ 191d9b7f47
Merge pull request #28657 from nextcloud/backport/28419/stable21 2022-01-07 08:45:14 +07:00