Commit Graph

57289 Commits (stable20)
 

Author SHA1 Message Date
Nextcloud bot 5356d221e4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot d98c41f920
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
John Molakvoæ 44dc53d5c1
Merge pull request #30657 from nextcloud/backport/29622/stable20 2 years ago
Nextcloud bot ccc86f80e9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 468339b553
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Vincent Petry 900d68e741
Merge pull request #30681 from nextcloud/backport/30531/stable20
[stable20] Optimize FileSystemTags workflow for groupfolder
2 years ago
Nextcloud bot 36cc5f2d7e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Carl Schwan e5c54bd8ac
Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Côme Chilliet eb570ad263
Merge pull request #30668 from nextcloud/backport/30568/stable20
[stable20] Fix primary key change in user_ldap migration
2 years ago
Côme Chilliet d6b0ff4163
Functions executeQuery and executeStatement do not exists in 20
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
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>
2 years ago
Nextcloud bot 8240626c68
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 7bfa1e7cfe
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot e5f712ed87
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Carl Schwan 33f49b13ed Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Carl Schwan 27334942ca The storage is not static anymore
Don't call twice $cache->getId

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
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>
2 years ago
Côme Chilliet e20548731f Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Joas Schilling 56644bb15e Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Côme Chilliet f2204af7b2 Fix user_ldap migration for long DNs support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
John Molakvoæ 7ba126c00f
Implement multibucket shift for ObjectStore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Nextcloud bot 1ead55e45c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot b756fdbb78
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 9fe8dbda33
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 4a140589a7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 1089e79d2e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot e68f251dd1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot d2ab218f08
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 25678996b2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Côme Chilliet 84c4f8530b
Merge pull request #30269 from nextcloud/backport/29523/stable20
[stable20] Support LDAP dns longer than 255 characters
2 years ago
Côme Chilliet 8001bc38ea
Fix CI for mysql 5.6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Nextcloud bot e6fab4288b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot d37f0c84a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot d9df9456cf
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot ec5ace6795
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 34495b5a84
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 3e03ef4b0c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Louis a0a78158ad
Merge pull request #30342 from nextcloud/backport/29329/stable20
[stable20] fix potential unwarranted memberships in nested groups from LDAP
2 years ago
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>
2 years ago
Nextcloud bot d1d4c167df
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 901e8cac0a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 31b02ef9d8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot e06dafeeb6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 38d59d7e9e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 8e3a1d166d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 4e6a83e697
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago
Nextcloud bot 04b336a442
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago