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
AgeCommit message (Collapse)Author
2022-05-05Don't use slow hashing to check the LDAP bindingbackport/32246/stable24Carl Schwan
Using password_hash is expensive and should be used for hashing passwords when saving them in the database. Here we just want to see if the bind was already done with the given password, so use a fast hashing algorythm. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-07Fix createNamedParameter in LDAP migrationsJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-05Merge pull request #31661 from ↵blizzz
nextcloud/enh/user_ldap-add-command-to-unmap-groups Add ldap:reset-group command to unmap groups from LDAP
2022-04-04Merge pull request #30823 from nextcloud/work/profilerCarl Schwan
Built-in profiler This adds the required API for collecting information about requests. This information can then be displayed with the new 'profiler' app.
2022-04-04Add a built-in profiler inside NextcloudCarl Schwan
The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-01Fix user_ldap unit testsenh/user_ldap-add-command-to-unmap-groupsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-01Add missing fileCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-01Add type information to fix psalm errorCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-01Add ldap:reset-group command to unmap groups from LDAPCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-31Fix assignment of the LDAP Wizard connectionChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-03-31Avoid updating _lastChange when nothing is changed in the configurationfix/user_ldap-fix-last-change-updatesCôme Chilliet
Had to set at least one var when creating an empty configuration in order to save the default values. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-31Do not update _lastChanged on auto-detected attributesCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30Use the new octetLength function to filter lines to migrateCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30Adapt max length limit in AbstactMapping to match databaseCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30shrink ldap_dn column to 4000Arthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-30limit ldap_dn columns to 4000Arthur Schiwon
- enlarging string cols from 255 to more than 4000 fails on default Oracle installations for invalid datatype conversion Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-24Add octetLength and charLength to function builder, and testsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24Use getLengthExpression to measure field length instead of likeCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-18do not forget DB table prefix with truncate queryfix/noid/truncate-oracleArthur Schiwon
- as used in LDAP's AbstractMapping::clear() method - and in Comment's ManagerTest::setUp() - fixes a DB Exception with Oracle Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-17Merge pull request #31421 from ↵Côme Chilliet
nextcloud/fix/user_ldap-fix-ldap-connection-resets user_ldap fix ldap connection resets
2022-03-14Merge pull request #31542 from nextcloud/psalm-userCountsCarl Schwan
Fix psalm issue about userCounts
2022-03-14Use "use" to import namespacespsalm-userCountsCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-11Fix psalm issue about userCountsCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-08Fix similar potential problems with fetchOne loopsfix/user_ldap-fix-duplicated-empty-uuid-migrationCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08Fix duplicated UUID detection when there are empty uuidsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08Set $limit as int as well in Access::count private methodfix/user_ldap-fix-ldap-connection-resetsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03code styleArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-03be conservative when reading from fresh created columnArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-03Fix unit testsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03Fix types in OCA\User_LDAP\ConfigurationCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03Remove redundant is_array checkCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03Improve typing in user_ldap to detect problems earlyCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03Fix executeRead when connection is reset because of a timeoutCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17Make it explicit that a DN can be used for ldap:check-userCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17Improve typing in apps/user_ldap/lib/Command/CheckUser.phpCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17Remove parenthesis around return in apps/user_ldap/lib/Command/CheckUser.phpCôme Chilliet
Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17Fix ldap:check-user method for newly created LDAP usersCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-10Merge pull request #31073 from nextcloud/fix/user_ldap-fix-access-typingVincent Petry
Improve typing in OCA\User_LDAP\Access and reduce psalm errors
2022-02-10Fix psalm errors in apps/user_ldap/lib/Jobs/CleanUp.phpCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-10Fix ldap:update-uuidCôme Chilliet
Generators cannot be iterated with while or returned by an other generator, using foreach instead. And a few other problems. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-10add occ command to update UUIDs (incomplete)Arthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10allow to re-run migration step when backup DB is already createdArthur Schiwon
- to heal incomplete states from broken upgrades Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10invalidated duplicated UUIDs prior to migration changeArthur Schiwon
- in a proper setup there are no duplicated UUIDs - not all setups are proper - log warning to admin Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-08Remove mixed type not available in PHP 7.4Côme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-08Add a comment explaining how Helper::loginName2UserName can workCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-08Improve typing in OCA\User_LDAP\Access and reduce psalm errorsCôme Chilliet
This should avoid some PHP warning using PHP 8.1 and help detecting type trouble early in the future. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-04fix overwriting of SUCCESS and INVALID constsArthur Schiwon
- already defined in Symfony\Component\Console\Command\Command Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-13Remove useless indexes with duplicated names on backup tableCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13Fix user_ldap migration for long DNs supportCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13Move 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>