Commit Graph

58699 Commits (301ecd0fc038060d8aa1683a4e09f882b99d239f)
 

Author SHA1 Message Date
John Molakvoæ 301ecd0fc0
Merge pull request #30660 from nextcloud/backport/29622/stable21 2022-01-20 10:22:22 +07:00
Nextcloud bot 259f49e879
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-20 02:27:41 +07:00
John Molakvoæ ba63da7a37
Merge pull request #30755 from nextcloud/backport/30738/stable21 2022-01-19 11:04:03 +07:00
John Molakvoæ 885c297bda
Merge pull request #30749 from nextcloud/backport/30615/stable21 2022-01-19 10:45:29 +07:00
Joas Schilling cbaa40a692 Create block-merge-freeze.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-19 09:27:19 +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
Christopher Ng b3bef4a65d Update autoload
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-19 02:25:57 +07:00
Christopher Ng 2083ed7206 Improve installation pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 22768769c3)
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-19 00:56:08 +07:00
Carl Schwan 6e193466e1
Merge pull request #30737 from nextcloud/backport/30470/stable21
[stable21] Hash job argument
2022-01-18 17:12:19 +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
blizzz df8d6f95b6
Merge pull request #30680 from nextcloud/release/21.0.8rc2
21.0.8 RC2
2022-01-17 12:07:00 +07:00
Louis 22fcd65717
Merge pull request #30633 from nextcloud/backport/30358/stable21
[stable21] Reset job disabling timer on adding the job again
2022-01-17 10:42:59 +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
Nextcloud bot ad9fbd70c4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-17 02:26:11 +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
John Molakvoæ 361303d838
Merge pull request #30677 from nextcloud/backport/stable21/30597 2022-01-14 17:30:45 +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
John Molakvoæ 08c6f1c478
Merge pull request #30676 from nextcloud/backport/30275/stable21 2022-01-14 16:45:44 +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
Arthur Schiwon 3c12390b5d
21.0.8 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-14 12:52:29 +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
Carl Schwan 258e0166af
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 1fa58be1aa)
2022-01-14 12:11:14 +07:00
Joas Schilling 8263209ffa Add version of disabled apps when available
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 11:09:41 +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
John Molakvoæ 19e6ffd878
Merge pull request #30596 from nextcloud/fix/static_analysis 2022-01-14 08:46:37 +07:00
John Molakvoæ 6b94630f44
Implement multibucket shift for ObjectStore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 08:39:37 +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
MichaIng c7e45eee58
Merge pull request #30599 from nextcloud/backport/29118/stable21
[stable21] add better index for finding unindexed paths
2022-01-13 23:02:21 +07:00
Louis Chemineau 9227e4e6ba Fix static analysis on CI
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-13 18:10:24 +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
Robin Appelman 3a1935b7ff
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>
2022-01-13 15:48:14 +07:00