| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html lang="en"><head> |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15"><title>Upgrade notes</title> |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | <link rel="stylesheet" type="text/css" href="style/layout.css"> |
| 53 | |
| 54 | |
| 55 | <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"></head><body> |
| 56 | <h1>Upgrade notes</h1> |
| 57 | |
| 58 | This is a list of API changes for all LAM releases. |
| 59 | <br> |
| 60 | |
| 61 | <br> |
| 62 | |
| 63 | <h2>9.4 -> 9.5</h2> |
| 64 | <ul> |
| 65 | <li>Module/Type/List API |
| 66 | <ul> |
| 67 | <li>getRequiredExtensions() was removed from module API</li> |
| 68 | <li>Added defined parameter and return types to some methods</li> |
| 69 | </ul> |
| 70 | </li> |
| 71 | </ul> |
| 72 | <h2>9.2 -> 9.3</h2> |
| 73 | <ul> |
| 74 | <li>Module/Type API |
| 75 | <ul> |
| 76 | <li>Added defined parameter and return types to some methods (e.g. "getTitleBarSubtitle")</li> |
| 77 | <li>getPasswordQuickChangeOptions(): new parameter $forcePasswordChangeByDefault</li> |
| 78 | </ul> |
| 79 | </li> |
| 80 | </ul> |
| 81 | <h2>9.0 -> 9.1</h2> |
| 82 | <ul> |
| 83 | <li>JavaScript |
| 84 | <ul> |
| 85 | <li>jQuery was removed from the project</li> |
| 86 | </ul> |
| 87 | </li> |
| 88 | </ul> |
| 89 | <h2>8.4 -> 8.5</h2> |
| 90 | <ul> |
| 91 | <li>Files in "tmp" directory must be managed via class LamTemporaryFilesManager</li> |
| 92 | <li>Removed classes |
| 93 | <ul> |
| 94 | <li>htmlTableExtendedInputField</li> |
| 95 | <li>htmlTableExtendedSelect</li> |
| 96 | <li>htmlTableRow</li> |
| 97 | </ul> |
| 98 | </li> |
| 99 | </ul> |
| 100 | <h2>8.3 -> 8.4</h2> |
| 101 | <ul> |
| 102 | <li>Removed classes |
| 103 | <ul> |
| 104 | <li>htmlTableExtendedInputCheckbox</li> |
| 105 | <li>htmlTableExtendedInputTextarea</li> |
| 106 | </ul> |
| 107 | </li> |
| 108 | </ul> |
| 109 | <h2>8.2 -> 8.3</h2> |
| 110 | <ul> |
| 111 | <li>JavaScript |
| 112 | <ul> |
| 113 | <li>jQueryUI was removed from the project</li> |
| 114 | </ul> |
| 115 | </li> |
| 116 | <li>Removed classes |
| 117 | <ul> |
| 118 | <li>htmlLabeledInputCheckbox</li> |
| 119 | <li>htmlTableExtendedInputFileUpload</li> |
| 120 | <li>htmlTableExtendedRadio</li> |
| 121 | <li>htmlEqualWidth</li> |
| 122 | <li>htmlEqualHeight</li> |
| 123 | </ul> |
| 124 | </li> |
| 125 | </ul> |
| 126 | <h2>6.8 -> 8.2</h2> |
| 127 | <ul> |
| 128 | <li>JavaScript |
| 129 | <ul> |
| 130 | <li>jQuery and jQueryUI are no longer supported and must not be used anymore</li> |
| 131 | </ul> |
| 132 | </li> |
| 133 | </ul> |
| 134 | <h2>6.7 -> 6.8</h2> |
| 135 | <ul> |
| 136 | <li>Module API |
| 137 | <ul> |
| 138 | <li>display_html_attributes(): use responsive HTML elements instead of tables</li> |
| 139 | </ul> |
| 140 | </li> |
| 141 | </ul> |
| 142 | <h2>6.3 -> 6.4</h2> |
| 143 | <ul> |
| 144 | <li>Module API |
| 145 | <ul> |
| 146 | <li>get_profileOptions(): should no longer return a htmlTable but a htmlResponsiveRow</li> |
| 147 | </ul> |
| 148 | </li> |
| 149 | </ul> |
| 150 | <h2>6.2 -> 6.3</h2> |
| 151 | <ul> |
| 152 | <li>Module API |
| 153 | <ul> |
| 154 | <li>get_configOptions(): $allScopes contains type ids instead of account types</li> |
| 155 | <li>check_configOptions(): first parameter contains type ids instead of account types</li> |
| 156 | </ul> |
| 157 | </li> |
| 158 | </ul> |
| 159 | <h2>6.1 -> 6.2</h2> |
| 160 | <ul> |
| 161 | <li>No major API changes</li> |
| 162 | </ul> |
| 163 | <h2>6.0 -> 6.1</h2> |
| 164 | <ul> |
| 165 | <li>module API |
| 166 | <ul> |
| 167 | <li>doUploadPreActions has new parameter $type</li> |
| 168 | <li>doUploadPostActions has new parameter $type</li> |
| 169 | </ul> |
| 170 | </li> |
| 171 | </ul> |
| 172 | <h2>5.7 -> 6.0</h2> |
| 173 | |
| 174 | <ul> |
| 175 | <li>All account types allow multiple configurations by default.</li> |
| 176 | <li>the following methods in baseModule have a new parameter $typeId: |
| 177 | <ul> |
| 178 | <li>check_profileOptions()</li> |
| 179 | <li>get_profileOptions()</li> |
| 180 | <li>get_pdfEntries()</li> |
| 181 | <li>get_pdfFields()</li> |
| 182 | <li>getManagedObjectClasses()</li> |
| 183 | <li>getManagedAttributes()</li> |
| 184 | <li>getLDAPAliases() <br> |
| 185 | </li> |
| 186 | <li>get_uploadColumns()</li> |
| 187 | <li>build_uploadAccounts()</li> |
| 188 | <li>get_RDNAttributes()<br> |
| 189 | </li> |
| 190 | |
| 191 | |
| 192 | |
| 193 | </ul> |
| 194 | </li> |
| 195 | <li>baseType->doUploadPostActions(): new parameter $selectedModules<br> |
| 196 | </li> |
| 197 | <li>Removed global functions: |
| 198 | |
| 199 | <ul> |
| 200 | <li>getListClassName() -> use ConfiguredType->getBaseType()->getListClassName() </li> |
| 201 | <li>getTypeAlias() -> use ConfiguredType->getBaseType()->getAlias()</li> |
| 202 | <li>getDefaultListAttributes() -> use ConfiguredType->getBaseType()->getDefaultListAttributes()</li> |
| 203 | <li>getListAttributeDescriptions() -> use ConfiguredType->getBaseType()->getListAttributeDescriptions()</li> |
| 204 | </ul> |
| 205 | </li> |
| 206 | <li>baseType and subclasses have a new constructor argument - ConfiguredType<br> |
| 207 | </li> |
| 208 | |
| 209 | |
| 210 | |
| 211 | |
| 212 | </ul> |
| 213 | <br> |
| 214 | <h2>5.6 -> 5.7</h2> |
| 215 | <ul> |
| 216 | <li>module interface: get_pdfEntries() must return an array key => |
| 217 | PDFEntry (no action required if you did not build the XML yourself)<span style="color: rgb(34, 31, 30); font-family: Sans,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0; text-transform: none; white-space: normal; widows: 2; word-spacing: 0; background-color: rgb(214, 210, 208); display: inline ! important; float: none;"></span></li> |
| 218 | </ul> |
| 219 | <br> |
| 220 | <h2>5.5 -> 5.6</h2> |
| 221 | |
| 222 | <ul> |
| 223 | <li> |
| 224 | Functions in lib/types.inc got namespace LAM/TYPES (e.g. getTypeAlias()).</li> |
| 225 | <li> |
| 226 | New API to access configured account types: LAM\TYPES\TypeManager.</li> |
| 227 | <li>class baseType: new function getSuffixFilter()</li> |
| 228 | <li>moved getSuffixList() from baseType to ConfiguredType<br> |
| 229 | </li> |
| 230 | |
| 231 | </ul> |
| 232 | |
| 233 | |
| 234 | <h2>5.4 -> 5.5</h2>Functions Ldap::encrypt/decrypt in ldap.inc moved to lamEncrypt/lamDecrypt in security.inc.<br> |
| 235 | <br> |
| 236 | <h2>5.0 -> 5.1</h2> |
| 237 | Module interface<br> |
| 238 | <ul> |
| 239 | <li><span style="font-weight: bold;">getPDFEntries(): </span>It is no |
| 240 | longer supported that modules generate PDF XML on their own. You must |
| 241 | use addSimplePDFField/addPDFKeyValue/addPDFTable() from baseModule for |
| 242 | this.</li> |
| 243 | <li><span style="font-weight: bold;">getSelfServiceOptions:</span> the function must now return an array of htmlResponsiveRow instead of htmlTableRow<br> |
| 244 | </li> |
| 245 | </ul> |
| 246 | |
| 247 | <br> |
| 248 | <h2>4.8 -> 4.9</h2> |
| 249 | API changes<br> |
| 250 | <ul> |
| 251 | <li>Module interface: Function get_pdfEntries() has new parameter $pdfKeys.</li> |
| 252 | </ul> |
| 253 | <br> |
| 254 | <h2>4.6 -> 4.7</h2> |
| 255 | Account types (e.g. user, group, host) may have config options now. See baseType::get_configOptions().<br> |
| 256 | <br> |
| 257 | <h2>4.5 -> 4.6</h2> |
| 258 | The valid account types for each module must now |
| 259 | be set in can_manage(). This function is abstract in base module. |
| 260 | Setting the account type via meta data is no longer supported.<br> |
| 261 | <br> |
| 262 | Example:<br> |
| 263 | <pre> public function can_manage() {</pre> |
| 264 | <pre> return in_array($this->get_scope(), array('user', 'host'));</pre> |
| 265 | <pre> }</pre> |
| 266 | <br> |
| 267 | <h2>4.2 -> 4.3</h2> |
| 268 | <span style="font-weight: bold;">Ldap::new_rand()</span> was replaced by <span style="font-weight: bold;">getRandomNumber()</span> in lib/account.inc.<br> |
| 269 | Module interface:<br> |
| 270 | <ul> |
| 271 | <li><span style="font-weight: bold;">preModifySelfService/postModifySelfService:</span> new parameter <span style="font-style: italic;">$newAccount</span>. The user self registration now supports preCreate/postCreate events.<br> |
| 272 | </li> |
| 273 | </ul> |
| 274 | |
| 275 | <br> |
| 276 | <h2>4.1 -> 4.2</h2> |
| 277 | New meta HTML classes: htmlEqualHeight, htmlAccordion<br> |
| 278 | New functions in baseModule to reduce code:<br> |
| 279 | <ul> |
| 280 | <li>addSimpleInputTextField() to add text fields to the edit page</li> |
| 281 | <li>addMultiValueInputTextField()/processMultiValueInputTextField() to add multi-value text fields to the edit page</li> |
| 282 | <li>addSimpleSelfServiceTextField()/checkSimpleSelfServiceTextField() adds and checks a text field in self-service</li> |
| 283 | <li>addSimplePDFField() to create the PDF code for a simple text value<br> |
| 284 | </li> |
| 285 | </ul> |
| 286 | |
| 287 | <br> |
| 288 | <h2>4.0 -> 4.1</h2> |
| 289 | CSS changes:<br> |
| 290 | <ul> |
| 291 | <li>type specific "td.{TYPE}nav-activepage" was replaced by common "td.activepage" in layout.css</li> |
| 292 | <li>renamed ".{TYPE}list-bright" to ".{TYPE}-bright" and ".{TYPE}list-dark" to ".{TYPE}-dark"</li> |
| 293 | <li>removed "table.{TYPE}list input", "table.{TYPE}list select", |
| 294 | "table.{TYPE}list button", "fieldset.{TYPE}edit input", |
| 295 | "fieldset.{TYPE}edit select", "fieldset.{TYPE}edit button"</li> |
| 296 | <li>removed "input.{TYPE}" and "select.{TYPE}"</li> |
| 297 | <li>removed "table.{TYPE}nav" and "table.{TYPE}nav input"</li> |
| 298 | <li>removed "table.{TYPE}list td,th"</li> |
| 299 | <li>new ".{TYPE}-border"</li> |
| 300 | <li>replaced "table.{TYPE}list" by ".{TYPE}-border" and "table.accountlist"<br> |
| 301 | </li> |
| 302 | <li>replaced "fieldset.{TYPE}edit" by ".{TYPE}-border" and ".{TYPE}-bright"</li> |
| 303 | <li>moved type styles from 600_type_{TYPE}.css to 500_layout.css<br> |
| 304 | </li> |
| 305 | |
| 306 | </ul> |
| 307 | Updated jQuery and jQueryUI versions.<br> |
| 308 | <br> |
| 309 | <h2>3.9 -> 4.0</h2> |
| 310 | Module interface:<br> |
| 311 | <ul> |
| 312 | <li>new function: <span style="font-weight: bold;">doUploadPreActions()</span></li> |
| 313 | <li>function <span style="font-weight: bold;">doUploadPostActions() </span>contains attributes by reference<span style="font-weight: bold;"><br> |
| 314 | </span></li> |
| 315 | </ul> |
| 316 | List interface:<br> |
| 317 | <ul> |
| 318 | <li>new function: <span style="font-weight: bold;">addExtraInputElementsToTopArea()</span></li> |
| 319 | <li><span style="font-weight: bold;">listShowOUSelection()</span> now returns a <span style="font-style: italic;">htmlGroup</span><br> |
| 320 | </li> |
| 321 | </ul> |
| 322 | <br> |
| 323 | <h2>3.8 -> 3.9</h2> |
| 324 | Module interface:<br> |
| 325 | |
| 326 | <ul> |
| 327 | <li>new function <span style="font-weight: bold;">supportsAdminInterface()</span>: Can be used to mark modules that only support the self-service.</li> |
| 328 | <li>new function <span style="font-weight: bold;">canSelfServiceFieldBeReadOnly()</span>: Specifies if a certain self-service field can be set in read-only mode.</li> |
| 329 | <li><span style="font-weight: bold;">getSelfServiceOptions()</span>: new parameter <span style="font-style: italic;">$readOnlyFields</span> that contains read-only fields</li> |
| 330 | <li><span style="font-weight: bold;">checkSelfServiceOptions()</span>: new parameter <span style="font-style: italic;">$readOnlyFields </span>that contains read-only fields</li> |
| 331 | |
| 332 | </ul> |
| 333 | Meta HTML:<br> |
| 334 | <ul> |
| 335 | <li>Input fields support autocompletion<br> |
| 336 | </li> |
| 337 | </ul> |
| 338 | <br> |
| 339 | <h2>3.7 -> 3.8<br> |
| 340 | </h2> |
| 341 | Type interface:<br> |
| 342 | <ul> |
| 343 | <li><span style="font-weight: bold;">getTitleBarTitle()/getTitleBarSubtitle(): </span>changed |
| 344 | parameter from attribute array to accountContainer object. |
| 345 | Additionally, the functions are now called on each page refresh.<br> |
| 346 | </li> |
| 347 | </ul> |
| 348 | <br> |
| 349 | <h2>3.6 -> 3.7</h2> |
| 350 | Module interface:<br> |
| 351 | <ul> |
| 352 | <li><span style="font-weight: bold;">postModifyActions()</span>: Must return an array containing any messages to display</li> |
| 353 | <li><span style="font-weight: bold;">preModifyActions():</span> Changed return value from boolean to array of message arrays</li> |
| 354 | <li><span style="font-weight: bold;">passwordService interface:</span> |
| 355 | new function supportsForcePasswordChange() and changed function |
| 356 | passwordChangeRequested() to support password change at next login <br> |
| 357 | </li> |
| 358 | <li><span style="font-weight: bold;">getSelfServiceOptions()/checkSelfServiceOptions():</span> added parameter to specify if only password changes are allowed</li> |
| 359 | <li><span style="font-weight: bold;">handleAjaxRequest():</span> This new function allows AJAX requests to be answered by modules</li> |
| 360 | <li><span style="font-weight: bold;">getSelfServiceSettings():</span> New parameter $profile that contains the full self-service profile object<br> |
| 361 | </li> |
| 362 | |
| 363 | |
| 364 | |
| 365 | |
| 366 | </ul> |
| 367 | |
| 368 | <br> |
| 369 | <h2>3.5.0 -> 3.6</h2> |
| 370 | LAM now supports client-side validation (required + numeric fields). See htmlInputField::setValidationRule().<br> |
| 371 | <br> |
| 372 | <h2>3.4.0 -> 3.5.0</h2> |
| 373 | The old meta HTML code is no longer supported. Please use the new solution based on htmlElement (see lib/html.inc).<br> |
| 374 | <br> |
| 375 | <h2>3.3.0 -> 3.4.0</h2> |
| 376 | |
| 377 | |
| 378 | Module interface:<br> |
| 379 | |
| 380 | <ul> |
| 381 | |
| 382 | <li><span style="font-weight: bold;">save_attributes():</span> Can |
| 383 | now contain a return value 'info' => array() with values for |
| 384 | pre/postModify actions</li> |
| 385 | <li><span style="font-weight: bold;">checkSelfServiceOptions():</span> Can now contain a return value 'info' => array() with values for |
| 386 | pre/postModify actions</li> |
| 387 | <li><span style="font-weight: bold;">getSelfServiceOptions():</span> This function no longer supports the old meta HTML. Additionally, the module name must be specified for all help links.<br> |
| 388 | </li> |
| 389 | </ul> |
| 390 | |
| 391 | <br> |
| 392 | |
| 393 | <h2>3.2.0 -> 3.3.0</h2> |
| 394 | |
| 395 | The cache class was removed. Please use local caching and the functions |
| 396 | searchLDAP... instead of get_cache().<br> |
| 397 | |
| 398 | The return values for baseModule::pre/postDeleteActions() were changed |
| 399 | to an array of StatusMessage parameters. |
| 400 | <br> |
| 401 | |
| 402 | CSS class TYPElist-sort removed without replacement.<br> |
| 403 | |
| 404 | <br> |
| 405 | |
| 406 | <h2>3.1.0 -> 3.2.0</h2> |
| 407 | |
| 408 | <span style="font-weight: bold;">Account types: </span>The CSS classes |
| 409 | have changed. |
| 410 | <ul> |
| 411 | |
| 412 | <li>tr.TYPElist-over: removed without replacement</li> |
| 413 | <li>tr.TYPElist-checked: removed without replacement</li> |
| 414 | <li>tr.TYPElist: renamed to .TYPElist-bright</li> |
| 415 | <li>tr.TYPElist-head: renamed to .TYPElist-dark</li> |
| 416 | <li>th.TYPElist-sort: renamed to .TYPElist-sort</li> |
| 417 | <li>td.TYPEnav-text: removed without replacement </li> |
| 418 | </ul> |
| 419 | |
| 420 | <br> |
| 421 | |
| 422 | <br> |
| 423 | |
| 424 | <h2>3.0.0 -> 3.1.0</h2> |
| 425 | |
| 426 | <span style="font-weight: bold;">Module interface:</span> There is a |
| 427 | new object-oriented library to |
| 428 | generate HTML for the account modules (e.g. used for |
| 429 | display_html_attributes()). This will allow additional functionality |
| 430 | like client side validation. Please see lib/html.inc or package |
| 431 | metaHTML in the phpdoc documentation.<br> |
| 432 | |
| 433 | <span style="color: red; font-weight: bold;">Attention: </span><span style="color: red; font-weight: bold;">The getSelfServiceOptions() |
| 434 | function no longer supports the old meta HTML. </span><span style="color: red; font-weight: bold;">The other functions will |
| 435 | support the old array-based meta HTML elements only until Q2/2011! </span><br> |
| 436 | |
| 437 | <br> |
| 438 | |
| 439 | The PDF editor now supports descriptive PDF |
| 440 | fields. You can use this by returning an associative array for the PDF |
| 441 | fields (e.g. array('macAddress' => _('MAC address'))) in <span style="font-weight: bold;">get_pdfFields()</span> or the meta data.<br> |
| 442 | |
| 443 | The old format is still supported. LAM will continue to show the field |
| 444 | name as label in this case.<br> |
| 445 | |
| 446 | <br> |
| 447 | |
| 448 | <br> |
| 449 | |
| 450 | <h2>2.9.0 -> 3.0.0</h2> |
| 451 | |
| 452 | You can now integrate JavaScript libraries by simply putting the files |
| 453 | into templates/lib. All files with the name *.js are automatically |
| 454 | included on all pages.<br> |
| 455 | |
| 456 | There is a new log level LOG_DEBUG available for logNewMessage(). |
| 457 | <br> |
| 458 | |
| 459 | <h3>Module interface:</h3> |
| 460 | |
| 461 | The function |
| 462 | <span style="font-weight: bold;">build_uploadAccounts()</span> |
| 463 | has a new parameter |
| 464 | <span style="font-weight: bold;">$selectedModules</span>.<br> |
| 465 | |
| 466 | <h3>Type interface:</h3> |
| 467 | |
| 468 | The new function <span style="font-weight: bold;">supportsFileUpload()</span> |
| 469 | specifies if file uploads are supported (default true).<br> |
| 470 | |
| 471 | <br> |
| 472 | |
| 473 | <br> |
| 474 | |
| 475 | <h2>2.8.0 -> 2.9.0</h2> |
| 476 | |
| 477 | Several functions of the <span style="font-weight: bold;">cache</span> |
| 478 | class were removed.<br> |
| 479 | |
| 480 | <br> |
| 481 | |
| 482 | <br> |
| 483 | |
| 484 | <h2>2.5.0 -> 2.6.0</h2> |
| 485 | |
| 486 | The class <span style="font-weight: bold; font-style: italic;">baseType</span> |
| 487 | has two new member variables:<br> |
| 488 | |
| 489 | <ul> |
| 490 | |
| 491 | <li>$LABEL_CREATE_ANOTHER_ACCOUNT</li> |
| 492 | <li>$LABEL_BACK_TO_ACCOUNT_LIST</li> |
| 493 | </ul> |
| 494 | |
| 495 | They can be used to show a more specific text when the user is asked to |
| 496 | create another account or return back to the account list.<br> |
| 497 | |
| 498 | <br> |
| 499 | |
| 500 | The meta HTML code now supports image buttons.<br> |
| 501 | |
| 502 | <br> |
| 503 | |
| 504 | <br> |
| 505 | |
| 506 | <h2>2.4.0 -> 2.5.0</h2> |
| 507 | |
| 508 | <h3>Self-service</h3> |
| 509 | |
| 510 | <span style="font-weight: bold;">$selfServiceSettings</span> in class <span style="font-style: italic;">baseModule</span> is now an object of the |
| 511 | class <span style="font-style: italic;">selfServiceProfile.</span> |
| 512 | This way all profile settings can be read. To access the module |
| 513 | settings use <span style="font-weight: bold;">$this->selfServiceSettings->moduleSettings</span>.<br> |
| 514 | |
| 515 | <br> |
| 516 | |
| 517 | <br> |
| 518 | |
| 519 | <h2>2.2.0 -> 2.3.0</h2> |
| 520 | |
| 521 | <h3>Style changes</h3> |
| 522 | |
| 523 | If you have defined your own account types then you need to update your |
| 524 | CSS files (style/type_<type>.css).<br> |
| 525 | |
| 526 | Please change "table.<type>list input,select" to |
| 527 | "table.<type>list input,select,button" and |
| 528 | "fieldset.<type>edit input" to "fieldset.<type>edit |
| 529 | input,select,button". "fieldset.<type>edit select" may be deleted |
| 530 | afterwards.<br> |
| 531 | |
| 532 | <br> |
| 533 | |
| 534 | <br> |
| 535 | |
| 536 | <h2>2.1.0 -> 2.2.0</h2> |
| 537 | |
| 538 | <h3>Account lists</h3> |
| 539 | |
| 540 | Account lists now support to define tools. These are displayed as |
| 541 | linked images like the edit and delete links in the list.<br> |
| 542 | |
| 543 | Overwrite <span style="font-weight: bold;">lamList::getAdditionalTools()</span> |
| 544 | to use this feature.<br> |
| 545 | |
| 546 | <br> |
| 547 | |
| 548 | The definition of account list options changed. The function <span style="font-weight: bold;">lamList::getAdditionalTools()</span> is no |
| 549 | longer available. Use these functions instead: <span style="font-weight: bold;">lamList::listGetAllConfigOptions()</span> |
| 550 | and <span style="font-weight: bold;">lamList::listConfigurationChanged()</span>.<br> |
| 551 | |
| 552 | All options are now saved in cookies for one year.<br> |
| 553 | |
| 554 | <br> |
| 555 | |
| 556 | <h3>Base module</h3> |
| 557 | |
| 558 | The <span style="font-weight: bold;">baseModule</span> class has a new |
| 559 | protected option: <span style="font-weight: bold;">$autoAddObjectClasses |
| 560 | </span>You can set it to false if you do not want that your module's |
| 561 | object classes are added when creating or loading an account.<br> |
| 562 | |
| 563 | <br> |
| 564 | |
| 565 | Account modules can now have icons. See <span style="font-weight: bold;">baseModule->getIcon()</span>.<br> |
| 566 | |
| 567 | <br> |
| 568 | |
| 569 | <h3>Constructors</h3> |
| 570 | |
| 571 | LAM now uses the PHP5 syntax for constructors: <span style="font-weight: bold;">__construct()<br> |
| 572 | <br> |
| 573 | </span> |
| 574 | <h3>Extended security model</h3> |
| 575 | |
| 576 | Each server profile now defines an access level.<br> |
| 577 | |
| 578 | <br> |
| 579 | |
| 580 | Currently these are:<br> |
| 581 | |
| 582 | <ul> |
| 583 | |
| 584 | <li>write access</li> |
| 585 | <li>password changes</li> |
| 586 | <li>read access<br> |
| 587 | </li> |
| 588 | </ul> |
| 589 | |
| 590 | <span style="font-weight: bold;"></span> Please check your code and |
| 591 | prohibit any actions which do not fit the current access level.<br> |
| 592 | |
| 593 | There are two new functions in <span style="font-style: italic;">security.inc</span>: |
| 594 | <span style="font-weight: bold;">checkIfWriteAccessIsAllowed()</span> |
| 595 | and <span style="font-weight: bold;">checkIfPasswordChangeIsAllowed()</span><br> |
| 596 | |
| 597 | Only LAM Pro allows to change the access level from <span style="font-style: italic;">write access</span> to a smaller level.<br> |
| 598 | |
| 599 | <br> |
| 600 | |
| 601 | <br> |
| 602 | |
| 603 | <h2>2.0.0 -> 2.1.0</h2> |
| 604 | |
| 605 | <h3><span style="font-weight: bold;">Style changes</span></h3> |
| 606 | |
| 607 | <ul> |
| 608 | |
| 609 | <li>"fieldset.<type>edit fieldset" and |
| 610 | "fieldset.<type>edit fieldset fieldset" were removed.</li> |
| 611 | <li>"table.<type>list input" changed to "table.<type>list |
| 612 | input,select"</li> |
| 613 | </ul> |
| 614 | |
| 615 | <h3><span style="font-weight: bold;">baseModule</span></h3> |
| 616 | |
| 617 | The class variable<span style="font-style: italic;"> $base</span> |
| 618 | is no longer visible in child classes. Please use <span style="font-style: italic;">$this->getAccountContainer()</span> to |
| 619 | access the accountContainer object.<br> |
| 620 | |
| 621 | <br> |
| 622 | |
| 623 | Several other class variables in accountContainer etc. are now private. |
| 624 | Use the new access methods.<br> |
| 625 | |
| 626 | <br> |
| 627 | |
| 628 | <br> |
| 629 | |
| 630 | <h2>1.3.0 -> 2.0.0</h2> |
| 631 | |
| 632 | LAM is now PHP5 only. Several variables are now private and need to be |
| 633 | accessed via functions.<br> |
| 634 | |
| 635 | <br> |
| 636 | |
| 637 | <br> |
| 638 | |
| 639 | <h2>1.2.0 -> 1.3.0</h2> |
| 640 | |
| 641 | <h3><span style="font-weight: bold;">New lamList functions</span></h3> |
| 642 | |
| 643 | <ul> |
| 644 | |
| 645 | <li><span style="font-weight: bold;">listPrintTableCellContent():</span> |
| 646 | This function allows you to control how the LDAP attributes are |
| 647 | displayed in the table. This can be used to display links or binary |
| 648 | data.</li> |
| 649 | <li><span style="font-weight: bold;">listPrintAdditionalOptions():</span> |
| 650 | If you want to display additional controls for a list please use this |
| 651 | function. The controls will be placed under the account table.<br> |
| 652 | </li> |
| 653 | </ul> |
| 654 | |
| 655 | No more lamdaemon commands via delete_attributes() and |
| 656 | save_attributes() in account modules.<br> |
| 657 | |
| 658 | Please use these new functions to call lamdaemon directly:<br> |
| 659 | |
| 660 | <ul> |
| 661 | |
| 662 | <li>preModifyActions()</li> |
| 663 | <li>postModifyActions()</li> |
| 664 | <li>preDeleteActions()</li> |
| 665 | <li>postDeleteActions()</li> |
| 666 | </ul> |
| 667 | |
| 668 | <br> |
| 669 | |
| 670 | <h2>1.1.x -> 1.2.0</h2> |
| 671 | |
| 672 | <h3><span style="font-weight: bold;">API changes</span></h3> |
| 673 | |
| 674 | <ul> |
| 675 | |
| 676 | <li>removed get_configDescription() from module interface</li> |
| 677 | </ul> |
| 678 | |
| 679 | <br> |
| 680 | |
| 681 | <h2>1.0.4 -> 1.1.0</h2> |
| 682 | |
| 683 | <h3><span style="font-weight: bold;">API changes</span></h3> |
| 684 | |
| 685 | <ul> |
| 686 | |
| 687 | <li>removed $post parameters from module functions |
| 688 | (delete_attributes(), process_...(), display_html_...()). Use $_POST |
| 689 | instead.</li> |
| 690 | <li>process_...() |
| 691 | functions: returned messages are no longer grouped (e.g. return: |
| 692 | array(array('INFO', 'headline', 'text'), array('INFO', 'headline2', |
| 693 | 'text2')))</li> |
| 694 | </ul> |
| 695 | |
| 696 | <br> |
| 697 | |
| 698 | <h2>1.0.0 -> 1.0.2</h2> |
| 699 | |
| 700 | <h3><span style="font-weight: bold;">New module functions</span></h3> |
| 701 | |
| 702 | <ul> |
| 703 | |
| 704 | <li>getRequiredExtensions: Allows to define required PHP extensions</li> |
| 705 | <li>getManagedObjectClasses: Definition of managed object classes for |
| 706 | this module</li> |
| 707 | <li>getLDAPAliases: list of LDAP alias names which are replaced by LAM</li> |
| 708 | <li>getManagedAttributes: list of LDAP attributes which are managed |
| 709 | by this module</li> |
| 710 | </ul> |
| 711 | |
| 712 | The LDAP attributes are no longer loaded by reading the LDAP schema. If |
| 713 | your module does not implement the load_attributes() function then you |
| 714 | have to use getManagedAttributes() or the meta data to specify them.<br> |
| 715 | |
| 716 | <br> |
| 717 | |
| 718 | The class variable "triggered_messages" in baseModule was removed.<br> |
| 719 | |
| 720 | <br> |
| 721 | |
| 722 | </body></html> |