1. 12 Jan, 2015 1 commit
  2. 24 Dec, 2014 1 commit
  3. 20 Dec, 2014 1 commit
  4. 19 Dec, 2014 2 commits
    • Arthur Schiwon's avatar
      LDAP User Cleanup: Port from stable7 without further adjustements · 4fa39250
      Arthur Schiwon authored
      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
      add ldap:check-user to check user existance on the fly
      forgotten file
      PHPdoc fixes, no code change
      and don't forget to adjust tests
    • Arthur Schiwon's avatar
      Split mapping from Access and Helper classes into it's own. Fully test them, too. · ec0f80fe
      Arthur Schiwon authored
      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
  5. 17 Dec, 2014 1 commit
  6. 08 Dec, 2014 2 commits
  7. 04 Dec, 2014 1 commit
    • Arthur Schiwon's avatar
      Forward port of #12493 · ee168a12
      Arthur Schiwon authored
      add ldap-search command to occ
      LDAP search filter creation changes:
      1. do not prepend * wildcard to search terms. Will result in faster search, but
      you don't find "foobar"  when looking for "bar"
      2. advanced behaviour when search string contains a space and multiple search
      attributes are present. The search string is split into single words. The
      resulting filter requires that each word at least appears once in any search
      attribute. This is supposed to return better results in big LDAPs.
      trim search string before passing it on
  8. 21 Nov, 2014 1 commit
  9. 20 Nov, 2014 3 commits
  10. 11 Nov, 2014 1 commit
  11. 03 Nov, 2014 1 commit
  12. 17 Oct, 2014 1 commit
  13. 01 Oct, 2014 1 commit
  14. 30 Sep, 2014 4 commits
  15. 11 Aug, 2014 1 commit
  16. 11 Jul, 2014 1 commit
  17. 10 Jul, 2014 1 commit
  18. 08 Jul, 2014 1 commit
    • Arthur Schiwon's avatar
      support for AD primary groups · da490bdb
      Arthur Schiwon authored
      support for primary groups
      actually the problem is only known on AD, it is only needed to take care of their attributes
      adjust to ADs special behaviour
      this change was not intended
      cache the SID value so it is not requested over and over again
      theres only one, use singular
      we are access
      add tests for new Access methods
      add tests for new Group methods
      address scrutinizer findings, mostly doc
      call ldap_explode_dn from ldap wrapper, enables tests without php5-ldap
      PHP Doc
      yo dawg, i heard you like backslashes … php doc fix
      PHPDoc updated and typos fixed while reviewing
  19. 25 Jun, 2014 2 commits
    • Arthur Schiwon's avatar
      adjust access constructor to master · 89f26915
      Arthur Schiwon authored
    • Arthur Schiwon's avatar
      Port of LDAP Wizard: get correct total no of users, groups and complete list... · 452efa5f
      Arthur Schiwon authored
      Port of  LDAP Wizard: get correct total no of users, groups and complete list of groups on big setups #9002
      fix PHPdoc
      add method to count groups on LDAP
      LDAP Wizard: count users and groups with the power of paged search
      consolidate requirement check
      fix PHPdoc
      Wizard: get really all groups from LDAP by power of Paged Search
      make all this work in an early configuration state in the wizard by marking  the config active and ignoring the validation state.
      simplify two methods a bit, because they are not used for group search anymore
      remove unused vars; increase scrutinizer happiness
  20. 20 Jun, 2014 1 commit
  21. 05 Jun, 2014 1 commit
  22. 03 Jun, 2014 2 commits
  23. 19 May, 2014 1 commit
  24. 16 May, 2014 3 commits
  25. 12 May, 2014 1 commit
  26. 11 May, 2014 2 commits
  27. 22 Apr, 2014 2 commits