summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
Commit message (Collapse)AuthorAgeFilesLines
* Fix(l10n): Update translations from TransifexNextcloud bot2023-04-262-0/+38
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-04-258-0/+152
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #36784 from nextcloud/fix/user_ldap-update-groups-fail-getDaniel2023-04-241-1/+12
|\ | | | | Properly test and log when a group is not found
| * Properly test and log when a group is not foundCôme Chilliet2023-02-201-1/+12
| | | | | | | | | | | | | | Avoid an error about passing null instead of IGroup to the event constructor, instead skip the failed group and log the problem. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #37856 from march42/bugfix/ldap_profiledata_removedCôme Chilliet2023-04-241-12/+18
|\ \ | | | | | | removed profile data from LDAP will get removed
| * | code stylingMarc Hefter2023-04-241-5/+5
| | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marc Hefter <marchefter@march42.net>
| * | Update apps/user_ldap/lib/User/User.phpMarc Hefter2023-04-241-1/+1
| | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marc Hefter <marchefter@march42.net>
| * | removed profile data from LDAP will get removedMarc Hefter2023-04-211-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | If attribute mapping is configured and no value present in LDAP, the according profile field is emptied. Removing an attribute e.g. phone from LDAP will cause the phone number being removed from profile. Signed-off-by: Marc Hefter <marchefter@gmail.com>
* | | fix(assets): Optimize PNGs with optipng 0.7.7Joas Schilling2023-04-241-0/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(assets): Optimize SVGs with scour 0.38.2Joas Schilling2023-04-243-16/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-244-0/+76
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-236-16/+58
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-226-0/+114
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | chore(autoloader): Update autoloaders with composer 2.5.5Joas Schilling2023-04-213-11/+22
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #36565 from march42/feature/ldap_update_profileSimon L2023-04-206-1/+343
|\ \ | | | | | | [user_ldap] Update profile from LDAP fields
| * | optimized handling of user profile data changeMarc Hefter2023-04-141-1/+23
| | | | | | | | | | | | | | | | | | | | | Check profile data checksum before updating user profile, to ensure data has changed. Write checksum to user settings and cache. Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | error handling in update profile from LDAPMarc Hefter2023-04-111-1/+7
| | | | | | | | | | | | | | | | | | added error message on InvalidArgumentException Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | trying to make github-code-scanning bot happyMarc Hefter2023-04-061-2/+3
| | | | | | | | | | | | Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | added simple data conversion for LDAP attributesMarc Hefter2023-04-061-7/+19
| | | | | | | | | | | | Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | handling, formatting of postalAddress attribute syntaxMarc Hefter2023-04-061-24/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | replace '$' with ', ' delimiter for address property reformatted some code to 80 column early check and return, if wasRefreshed('profile') removed FIXMEs after digging and double checking Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | nice up the code handling AccountManagerMarc Hefter2023-04-065-83/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merging defaultScopes from DEFAULT_SCOPES and account_manager.default_property_scope removing unneccessary profileScope setting (using config.php instead) honoring admin choice 'profile.enabled'=>false in config.php moved checking for empty array to updateProfile function corrected some typos and cleaned some comments Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | refined code, to be independend from OCP\IUserMarc Hefter2023-04-066-56/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | rework updateProfile in user_ldap/lib/User/User.php some cleanup at processAttributes in user_ldap/lib/User/User.php rearranged Fediverse attribute, to match profile layout Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | fixing Psalm messagesMarc Hefter2023-04-061-8/+8
| | | | | | | | | | | | Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | handling updateProfile with array of valuesMarc Hefter2023-04-066-66/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | using an array to buffer profile updates, like suggested by @come-nc clean some code and remove unneccessary redundancy added the Fediverse profile property Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | CleanUp: removed redundant storing profile attributes in user settingsMarc Hefter2023-04-061-2/+0
| | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | CleanUp: removed redundant condition if blockMarc Hefter2023-04-061-4/+1
| | | | | | | | | | | | Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | CleanUp: tidy checking for empty profileScopeMarc Hefter2023-04-061-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | Fix: Parameter $scope has no provided typeMarc Hefter2023-04-061-4/+3
| | | | | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marc Hefter <marchefter@march42.net> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | CleanUp: remove unneeded UNSET, to unclutter codeMarc Hefter2023-04-061-7/+0
| | | | | | | | | | | | | | | Signed-off-by: march42 <marchefter@gmail.com> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | cleanup: removed unnecessary imports of IAccountManager, AccountManager, ↵Marc Hefter2023-04-061-4/+1
| | | | | | | | | | | | | | | | | | | | | IDBConnection Signed-off-by: Marc Hefter <marchefter@march42.net> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | fixed error: Array to string conversion at user_ldap/lib/User/User.php#639Marc Hefter2023-04-061-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Marc Hefter <marchefter@march42.net> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | bugfix: changed forgotten userName, to getUsernameMarc Hefter2023-04-061-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Marc Hefter <marchefter@march42.net> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | added user profile scope settingMarc Hefter2023-04-065-10/+33
| | | | | | | | | | | | | | | Signed-off-by: Marc Hefter <marchefter@march42.net> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | feature addition: [user_ldap] update user profile from LDAPMarc Hefter2023-04-061-20/+22
| | | | | | | | | | | | | | | Signed-off-by: Marc Hefter <marchefter@march42.net> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | feature addition: [user_ldap] update user profile from LDAP; WIP; fixing ↵Marc Hefter2023-04-066-4/+64
| | | | | | | | | | | | | | | | | | | | | some uggly copy-and-paste errors; testing functionality; preparing and editing the documentation Signed-off-by: Marc Hefter <marchefter@march42.net> Signed-off-by: Marc Hefter <marchefter@gmail.com>
| * | feature addition: [user_ldap] update user profile from LDAP; WIP ↵Marc Hefter2023-04-065-0/+226
| | | | | | | | | | | | | | | | | | work-in-progress; TODO update profile Signed-off-by: Marc Hefter <marchefter@march42.net>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-202-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-162-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | perform exact Ldap search as well to make sure it works for attributes ↵Julien Veyssier2023-04-131-0/+5
| | | | | | | | | | | | | | | | | | without a substr matching rule Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-04-132-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-04-064-2/+4
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #37575 from nextcloud/fix/user_ldap-log-suffix-namesArthur Schiwon2023-04-051-0/+9
|\ \ | | | | | | Log a warning when a user or group is mapped with a suffix
| * | Log a warning when a user or group is mapped with a suffixCôme Chilliet2023-04-041-0/+9
| | | | | | | | | | | | | | | | | | | | | Most of the time, this is the result of a misconfiguration by the admin and is not what is expected. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Fix types for reading and writing config valuesjld31032023-04-052-7/+7
|/ / | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-302-6/+6
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-282-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #37346 from nextcloud/fix/34557/undefined-getExtStorageHomeArthur Schiwon2023-03-272-1/+10
|\ \ | | | | | | fix undefined method getExtStorageHome()
| * | fix undefined method getExtStorageHome()Arthur Schiwon2023-03-222-1/+10
| | | | | | | | | | | | | | | | | | | | | - adds a type check - defines missing method in OfflineUser Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-276-0/+6
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-232-0/+2
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>