| 47 | | <notes>Changes since 0.9.0a1: |
|---|
| 48 | | - disabled script option by default (schst) |
|---|
| 49 | | - added new Filter: Function (schst) |
|---|
| 50 | | - added new method Element::applySimpleFilter() as requested by Helgi (schst) |
|---|
| 51 | | - moved client side scripts to separate files (schst) |
|---|
| 52 | | - createElementId() is now a static method (argh) |
|---|
| 53 | | - patForms_Renderer_Array: added the elementName to the resulting array (argh) |
|---|
| 54 | | - added new element: Combobox (schst) |
|---|
| 55 | | - fixed bug in setValues() (schst) |
|---|
| 56 | | - fixed bug in Trim filter (Bjoern Kraus) |
|---|
| 57 | | |
|---|
| | 53 | <notes>First release candidate for 0.9.0. |
|---|
| | 54 | |
|---|
| | 55 | Changes since v0.9.0a2: |
|---|
| | 56 | * patForms main: |
|---|
| | 57 | - Added "namespace" support to patForms and patForms_Elements (closing ticket #129) (Sven Fuchs) |
|---|
| | 58 | - Added a class patForms_Definition: base class for xml based form definitions (Sven Fuchs) |
|---|
| | 59 | - Removed patForms_FormatChecker and replaced it with rules (closing ticket #156) (schst) |
|---|
| | 60 | - Added an event onValidate to patForms and registered storages to listen to this event. This allows patForms_Storage containers to do their own validation, e.g. for unique keys. (This closes bug #130) (Sven Fuchs) |
|---|
| | 61 | - Cleaned up event-management and added new onRender() event (schst) |
|---|
| | 62 | - Avoid multiple autoValidate checks in the same request (schst) |
|---|
| | 63 | - Changed datasources to receive the element (closing ticket #151) (schst) |
|---|
| | 64 | - Added datasource for country-selection (schst, argh) |
|---|
| | 65 | - Added createDatasource() method to patForms (schst) |
|---|
| | 66 | - patErrors triggered by event listeners will now bubble up to the user (schst) |
|---|
| | 67 | - Check, whether custom locale file exists prior to loading it (schst) |
|---|
| | 68 | - Fixed several PHP 4.4.0 notices (schst) |
|---|
| | 69 | - Added the getRenderer() method (argh) |
|---|
| | 70 | |
|---|
| | 71 | * Elements |
|---|
| | 72 | - Fixed bug #87: Passwords will not be sent back to the browser if the "resendpasswd" attribute is not set to "yes" (schst) |
|---|
| | 73 | - Fixed bug #148: Enum/RadioGroup/Set/Combobox Elements now accept retrieving values from a datasource additionally to the already defined value set (argh) |
|---|
| | 74 | - Fixed bug #147: Enum/RadioGroup/Set/Combobox Elements now support setting a 'disabled' attribute for values (argh) |
|---|
| | 75 | - Fixed bug #150: Date day element displays 32 days |
|---|
| | 76 | - Fixed bug #172: modified behavior of the setValue for the set element so that you may pass either a string for a single selected value, or an array with a list of selected entries (argh) |
|---|
| | 77 | - Fixed bug #149: Non-required date elements are validated against min and max dates (argh) |
|---|
| | 78 | - Fixed bug #179: Add errormanagment to patForms_Element::serialize*() (argh) |
|---|
| | 79 | - Fixed bug #174: New method removeRule() is used to remove the previously added rule when usign the format attribute (schst) |
|---|
| | 80 | - Fixed bug #171: Element_Date accepts invalid dates (argh) |
|---|
| | 81 | - Fixed bug #182: Switch element does not check for the correct value (argh) |
|---|
| | 82 | |
|---|
| | 83 | * Rules |
|---|
| | 84 | - Added several patForms_Rules to match Propel Validator classes and enable client side validation for these. New rules are: MaxLength, MinLength, MaxValue, MinValue, Match, NotMatch, ValidValues (Sven Fuchs) |
|---|
| | 85 | - Added new rule: AnyRequired (schst) |
|---|
| | 86 | - Fixed bug #173: translated missing french strings in patForms_Rule_URL as well as other rules (argh) |
|---|
| | 87 | - Added new rule that prohibits updating entries in a storage (Frank Kleine) |
|---|
| | 88 | - Added new rule that prohibits adding entries in a storage (schst) |
|---|
| | 89 | - Fixed bug #187: Storage* rules need french translations (argh) |
|---|
| | 90 | |
|---|
| | 91 | * Storages |
|---|
| | 92 | - Allowed the use of the DB storage container to only add entries (schst) |
|---|
| | 93 | - Added new feature to the DB storage container to provide additional values for new entries (schst) |
|---|
| | 94 | - Fixed the DB storage container to work with SQLite (schst) |
|---|
| | 95 | - Fixed bug in storage containers that did not provide the onValidate() method (schst) |
|---|
| | 96 | - Added new "Mail" storage (schst) |
|---|
| | 97 | - Fixed bug #140 (missing check for database error) (schst) |
|---|
| | 98 | - Fixed bug #177 (minor bugs in CSV storage) (schst) |
|---|
| | 99 | |
|---|
| | 100 | * Clientside features |
|---|
| | 101 | - Changed scripts collection mechanism in patForms, patForms_Element and patForms_Rule for clientside validation. (This closes bug #133) (Sven Fuchs) |
|---|
| | 102 | |
|---|
| | 103 | * Propel Integration |
|---|
| | 104 | - Added a class patForms_Definition_Propel: definition that either populates itself from a Propel ObjectPeer class and writes itself to an xml file OR reads an existing xml file and populates itself from it, when this file exists (Sven Fuchs) |
|---|
| | 105 | - Added a class patForms_Creator_Definition: creates a patForm instance and populates properties, elements and rules from a patForms_Definition instance (Sven Fuchs) |
|---|
| | 106 | - Added a class patForms_Datasource_Propel: used to populate data to form elements for foreign key/related tables from a Propel ObjectPeer. (Sven Fuchs) |
|---|
| | 107 | - Added a class patForms_Storage_Propel: implements the patForms_Storage interface to integrate with a Propel object peer. (Sven Fuchs) |
|---|
| | 108 | |
|---|
| | 109 | * Renderer |
|---|
| | 110 | - Changed patForms_Renderer_Array to not include patForms_Datasource objects in the results array (This closes bug #131) (Sven Fuchs) |
|---|
| | 111 | - Added new patTemplate Renderer (schst) |
|---|
| | 112 | |
|---|
| | 113 | * Parser |
|---|
| | 114 | - Edited patForms_Parser "sourcefile could not be read"-message to include some additional useful debugging information (argh) |
|---|
| | 115 | - Added filename to patForms_Parser error message (schst) |
|---|
| | 116 | - patForms_Parser_HTML now extracts attributes of the <form/> tag (schst) |
|---|
| | 117 | - Allow more than one element with the same name (schst) |
|---|
| | 118 | - Fixed bug with spaces in attribute values (schst) |
|---|
| | 119 | - Added value-namespace support via the namespace attribute of the <patForms:Form/> tag (schst) |
|---|
| | 120 | - Added event support via attributes of the <patForms:Form/> tag (schst) |
|---|
| | 121 | |
|---|
| | 187 | <dir name="propel"> |
|---|
| | 188 | <dir name="bookstore"> |
|---|
| | 189 | <dir name="map"> |
|---|
| | 190 | <file baseinstalldir="pat" name="AuthorMapBuilder.php" role="doc" /> |
|---|
| | 191 | <file baseinstalldir="pat" name="BookMapBuilder.php" role="doc" /> |
|---|
| | 192 | <file baseinstalldir="pat" name="PublisherMapBuilder.php" role="doc" /> |
|---|
| | 193 | </dir> <!-- /examples/propel/bookstore/map --> |
|---|
| | 194 | <dir name="om"> |
|---|
| | 195 | <file baseinstalldir="pat" name="BaseAuthor.php" role="doc" /> |
|---|
| | 196 | <file baseinstalldir="pat" name="BaseAuthorPeer.php" role="doc" /> |
|---|
| | 197 | <file baseinstalldir="pat" name="BaseBook.php" role="doc" /> |
|---|
| | 198 | <file baseinstalldir="pat" name="BaseBookPeer.php" role="doc" /> |
|---|
| | 199 | <file baseinstalldir="pat" name="BasePublisher.php" role="doc" /> |
|---|
| | 200 | <file baseinstalldir="pat" name="BasePublisherPeer.php" role="doc" /> |
|---|
| | 201 | </dir> <!-- /examples/propel/bookstore/om --> |
|---|
| | 202 | <file baseinstalldir="pat" name="Author.php" role="doc" /> |
|---|
| | 203 | <file baseinstalldir="pat" name="AuthorPeer.php" role="doc" /> |
|---|
| | 204 | <file baseinstalldir="pat" name="Book.php" role="doc" /> |
|---|
| | 205 | <file baseinstalldir="pat" name="BookPeer.php" role="doc" /> |
|---|
| | 206 | <file baseinstalldir="pat" name="Publisher.php" role="doc" /> |
|---|
| | 207 | </dir> <!-- /examples/propel/bookstore --> |
|---|
| | 208 | <dir name="conf"> |
|---|
| | 209 | <file baseinstalldir="pat" name="bookstore-conf.php" role="doc" /> |
|---|
| | 210 | </dir> <!-- /examples/propel/conf --> |
|---|
| | 211 | <dir name="db"> |
|---|
| | 212 | <file baseinstalldir="pat" name="bookstore.db" role="doc" /> |
|---|
| | 213 | </dir> <!-- /examples/propel/db --> |
|---|
| | 214 | </dir> <!-- /examples/propel --> |
|---|
| | 465 | <dir name="element"> |
|---|
| | 466 | <dir name="pages"> |
|---|
| | 467 | <file baseinstalldir="pat" name="test_namespace_combined_1_form.php" role="test" /> |
|---|
| | 468 | <file baseinstalldir="pat" name="test_namespace_combined_2_forms.php" role="test" /> |
|---|
| | 469 | <file baseinstalldir="pat" name="test_namespace_element_combobox.php" role="test" /> |
|---|
| | 470 | <file baseinstalldir="pat" name="test_namespace_element_date.php" role="test" /> |
|---|
| | 471 | <file baseinstalldir="pat" name="test_namespace_element_enum.php" role="test" /> |
|---|
| | 472 | <file baseinstalldir="pat" name="test_namespace_element_file.php" role="test" /> |
|---|
| | 473 | <file baseinstalldir="pat" name="test_namespace_element_group.php" role="test" /> |
|---|
| | 474 | <file baseinstalldir="pat" name="test_namespace_element_hidden.php" role="test" /> |
|---|
| | 475 | <file baseinstalldir="pat" name="test_namespace_element_number.php" role="test" /> |
|---|
| | 476 | <file baseinstalldir="pat" name="test_namespace_element_pool.php" role="test" /> |
|---|
| | 477 | <file baseinstalldir="pat" name="test_namespace_element_pool_multi.php" role="test" /> |
|---|
| | 478 | <file baseinstalldir="pat" name="test_namespace_element_radio.php" role="test" /> |
|---|
| | 479 | <file baseinstalldir="pat" name="test_namespace_element_radiogroup.php" role="test" /> |
|---|
| | 480 | <file baseinstalldir="pat" name="test_namespace_element_set.php" role="test" /> |
|---|
| | 481 | <file baseinstalldir="pat" name="test_namespace_element_string.php" role="test" /> |
|---|
| | 482 | <file baseinstalldir="pat" name="test_namespace_element_switch.php" role="test" /> |
|---|
| | 483 | <file baseinstalldir="pat" name="test_namespace_element_text.php" role="test" /> |
|---|
| | 484 | </dir> <!-- /tests/element/pages --> |
|---|
| | 485 | <file baseinstalldir="pat" name="Base.php" role="test" /> |
|---|
| | 486 | <file baseinstalldir="pat" name="Basic.php" role="test" /> |
|---|
| | 487 | <file baseinstalldir="pat" name="Convert.php" role="test" /> |
|---|
| | 488 | <file baseinstalldir="pat" name="Namespaces.php" role="test" /> |
|---|
| | 489 | <file baseinstalldir="pat" name="Set.php" role="test" /> |
|---|
| | 490 | </dir> <!-- /tests/element --> |
|---|
| | 491 | <dir name="Renderer"> |
|---|
| | 492 | <dir name="res"> |
|---|
| | 493 | <file baseinstalldir="pat" name="test.flexy.form.tpl" role="test" /> |
|---|
| | 494 | <file baseinstalldir="pat" name="test.flexy.simple.tpl" role="test" /> |
|---|
| | 495 | <file baseinstalldir="pat" name="test.phpTal.form.tpl" role="test" /> |
|---|
| | 496 | <file baseinstalldir="pat" name="test.phpTal.simple.tpl" role="test" /> |
|---|
| | 497 | <file baseinstalldir="pat" name="test.savant.form.tpl" role="test" /> |
|---|
| | 498 | <file baseinstalldir="pat" name="test.savant.simple.tpl" role="test" /> |
|---|
| | 499 | <file baseinstalldir="pat" name="test.smarty.form.tpl" role="test" /> |
|---|
| | 500 | <file baseinstalldir="pat" name="test.smarty.simple.tpl" role="test" /> |
|---|
| | 501 | </dir> <!-- /tests/Renderer/res --> |
|---|
| | 502 | <file baseinstalldir="pat" name="FlexyTest.php" role="test" /> |
|---|
| | 503 | <file baseinstalldir="pat" name="PhpTalTest.php" role="test" /> |
|---|
| | 504 | <file baseinstalldir="pat" name="Savant3Test.php" role="test" /> |
|---|
| | 505 | <file baseinstalldir="pat" name="SmartyTest.php" role="test" /> |
|---|
| | 506 | </dir> <!-- /tests/Renderer --> |
|---|
| 354 | | - fixed bug in Trim filter (Bjoern Kraus) |
|---|
| | 581 | - fixed bug in Trim filter (Bjrn Kraus) |
|---|
| | 582 | |
|---|
| | 583 | </notes> |
|---|
| | 584 | </release> |
|---|
| | 585 | <release> |
|---|
| | 586 | <version> |
|---|
| | 587 | <release>0.9.0b1</release> |
|---|
| | 588 | <api>0.9.0b1</api> |
|---|
| | 589 | </version> |
|---|
| | 590 | <stability> |
|---|
| | 591 | <release>beta</release> |
|---|
| | 592 | <api>beta</api> |
|---|
| | 593 | </stability> |
|---|
| | 594 | <date>2005-08-14</date> |
|---|
| | 595 | <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> |
|---|
| | 596 | <notes>First release candidate for 0.9.0. |
|---|
| | 597 | |
|---|
| | 598 | Changes since v0.9.0a2: |
|---|
| | 599 | * patForms main: |
|---|
| | 600 | - Added "namespace" support to patForms and patForms_Elements (closing ticket #129) (Sven Fuchs) |
|---|
| | 601 | - Added a class patForms_Definition: base class for xml based form definitions (Sven Fuchs) |
|---|
| | 602 | - Removed patForms_FormatChecker and replaced it with rules (closing ticket #156) (schst) |
|---|
| | 603 | - Added an event onValidate to patForms and registered storages to listen to this event. This allows patForms_Storage containers to do their own validation, e.g. for unique keys. (This closes bug #130) (Sven Fuchs) |
|---|
| | 604 | - Cleaned up event-management and added new onRender() event (schst) |
|---|
| | 605 | - Avoid multiple autoValidate checks in the same request (schst) |
|---|
| | 606 | - Changed datasources to receive the element (closing ticket #151) (schst) |
|---|
| | 607 | - Added datasource for country-selection (schst, argh) |
|---|
| | 608 | - Added createDatasource() method to patForms (schst) |
|---|
| | 609 | - patErrors triggered by event listeners will now bubble up to the user (schst) |
|---|
| | 610 | - Check, whether custom locale file exists prior to loading it (schst) |
|---|
| | 611 | - Fixed several PHP 4.4.0 notices (schst) |
|---|
| | 612 | - Added the getRenderer() method (argh) |
|---|
| | 613 | |
|---|
| | 614 | * Elements |
|---|
| | 615 | - Fixed bug #87: Passwords will not be sent back to the browser if the "resendpasswd" attribute is not set to "yes" (schst) |
|---|
| | 616 | - Fixed bug #148: Enum/RadioGroup/Set/Combobox Elements now accept retrieving values from a datasource additionally to the already defined value set (argh) |
|---|
| | 617 | - Fixed bug #147: Enum/RadioGroup/Set/Combobox Elements now support setting a 'disabled' attribute for values (argh) |
|---|
| | 618 | - Fixed bug #150: Date day element displays 32 days |
|---|
| | 619 | - Fixed bug #172: modified behavior of the setValue for the set element so that you may pass either a string for a single selected value, or an array with a list of selected entries (argh) |
|---|
| | 620 | - Fixed bug #149: Non-required date elements are validated against min and max dates (argh) |
|---|
| | 621 | - Fixed bug #179: Add errormanagment to patForms_Element::serialize*() (argh) |
|---|
| | 622 | - Fixed bug #174: New method removeRule() is used to remove the previously added rule when usign the format attribute (schst) |
|---|
| | 623 | - Fixed bug #171: Element_Date accepts invalid dates (argh) |
|---|
| | 624 | - Fixed bug #182: Switch element does not check for the correct value (argh) |
|---|
| | 625 | |
|---|
| | 626 | * Rules |
|---|
| | 627 | - Added several patForms_Rules to match Propel Validator classes and enable client side validation for these. New rules are: MaxLength, MinLength, MaxValue, MinValue, Match, NotMatch, ValidValues (Sven Fuchs) |
|---|
| | 628 | - Added new rule: AnyRequired (schst) |
|---|
| | 629 | - Fixed bug #173: translated missing french strings in patForms_Rule_URL as well as other rules (argh) |
|---|
| | 630 | - Added new rule that prohibits updating entries in a storage (Frank Kleine) |
|---|
| | 631 | - Added new rule that prohibits adding entries in a storage (schst) |
|---|
| | 632 | - Fixed bug #187: Storage* rules need french translations (argh) |
|---|
| | 633 | |
|---|
| | 634 | * Storages |
|---|
| | 635 | - Allowed the use of the DB storage container to only add entries (schst) |
|---|
| | 636 | - Added new feature to the DB storage container to provide additional values for new entries (schst) |
|---|
| | 637 | - Fixed the DB storage container to work with SQLite (schst) |
|---|
| | 638 | - Fixed bug in storage containers that did not provide the onValidate() method (schst) |
|---|
| | 639 | - Added new "Mail" storage (schst) |
|---|
| | 640 | - Fixed bug #140 (missing check for database error) (schst) |
|---|
| | 641 | - Fixed bug #177 (minor bugs in CSV storage) (schst) |
|---|
| | 642 | |
|---|
| | 643 | * Clientside features |
|---|
| | 644 | - Changed scripts collection mechanism in patForms, patForms_Element and patForms_Rule for clientside validation. (This closes bug #133) (Sven Fuchs) |
|---|
| | 645 | |
|---|
| | 646 | * Propel Integration |
|---|
| | 647 | - Added a class patForms_Definition_Propel: definition that either populates itself from a Propel ObjectPeer class and writes itself to an xml file OR reads an existing xml file and populates itself from it, when this file exists (Sven Fuchs) |
|---|
| | 648 | - Added a class patForms_Creator_Definition: creates a patForm instance and populates properties, elements and rules from a patForms_Definition instance (Sven Fuchs) |
|---|
| | 649 | - Added a class patForms_Datasource_Propel: used to populate data to form elements for foreign key/related tables from a Propel ObjectPeer. (Sven Fuchs) |
|---|
| | 650 | - Added a class patForms_Storage_Propel: implements the patForms_Storage interface to integrate with a Propel object peer. (Sven Fuchs) |
|---|
| | 651 | |
|---|
| | 652 | * Renderer |
|---|
| | 653 | - Changed patForms_Renderer_Array to not include patForms_Datasource objects in the results array (This closes bug #131) (Sven Fuchs) |
|---|
| | 654 | - Added new patTemplate Renderer (schst) |
|---|
| | 655 | |
|---|
| | 656 | * Parser |
|---|
| | 657 | - Edited patForms_Parser "sourcefile could not be read"-message to include some additional useful debugging information (argh) |
|---|
| | 658 | - Added filename to patForms_Parser error message (schst) |
|---|
| | 659 | - patForms_Parser_HTML now extracts attributes of the <form/> tag (schst) |
|---|
| | 660 | - Allow more than one element with the same name (schst) |
|---|
| | 661 | - Fixed bug with spaces in attribute values (schst) |
|---|
| | 662 | - Added value-namespace support via the namespace attribute of the <patForms:Form/> tag (schst) |
|---|
| | 663 | - Added event support via attributes of the <patForms:Form/> tag (schst) |
|---|
| | 664 | |
|---|