• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6986: Enhancements and code clean-up

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension LdapNgPlugin Enhancement Closed   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


New config parameters

  • $TWiki::cfg{Plugins}{LdapNgPlugin}{UseDefaultServer}
  • $TWiki::cfg{Plugins}{LdapNgPlugin}{DisableLDAPUSERS}
  • $TWiki::cfg{Plugins}{LdapNgPlugin}{Helper}
  • $TWiki::cfg{Plugins}{LdapNgPlugin}{CacheBlob}

New parameter to %LDAP{...}%

  • separator
  • default
  • required

Code cleanup

  • The writeDebug function no longer has "if DEBUG". Individual callers now have "writeDebug($MESSAGE) if DEBUG;" This is more efficient because "if DEBUG" is evaluated at the compile phase of the Perl interpreter.
  • reverse, hidenull, refresh parameter values are now processed by TWiki::Func::isTrue() instead of comparing their values with 'on'
  • Perl 5.8 and later wasn't well supported with Unicode handling. Now it's fine.

Extension by $TWiki::cfg{Plugins}{LdapNgPlugin}{Helper}

Now you can extend the LDAP search behavior by a helper class specified by $TWiki::cfg{Plugins}{LdapNgPlugin}{Helper}.

-- TWiki:Main/HideyoImazu - 2012-10-15

Suggestion to make enhancements orthogonal to SEARCH:

  • Keep hidenull, but as an undocumented feature.
  • Rename ifnull to default.

-- TWiki:Main.PeterThoeny - 2012-10-16

As per your suggestion, ifnull has been renamed to default.

hidenull has been documented at least since 2011-01-14. Should it be made undocumented even so?

-- TWiki:Main.HideyoImazu - 2012-10-17

Up to you. If you feel hidenull is covered by the default functionality, undocuments it, else keep it documented.

-- TWiki:Main.PeterThoeny - 2012-10-17

Summary Enhancements and code clean-up
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4
SVN Range

AppliesTo Extension
Component LdapNgPlugin
Priority Enhancement
CurrentState Closed

Checkins TWikirev:23647 TWikirev:23648 TWikirev:23649 TWikirev:23650 TWikirev:23675
TargetRelease n/a

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r11 - 2013-02-19 - HideyoImazu
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback