Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
AgeCommit message (Collapse)Author
2022-01-14Optimize FileSystemTags workflow for groupfolderCarl Schwan
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-14Remove useless indexes with duplicated names on backup tableCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14Update autoloaderJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14Fix user_ldap migration for long DNs supportCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14Move duplicated code to a base class for group_mapping migrationsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-01-14Split dropTable and createTable in two migrationsCôme Chilliet
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-14Fix primary key change in user_ldap migrationCôme Chilliet
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[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-13[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-12[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-11[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-10[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-09[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-08[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-07[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-06Merge pull request #30269 from nextcloud/backport/29523/stable20Côme Chilliet
[stable20] Support LDAP dns longer than 255 characters
2022-01-06[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-05[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-04[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-03[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-01[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-31[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-30fix potential unwarranted memberships in nested groups from LDAPArthur Schiwon
- 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[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-27[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-25[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-22[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-21[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-20[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-19[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-17[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-16[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-15[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-14Adapt execute function name for stable21Côme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Bump user_ldap version to make sure the migration runsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Add missing copyright headers in migration stepsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Use clearer names for variablesCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Add an index for directory_uuid as wellCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Make sure that hash function returns a stringCôme Chilliet
The documentation says it can return false, and even if that is highly unlikely for sha256, better safe than sorry. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Add the columns and alter the index in Version1010Date20200630192842Côme Chilliet
This is to ensure new installations do not need to go through migration history. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Fixes in migration stepCôme Chilliet
We cannot set ldap_dn_hash column as notnull because it is empty for existing users before postSchemaChange is called Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Put back length check to have a clear errorCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Fixed migration step for user_ldapCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Fix variable namesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-14Change column names to ldap_dn and ldap_dn_hash and add migrationCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14Support LDAP dns longer than 255 charactersCôme Chilliet
Adds an ldap_full_dn column to store the dn, and only store a sha256 hash in the ldap_dn which is shorter and can be indexed without trouble. Migration still needs to be implemented. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-13[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>