Release of v2.3.1

Turbo Fredriksson <[email protected]> Mon, 22 Aug 2005 09:34:45 +0200
Newsgroups gmane.mail.qmail.ldap.phpqladmin
Organization Bah!
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

New UNSTABLE (!!) release. This release
most notable changes is the support for
Samba (sambaSamAccount) accounts and more
API rewrites.


PLEASE, PLEASE _test_ this so that I can
make this (2.3 branch) the new STABLE. It's
getting VERY close to what i want/intend
with phpQLAdmin before I start rewriting the
GUI - must be prettier :)

If anyone have any layout suggestions for
the up-comming 2.5 (next UNSTABLE) I'd be
happy. It's perfectly ok with picture or
pointers to how you'd like it to look
(examples on other web pages that have
the look you wish for).

Code will naturaly (!! :) be accepted
as well...


phpQLAdmin 2.3.1 Release (Aug 22 2005)
	Bug fixes
	  - Remove a duplicated 'if user is (super)admin' check in tables/user_details-access.inc.
	  - It is (very) possible for a user to have only ONE mail alias. In that case,
	    additionals isn't an array. So only do a foreach() if it IS and send the
	    alias directly to LDAP if it ISN'T.
	  - To be able to figure out if we should auto add locals or not, we're using
	    the root DN value for (this) host. But the root DN isn't supplied, so get
	    it.
	  - Spelling error in the pql_get_define() that retreives the 'auto add locals'
	    value: s/branch/rootdn/.
	  - Don't send each itteration of locals retreival to the LDAP server. Do that
	    ONCE _AFTER_ all values have been gathered...
	  - In the pql_add2array() wrapper, make sure that 'old' really exists, not
	    only isn't array...
	  - Catch DNS TTL RDN's in pql_domain_del() as well (there's a space in it
	    that ldap_list() croacs about...
	  - Allow for additional domain name to be set (in tables/domain_details-default.inc)
	    even if it isn't an array...
	  - Allow for empty default domain value. This if one wants/need to clear the
	    current value.
	  - Do not force locals and rcpthosts as array if automatic replication is set
	    (when asking for new value).
	  - Allow old values fetched from LDAP to be set but not array.
	  - Support ADDING and REPLACING additional domain name(s) by fixing
	    hardcoded call to 'array(delval, '')' for pql_control_update_domains().
	  - Missing semi-colon added after a pql_modify_attribute() call.
	  - Spelling error fixed in include/attrib.defaultdomain.inc: 's/$delval/$oldvalue/g'

	GUI layout changes
	  - Attachement (#64) for bug #275 changes the way the left-controls frame looks
	    (restrucured and more 'humane' wordings), changes the way 'multiple values'
	    are drawn. It also fixes sub-category buttons for/in all pages, much the way
	    the Domain/User views look like.
	  - The tables/control_details-nonprimmx.inc file is no longer used/needed since
	    include/attrib.control.nonprimmx.inc now works like the other control files
	    (with a print_view() and a print_form() function etc).
	  - If a password have been autogenerated, tick the 'Autogenerate password'
	    checkbox in the 'User data' create user page.
	  - Correctly retreive additional groups the user is member of. Patch by Aaron Collins.
	  - Add the 'memberuid' to list of attributes to allow editing (user_edit_attribute.php).
	    Patch by Aaron Collins.
	  - Instead of checking for 'system' type, check if the objectclass(es) we're
	    using to create the user with contains the 'posixAccount'. If it does,
	    THEN create the group object. Patch by Aaron Collins.
	  - Remove some 'MUST' and 'MAY' parameters from the pql_templates_check_attribute()
	    calls in tables/user_add-save.inc. If it's allowed, it's allowed! We don't
	    need to care if it's required or optional...
	    Patch by Aaron Collins.
	  - Deglobalize the "subbranch" value in tables/user_add-details.inc.
	  - Allow the creation of a Samba account. Patch by Aaron Collins.
	  - Show the NS, MX and AFSDB values correctly in the DNS view.
	  - Add 'empty table lines' between each template in the (user) templates view.
	  - In the pql_create_ldif() function, add a 'LDIF command separator' before
	    each command (not the very first though). This so that it can even easier
	    be cut-and-pasted...

	Schema changes
	  - Missing attributes 'relayMailFrom', 'maxRcptCount' and 'qmqpcIp' added.
	    1.3.6.1.4.1.7006.1.2.1.79 => 'relayMailFrom'
	    1.3.6.1.4.1.7006.1.2.1.80 => 'maxRcptCount'
	    1.3.6.1.4.1.7006.1.2.1.81 => 'qmqpcIp'

	API changes
	  - Rewrite and correctly implement caching. Not that I gained much, but still.
	    Example: Loading the left frame with my database (99 users) took 9 seconds
	             without caching and 6 seconds with...
	    No other speed increases where found (adding domains etc which usually take
	    some time).
	  - Complete rewrite of the include/attrib.config.inc:attribute_save() function.
	    Closes: #221
	  - Not so much a rewrite as cleanup of the include/pql_control.inc:pql_control_update_domains()
	    function. Move some parts as separate functions into include/pql_search.inc.
	    Closes: #258
	  - Not so much a rewrite as a cleanup of the include/attrib.additionaldomainname.inc
	    file. Remove duplication and redundant code. Simplify add/del/change decision(s).
	    Closes: #274
	    + Duplicate this fix in include/attrib.defaultdomain.inc.
	  - Changed the order parameters to pql_plugin_register() was specified.
	  - Add a parameter (label=...) to tools/navbutton.php instead of just sending the
	    label in argv[1].
	  - Remove the first parameter to pql_cache_add() - the DN. Better to take it from
	    the object (the previos second paramater, now the first and only). That way
	    we don't risk caching the object in the wrong place.
	  - New function - pql_format_table_empty() - to simplify the output of 'empty table
	    lines' (empty room between parts in a table).
	  - Some fixes in the pql_format_bool() function:
	    + If the input value is '0' or empty, don't do anything.
	    + Check for UPPER or lower cased true/false values.
	  - When retreiving a DN for a object and it (the object) IS cached, then
	    pql_search() will return a flat (one) object, so '$object[0]' isn't set...
	    Instead, '$object['dn']' IS set so return that...

	Misc changes
	  - Support sub-zones in the DNS manager. Only one level is supported at this
	    time though...
	  - Do some output buffer flushing at the end of each page. Might improve
	    performance somewhat (even though it don't seem like it).
	    Done with my own wrapper pql_flush().
	  - Use the PHP function empty() to check for set/unset variable. Patch by Aaron Collins.
	  - Include my templates as an LDIF in the demo directory.
	  - Support the file .DEBUG_PROFILING - show what time it is (as a UNIX timestamp)
	    at the start and end of the script. Might give SOME indication where speed
	    problems exists.
	  - Make sure that the browser don't cache the page(s). Add a 'Pragma: no-cache'
	    to header.html (which is included in almost every output script page).
	  - Rename the .DEBUG_ME_DEFINES to .DEBUG_DEFINES. More in line with the
	    other debug files...
	  - Create the file DEBUGGING.txt which describes how debuing can be done.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFDCYAKmlWzPKccHgARAhcnAJ9ueHzC1Oo+aZXY4bNxgKsaMyaP2QCePKTo
Di4OPXaCtG36BxWyKOnHFOE=
=aKe7
-----END PGP SIGNATURE-----