aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
Commit message (Collapse)AuthorAgeFilesLines
* Fix(l10n): Update translations from TransifexNextcloud bot2023-10-032-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #37201 from AaronDewes/fix/ldap-filter-generationCôme Chilliet2023-10-023-11/+9
|\ | | | | Fix: Escape group names for LDAP
| * Merge branch 'master' into fix/ldap-filter-generationAaron Dewes2023-09-2011-75/+103
| |\
| * | Fix testsAaron Dewes2023-08-131-2/+2
| | | | | | | | | | | | Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
| * | Simplify escapeFilterPartAaron Dewes2023-08-131-3/+1
| | | | | | | | | Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
| * | Escape some more valuesAaron Dewes2023-08-131-5/+5
| | | | | | | | | Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
| * | Fix: Escape group names for LDAPAaronDewes2023-08-131-1/+1
| | | | | | | | | | | | | | | | | | Groups may contain special characters (Like "(" or ")") that should be escaped to ensure geenrted queries are correct. Signed-off-by: AaronDewes <aaron.dewes@protonmail.com>
* | | Update apps/user_ldap/lib/User/User.phpMarcel Klehr2023-09-291-1/+1
| | | | | | | | | | | | Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | LDAP: Increase profile picture limit to 512Marcel Klehr2023-09-291-1/+1
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-282-3/+3
| | | | | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* | | Fix OCS-APIRequest header for OpenAPIjld31032023-09-271-8/+12
| | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | Add single status code descriptions for OpenAPIjld31032023-09-272-1/+3
| | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-09-262-0/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-09-222-0/+44
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Remove deprectated ILogger uses from user_ldap applicationCôme Chilliet2023-09-192-56/+28
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-09-192-6/+6
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #39128 from nextcloud/fix/35319/ldap-missing-avatarJulius Härtl2023-09-112-5/+22
|\ \
| * | fix(LDAP): add return type hint and descriptionArthur Schiwon2023-07-071-2/+2
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix(ldap): avatar is not being fetchedArthur Schiwon2023-07-052-3/+20
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Move new methods to a new interface in OCPCôme Chilliet2023-09-051-1/+2
| | | | | | | | | | | | | | | | | | | | | This avoids breaking compatibility for group backends not based on ABackend abstract class. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Fix psalm errors about groupExists return typeCôme Chilliet2023-09-052-9/+5
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Add batch methods in user backendsCarl Schwan2023-09-052-2/+35
| | | | | | | | | | | | | | | | | | This allows for faster group search with significantly less DB traffic Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Do not log passwords in debug modeAnna Larch2023-08-241-0/+9
| | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-08-142-4/+4
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-08-132-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-08-126-34/+334
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Add unique index for user_ldap group membershipsCôme Chilliet2023-08-101-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix check-group --update for deleted groupsCôme Chilliet2023-08-101-2/+10
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use BIGINT for new table id fieldCôme Chilliet2023-08-101-2/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Removed GroupCreatedEvent/GroupDeletedEvent from UpdateGroupsServiceCôme Chilliet2023-08-101-6/+0
| | | | | | | | | | | | | | This should be handled when mapping groups, not when registering their members. An empty group may still exist. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Dispatch UserRemovedEvents for removed groupsCôme Chilliet2023-08-101-0/+12
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | [user_ldap] Small perf improvements suggestion from reviewCôme Chilliet2023-08-102-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix check-group command for new groupsCôme Chilliet2023-08-101-6/+12
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix getKnownGroups return valueCôme Chilliet2023-08-101-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add output to check-group --update commandCôme Chilliet2023-08-101-1/+25
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Always empty cache before updating a groupCôme Chilliet2023-08-101-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix errors in UpdateGroupsService.phpCôme Chilliet2023-08-101-4/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add missing primary key for ldap_group_membershipCôme Chilliet2023-08-101-0/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add check-group commandCôme Chilliet2023-08-105-10/+199
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Move UpdateGroups methods to a serviceCôme Chilliet2023-08-105-233/+222
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add group events to UpdateGroupsCôme Chilliet2023-08-101-0/+7
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Update autoloader mapping for user_ldapCôme Chilliet2023-08-103-2/+12
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Refactor user_ldap group membership to use flat DBCôme Chilliet2023-08-106-91/+309
| | | | | | | | | | | | Move away from serialized arrays. Also use a QBMapper class for the new table. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #39058 from nextcloud/fix/fix-ldap-filters-for-empty-searchCôme Chilliet2023-08-081-2/+6
|\ \ | | | | | | Avoid adding (attribute=) part to filter which will confuse LDAP servers
| * | Avoid adding (attribute=) part to filter which will confuse LDAP serversCôme Chilliet2023-06-291-2/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Fix OpenAPI specsjld31032023-08-031-1/+1
| | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-08-032-8/+8
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | user_ldap: Add OpenAPI specjld31032023-07-312-76/+410
| | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-07-292-4/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix!: Remove symfony EventDispatcherInterface from UserJoas Schilling2023-07-271-2/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>