summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/helper.php
Commit message (Collapse)AuthorAgeFilesLines
* Happy new year!Thomas Müller2016-01-121-1/+1
|
* More cleanups of OC_Config usageMorris Jobke2015-12-031-1/+1
|
* Fix doc blocks of LDAP classesJoas Schilling2015-10-151-1/+0
|
* allow login names to be used for s2s with LDAP usersArthur Schiwon2015-04-131-0/+31
|
* Update license headersJenkins for ownCloud2015-03-261-13/+17
|
* Revert "Updating license headers"Morris Jobke2015-02-261-17/+14
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-14/+17
|
* LDAP User Cleanup: Port from stable7 without further adjustementsArthur Schiwon2014-12-191-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LDAP User Cleanup background job for user clean up adjust user backend for clean up register background job remove dead code dependency injection make Helper non-static for proper testing check whether it is OK to run clean up job. Do not forget to pass arguments. use correct method to get the config from server methods can be private, proper indirect testing is given no automatic user deletion make limit readable for test purposes make method less complex add first tests let preferences accept limit and offset for getUsersForValue DI via constructor does not work for background jobs after detecting, now we have retrieving deleted users and their details we need this method to be public for now finalize export method, add missing getter clean up namespaces and get rid of unnecessary files helper is not static anymore cleanup according to scrutinizer add cli tool to show deleted users uses are necessary after recent namespace change also remove user from mappings table on deletion add occ command to delete users fix use statement improve output big fixes / improvements PHP doc return true in userExists early for cleaning up deleted users bump version control state and interval with one config.php setting, now ldapUserCleanupInterval. 0 will disable it. enabled by default. improve doc rename cli method to be consistent with others introduce ldapUserCleanupInterval in sample config don't show last login as unix epoche start when no login happend less log output consistent namespace for OfflineUser rename GarbageCollector to DeletedUsersIndex and move it to user subdir fix unit tests add tests for deleteUser more test adjustements Conflicts: apps/user_ldap/ajax/clearMappings.php apps/user_ldap/appinfo/app.php apps/user_ldap/lib/access.php apps/user_ldap/lib/helper.php apps/user_ldap/tests/helper.php core/register_command.php lib/private/preferences.php lib/private/user.php add ldap:check-user to check user existance on the fly Conflicts: apps/user_ldap/lib/helper.php forgotten file PHPdoc fixes, no code change and don't forget to adjust tests
* Split mapping from Access and Helper classes into it's own. Fully test them, ↵Arthur Schiwon2014-12-191-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | too. remove unused methods split mapping methods off from Access class fix DB query handling move 'clear mapping' methods from static helper to new mapping class add tests test directly with DB finishing tests and fix return value from setDNbyUUID add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class. add missing info to PHPDoc add unmap method fix namespaces fix test inheritance PHPDoc and a small code restructure for scrutinizer, no effective changes PostgreSQL does not accept LIMIT in DELETE queries phpdoc fixes, no code changes
* Add a CLI command that deletes an LDAP configMartin Konrad2014-09-301-3/+0
| | | | | With this change LDAP configurations can be managed completely from the command line.
* adding unit test to truncate the tableThomas Müller2014-09-161-1/+1
|
* Use Doctrine Platform to generate SQL query for table truncation.Andreas Fischer2014-08-291-8/+3
|
* Backport subset of #4179, re-established Oracle compatibility for LDAPArthur Schiwon2014-06-201-1/+2
| | | | | Conflicts: apps/user_ldap/lib/access.php
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-4/+4
| | | | * test case added to avoid adding them later
* Use proper PHPDoc and variable names in the LDAP libLukas Reschke2014-05-111-6/+6
| | | | My IDE was so sad about this that it marked the whole file in red and yellow and forced me to fix this.
* Fixed configkey casing for PostgreSQLVincent Petry2014-03-031-1/+1
|
* LDAP: prevent other configuration from being deleted when deleting the first ↵Arthur Schiwon2014-02-141-0/+6
| | | | one which has an empty prefix for historical reasons
* user workarount to compare CLOB column with CHAR valueJörn Friedrich Dreyer2014-01-211-4/+11
|
* LDAP Wizard: autodetect base DNArthur Schiwon2013-10-171-0/+21
|
* LDAP: Show Host name in configuration drop downArthur Schiwon2013-08-151-0/+28
|
* fix numRows usage in user_ldapJörn Friedrich Dreyer2013-06-241-3/+3
|
* LDAP: sqlite compatibility for emptyiing tablesArthur Schiwon2013-05-311-1/+7
|
* Merge branch 'master' into ldap_configurable_username_n_uuidArthur Schiwon2013-05-131-1/+1
|\
| * Use !== and === in user_ldap app – Part 2kondou2013-04-201-1/+1
| |
* | LDAP: Implement clear mappings functionalityArthur Schiwon2013-05-081-0/+25
|/
* LDAP: specify appid when selecting from appconfigArthur Schiwon2013-03-191-1/+2
|
* Fix quoting of query for user_ldap ref #1983Brice Maron2013-03-021-3/+3
|
* Whitespace fixesBart Visscher2013-02-221-1/+0
|
* spell checkThomas Mueller2013-01-311-2/+2
|
* LDAP: some inline documentationArthur Schiwon2013-01-301-0/+5
|
* LDAP: make sure app meta data is not deleted from database when deleting ↵Arthur Schiwon2013-01-301-1/+2
| | | | configuration with empty prefix
* LDAP: make it possible to enable/disable server configurationsArthur Schiwon2013-01-241-4/+10
|
* LDAP: implement deleteConfiguration featureArthur Schiwon2013-01-241-10/+37
|
* LDAP: add missing new LDAP HelperArthur Schiwon2013-01-241-0/+66