moved developer upgrade notes to separate file

This commit is contained in:
Roland Gruber 2007-11-10 15:40:24 +00:00
parent a7d3bbd43c
commit 0c7ba8401a
3 changed files with 108 additions and 116 deletions

View File

@ -1,118 +1,18 @@
Upgrade instructions:
=====================
2.0.0 -> 2.1.0
Developers:
Style changes:
- "fieldset.<type>edit fieldset" and "fieldset.<type>edit fieldset fieldset" were removed.
- "table.<type>list input" changed to "table.<type>list input,select"
baseModule:
The class variable $base is no longer visible in child classes. Please use
$this->getAccountContainer() to access the accountContainer object.
Several other class variables in accountContainer etc. are now private.
Use the new access methods.
1.3.0 -> 2.0.0
Developers:
LAM is now PHP5 only. Several variables are now private and need to be accessed via functions.
1.2.0 -> 1.3.0:
===============
Users:
1.1.0 -> 2.1.0
No changes.
Developers:
New lamList function:
- listPrintTableCellContent(): This function allows you to control how the LDAP
attributes are displayed in the table. This can be used to display links
or binary data.
- listPrintAdditionalOptions(): If you want to display additional conrols for a list
please use this function. The controls will be placed under the account table.
No more lamdaemon commands via delete_attributes() and save_attributes() in account modules.
Please use these new functions to call lamdaemon directly:
- preModifyActions()
- postModifyActions()
- preDeleteActions()
- postDeleteActions()
1.1.x -> 1.2.0:
===============
Users:
No changes.
Developers:
API changes:
- removed get_configDescription() from module interface
1.0.4 -> 1.1.0:
===============
Users:
If you use the lamdaemon.pl script to manage quotas and home directories please
read docs/README.lamdaemon.txt.
Developers:
API changes:
- removed $post parameters from module functions (delete_attributes(),
process_...(), display_html_...()). Use $_POST instead.
- process_...() functions: returned messages are no longer grouped
(e.g. return: array(array('INFO', 'headline', 'text'), array('INFO', 'headline2', 'text2')))
1.0.0 -> 1.0.2:
===============
Users:
No changes.
Developers:
New module functions:
- getRequiredExtensions: Allows to define required PHP extensions
- getManagedObjectClasses: Definition of managed object classes for this module
- getLDAPAliases: list of LDAP alias names which are replaced by LAM
- getManagedAttributes: list of LDAP attributes which are managed by this module
The LDAP attributes are no longer loaded by reading the LDAP schema. If your
module does not implement the load_attributes() function then you have to use
getManagedAttributes() or the meta data to specify them.
The class variable "triggered_messages" in baseModule was removed.
0.5.x -> 1.0.0:
===============

View File

@ -93,22 +93,33 @@ browser</a><br>
</table>
<br>
<br>
<table width="100%">
<tr valign="top">
<td width="25%">
<h2>Howtos</h2>
<ul>
<li><a href="mod_index.htm">Writing account modules</a></li>
<li><a href="type_index.htm">Defining other account types</a><br>
</li>
</ul>
<br>
</td>
<td width="25%" align="center">
<h2><a href="FAQ.htm">FAQ</a></h2>
<h2><br>
</h2>
</td>
<td width="25%">
<h2>Specifications</h2>
<ul>
<li><a href="modules-specification.htm">Module specification</a></li>
<li><a href="types-specification.htm">Type specification<br>
</a></li>
</ul>
</td>
<td width="25%">
<h2><a href="upgrade.htm">Upgrade notes</a></h2>
</td>
</tr>
</table>
<br>
<br>
</div>

View File

@ -0,0 +1,81 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>Upgrade nores</title>
<link rel="stylesheet" type="text/css" href="style/layout.css">
</head>
<body>
<div style="text-align: center;">
<h1>Upgrade notes</h1></div>
<h2>2.1.0 -&gt; 2.2.0</h2>
Account lists now support to define tools. These are displayed as linked images like the edit and delete links in the list.<br>
<br>
<br>
<h2>2.0.0 -&gt; 2.1.0</h2>
<span style="font-weight: bold;">Style changes:</span><br>
<ul>
<li>"fieldset.&lt;type&gt;edit fieldset" and "fieldset.&lt;type&gt;edit fieldset fieldset" were removed.</li>
<li>"table.&lt;type&gt;list input" changed to "table.&lt;type&gt;list input,select"</li>
</ul>
<span style="font-weight: bold;">baseModule:</span><br>
&nbsp; The class variable<span style="font-style: italic;"> $base</span> is no longer visible in child classes. Please use <span style="font-style: italic;">$this-&gt;getAccountContainer()</span> to access the accountContainer object.<br>
<br>
Several other class variables in accountContainer etc. are now private. Use the new access methods.<br>
<br>
<br>
<h2>1.3.0 -&gt; 2.0.0</h2>
LAM is now PHP5 only. Several variables are now private and need to be accessed via functions.<br>
<br>
<br>
<h2>1.2.0 -&gt; 1.3.0</h2>
<span style="font-weight: bold;">New lamList function:</span><br>
<ul>
<li><span style="font-weight: bold;">listPrintTableCellContent():</span> This function allows you to control how the LDAP attributes are displayed in the table. This can be used to display links or binary data.</li>
<li><span style="font-weight: bold;">listPrintAdditionalOptions():</span> If you want to display additional conrols for a list please use this function. The controls will be placed under the account table.<br>
</li>
</ul>
No more lamdaemon commands via delete_attributes() and save_attributes() in account modules.<br>
Please use these new functions to call lamdaemon directly:<br>
<ul>
<li>preModifyActions()</li>
<li>postModifyActions()</li>
<li>preDeleteActions()</li>
<li>postDeleteActions()</li>
</ul>
<br>
<h2>1.1.x -&gt; 1.2.0</h2>
<span style="font-weight: bold;">API changes:</span><br>
<ul>
<li>removed get_configDescription() from module interface</li>
</ul>
<br>
<h2>1.0.4 -&gt; 1.1.0</h2>
<span style="font-weight: bold;">API changes:</span><br>
<ul>
<li>removed $post parameters from module functions (delete_attributes(), process_...(), display_html_...()). Use $_POST instead.</li>
<li>process_...() functions: returned messages are no longer grouped (e.g. return: array(array('INFO', 'headline', 'text'), array('INFO', 'headline2', 'text2')))</li>
</ul>
<br>
<h2>1.0.0 -&gt; 1.0.2</h2>
<span style="font-weight: bold;">New module functions:</span><br>
<ul>
<li>getRequiredExtensions: Allows to define required PHP extensions</li>
<li>getManagedObjectClasses: Definition of managed object classes for this module</li>
<li>getLDAPAliases: list of LDAP alias names which are replaced by LAM</li>
<li>getManagedAttributes: list of LDAP attributes which are managed by this module</li>
</ul>
The LDAP attributes are no longer loaded by reading the LDAP schema. If
your module does not implement the load_attributes() function then you
have to use getManagedAttributes() or the meta data to specify them.<br>
<br>
The class variable "triggered_messages" in baseModule was removed.<br>
</body></html>