Commit graph

57192 commits

Author SHA1 Message Date
Carl Schwan
0c19c5c65a Fix search results filtering
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-25 10:10:12 +00:00
Nextcloud bot
c8ca2da5a6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-25 02:27:57 +00:00
Nextcloud bot
4614179268
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-24 02:27:07 +00:00
Nextcloud bot
93e7319ede
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-23 02:26:51 +00:00
Nextcloud bot
5356d221e4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-22 02:27:03 +00:00
Nextcloud bot
d98c41f920
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-21 02:27:29 +00:00
John Molakvoæ
44dc53d5c1
Merge pull request #30657 from nextcloud/backport/29622/stable20 2022-01-20 10:22:55 +01:00
Nextcloud bot
ccc86f80e9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-20 02:27:48 +00:00
Nextcloud bot
468339b553
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-19 02:28:04 +00:00
Vincent Petry
900d68e741
Merge pull request #30681 from nextcloud/backport/30531/stable20
[stable20] Optimize FileSystemTags workflow for groupfolder
2022-01-18 10:37:09 +01:00
Nextcloud bot
36cc5f2d7e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-18 02:45:47 +00:00
Carl Schwan
e5c54bd8ac
Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-17 14:39:31 +01:00
Côme Chilliet
eb570ad263
Merge pull request #30668 from nextcloud/backport/30568/stable20
[stable20] Fix primary key change in user_ldap migration
2022-01-17 14:10:40 +01:00
Côme Chilliet
d6b0ff4163
Functions executeQuery and executeStatement do not exists in 20
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-17 12:00:02 +01:00
Côme Chilliet
02e78231f9
Fix Types namespace for version 20
Use Doctrine\DBAL\Types\Types instead of OCP\DB\Types

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-17 10:34:52 +01:00
Nextcloud bot
8240626c68
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-17 02:26:20 +00:00
Nextcloud bot
7bfa1e7cfe
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-16 02:27:35 +00:00
Nextcloud bot
e5f712ed87
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-15 02:27:34 +00:00
Carl Schwan
33f49b13ed Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:09 +00:00
Carl Schwan
27334942ca 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:06 +00:00
Carl Schwan
a8539c8084 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:05 +00:00
Côme Chilliet
e20548731f Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:46:46 +00:00
Joas Schilling
56644bb15e Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 08:46:45 +00:00
Côme Chilliet
f2204af7b2 Fix user_ldap migration for long DNs support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:46:44 +00:00
Côme Chilliet
85f5fe6dda 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:46:44 +00:00
Côme Chilliet
d6d5f3d2f3 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:46:43 +00:00
Côme Chilliet
4b40402821 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:46:42 +00:00
John Molakvoæ
7ba126c00f
Implement multibucket shift for ObjectStore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 08:39:49 +01:00
Nextcloud bot
1ead55e45c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-14 02:28:34 +00:00
Nextcloud bot
b756fdbb78
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-13 02:27:01 +00:00
Nextcloud bot
9fe8dbda33
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-12 02:27:25 +00:00
Nextcloud bot
4a140589a7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-11 02:27:32 +00:00
Nextcloud bot
1089e79d2e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-10 02:26:59 +00:00
Nextcloud bot
e68f251dd1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-09 02:26:48 +00:00
Nextcloud bot
d2ab218f08
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-08 02:26:50 +00:00
Nextcloud bot
25678996b2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-07 02:28:30 +00:00
Côme Chilliet
84c4f8530b
Merge pull request #30269 from nextcloud/backport/29523/stable20
[stable20] Support LDAP dns longer than 255 characters
2022-01-06 11:28:18 +01:00
Côme Chilliet
8001bc38ea
Fix CI for mysql 5.6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-06 10:11:44 +01:00
Nextcloud bot
e6fab4288b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-06 02:28:47 +00:00
Nextcloud bot
d37f0c84a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-05 02:28:09 +00:00
Nextcloud bot
d9df9456cf
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-04 02:28:00 +00:00
Nextcloud bot
ec5ace6795
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-03 02:28:09 +00:00
Nextcloud bot
34495b5a84
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-01 02:27:35 +00:00
Nextcloud bot
3e03ef4b0c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-31 02:28:00 +00:00
Louis
a0a78158ad
Merge pull request #30342 from nextcloud/backport/29329/stable20
[stable20] fix potential unwarranted memberships in nested groups from LDAP
2021-12-30 14:12:06 +01:00
Arthur Schiwon
55a27ead50 fix potential unwarranted memberships in nested groups from LDAP
- the issue was present only when using PHP based resolving of nested
  group members. Normally nested members are common in AD (and Samba4) and
  are resolved per LDAP_MATCHING_RULE_IN_CHAIN by default
- resolving nested members is recursive
- when the cache entry was created it happend for intermediate groups, too,
  containing members from the parent group
- the check was added to only cache the root group with its members
- a runtime cache stores intermediate ldap read results


Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-12-30 10:25:14 +00:00
Nextcloud bot
d1d4c167df
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-30 02:28:31 +00:00
Nextcloud bot
901e8cac0a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-28 02:28:05 +00:00
Nextcloud bot
31b02ef9d8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-27 02:27:41 +00:00
Nextcloud bot
e06dafeeb6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-25 02:27:46 +00:00