summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
Commit message (Collapse)AuthorAgeFilesLines
* LDAP simplify User_Proxy and Group_Proxy signaturesArthur Schiwon2020-10-2317-309/+127
| | | | | | | | | - make User_Proxy and Group_Proxy easy to instantiate - simplify dependent code - move commands to info.xml - make UpdateGroups job class non-static Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* tame psalm. why does it ignore '@property'?Arthur Schiwon2020-10-191-5/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* when nesting is not enabled, the group filter can be applied right awayArthur Schiwon2020-10-192-7/+42
| | | | | | | | - helps performance, but skipping unnecessary entries - reduces reoccuring info-level log output against groups that do not qualify ("no or empty name") Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* [tx-robot] updated from transifexNextcloud bot2020-10-122-0/+2
|
* [tx-robot] updated from transifexNextcloud bot2020-10-102-0/+8
|
* Format code to a single space around binary operatorsChristoph Wurst2020-10-0524-181/+181
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update autloaderRoeland Jago Douma2020-09-241-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [tx-robot] updated from transifexNextcloud bot2020-09-212-4/+4
|
* Bump versionsJoas Schilling2020-09-181-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [tx-robot] updated from transifexNextcloud bot2020-09-156-4/+20
|
* announce added user and group backend later as there might be interdepsArthur Schiwon2020-09-111-3/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* switch to typed event for LDAPs user added to group caseArthur Schiwon2020-09-101-1/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-072-2/+2
| | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add repair step to clean up DB off lastFeatureRefresh entries in user prefsArthur Schiwon2020-09-044-1/+69
| | | | | | - also removes related app setting "updateAttributesInterval" Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* these code bits were part of old logic that was already refactored outArthur Schiwon2020-09-042-132/+0
| | | | | | - only references were in unit tests Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* [tx-robot] updated from transifexNextcloud bot2020-08-272-2/+2
|
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-2425-11/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [tx-robot] updated from transifexNextcloud bot2020-08-222-2/+2
|
* Use matching parameter names form interfaces and implementationsMorris Jobke2020-08-192-10/+14
| | | | | | Found by Psalm 3.14.1 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix "misplaced variables" warning of Psalm in PHPDoc statementsMorris Jobke2020-08-171-1/+1
| | | | | | Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #22221 from nextcloud/fix/19097/ldap-depracted-eventblizzz2020-08-145-5/+117
|\ | | | | provide event class and typed event to LDAP loaded event; also fixing a logged deprecation message
| * provide event class to LDAP loaded event to fix deprecation messageArthur Schiwon2020-08-125-5/+117
| | | | | | | | | | | | * and also dispatch the typed event as current approach to it Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | [tx-robot] updated from transifexNextcloud bot2020-08-142-2/+2
| |
* | [tx-robot] updated from transifexNextcloud bot2020-08-132-20/+20
| |
* | Merge pull request #22199 from ↵Morris Jobke2020-08-1214-80/+80
|\ \ | |/ |/| | | | | nextcloud/techdebt/noid/PHPUnit_Framework_MockObject_MockObject Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to …
| * Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-1214-80/+80
| | | | | | | | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | remove logging message carrying no valuable informationArthur Schiwon2020-08-121-8/+5
| | | | | | | | | | | | | | | | the exception caught is not an error, but due to valid configuration and code flow is expecting this. For an admin it is confusing, and it carries no information worth for debugging. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | do not flip available state to unavailable, allow empty resultsArthur Schiwon2020-08-113-13/+41
| | | | | | | | | | | | | | | | | | - the detection relies that the first, requested result is not empty - it might be empty though – groups without members - protect switching from available to unavailable - switching the other way around was also not envisaged either Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | LDAP: shortcut in reading nested group members when IN_CHAIN is availableArthur Schiwon2020-08-113-0/+38
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #22176 from ↵Morris Jobke2020-08-112-2/+2
|\ | | | | | | | | nextcloud/debt/noid/table-render-too-many-arguments Remove unexpected argument
| * Remove unexpected argumentDaniel Kesselberg2020-08-102-2/+2
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | use break not continue in switch to avoid warningArthur Schiwon2020-08-101-5/+5
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #16737 from tofuSCHNITZEL/feature-zimbraldapblizzz2020-08-073-85/+131
|\ | | | | new Group-Member association attribute (zimbraMailForwardingAddress)
| * added "zimbraMailForwardingAddress" as a Group-Member association attribute ↵Tobias Perschon2020-08-073-85/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to enable the use of Zimbra Distribution Lists as groups in nextcloud when connecting to a zimbra LDAP Signed-off-by: Tobias Perschon <tobias@perschon.at> fix cs:check Signed-off-by: Tobias Perschon <tobias@perschon.at> Update apps/user_ldap/lib/Group_LDAP.php Co-authored-by: blizzz <blizzz@arthur-schiwon.de> Signed-off-by: Tobias Perschon <tobias@perschon.at>
* | Merge pull request #21738 from ↵Morris Jobke2020-08-071-1/+10
|\ \ | |/ |/| | | | | nextcloud/techdebt/14552/migrate-OC_Group-post_removeFromGroup Migrate OC_Group post_removeFromGroup hook to actual event object
| * Migrate OC_Group post_removeFromGroup hook to actual event objectMorris Jobke2020-07-301-1/+10
| | | | | | | | | | | | | | | | Ref #14552 This adds a BeforeUserRemovedEvent to the LDAP backend because it was missing. It's not really before, but we don't have the before state. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | [tx-robot] updated from transifexNextcloud bot2020-08-062-2/+2
| |
* | Merge pull request #22043 from nextcloud/fix/21892/reset-internal-cookie-stateMorris Jobke2020-07-311-1/+11
|\ \ | | | | | | reset the cookie internally in new API when abandoning paged results op
| * | reset the cookie internally in new API when abandoning paged results opArthur Schiwon2020-07-291-1/+11
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / [tx-robot] updated from transifexNextcloud bot2020-07-312-0/+12
|/
* [tx-robot] updated from transifexNextcloud bot2020-07-284-4/+4
|
* Use the proper IAppContainer and IServerContainer type hints to know which ↵Morris Jobke2020-07-211-11/+11
| | | | | | code runs with which container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-211-32/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21866 from nextcloud/techdebt/ldap-psr-containerMorris Jobke2020-07-201-12/+15
|\ | | | | Migrate LDAP to the PSR container
| * Migrate LDAP to the PSR containerChristoph Wurst2020-07-161-12/+15
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-202-2/+2
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | [tx-robot] updated from transifexNextcloud bot2020-07-172-2/+2
|/
* [tx-robot] updated from transifexNextcloud bot2020-07-162-2/+2
|
* Use IBootstrap for the app user_ldapMorris Jobke2020-07-142-72/+57
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Do not use custom DI object names for user_ldapMorris Jobke2020-07-1315-29/+37
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>