- LSsearch/LSsearchEntry : Added a new classes to doing and exploit ldap object search
authorBenjamin Renard <brenard@easter-eggs.com>
Fri, 30 Oct 2009 00:03:17 +0000 (00:03 +0000)
committerBenjamin Renard <brenard@easter-eggs.com>
Fri, 30 Oct 2009 00:03:17 +0000 (00:03 +0000)
commit3e823a2b227077f2f5868df7a069a32e3ae12c9a
tree32d908a84ff483b379e967b19472ed75c808b5e3
parentaaf08453239e2d164e662a678b302b0516eb9d0b
- LSsearch/LSsearchEntry : Added a new classes to doing and exploit ldap object search
  -> view/select => change to use it (php+template+js)
  -> LSattr_html_select_object/LSattr_html_select_list => change to use it
  -> LSldapObject :
    -> change listObjectsName() / searchObject() / getSelectArray() / listObjects()
    -> comment search() function
    -> Add triggers to clean cache
  -> LSpeople : Update search config
  -> LSsession  : Change function to use it :
    - getSubDnLdapServer()
    - loadLSprofiles()
- LSrelation : Deplace error codes declaration from LSsession in class file
- LSldapObject :
  -> change getObjectFilter() / getLabel() / getSubDnValue() / getSubDnName() for can call then staticaly
  -> Add afterModify() function and trigger
  -> Change getObjectFilter() / listObjectsInRelation() to use Net_LDAP2_Filter
  -> Add __get() function
  -> Move one LSerror code for LSrelation function from LSsession class file
  -> Add a global variable to save cached data ($cache)
  -> Change subDn and subDnName access methods
- LSauth : Move LSsession auth procedure in a dedicated class
  -> LSsession : Change startLSsession() to use it
- LSsession :
  -> Add getRootDn() function
  -> Fix getTopDn() to return root DN if no topDn is currently defined
  -> Create dedicated functions to support recoveryPassword mecanism :
    - recoverPasswd()
    - recoverPasswdSendMail()
    - recoverPasswdFirstStep()
    - recoverPasswdSecondStep
  -> Customize LSdebug return and display (php+js)
  -> Clean unused error codes
  -> Move LSrelation error codes
  -> Comment ajax method
17 files changed:
trunk/conf/LSobjects/config.LSobjects.LSpeople.php
trunk/conf/config.inc.php
trunk/includes/class/class.LSattr_html_select_list.php
trunk/includes/class/class.LSattr_html_select_object.php
trunk/includes/class/class.LSauth.php [new file with mode: 0644]
trunk/includes/class/class.LSldapObject.php
trunk/includes/class/class.LSrelation.php
trunk/includes/class/class.LSsearch.php [new file with mode: 0644]
trunk/includes/class/class.LSsearchEntry.php [new file with mode: 0644]
trunk/includes/class/class.LSsession.php
trunk/includes/js/LSselect.js
trunk/select.php
trunk/templates/default/select.tpl
trunk/templates/default/select_table.tpl
trunk/templates/default/viewList.tpl [deleted file]
trunk/templates/default/viewSearch.tpl [new file with mode: 0644]
trunk/view.php