2.6 Changelog

2000 2.6.7 - 2002/07/08
-----------------------
NEW FEATURES:
- Added OEM settings.
- Added interface settings.
- Added some autodocs comments.
- Added "width" parameter to VertFrame HUI container.
- Added "width" parameter to VertGroup HUI container.
- Added "border" parameter to Page HUI container.
- Added a border to the pages.
- Added a clean log function in Ampoliros and sites log pages.
- Added dedicated log for remote procedures in [PRIVATE DIR]/var/log/remote.log.
- Added AMP_REMOTE_LOG define for remote procedures log.
- Added remote procedures log page in root/info.php.
- Added Ampoliros cache feature (cache.library).
- Added cacheditems.xsql roottable.
- Added CACHE_PATH define for cache files.
- Added "doc/sdk/cache.txt" tutorial for cache feature.
- Added autodocs header to cron.library code.
- Added "underline" and "bold" parameters to Label HUI widget.
- Added AMP_HUI_COMMENTS define and configuration parameter for HUI
comments control.
- Added AMP_COMPRESSED_OB define and configuration parameter for
compressed output buffering control.
- Added advanced settings page in root/info.php in order to control
AMP_HUI_COMMENTS and AMP_COMPRESSED_OB configuration parameters.

CHANGES:
- Converted some other double quotes to single quotes.
- \Innomatic\Logging\Logger::CleanLog() now recreate the log file after it has been deleted.
- Rewrote cron.library to PHP coding standard. Added some logging too.

FIXES:
- Fixed SimpleCron::AddEntry() and SimpleCron::RemoveEntry()
(cron.library); due to the checks, adding and removing entries of
SIMPLECRONTYPE_REGULAR was not possible.



2000 2.6.6 - 2002/06/29 - "Module bundles"
-----------------------
NEW FEATURES:
- Added modules bundles feature. Now a collection of modules can be boundled
into a single archive file, so you can install/update a bunch of modules
with a single step. See doc/sdk/modules_bundles.txt for more info.
- Added checks before removing lock files during setup phase.
- Added logging of principal root administration functions.
- Added some useful status messages in administration pages.
- Added close widget in TitleBar Hui element.
- Added new window widget in TitleBar Hui element.
- Started code of root administration groups, users and profiles.
- Added the helpnodes for all the page (even if empty).
- Added setup.library with web setup code.
- Added a check in Module::Setup (modules.library) before attempting to create
the module directory.
- Added a php script (etc/websetup.php) that launches the second stage setup
from command line instead of web, taking arguments from a configuration
file (etc/websetup.cfg). Requires PHP cgi binary.
- Added PHP_EXECUTION_TIME_LIMIT optional configuration parameter in
etc/ampconfig.cfg, to set PHP execution time limit. Optional parameter.
- Added PHP_MEMORY_LIMIT optional configuration parameter in etc/ampconfig.cfg,
to set PHP memory limit.
- Added acceptlicense target in Makefile to skip license during installation.

CHANGES:
- Changed old help pages with the helpnode Hui element.
- Removed setup code from www/main.php.

FIXES:
- Fixed some locale strings.
- Fixed trouble with Hui::LoadAllWidgets() during installation in
www/main.php when setup finishes.
- Fixed the trouble with ConfigMan class (configman.library) when instancing
a new \Innomatic\Logging\Logger class; there was a strange inclusion of libraries.
- Fixed the wrong "/ampcgi/" links to CGI_URL.
- Fixed typo in log string in helpnode.library.
- Added missing forceinstall="true" in defs/structure.xml to helpnode
elements.



2000 2.6.5 - 2002/06/22
-----------------------
NEW FEATURES:
- Added some .cvsignore files in CVS repository.
- Added BUGS file.
- Added check for mandatory file uploads support during installation phase.
- Added troubleshooting answer for POST forms not passing the parameters.
- Added error handling for the not already handled PHP error types.
- Added some useful status messages in administration pages.

CHANGES:
- Completely reworked ConfigBase (configman.library) system.
- Changed updater binary in order to work with new ConfigBase system.
- Changed reference to $PHP_AUTH_x in xmlrpc.php cgi to $_SERVER['PHP_AUTH_x']
in order to work with PHP >= 4.1.0.
- Changed Ampoliros requirements, added file uploads requirement.
- Reformatted the documentation.
- Reformatted the Ampoliros header in all appliaple text files.

FIXES:
- ConfigBase class (configman.library) now doesn't screw anymore files with the
same base name.
- Removed a PHP warning when changing SimpleCron (cron.library) temporary files.
- Now old XmlRpc permissions are removed when uninstalling a module.
- Fixed a bug in ModuleDep::CheckModuleDep() (modules.library): when a module
has more than one dependency and one of them that is not the last one in list
is not met, the method reported that the dependecies were met.
- Fixed PHP version check handling.
- Fixed some wrong singles quotes in place of double quotes.
- Site::MakeDir (sites.library) now checks if the directory already exists
before attempting to create it.
- Function main_showmodule() root/modules.php now checks if the extracted
$elems is an array.
- Fixed some setup phase minor troubles in www/main.php.
- Added some missing checks when unlinking files in modules.library.



2000 2.6.4 - 2002/06/14
-----------------------
NEW FEATURES:
- Added ConfigBase class (configman.library).
- Added site link in main access page.
- Added hui-logo.gif cgi file.

CHANGES:
- Changed minimum required PHP version to 4.1.0.
- ConfigMan class (configman.library) is now a ConfigBase extension class.
- Disabled logging of PHP notices.
- Changed deprecated mysql_db_query() in mysql_query() in
dblayer_mysql.dblayer.
- Removed length limit in modules table for modfile field.
- Added some information in README file.

