--- trunk/ChangeLog 2008/03/03 10:26:38 247 +++ trunk/ChangeLog 2010/11/24 16:58:10 426 @@ -1,3 +1,1131 @@ +2010-11-24 Bernhard Herzog + + * formed/formed/plugins/export/rules_sh.py (binary_operator_map): + New. Map binary formed expr operators to their SQL counterparts. + (sql_OperatorBinary): Use binary_operator_map instead of a cascade + of if-statements with lots of code duplication. Also, put + parentheses around the resulting SQL expression to make sure the + expression is correctly. This fixes a problem with WASKO tagging + rules, where the a FormEd expression of the form like "2 1 1980 + date 1 1 1980 date - 93 *" would be incorrectly converted to the + SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date" + +2010-11-24 Bernhard Herzog + + * formed/formed/plugins/export/rules_sh.py: Fix formatting. + +2010-11-15 Torsten Irlaender + + * formed/formed/model/data.py: Do not set attribute "repeat" for + Repeat-Groups. + +2010-11-10 Torsten Irlaender + + * formed/formed/plugins/modify/rules.py: Fixed date sequence rule + checks for date in future. + +2010-11-08 Roland Geider + + * formed/formed/plugins/export/xsd.py: validate formedtree.xml + +2010-11-08 Roland Geider + + * formed/formed/model/data.py, + formed/formed/plugins/export/xsd.py, + formed/formed/config.py: issue1131: generate XSD for case exports + +2010-10-21 Torsten Irlaender + + * formed/formed/plugins/export/rules_sh.py: Added new LE-Operator + * formed/formed/plugins/modify/rules.py: Add error rule to force phase + relevant datefields not to be "unknown". + +2010-10-12 Roland Geider + + * formed/formed/plugins/export/rules_sh.py: Ignore rules if any fields + in the rule are in a repeat group + +2010-10-11 Roland Geider + + * formed/plugins/export/rules_sh.py: Added support to more opperators + to be able to export the WASKO case + +2010-10-06 Torsten Irlaender + + * formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed + gerating SQL for Rules + * formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date + function. + +2010-10-05 Torsten Irländer + + * formed/formed/model/data.py: Fixed error when setting tag attribute. + * formed/formed/plugins/export/rules_sh.py: Added generating exporting + tagging-xml + * formed/formed/plugins/modify/rules.py: Do not generate automatic + tagids for rules. + +2010-10-04 Torsten Irländer + + * formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute + "tag" for rule-leafs + * formed/formed/config.py: Added export rules as XML to Menu + * formed/formed/plugins/modify/rules.py + (GenerateRequiredRules.generateDateSequenceRules): Generate automatic + tag ids for date-sequence rules + +2010-09-30 Torsten Irländer + + * formed/formed/plugins/export/rules_sh.py + (ExportRulesAsSH.doExport): Filter out duplicted rules. + +2010-09-20 Frank Koormann + + * formed/formed/plugins/export/latex.py (RecursiveExporter): + Add "required"-field information to output and include + choice list contents. + +2010-09-16 Bernhard Herzog + + Avoid database deadlocks that can happen when database clients try + to work with the same case using two separate database + connections. See mpuls/issue1145 for details. + + * formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the + computation of the new json structure description into the new + database function compute_case_structure + (TRIGGER_TMPL): Change the trigger functions to immediately update + the cached json structure description instead of just setting the + modified flag. This avoids the lazy recomputation that makes what + seems like a read-only access (calling get_case_structure) into a + writing access (updates of the cache). The writes lock the row in + the case_structure table which prevent other connections from + accessing the same case. As part of this, the delete triggers are + now AFTER triggers because the repeat groups instance must have + been removed when the structure is recomputed. + (SUBSELECT_TMPL): Since the delete trigger is now an after + trigger, we need to change the way the master id is computed. We + cannot join with the repeatgroup table in question because the row + has already been deleted. However, we can use the master_id + column of the OLD row to select the row of the parent table. + (create_triggers): Avoid the inner joins with the current repeat + group for the above mentioned reasons. In the very common case of + repeat groups which are direct children of the master_tbl, we can + compare the master_tbl.id directly with the row's master_id. + +2010-09-14 Roland Geider + + * formed/formed/plugins/export/xsd.py: issue1131: update XSD for new + formedtree structure + +2010-09-01 Roland Geider + + * formed/formed/plugins/modify/rules.py: issue1050: mandatory fields + appearing double. + The problem was that the way the formEditor handled fields with + manually created rules changed. Instead of ignoring fields (very + early behaviour) or always generating them (early behaviour), now the + formED will only ignore fields with rules which name starts with + 'required-rule-manual'. This is helpful when the rules for mandatory + fields are more complex (e.g. mother's name is only required if + mother is known). + +2010-08-10 Torsten Irländer + + * contrib/diff_formed.py: New helperscript to diff to given + formedtrees + +2010-08-09 Roland Geider + + * formed/model/exprtree.py: fixed typo + +2010-08-04 Bernhard Herzog + + * formed/po/de_DE.po: Update translations + +2010-08-04 Bernhard Herzog + + * formed/po/formed.pot: Regenerated. + + * formed/po/de_DE.po: Update. + +2010-08-04 Bernhard Herzog + + * formed/po/Makefile: Use correct filename of the pot-file in the + usage message + +2010-08-04 Bernhard Herzog + + * formed/po/Makefile (LIST_POTFILES): Sort the file names to make + the order of entries in the .pot-file more predictable. + +2010-08-04 Bernhard Herzog + + * formed/formed/model/nodecomponents.py (RootNode.__init__) + (RootNode.getVersion, RootNode.setVersion): Add attribute + "version" and accessor methods. + + * formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let + the user set the document version. + (MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion + +2010-08-02 Bernhard Herzog + + * formed/formed.py, formed/formed/io/document.py, + formed/formed/io/factories.py, formed/formed/io/parser.py, + formed/formed/model/data.py, formed/formed/model/event.py, + formed/formed/model/expr.py, formed/formed/model/exprtree.py, + formed/formed/model/memory.py, formed/formed/model/misc.py, + formed/formed/model/nodecomponents.py, + formed/formed/model/persistent.py: Fix coding declaration to be + acceptable to both python and Emacs. + +2010-07-29 Torsten Irländer + + * formed/formed/model/data.py: Added "invisible" attribute to + BoolLeafs. This can be used to hide options in choicelists. so the + user can not select the value in the user interface. But the db will + have this option so is ist still present in the db an can be used + * formed/formed/model/exprtree.py: Added "days" function. + +2010-07-26 Roland Geider + + * formed/formed/model/nodecomponents.py, + formed/formed/plugins/modify/rules.py: generated date rules take + into consideration repeat groups + +2010-07-21 Torsten Irländer + + Issue870 + + * formed/formed/plugins/modify/rules.py (descriptions): Do not collect + all headers to the referenced fields. Only list labels of the error + fields, which should be distinct enough. + + Issue851 + + * formed/formed/model/data.py + formed/formed/plugins/export/new_sql.py + formed/formed/plugins/web/view_renderer.py + formed/formed/io/document.py + formed/formed/config.py: Added Float-Field to Formed + +2010-06-11 Bernhard Herzog + + * formed/formed/plugins/export/rg_sql.py + (CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call + create_master_ds to create the master tbl entry. This way we can + add SQL code that's specific to an MPuls instance to + create_master_ds and still have create_master_tbl use that new + code. This is useful for e.g. the JMD-Struktur part. + +2010-06-02 Roland Geider + + * formed/formed/plugins/modify/rules.py: make the names of generated + date-sequence-rules unique + +2010-06-02 Roland Geider + + * formed/plugins/export/xls.py: updated regular expression + +2010-05-17 Frank Koormann + + * formed/formed/plugins/export/latex.py: Improved section labeling. + + * formed/formed/plugins/export/xls.py: + Export references (ie where are the lists used). + +2010-04-30 Torsten Irländer + + * formed/formed/plugins/modify/rules.py (VariableType.substitute): Do + not generate "%"-rules for required fields in repeat-groups. + +2010-04-28 Roland Geider + + * formed/plugins/export/xls.py: Radiogroups are exported + * formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD + JMD formedtree.xml validates XSD + +2010-04-08 Torsten Irländer + + * formed/formed/plugins/modify/rules.py + (GenerateRequiredRules.generateDateSequenceRules): Add error mark to + rules. Generete each rule twice to be able to render errors at both + datefields. + +2010-04-07 Torsten Irländer + + * formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag. + +2010-04-06 Torsten Irländer + + * formed/formed/io/document.py (_toXML): Added comment with + "$Revision"-tag. This tag will/can then be substituted by the VCS. + * formed/formed/plugins/export/new_sql.py + (ExportAsSQLFilter.doExport): Added comment with + "$Revision"-tag. This tag will/can then be substituted by the VCS. + * formed/formed/model/exprtree.py: Added years operator. + +2010-03-30 Roland Geider + + * formed/formed/plugins/export/latex.py: Added filter + +2010-03-25 Roland Geider + + * formed/formed/plugins/export/xsd.py: Generate valid XML + +2010-02-11 Frank Koormann + + * formed/formed/plugins/export/xls.py: Allow groups in choices. + +2009-12-02 Torsten Irländer + + * formed/formed/plugins/export/typemap.py: do not ignore conditional + nodes on traversal. + +2009-11-17 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Recognize '%' vars + in compilation. Does not eval it! + + * formed/formed/plugins/modify/rules.py: Generate '%' vars + for variables in repeat groups. + +2009-11-13 Sascha L. Teichmann + + * formed/formed/plugins/export/typemap.py: Fixed to work + with new repeat group nodes. + +2009-10-28 Sascha L. Teichmann + + * formed/formed/plugins/export/xsd.py, + formed/formed/plugins/export/sql.py, + formed/formed/plugins/export/new_sql.py: Allow groups in choices. + +2009-10-07 Frank Koormann + + * formed/formed/plugins/export/latex.py: + Adjusted textprocessing to escape tex-active characters. + +2009-10-07 Sascha L. Teichmann + + * formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py, + formed/formed/plugins/export/html2.py: Adjusted to cope with + "semi-complete" implementation of logbook tree structure. + +2009-06-18 Torsten Irländer + + * formed/formed/plugins/export/new_sql.py, + formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and + added permissions. + +2009-06-18 Torsten Irländer + + * formed/formed/plugins/export/new_sql.py: Commented out generation of + page_views, as they do not work with rgroups. + +2009-06-17 Torsten Irländer + + * formed/formed/plugins/export/new_sql.py: Fixed anonymize function + and rolenames. + +2009-06-17 Sascha L. Teichmann + + * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. + +2009-05-26 Sascha L. Teichmann + + * formed/formed/plugins/names/filter.py: small optimization. + +2009-05-26 Sascha L. Teichmann + + * formed/formed/plugins/names/filter.py: Repaired unique filter for + nodecomponent names. + +2009-05-06 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Only create depending + repeat groups if no uuid is given. If a uuid is given then + the creation is triggered by an xml import. + +2009-04-28 Sascha L. Teichmann + + * formed/formed/plugins/export/new_sql.py: New SQL schema generator to + replace the old one. The new one faciliates the new RepeatNode instead + of the Group.isRepeat() method to tell if something is to be repeated. + + * formed/formed/config.py: Use new SQL schema generator plug-in by default. + The old one is deactivated. + + * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. + +2009-04-28 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Added delete functions. + TODO: Adjust execution rights. + +2009-04-27 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. + Add functions to create dataset. + +2009-04-24 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: new plug-in to generate + tree structure functions in database. + + * formed/formed/config.py: load plug-in. + +2009-04-16 Sascha L. Teichmann + + * formed/formed/model/data.py: Added 'digest' attribute to + RepeatNode. Removed needless methods + +2009-04-16 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: make 'equal' and 'not equal' + more readable with '=' and '<>'. + +2009-04-02 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: call anonymization + of uuid on anonymization of case. + +2009-03-31 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in + case_anonymize(). + +2009-03-31 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Add some code to pretty print + the trees infix. + + * formed/formed/plugins/export/rules.py: New. Exporter for human + readable rules. + + * formed/formed/plugins/export/html.py: Fixed HTML generation. + + * formed/formed/config.py: Added new new Rule export plug-in. + +2009-03-31 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Fixes from server. Raise + exceptions if there is less or more than one element on stack + after compilation of expression. + +2009-03-20 Sascha L. Teichmann + + * formed/formed/model/data.py: Removed debug output + + * formed/formed/plugins/modify/rules.py: Fixed error message. + Generate past and future rules. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Forget to call today with context. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/io/document.py: Fixed syntax typo. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/data.py: ConditionalNode inherits from Node directly. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/data.py: Added ConditionalNode + + * formed/formed/io/document.py: Make ConditionalNode loadable. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/plugins/modify/rules.py: Make the error descriptions + in date sequence rules more precise. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/plugins/modify/rules.py: generate date sequence rules. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: New tree based expression engine. + + * formed/formed/model/__init__.py, formed/formed/model/data.py: + Adjusted imports. + +2009-03-12 Torsten Irländer +2009-06-17 Sascha L. Teichmann + + * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. + +2009-05-26 Sascha L. Teichmann + + * formed/formed/plugins/names/filter.py: small optimization. + +2009-05-26 Sascha L. Teichmann + + * formed/formed/plugins/names/filter.py: Repaired unique filter for + nodecomponent names. + +2009-05-06 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Only create depending + repeat groups if no uuid is given. If a uuid is given then + the creation is triggered by an xml import. + +2009-04-28 Sascha L. Teichmann + + * formed/formed/plugins/export/new_sql.py: New SQL schema generator to + replace the old one. The new one faciliates the new RepeatNode instead + of the Group.isRepeat() method to tell if something is to be repeated. + + * formed/formed/config.py: Use new SQL schema generator plug-in by default. + The old one is deactivated. + + * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. + +2009-04-28 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Added delete functions. + TODO: Adjust execution rights. + +2009-04-27 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. + Add functions to create dataset. + +2009-04-24 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: new plug-in to generate + tree structure functions in database. + + * formed/formed/config.py: load plug-in. + +2009-04-16 Sascha L. Teichmann + + * formed/formed/model/data.py: Added 'digest' attribute to + RepeatNode. Removed needless methods + +2009-04-16 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: make 'equal' and 'not equal' + more readable with '=' and '<>'. + +2009-04-02 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: call anonymization + of uuid on anonymization of case. + +2009-03-31 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in + case_anonymize(). + +2009-03-31 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Add some code to pretty print + the trees infix. + + * formed/formed/plugins/export/rules.py: New. Exporter for human + readable rules. + + * formed/formed/plugins/export/html.py: Fixed HTML generation. + + * formed/formed/config.py: Added new new Rule export plug-in. + +2009-03-31 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Fixes from server. Raise + exceptions if there is less or more than one element on stack + after compilation of expression. + +2009-03-20 Sascha L. Teichmann + + * formed/formed/model/data.py: Removed debug output + + * formed/formed/plugins/modify/rules.py: Fixed error message. + Generate past and future rules. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Forget to call today with context. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/io/document.py: Fixed syntax typo. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/data.py: ConditionalNode inherits from Node directly. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/data.py: Added ConditionalNode + + * formed/formed/io/document.py: Make ConditionalNode loadable. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/plugins/modify/rules.py: Make the error descriptions + in date sequence rules more precise. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/plugins/modify/rules.py: generate date sequence rules. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: New tree based expression engine. + + * formed/formed/model/__init__.py, formed/formed/model/data.py: + Adjusted imports. + +2009-03-12 Torsten Irländer +2009-06-17 Sascha L. Teichmann + + * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. + +2009-05-26 Sascha L. Teichmann + + * formed/formed/plugins/names/filter.py: small optimization. + +2009-05-26 Sascha L. Teichmann + + * formed/formed/plugins/names/filter.py: Repaired unique filter for + nodecomponent names. + +2009-05-06 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Only create depending + repeat groups if no uuid is given. If a uuid is given then + the creation is triggered by an xml import. + +2009-04-28 Sascha L. Teichmann + + * formed/formed/plugins/export/new_sql.py: New SQL schema generator to + replace the old one. The new one faciliates the new RepeatNode instead + of the Group.isRepeat() method to tell if something is to be repeated. + + * formed/formed/config.py: Use new SQL schema generator plug-in by default. + The old one is deactivated. + + * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. + +2009-04-28 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Added delete functions. + TODO: Adjust execution rights. + +2009-04-27 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. + Add functions to create dataset. + +2009-04-24 Sascha L. Teichmann + + * formed/formed/plugins/export/rg_sql.py: new plug-in to generate + tree structure functions in database. + + * formed/formed/config.py: load plug-in. + +2009-04-16 Sascha L. Teichmann + + * formed/formed/model/data.py: Added 'digest' attribute to + RepeatNode. Removed needless methods + +2009-04-16 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: make 'equal' and 'not equal' + more readable with '=' and '<>'. + +2009-04-02 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: call anonymization + of uuid on anonymization of case. + +2009-03-31 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in + case_anonymize(). + +2009-03-31 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Add some code to pretty print + the trees infix. + + * formed/formed/plugins/export/rules.py: New. Exporter for human + readable rules. + + * formed/formed/plugins/export/html.py: Fixed HTML generation. + + * formed/formed/config.py: Added new new Rule export plug-in. + +2009-03-31 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Fixes from server. Raise + exceptions if there is less or more than one element on stack + after compilation of expression. + +2009-03-20 Sascha L. Teichmann + + * formed/formed/model/data.py: Removed debug output + + * formed/formed/plugins/modify/rules.py: Fixed error message. + Generate past and future rules. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: Forget to call today with context. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/io/document.py: Fixed syntax typo. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/data.py: ConditionalNode inherits from Node directly. + +2009-03-16 Sascha L. Teichmann + + * formed/formed/model/data.py: Added ConditionalNode + + * formed/formed/io/document.py: Make ConditionalNode loadable. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/plugins/modify/rules.py: Make the error descriptions + in date sequence rules more precise. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/plugins/modify/rules.py: generate date sequence rules. + +2009-03-13 Sascha L. Teichmann + + * formed/formed/model/exprtree.py: New tree based expression engine. + + * formed/formed/model/__init__.py, formed/formed/model/data.py: + Adjusted imports. + +2009-03-12 Torsten Irländer + + Introduced new order attribute for date fields + + * formed/formed/model/data.py: Order fields can be used to define to + ordering of datefields withing the document. Needed for automatic + generation of consistency rules. + +2009-02-09 Sascha L. Teichmann + + * formed/formed/model/data.py: Allow pages to be 'invisible'. + +2009-02-09 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: Fixed problem with + description reference tables of radio groups. + +2009-02-09 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: replace '-' in names + by '_'. + +2009-02-09 Sascha L. Teichmann + + * formed/formed/plugins/export/sql.py: to figure ou which + tables are equal the insert statememnts are lower cased + and sorted before they are compared. This reduces the number + of generated referfence tables. + +2009-02-09 Sascha L. Teichmann + + Repair SQL schema creation for radio groups. + + * formed/formed/plugins/export/sql.py: radio groups are handled + like choices now. + +2009-02-09 Sascha L. Teichmann + + Make it startable again. + + * formed/formed/plugins/export/xls.py: Import pyExcelerator only + when plug-in is called. + + * formed/formed/model/nodecomponents.py: Event routing was messed up. + Rewired root node with document. + + * formed/formed/plugins/web/help.py: Removed old xml.ext import. + XXX: This breaks creating help by now! + + * formed/formed/io/parser.py: Replace old deprecated base class + by new one. + + * formed/formed/main.py: Do not crash if locale cannot be set. + + * formed/formed/ui/controls.py: Use document.getCase() instead + of document.case to prevent uninitialized dereferences. + +2009-01-22 Torsten Irländer + + Implemented new XML-Format for formed xml files. + + * formed/formed/model/nodecomponents.py, + formed/formed/io/document.py, + formed/formed/main.py, + formed/formed/ui/controls.py: Introduced new "case" and "logbook" + node. Under case is the definition of the formular. logbook will + hold the defintion of logboog entrys. For now only the part under + "case" can be modified. + +2009-01-21 Torsten Irländer + + Changed way how XSD-Scheme is generated + + * formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support + logbookentrys. The scheme definiton is now hardcoded in the + exporter as it will rarely change. It logbookpart will not be + generated from the formedtree anymore. + +2009-01-20 Torsten Irländer + + Support Logbook entrys in xsd schema export + + * formed/formed/model/data.py: Repeatnode are now handeld as + repeatgroups in xsd-export + * formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support + logbookentrys. The scheme will now validate against an xmlfile from + the offlineclient. + +2009-01-09 Torsten Irländer + + Added new repeat node + + * formed/formed/model/data.py, + formed/formed/io/document.py: Added repeatnode to the formedtree. + TODO: Remove repeatgroup handling from the groupnode. + +2009-01-08 Torsten Irländer + + Add isset operator to autogenerated rules. + + * formed/formed/plugins/modify/rules.py: Add issed operator to standard + autogenerated rules. + +2008-12-17 Frank Koormann + + * formed/formed/plugins/export/latex.py: Export form as set of + latex tables to be included into a master document. The export + generates section marks to structure the form and placeholders for + help texts to be merged in by a post processing step. + +2008-12-04 Sascha L. Teichmann + + * formed/formed/model/expr.py: Added 'today' which pushes the current date + on the stack. + +2008-12-03 Sascha L. Teichmann + + * formed/formed/plugins/web/controllers.py: compute changeset more correctly in + storage of fields. + + * formed/formed/plugins/export/xsd.py: Added unknown int -999999 to integer + fields as an accepted value. Generate schema for radio groups too. + +2008-12-01 Torsten Irländer + + Added autmatic generation of required rules + + * formed/formed/model/data.py, + formed/formed/model/expr.py, + formed/formed/plugins/modify/rules.py: Default rules for required + fields can now be generated. + +2008-11-28 Sascha L. Teichmann + + * formed/formed/model/data.py, formed/formed/model/nodecomponents.py: + Ported WidgetCollector from Offline client. + + * formed/formed/plugins/modify/__init__.py, formed/formed/plugins/modify, + formed/formed/plugins/modify/rules.py: Stub for required rules generator. + + * formed/formed/config.py: Bind new filter to FormEd + +2008-11-27 Torsten Irländer + + * formed/formed/model/data.py: Added new attribute mark for rules + +2008-11-10 Torsten Irländer + + Implemented radio-matrix elements. radio elelement having the same + options can now be rendered in table form. + + * formed/formed/model/data.py, + formed/formed/io/document.py: Added new radio-matrix element to the + model and gui + * formed/formed/plugins/web/view_renderer.py: Write html-renderer for + the radio-matrix element. + +2008-11.03 Torsten Irländer + + * formed/formed/model/data.py: Fixed import error + +2008-10-29 Sascha L. Teichmann + + Relative paths in external choices are now possible. Relative paths are + relative to path of the master document. + + * formed/model/data.py: external choice are now storing the path to the + master document. + + * formed/formed/io/document.py: Pass context to SAX builder. + + * formed/formed/io/factories.py: For new created nodes look if there + is a method 'setLoadContext' and call it. + +2008-09-04 Sascha L. Teichmann + + * doc/beschreibung.txt: New. Initial description of FormEd (german). + +2008-08-22 Sascha L. Teichmann + + * formed/formed/model/nodecomponents.py: Added attribute 'flags'. + +2008-08-21 Sascha L. Teichmann + + * formed/formed/io/document.py: Indent tree while saving + * formed/formed/main.py: removed needless print + +2008-08-15 Sascha L. Teichmann + + * LICENSE: New GPLv3 + * */*.py, *.sh: Added reference to LICENSE + +2008-08-15 Sascha L. Teichmann + + * tools: removed because there a no tools any more. + +2008-08-15 Sascha L. Teichmann + + * tools/formed: moved one level up because its the only + part of this project now. + +2008-08-15 Sascha L. Teichmann + + * tools/anonym/*: Removed as it belongs to mpuls WASKA + +2008-08-15 Sascha L. Teichmann + + * pdf2xfa/*: removed. It belongs to mpuls + +2008-08-13 L. Teichmann + + i18n of the plug-ins: + * tools/formed/formed/plugins/export/diff.py, + tools/formed/formed/plugins/export/data.py, + tools/formed/formed/plugins/export/old_sql.py, + tools/formed/formed/plugins/export/latex.py, + tools/formed/formed/plugins/export/xsd.py, + tools/formed/formed/plugins/export/sql.py, + tools/formed/formed/plugins/export/typemap.py, + tools/formed/formed/plugins/export/html.py, + tools/formed/formed/plugins/export/mode.py, + tools/formed/formed/plugins/export/html2.py, + tools/formed/formed/plugins/export/xls.py, + tools/formed/formed/plugins/names/filter.py, + tools/formed/formed/plugins/plugin.py, + tools/formed/formed/plugins/web/help.py, + tools/formed/formed/plugins/web/form_renderer.py, + tools/formed/formed/plugins/web/plugin.py, + tools/formed/formed/plugins/web/error_renderer.py, + tools/formed/formed/plugins/web/view_renderer.py, + tools/formed/formed/plugins/web/semantic.py, + tools/formed/formed/plugins/web/cache.py, + tools/formed/formed/plugins/web/server.py, + tools/formed/formed/plugins/web/controllers.py, + tools/formed/formed/plugins/web/renderer.py, + tools/formed/formed/plugins/ui/controls.py, + tools/formed/formed/config.py: _("")s the stuff + tools/formed/po/formed.pot, tools/formed/po/de_DE.po: + extracted and translated. + +2008-08-08 Sascha L. Teichmann + + First version of FormEd i18n. After checkout go to tools/formed/po/ and + say 'make mo'. Afterwards you can start FormEd as usual. + + * tools/formed/resources: New. Place to places ressources like *.mo files + * tools/formed/formed/main.py, tools/formed/formed/ui/controls.py: Add _("")s + + * tools/formed/po, + tools/formed/po/Makefile, + tools/formed/po/formed.pot, + tools/formed/po/de_DE.po: i18n stuff. + +2008-08-08 Sascha L. Teichmann + + * tools/anonym/xmlexport.py: Only export cases which are not + 'schwebend geloescht'. + +2008-07-23 Sascha L. Teichmann + + Fixed issue472 + + * tools/anonym/xmlimport.py: Regenerate dicts from current form ed tree. + +2008-07-17 Sascha L. Teichmann + + * tools/anonym/xmlimport.py: removed marking of invalid cases + * tools/anonym/cron.importAnonXml.sh: re-inserted here. + +2008-07.07 Torsten Irländer + + * tools/formed/formed/plugins/export/latex.py + tools/formed/formed/config.py: Added new LaTex Export. Beware this + is even more ugly the HTML Export. + * tools/formed/formed/plugins/export/html.py: Added information on + anonymisation to the html export. + +2008-07-07 Sascha L. Teichmann + + * tools/anonym/xmlimport.py: Mark cases if they are inconsistent. + +2008-07-07 Sascha L. Teichmann + + * tools/anonym/xmlimport.py: Updated to schema 1.5. (Which is incompatible to 1.4) + +2008-07-07 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/html.py: Added additional column + to the html export with information how each field will get + anonymized. + +2008-07-07 Sascha L. Teichmann + + * tools/anonym/xmlimport.py: sync with productive version. + +2008-06-10 Torsten Irländer + + * tools/formed/formed/plugins/export/sql.py: grant admin permission to + call anonymize function + +2008-05-21 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: Brought encoding + back to UTF-8. + +2008-05-21 Frank Koormann + + * tools/formed/formed/plugins/export/xls.py: New, export key value + tables as excel workbook with one sheet per table. + + * tools/formed/formed/config.py: ExportKeyValueTableAsXLS added. + +2008-05-21 Frank Koormann + + * tools/formed/formed/plugins/export/xsd.py + (SchemaCreator._createChoice): Fix use of choices name. + +2008-04-29 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: Use substitution group + to allow arbitrary order of repeat groups. + +2008-04-29 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: Removed a needless + character. + +2008-04-29 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: Added annotations + to fields. + +2008-04-29 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: Added for + choice fields. + +2008-04-29 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: Added support for + boolean fields based on enumerations. + +2008-04-28 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: Added support for + date, text and textarea fields. + +2008-04-28 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: Added support for + repeat groups and integer fields. + +2008-04-28 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/xsd.py: New. plug-in for + exporting as XML schema. not ready, yet. + + * tools/formed/formed/config.py: Use new plug-in. + + * tools/formed/formed/plugins/export/sql.py: Fixed wrong GUI text. + +2008-04-17 Torsten Irländer + + * tools/formed/formed/plugins/export/sql.py: Changed WHERE clause in + for the views because of the new group permissions. + +2008-04-09 Sascha L. Teichmann + + * tools/anonym/cron.deleteOldAnonymized.sh: New. cron job to delete + old anonymized cases. + +2008-04-01 Sascha L. Teichmann + + * tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1" + from clause to select datasets. + Replace ']]>' in CDATA sections with correct splitted replacement. + +2008-03-12 Sascha L. Teichmann + + * tools/anonym/cron.importAnonXml.sh: Added absolut path to xmlimport + script. + + * tools/anonym/xmlimport.py: commented out database port from + connectionstring. + +2008-03-12 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/sql.py: Fixed bug in generation + of anonymization of repeat groups (wrong id was given). + +2008-03-11 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/sql.py: Generate no update + statements for relations which have no anonym functions applied. + +2008-03-11 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/sql.py: Added a newline after + 'COMMIT;' in the last line. + +2008-03-11 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/sql.py: Fixed syntax of + generated anonymize_case() function. + +2008-03-11 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/sql.py: Added code to + generate a plpgsql function anonymize_case() that anonymized + a given case and all of its depending repeat groups. + +2008-03-06 Sascha L. Teichmann + + * tools/anonym/xmlimport.py: remove print of insert statement. + + * tools/formed/formed/plugins/export/sql.py: Print generation date in ISO. + 2008-03-03 Torsten Irländer * anonym/cron.sendAnonXml.sh, @@ -5,6 +1133,13 @@ production environment (Copied running scripts from production server) + * cron.importAnonXml.sh: Added deleting of ols cases. Modified script + to be used in a production environment (Cpoied running script from + production server) + + * tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to + ensure that only valid cases get exported + 2008-02-27 Sascha L. Teichmann * tools/anonym/xmlimport.py: Fixed bug in date converter.