FIXES:
- Fixed some wrong strings quoted with single quotes instead of double quotes.
- Fixed bug in ampconfig.php with $env['disp'] initialization when
register_globals is set to On.
- Suppressed a lot of PHP notices.
- Fixed wrong references in hui elements ($this->mComment instead of
$this->mComments).
- Fixed uninstalling of extension modules. Module::Uninstall() tried to disable
modules from all sites even for extension modules.



2000 2.6.3 - 2002/06/10 - "Dates localization"
-----------------------
NEW FEATURES:
- Added "doc/sdk/new_release_steps.txt" tutorial.
- Added "doc/sdk/localization.txt" tutorial.
- Completed LocaleCountry::FormatTime(), LocaleCountry::FormatDate(),
LocaleCountry::FormatShortDate() in locale.library.
- Added "unixtimestamp" field type in dblayer.library.
- Added LocaleCountry::FormatArrayDate() (locale.library).
- Added LocaleCountry::FormatShortArrayDate() (locale.library).
- Added LocaleCountry::GetDateArrayFromShortDateStamp() (locale.library).
- Added LocaleCountry::FormatArrayTime() (locale.library).
- Added help node feature.
- Added helpnode library (helpnode.library).
- Added helpnode element (helpnode.element).
- Added helpnode Hui element (helpnode.hui).
- Added "doc/sdk/help_nodes.txt" tutorial.
- Added some help nodes.

CHANGES:
- Renamed Ampoliros II to Ampoliros 2000.
- Applied htmlentities() to some hui widgets parameters.
- Optimized a lot of code by changing double quotes to single quotes.
- Changed references to some session and other variables in order to work with
register_globals turned off, default since PHP 4.2.0.

FIXES:
- Removed "%" from country descriptors.
- Some fixes to country descriptors.
- Added missing quotes to defines in etc/ampconfig.php.



2.6.2 - 2002/06/04 - "Unlock script"
------------------
NEW FEATURES:
- Added header frame reload in root/network.php when changing network settings.
- Added "extras" element. File component of extras element types will be copied
in the module directory.
- Added Ampoliros mini logo "amplogo.png" as extras.
- Added unlock cgi unlock.php. It unlocks a locked Ampoliros.
- Added ConfigMan::mCommentPrefix (configman.library), useful for not standard
comments format.

CHANGES:
- Removed old code in root/network.php.
- Updated European country descriptors for EUR currency.
- Disabled compressed output buffering.
- Changed some Ampoliros class members (ampoliros.library) return types.
- Removed old style images in www/cgi.
- Changed default.css (used by oophtml.library) to look similar to hui.css.

FIXES:
- Fixed country descriptors.



2.6.1 - 2002/05/23
------------------
NEW FEATURES:
- Added many comments to code in headerdoc format.
- Added "AllGroupsActive" parameter in TreeMenu Hui element.
- Added some other parameters to various Hui widgets.
- Added Hui::mComment boolean member to enable/disable comments in Hui final
code.
- Added module details page in modules.php.

CHANGES:
- Converted main.php files to Hui.
- Improved Hui style sheet.
- Applied "allgroupsactive" parameter to root sum page treemenu element.
- By default Hui comments in final code are disabled.
- Better handling of Ampoliros log files in root/info.php.

FIXES:
- Fixed references to log handler in all element handlers.
- Fixed wrong handling of dispatcher event in listbox.hui when "multiple"
attribute is not set as true.
- Fixed wrong handling of error result codes in hui.library.
- Fixed file.hui handler, it missed a final ">".



2.6.0 - 2002/04/17 - "Hui and hooks"
------------------
NEW FEATURES:
- Added hooks big feature.
- Added hui big feature.
- Added Ampoliros name.
- Started Ampoliros domain system big feature.
- Added Network root page.
- Added Informations root page.
- Added LICENSE.xmlrpc file for some parts of xmlrpc code license.
- Added auth.php in Ampoliros public directory root.
- Added site log and site database log files viewer in sites administration.
- Added SITESTUFF_PATH define, alias for old STORESTUFF_PATH define.
- Added logging to site log files in sites.library.
- Added TODO file.
- Added AMPOLIROS_SETUP_PHASE define, defined during Ampoliros setup phase.
- Added Dump class in debug.library.
- Added error handler.
- Added doc directory.
- Added autodocs build script.
- Added XmlRpc sdk docs.
- Added "Slackware 8 to Ampoliros server" guide.
- Added XmlRpc accounts.
- Added example config.h file.

CHANGES:
- Resized header frame in root administration for Ampoliros name and domain
text.
- Updated Edd Dumbill's XmlRpc code to 1.02 release. Refer to relative
changelog for details.
- New hui look.
- General code cleanup and revision.
- \Innomatic\Logging\Logger::LogEvent() now formats date and time strings.
- Reorganized auth.php and ampconfig.php files.
- Reformatted CHANGES file.
- Optimized catalog files.
- Various minor optimizations.

FIXES:
- Fixed missing dblayer element handler from the elementtypes table in
amproot.xsql file.
- Fixed dblayer_mysql::_Close(): removed odd mysql_close().
- Fixed dblayer_mysql::_CreateDB(): removed odd mysql_close().
- Fixed bug in Sites::RemoveAllUsers() not removing all the users.
- Fixed wrong recordset handling with empty result resource.
- Fixed wrong database query in Group::Remove() when updating users table.
- Fixed wrong variable in User::EditUser() when updating "otherdata" field in
user table.
- Fixed odd method to get current directory in modules.library.
- Fixed query in Module::Install().
- Fixed wrong function name in hook events elements in structure.xml.