/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 143 by teichmann, Thu Sep 6 08:54:26 2007 UTC revision 429 by bh, Wed Nov 24 17:09:57 2010 UTC
# Line 1  Line 1 
1  2007-09-05 Sascha L. Teichmann <[email protected]>  2010-11-24  Bernhard Herzog  <[email protected]>
2    
3            * formed/formed/plugins/export/rules_sh.py: Remove some commented
4            out code.
5    
6    2010-11-24  Bernhard Herzog  <[email protected]>
7    
8            * formed/formed/plugins/export/rules_sh.py: expand star-import.
9    
10    2010-11-24  Bernhard Herzog  <[email protected]>
11    
12            * formed/formed/plugins/export/rules_sh.py (sql_OperatorUnary):
13            Put parentheses around the comparison for the KNOWN operator in
14            the generated SQL to ensure correct evaluation order.
15    
16    2010-11-24  Bernhard Herzog  <[email protected]>
17    
18            * formed/formed/plugins/export/rules_sh.py (binary_operator_map):
19            New.  Map binary formed expr operators to their SQL counterparts.
20            (sql_OperatorBinary): Use binary_operator_map instead of a cascade
21            of if-statements with lots of code duplication.  Also, put
22            parentheses around the resulting SQL expression to make sure the
23            expression is correctly.  This fixes a problem with WASKO tagging
24            rules, where the a FormEd expression of the form like "2 1 1980
25            date 1 1 1980 date - 93 *" would be incorrectly converted to the
26            SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date"
27    
28    2010-11-24  Bernhard Herzog  <[email protected]>
29    
30            * formed/formed/plugins/export/rules_sh.py: Fix formatting.
31    
32    2010-11-15  Torsten Irlaender <[email protected]>
33    
34            * formed/formed/model/data.py: Do not set attribute "repeat" for
35            Repeat-Groups.
36    
37    2010-11-10  Torsten Irlaender <[email protected]>
38    
39            * formed/formed/plugins/modify/rules.py: Fixed date sequence rule
40            checks for date in future.
41    
42    2010-11-08  Roland Geider <[email protected]>
43    
44            * formed/formed/plugins/export/xsd.py: validate formedtree.xml
45    
46    2010-11-08  Roland Geider <[email protected]>
47    
48            * formed/formed/model/data.py,
49              formed/formed/plugins/export/xsd.py,
50              formed/formed/config.py: issue1131: generate XSD for case exports
51    
52    2010-10-21  Torsten Irlaender <[email protected]>
53    
54            * formed/formed/plugins/export/rules_sh.py: Added new LE-Operator
55            * formed/formed/plugins/modify/rules.py: Add error rule to force phase
56              relevant datefields not to be "unknown".
57    
58    2010-10-12  Roland Geider <[email protected]>
59    
60            * formed/formed/plugins/export/rules_sh.py: Ignore rules if any fields
61              in the rule are in a repeat group
62    
63    2010-10-11  Roland Geider <[email protected]>
64    
65            * formed/plugins/export/rules_sh.py: Added support to more opperators
66              to be able to export the WASKO case
67    
68    2010-10-06  Torsten Irlaender <[email protected]>
69    
70            * formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed
71            gerating SQL for Rules
72            * formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date
73            function.
74    
75    2010-10-05  Torsten Irländer <[email protected]>
76    
77            * formed/formed/model/data.py: Fixed error when setting tag attribute.
78            * formed/formed/plugins/export/rules_sh.py: Added generating exporting
79              tagging-xml
80            * formed/formed/plugins/modify/rules.py: Do not generate automatic
81              tagids for rules.
82    
83    2010-10-04  Torsten Irländer <[email protected]>
84    
85            * formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute
86            "tag" for rule-leafs
87            * formed/formed/config.py: Added export rules as XML to Menu
88            * formed/formed/plugins/modify/rules.py
89            (GenerateRequiredRules.generateDateSequenceRules): Generate automatic
90            tag ids for date-sequence rules
91    
92    2010-09-30  Torsten Irländer <[email protected]>
93    
94            * formed/formed/plugins/export/rules_sh.py
95            (ExportRulesAsSH.doExport): Filter out duplicted rules.
96    
97    2010-09-20  Frank Koormann   <[email protected]>
98    
99            * formed/formed/plugins/export/latex.py (RecursiveExporter):
100            Add "required"-field information to output and include
101            choice list contents.
102    
103    2010-09-16  Bernhard Herzog  <[email protected]>
104    
105            Avoid database deadlocks that can happen when database clients try
106            to work with the same case using two separate database
107            connections.  See mpuls/issue1145 for details.
108    
109            * formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the
110            computation of the new json structure description into the new
111            database function compute_case_structure
112            (TRIGGER_TMPL): Change the trigger functions to immediately update
113            the cached json structure description instead of just setting the
114            modified flag.  This avoids the lazy recomputation that makes what
115            seems like a read-only access (calling get_case_structure) into a
116            writing access (updates of the cache).  The writes lock the row in
117            the case_structure table which prevent other connections from
118            accessing the same case.  As part of this, the delete triggers are
119            now AFTER triggers because the repeat groups instance must have
120            been removed when the structure is recomputed.
121            (SUBSELECT_TMPL): Since the delete trigger is now an after
122            trigger, we need to change the way the master id is computed.  We
123            cannot join with the repeatgroup table in question because the row
124            has already been deleted.  However, we can use the master_id
125            column of the OLD row to select the row of the parent table.
126            (create_triggers): Avoid the inner joins with the current repeat
127            group for the above mentioned reasons.  In the very common case of
128            repeat groups which are direct children of the master_tbl, we can
129            compare the master_tbl.id directly with the row's master_id.
130    
131    2010-09-14 Roland Geider <[email protected]>
132    
133            * formed/formed/plugins/export/xsd.py: issue1131: update XSD for new
134              formedtree structure
135    
136    2010-09-01 Roland Geider <[email protected]>
137    
138            * formed/formed/plugins/modify/rules.py: issue1050: mandatory fields
139              appearing double.
140              The problem was that the way the formEditor handled fields with
141              manually created rules changed. Instead of ignoring fields (very
142              early behaviour) or always generating them (early behaviour), now the
143              formED will only ignore fields with rules which name starts with
144              'required-rule-manual'. This is helpful when the rules for mandatory
145              fields are more complex (e.g. mother's name is only required if
146              mother is known).
147    
148    2010-08-10  Torsten Irländer <[email protected]>
149    
150            * contrib/diff_formed.py: New helperscript to diff to given
151              formedtrees
152    
153    2010-08-09      Roland Geider <[email protected]>
154    
155            * formed/model/exprtree.py: fixed typo
156    
157    2010-08-04  Bernhard Herzog  <[email protected]>
158    
159            * formed/po/de_DE.po: Update translations
160    
161    2010-08-04  Bernhard Herzog  <[email protected]>
162    
163            * formed/po/formed.pot: Regenerated.
164    
165            * formed/po/de_DE.po: Update.
166    
167    2010-08-04  Bernhard Herzog  <[email protected]>
168    
169            * formed/po/Makefile: Use correct filename of the pot-file in the
170            usage message
171    
172    2010-08-04  Bernhard Herzog  <[email protected]>
173    
174            * formed/po/Makefile (LIST_POTFILES): Sort the file names to make
175            the order of entries in the .pot-file more predictable.
176    
177    2010-08-04  Bernhard Herzog  <[email protected]>
178    
179            * formed/formed/model/nodecomponents.py (RootNode.__init__)
180            (RootNode.getVersion, RootNode.setVersion): Add attribute
181            "version" and accessor methods.
182    
183            * formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let
184            the user set the document version.
185            (MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion
186    
187    2010-08-02  Bernhard Herzog  <[email protected]>
188    
189            * formed/formed.py, formed/formed/io/document.py,
190            formed/formed/io/factories.py, formed/formed/io/parser.py,
191            formed/formed/model/data.py, formed/formed/model/event.py,
192            formed/formed/model/expr.py, formed/formed/model/exprtree.py,
193            formed/formed/model/memory.py, formed/formed/model/misc.py,
194            formed/formed/model/nodecomponents.py,
195            formed/formed/model/persistent.py: Fix coding declaration to be
196            acceptable to both python and Emacs.
197    
198    2010-07-29  Torsten Irländer <[email protected]>
199    
200            * formed/formed/model/data.py: Added "invisible" attribute to
201            BoolLeafs. This can be used to hide options in choicelists. so the
202            user can not select the value in the user interface. But the db will
203            have this option so is ist still present in the db an can be used
204            * formed/formed/model/exprtree.py: Added "days" function.
205    
206    2010-07-26      Roland Geider <[email protected]>
207    
208            * formed/formed/model/nodecomponents.py,
209              formed/formed/plugins/modify/rules.py: generated date rules take
210              into consideration repeat groups
211    
212    2010-07-21  Torsten Irländer <[email protected]>
213    
214            Issue870
215    
216            * formed/formed/plugins/modify/rules.py (descriptions): Do not collect
217            all headers to the referenced fields. Only list labels of the error
218            fields, which should be distinct enough.
219    
220            Issue851
221    
222            * formed/formed/model/data.py
223              formed/formed/plugins/export/new_sql.py
224              formed/formed/plugins/web/view_renderer.py
225              formed/formed/io/document.py
226              formed/formed/config.py: Added Float-Field to Formed
227    
228    2010-06-11  Bernhard Herzog  <[email protected]>
229    
230            * formed/formed/plugins/export/rg_sql.py
231            (CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call
232            create_master_ds to create the master tbl entry.  This way we can
233            add SQL code that's specific to an MPuls instance to
234            create_master_ds and still have create_master_tbl use that new
235            code.  This is useful for e.g. the JMD-Struktur part.
236    
237    2010-06-02      Roland Geider <[email protected]>
238    
239            * formed/formed/plugins/modify/rules.py: make the names of generated
240              date-sequence-rules unique
241    
242    2010-06-02      Roland Geider <[email protected]>
243    
244            * formed/plugins/export/xls.py: updated regular expression
245    
246    2010-05-17      Frank Koormann <[email protected]>
247    
248            * formed/formed/plugins/export/latex.py: Improved section labeling.
249    
250            * formed/formed/plugins/export/xls.py:
251              Export references (ie where are the lists used).
252    
253    2010-04-30  Torsten Irländer <[email protected]>
254    
255            * formed/formed/plugins/modify/rules.py (VariableType.substitute): Do
256            not generate "%"-rules for required fields in repeat-groups.
257    
258    2010-04-28      Roland Geider <[email protected]>
259    
260            * formed/plugins/export/xls.py: Radiogroups are exported
261            * formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD
262              JMD formedtree.xml validates XSD
263    
264    2010-04-08  Torsten Irländer <[email protected]>
265    
266            * formed/formed/plugins/modify/rules.py
267            (GenerateRequiredRules.generateDateSequenceRules): Add error mark to
268            rules. Generete each rule twice to be able to render errors at both
269            datefields.
270    
271    2010-04-07  Torsten Irländer <[email protected]>
272    
273            * formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag.
274    
275    2010-04-06  Torsten Irländer <[email protected]>
276    
277            * formed/formed/io/document.py (_toXML): Added comment with
278            "$Revision"-tag. This tag will/can then be substituted by the VCS.
279            * formed/formed/plugins/export/new_sql.py
280            (ExportAsSQLFilter.doExport): Added comment with
281            "$Revision"-tag. This tag will/can then be substituted by the VCS.
282            * formed/formed/model/exprtree.py: Added years operator.
283    
284    2010-03-30      Roland Geider <[email protected]>
285    
286            * formed/formed/plugins/export/latex.py: Added filter
287    
288    2010-03-25      Roland Geider <[email protected]>
289    
290            * formed/formed/plugins/export/xsd.py: Generate valid XML
291    
292    2010-02-11      Frank Koormann <[email protected]>
293    
294            * formed/formed/plugins/export/xls.py: Allow groups in choices.
295    
296    2009-12-02      Torsten Irländer <[email protected]>
297    
298            * formed/formed/plugins/export/typemap.py: do not ignore conditional
299              nodes on traversal.
300    
301    2009-11-17      Sascha L. Teichmann <[email protected]>
302    
303            * formed/formed/model/exprtree.py: Recognize '%' vars
304              in compilation. Does not eval it!
305    
306            * formed/formed/plugins/modify/rules.py: Generate '%' vars
307              for variables in repeat groups.
308    
309    2009-11-13      Sascha L. Teichmann <[email protected]>
310    
311            * formed/formed/plugins/export/typemap.py: Fixed to work
312            with new repeat group nodes.
313    
314    2009-10-28      Sascha L. Teichmann <[email protected]>
315    
316            * formed/formed/plugins/export/xsd.py,
317            formed/formed/plugins/export/sql.py,
318            formed/formed/plugins/export/new_sql.py: Allow groups in choices.
319    
320    2009-10-07      Frank Koormann <[email protected]>
321    
322            * formed/formed/plugins/export/latex.py:
323            Adjusted textprocessing to escape tex-active characters.
324    
325    2009-10-07      Sascha L. Teichmann <[email protected]>
326    
327            * formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py,
328            formed/formed/plugins/export/html2.py: Adjusted to cope with
329            "semi-complete" implementation of logbook tree structure.
330    
331    2009-06-18      Torsten Irländer <[email protected]>
332    
333            * formed/formed/plugins/export/new_sql.py,
334              formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and
335              added permissions.
336    
337    2009-06-18      Torsten Irländer <[email protected]>
338    
339            * formed/formed/plugins/export/new_sql.py: Commented out generation of
340            page_views, as they do not work with rgroups.
341    
342    2009-06-17      Torsten Irländer <[email protected]>
343    
344            * formed/formed/plugins/export/new_sql.py: Fixed anonymize function
345            and rolenames.
346    
347    2009-06-17      Sascha L. Teichmann <[email protected]>
348    
349            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
350    
351    2009-05-26      Sascha L. Teichmann <[email protected]>
352    
353            * formed/formed/plugins/names/filter.py: small optimization.
354    
355    2009-05-26      Sascha L. Teichmann <[email protected]>
356    
357            * formed/formed/plugins/names/filter.py: Repaired unique filter for
358              nodecomponent names.
359    
360    2009-05-06      Sascha L. Teichmann <[email protected]>
361    
362            * formed/formed/plugins/export/rg_sql.py: Only create depending
363              repeat groups if no uuid is given. If a uuid is given then
364              the creation is triggered by an xml import.
365    
366    2009-04-28      Sascha L. Teichmann <[email protected]>
367    
368            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
369              replace the old one. The new one faciliates the new RepeatNode instead
370              of the Group.isRepeat() method to tell if something is to be repeated.
371    
372            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
373              The old one is deactivated.
374    
375            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
376    
377    2009-04-28      Sascha L. Teichmann <[email protected]>
378    
379            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
380              TODO: Adjust execution rights.
381    
382    2009-04-27      Sascha L. Teichmann <[email protected]>
383    
384            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
385              Add functions to create dataset.
386    
387    2009-04-24      Sascha L. Teichmann <[email protected]>
388    
389            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
390              tree structure functions in database.
391    
392            * formed/formed/config.py: load plug-in.
393    
394    2009-04-16      Sascha L. Teichmann <[email protected]>
395    
396            * formed/formed/model/data.py: Added 'digest' attribute to
397              RepeatNode. Removed needless methods
398    
399    2009-04-16      Sascha L. Teichmann <[email protected]>
400    
401            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
402              more readable with '=' and '<>'.
403    
404    2009-04-02      Sascha L. Teichmann <[email protected]>
405    
406            * formed/formed/plugins/export/sql.py: call anonymization
407              of uuid on anonymization of case.
408    
409    2009-03-31      Sascha L. Teichmann <[email protected]>
410    
411            * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
412              case_anonymize().
413    
414    2009-03-31      Sascha L. Teichmann <[email protected]>
415    
416            * formed/formed/model/exprtree.py: Add some code to pretty print
417              the trees infix.
418    
419            * formed/formed/plugins/export/rules.py: New. Exporter for human
420              readable rules.
421    
422            * formed/formed/plugins/export/html.py: Fixed HTML generation.
423    
424            * formed/formed/config.py: Added new new Rule export plug-in.
425    
426    2009-03-31      Sascha L. Teichmann <[email protected]>
427    
428            * formed/formed/model/exprtree.py: Fixes from server. Raise
429              exceptions if there is less or more than one element on stack
430              after compilation of expression.
431    
432    2009-03-20      Sascha L. Teichmann <[email protected]>
433    
434            * formed/formed/model/data.py: Removed debug output
435    
436            * formed/formed/plugins/modify/rules.py: Fixed error message.
437              Generate past and future rules.
438    
439    2009-03-16      Sascha L. Teichmann <[email protected]>
440    
441            * formed/formed/model/exprtree.py: Forget to call today with context.
442    
443    2009-03-16      Sascha L. Teichmann <[email protected]>
444    
445            * formed/formed/io/document.py: Fixed syntax typo.
446    
447    2009-03-16      Sascha L. Teichmann <[email protected]>
448    
449            * formed/formed/model/data.py: ConditionalNode inherits from Node directly.
450    
451    2009-03-16      Sascha L. Teichmann <[email protected]>
452    
453            * formed/formed/model/data.py: Added ConditionalNode
454    
455            * formed/formed/io/document.py: Make ConditionalNode loadable.
456    
457    2009-03-13      Sascha L. Teichmann <[email protected]>
458    
459            * formed/formed/plugins/modify/rules.py: Make the error descriptions
460              in date sequence rules more precise.
461    
462    2009-03-13      Sascha L. Teichmann <[email protected]>
463    
464            * formed/formed/plugins/modify/rules.py: generate date sequence rules.
465    
466    2009-03-13      Sascha L. Teichmann <[email protected]>
467    
468            * formed/formed/model/exprtree.py: New tree based expression engine.
469    
470            * formed/formed/model/__init__.py, formed/formed/model/data.py:
471              Adjusted imports.
472    
473    2009-03-12      Torsten Irländer <[email protected]>
474    2009-06-17      Sascha L. Teichmann <[email protected]>
475    
476            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
477    
478    2009-05-26      Sascha L. Teichmann <[email protected]>
479    
480            * formed/formed/plugins/names/filter.py: small optimization.
481    
482    2009-05-26      Sascha L. Teichmann <[email protected]>
483    
484            * formed/formed/plugins/names/filter.py: Repaired unique filter for
485              nodecomponent names.
486    
487    2009-05-06      Sascha L. Teichmann <[email protected]>
488    
489            * formed/formed/plugins/export/rg_sql.py: Only create depending
490              repeat groups if no uuid is given. If a uuid is given then
491              the creation is triggered by an xml import.
492    
493    2009-04-28      Sascha L. Teichmann <[email protected]>
494    
495            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
496              replace the old one. The new one faciliates the new RepeatNode instead
497              of the Group.isRepeat() method to tell if something is to be repeated.
498    
499            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
500              The old one is deactivated.
501    
502            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
503    
504    2009-04-28      Sascha L. Teichmann <[email protected]>
505    
506            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
507              TODO: Adjust execution rights.
508    
509    2009-04-27      Sascha L. Teichmann <[email protected]>
510    
511            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
512              Add functions to create dataset.
513    
514    2009-04-24      Sascha L. Teichmann <[email protected]>
515    
516            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
517              tree structure functions in database.
518    
519            * formed/formed/config.py: load plug-in.
520    
521    2009-04-16      Sascha L. Teichmann <[email protected]>
522    
523            * formed/formed/model/data.py: Added 'digest' attribute to
524              RepeatNode. Removed needless methods
525    
526    2009-04-16      Sascha L. Teichmann <[email protected]>
527    
528            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
529              more readable with '=' and '<>'.
530    
531    2009-04-02      Sascha L. Teichmann <[email protected]>
532    
533            * formed/formed/plugins/export/sql.py: call anonymization
534              of uuid on anonymization of case.
535    
536    2009-03-31      Sascha L. Teichmann <[email protected]>
537    
538            * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
539              case_anonymize().
540    
541    2009-03-31      Sascha L. Teichmann <[email protected]>
542    
543            * formed/formed/model/exprtree.py: Add some code to pretty print
544              the trees infix.
545    
546            * formed/formed/plugins/export/rules.py: New. Exporter for human
547              readable rules.
548    
549            * formed/formed/plugins/export/html.py: Fixed HTML generation.
550    
551            * formed/formed/config.py: Added new new Rule export plug-in.
552    
553    2009-03-31      Sascha L. Teichmann <[email protected]>
554    
555            * formed/formed/model/exprtree.py: Fixes from server. Raise
556              exceptions if there is less or more than one element on stack
557              after compilation of expression.
558    
559    2009-03-20      Sascha L. Teichmann <[email protected]>
560    
561            * formed/formed/model/data.py: Removed debug output
562    
563            * formed/formed/plugins/modify/rules.py: Fixed error message.
564              Generate past and future rules.
565    
566    2009-03-16      Sascha L. Teichmann <[email protected]>
567    
568            * formed/formed/model/exprtree.py: Forget to call today with context.
569    
570    2009-03-16      Sascha L. Teichmann <[email protected]>
571    
572            * formed/formed/io/document.py: Fixed syntax typo.
573    
574    2009-03-16      Sascha L. Teichmann <[email protected]>
575    
576            * formed/formed/model/data.py: ConditionalNode inherits from Node directly.
577    
578    2009-03-16      Sascha L. Teichmann <[email protected]>
579    
580            * formed/formed/model/data.py: Added ConditionalNode
581    
582            * formed/formed/io/document.py: Make ConditionalNode loadable.
583    
584    2009-03-13      Sascha L. Teichmann <[email protected]>
585    
586            * formed/formed/plugins/modify/rules.py: Make the error descriptions
587              in date sequence rules more precise.
588    
589    2009-03-13      Sascha L. Teichmann <[email protected]>
590    
591            * formed/formed/plugins/modify/rules.py: generate date sequence rules.
592    
593    2009-03-13      Sascha L. Teichmann <[email protected]>
594    
595            * formed/formed/model/exprtree.py: New tree based expression engine.
596    
597            * formed/formed/model/__init__.py, formed/formed/model/data.py:
598              Adjusted imports.
599    
600    2009-03-12      Torsten Irländer <[email protected]>
601    2009-06-17      Sascha L. Teichmann <[email protected]>
602    
603            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
604    
605    2009-05-26      Sascha L. Teichmann <[email protected]>
606    
607            * formed/formed/plugins/names/filter.py: small optimization.
608    
609    2009-05-26      Sascha L. Teichmann <[email protected]>
610    
611            * formed/formed/plugins/names/filter.py: Repaired unique filter for
612              nodecomponent names.
613    
614    2009-05-06      Sascha L. Teichmann <[email protected]>
615    
616            * formed/formed/plugins/export/rg_sql.py: Only create depending
617              repeat groups if no uuid is given. If a uuid is given then
618              the creation is triggered by an xml import.
619    
620    2009-04-28      Sascha L. Teichmann <[email protected]>
621    
622            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
623              replace the old one. The new one faciliates the new RepeatNode instead
624              of the Group.isRepeat() method to tell if something is to be repeated.
625    
626            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
627              The old one is deactivated.
628    
629            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
630    
631    2009-04-28      Sascha L. Teichmann <[email protected]>
632    
633            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
634              TODO: Adjust execution rights.
635    
636    2009-04-27      Sascha L. Teichmann <[email protected]>
637    
638            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
639              Add functions to create dataset.
640    
641    2009-04-24      Sascha L. Teichmann <[email protected]>
642    
643            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
644              tree structure functions in database.
645    
646            * formed/formed/config.py: load plug-in.
647    
648    2009-04-16      Sascha L. Teichmann <[email protected]>
649    
650            * formed/formed/model/data.py: Added 'digest' attribute to
651              RepeatNode. Removed needless methods
652    
653    2009-04-16      Sascha L. Teichmann <[email protected]>
654    
655            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
656              more readable with '=' and '<>'.
657    
658    2009-04-02      Sascha L. Teichmann <[email protected]>
659    
660            * formed/formed/plugins/export/sql.py: call anonymization
661              of uuid on anonymization of case.
662    
663    2009-03-31      Sascha L. Teichmann <[email protected]>
664    
665            * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
666              case_anonymize().
667    
668    2009-03-31      Sascha L. Teichmann <[email protected]>
669    
670            * formed/formed/model/exprtree.py: Add some code to pretty print
671              the trees infix.
672    
673            * formed/formed/plugins/export/rules.py: New. Exporter for human
674              readable rules.
675    
676            * formed/formed/plugins/export/html.py: Fixed HTML generation.
677    
678            * formed/formed/config.py: Added new new Rule export plug-in.
679    
680    2009-03-31      Sascha L. Teichmann <[email protected]>
681    
682            * formed/formed/model/exprtree.py: Fixes from server. Raise
683              exceptions if there is less or more than one element on stack
684              after compilation of expression.
685    
686    2009-03-20      Sascha L. Teichmann <[email protected]>
687    
688            * formed/formed/model/data.py: Removed debug output
689    
690            * formed/formed/plugins/modify/rules.py: Fixed error message.
691              Generate past and future rules.
692    
693    2009-03-16      Sascha L. Teichmann <[email protected]>
694    
695            * formed/formed/model/exprtree.py: Forget to call today with context.
696    
697    2009-03-16      Sascha L. Teichmann <[email protected]>
698    
699            * formed/formed/io/document.py: Fixed syntax typo.
700    
701    2009-03-16      Sascha L. Teichmann <[email protected]>
702    
703            * formed/formed/model/data.py: ConditionalNode inherits from Node directly.
704    
705    2009-03-16      Sascha L. Teichmann <[email protected]>
706    
707            * formed/formed/model/data.py: Added ConditionalNode
708    
709            * formed/formed/io/document.py: Make ConditionalNode loadable.
710    
711    2009-03-13      Sascha L. Teichmann <[email protected]>
712    
713            * formed/formed/plugins/modify/rules.py: Make the error descriptions
714              in date sequence rules more precise.
715    
716    2009-03-13      Sascha L. Teichmann <[email protected]>
717    
718            * formed/formed/plugins/modify/rules.py: generate date sequence rules.
719    
720    2009-03-13      Sascha L. Teichmann <[email protected]>
721    
722            * formed/formed/model/exprtree.py: New tree based expression engine.
723    
724            * formed/formed/model/__init__.py, formed/formed/model/data.py:
725              Adjusted imports.
726    
727    2009-03-12      Torsten Irländer <[email protected]>
728    
729            Introduced new order attribute for date fields
730    
731            * formed/formed/model/data.py: Order fields can be used to define to
732            ordering of datefields withing the document. Needed for automatic
733            generation of consistency rules.
734    
735    2009-02-09      Sascha L. Teichmann <[email protected]>
736    
737            * formed/formed/model/data.py: Allow pages to be 'invisible'.
738    
739    2009-02-09      Sascha L. Teichmann <[email protected]>
740    
741            * formed/formed/plugins/export/sql.py: Fixed problem with
742              description reference tables of radio groups.
743    
744    2009-02-09      Sascha L. Teichmann <[email protected]>
745    
746            * formed/formed/plugins/export/sql.py: replace '-' in names
747              by '_'.
748              
749    2009-02-09      Sascha L. Teichmann <[email protected]>
750    
751            * formed/formed/plugins/export/sql.py: to figure ou which
752              tables are equal the insert statememnts are lower cased
753              and sorted before they are compared. This reduces the number
754              of generated referfence tables.
755    
756    2009-02-09      Sascha L. Teichmann <[email protected]>
757    
758            Repair SQL schema creation for radio groups.
759    
760            * formed/formed/plugins/export/sql.py: radio groups are handled
761              like choices now.
762    
763    2009-02-09      Sascha L. Teichmann <[email protected]>
764    
765            Make it startable again.
766    
767            * formed/formed/plugins/export/xls.py: Import pyExcelerator only
768              when plug-in is called.
769    
770            * formed/formed/model/nodecomponents.py: Event routing was messed up.
771              Rewired root node with document.
772    
773            * formed/formed/plugins/web/help.py: Removed old xml.ext import.
774              XXX: This breaks creating help by now!
775    
776            * formed/formed/io/parser.py: Replace old deprecated base class
777              by new one.
778    
779            * formed/formed/main.py: Do not crash if locale cannot be set.
780    
781            * formed/formed/ui/controls.py: Use document.getCase() instead
782              of document.case to prevent uninitialized dereferences.
783    
784    2009-01-22      Torsten Irländer <[email protected]>
785    
786            Implemented new XML-Format for formed xml files.
787    
788            * formed/formed/model/nodecomponents.py,
789              formed/formed/io/document.py,
790              formed/formed/main.py,
791              formed/formed/ui/controls.py: Introduced new "case" and "logbook"
792              node. Under case is the definition of the formular. logbook will
793              hold the defintion of logboog entrys. For now only the part under
794              "case" can be modified.  
795    
796    2009-01-21      Torsten Irländer <[email protected]>
797    
798            Changed way how XSD-Scheme is generated
799    
800            * formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support
801              logbookentrys. The scheme definiton is now hardcoded in the
802              exporter as it will rarely change. It logbookpart will not be
803              generated from the formedtree anymore.
804    
805    2009-01-20      Torsten Irländer <[email protected]>
806    
807            Support Logbook entrys in xsd schema export
808    
809            * formed/formed/model/data.py: Repeatnode are now handeld as
810              repeatgroups in xsd-export
811            * formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support
812              logbookentrys. The scheme will now validate against an xmlfile from
813              the offlineclient.
814    
815    2009-01-09      Torsten Irländer <[email protected]>
816    
817            Added new repeat node
818    
819            * formed/formed/model/data.py,
820              formed/formed/io/document.py: Added repeatnode to the formedtree.
821              TODO: Remove repeatgroup handling from the groupnode.
822    
823    2009-01-08      Torsten Irländer <[email protected]>
824    
825            Add isset operator to autogenerated rules.
826    
827            * formed/formed/plugins/modify/rules.py: Add issed operator to standard
828              autogenerated rules.
829    
830    2008-12-17      Frank Koormann <[email protected]>
831    
832            * formed/formed/plugins/export/latex.py: Export form as set of
833            latex tables to be included into a master document. The export
834            generates section marks to structure the form and placeholders for
835            help texts to be merged in by a post processing step.
836    
837    2008-12-04      Sascha L. Teichmann <[email protected]>
838    
839            * formed/formed/model/expr.py: Added 'today' which pushes the current date
840              on the stack.
841    
842    2008-12-03      Sascha L. Teichmann <[email protected]>
843    
844            * formed/formed/plugins/web/controllers.py: compute changeset more correctly in
845              storage of fields.
846    
847            * formed/formed/plugins/export/xsd.py: Added unknown int -999999 to integer
848              fields as an accepted value. Generate schema for radio groups too.
849    
850    2008-12-01      Torsten Irländer <[email protected]>
851    
852            Added autmatic generation of required rules
853    
854            * formed/formed/model/data.py,
855              formed/formed/model/expr.py,
856              formed/formed/plugins/modify/rules.py: Default rules for required
857              fields can now be generated.
858    
859    2008-11-28      Sascha L. Teichmann <[email protected]>
860    
861            * formed/formed/model/data.py, formed/formed/model/nodecomponents.py:
862              Ported WidgetCollector from Offline client.
863    
864            * formed/formed/plugins/modify/__init__.py, formed/formed/plugins/modify,
865              formed/formed/plugins/modify/rules.py: Stub for required rules generator.
866    
867            * formed/formed/config.py: Bind new filter to FormEd
868    
869    2008-11-27      Torsten Irländer <[email protected]>
870    
871            * formed/formed/model/data.py: Added new attribute mark for rules
872    
873    2008-11-10      Torsten Irländer <[email protected]>
874    
875            Implemented radio-matrix elements. radio elelement having the same
876            options can now be rendered in table form.
877    
878            * formed/formed/model/data.py,
879              formed/formed/io/document.py: Added new radio-matrix element to the
880              model and gui
881            * formed/formed/plugins/web/view_renderer.py: Write html-renderer for
882              the radio-matrix element.
883    
884    2008-11.03      Torsten Irländer <[email protected]>
885    
886            * formed/formed/model/data.py: Fixed import error
887    
888    2008-10-29      Sascha L. Teichmann <[email protected]>
889    
890            Relative paths in external choices are now possible. Relative paths are
891            relative to path of the master document.
892    
893            * formed/model/data.py: external choice are now storing the path to the
894              master document.
895    
896            * formed/formed/io/document.py: Pass context to SAX builder.
897    
898            * formed/formed/io/factories.py: For new created nodes look if there
899              is a method 'setLoadContext' and call it.
900    
901    2008-09-04      Sascha L. Teichmann <[email protected]>
902    
903            * doc/beschreibung.txt: New. Initial description of FormEd (german).
904    
905    2008-08-22      Sascha L. Teichmann <[email protected]>
906    
907            * formed/formed/model/nodecomponents.py: Added attribute 'flags'.
908    
909    2008-08-21      Sascha L. Teichmann <[email protected]>
910    
911            * formed/formed/io/document.py: Indent tree while saving
912            * formed/formed/main.py: removed needless print
913    
914    2008-08-15      Sascha L. Teichmann <[email protected]>
915    
916            * LICENSE: New GPLv3
917            * */*.py, *.sh: Added reference to LICENSE
918    
919    2008-08-15      Sascha L. Teichmann <[email protected]>
920    
921            * tools: removed because there a no tools any more.
922    
923    2008-08-15      Sascha L. Teichmann <[email protected]>
924    
925            * tools/formed: moved one level up because its the only
926              part of this project now.
927    
928    2008-08-15      Sascha L. Teichmann <[email protected]>
929    
930            * tools/anonym/*: Removed as it belongs to mpuls WASKA
931    
932    2008-08-15      Sascha L. Teichmann <[email protected]>
933    
934            * pdf2xfa/*: removed. It belongs to mpuls
935    
936    2008-08-13 L. Teichmann <[email protected]>
937    
938            i18n of the plug-ins:
939            * tools/formed/formed/plugins/export/diff.py,
940              tools/formed/formed/plugins/export/data.py,
941              tools/formed/formed/plugins/export/old_sql.py,
942              tools/formed/formed/plugins/export/latex.py,
943              tools/formed/formed/plugins/export/xsd.py,
944              tools/formed/formed/plugins/export/sql.py,
945              tools/formed/formed/plugins/export/typemap.py,
946              tools/formed/formed/plugins/export/html.py,
947              tools/formed/formed/plugins/export/mode.py,
948              tools/formed/formed/plugins/export/html2.py,
949              tools/formed/formed/plugins/export/xls.py,
950              tools/formed/formed/plugins/names/filter.py,
951              tools/formed/formed/plugins/plugin.py,
952              tools/formed/formed/plugins/web/help.py,
953              tools/formed/formed/plugins/web/form_renderer.py,
954              tools/formed/formed/plugins/web/plugin.py,
955              tools/formed/formed/plugins/web/error_renderer.py,
956              tools/formed/formed/plugins/web/view_renderer.py,
957              tools/formed/formed/plugins/web/semantic.py,
958              tools/formed/formed/plugins/web/cache.py,
959              tools/formed/formed/plugins/web/server.py,
960              tools/formed/formed/plugins/web/controllers.py,
961              tools/formed/formed/plugins/web/renderer.py,
962              tools/formed/formed/plugins/ui/controls.py,
963              tools/formed/formed/config.py: _("")s the stuff
964              tools/formed/po/formed.pot, tools/formed/po/de_DE.po:
965              extracted and translated.
966    
967    2008-08-08      Sascha L. Teichmann <[email protected]>
968    
969            First version of FormEd i18n. After checkout go to tools/formed/po/ and
970            say 'make mo'. Afterwards you can start FormEd as usual.
971    
972            * tools/formed/resources: New. Place to places ressources like *.mo files
973            * tools/formed/formed/main.py, tools/formed/formed/ui/controls.py: Add _("")s
974              
975            * tools/formed/po,
976              tools/formed/po/Makefile,
977              tools/formed/po/formed.pot,
978              tools/formed/po/de_DE.po: i18n stuff.
979    
980    2008-08-08      Sascha L. Teichmann <[email protected]>
981    
982            * tools/anonym/xmlexport.py: Only export cases which are not
983              'schwebend geloescht'.
984    
985    2008-07-23      Sascha L. Teichmann <[email protected]>
986    
987            Fixed issue472
988    
989            * tools/anonym/xmlimport.py: Regenerate dicts from current form ed tree.
990    
991    2008-07-17      Sascha L. Teichmann <[email protected]>
992    
993            * tools/anonym/xmlimport.py: removed marking of invalid cases
994            * tools/anonym/cron.importAnonXml.sh: re-inserted here.
995    
996    2008-07.07      Torsten Irländer <[email protected]>
997    
998            * tools/formed/formed/plugins/export/latex.py
999              tools/formed/formed/config.py: Added new LaTex Export. Beware this
1000              is even more ugly the HTML Export.
1001            * tools/formed/formed/plugins/export/html.py: Added information on
1002              anonymisation to the html export.
1003    
1004    2008-07-07      Sascha L. Teichmann <[email protected]>
1005    
1006            * tools/anonym/xmlimport.py: Mark cases if they are inconsistent.
1007    
1008    2008-07-07      Sascha L. Teichmann <[email protected]>
1009    
1010            * tools/anonym/xmlimport.py: Updated to schema 1.5. (Which is incompatible to 1.4)
1011    
1012    2008-07-07      Sascha L. Teichmann <[email protected]>  
1013            
1014            * tools/formed/formed/plugins/export/html.py: Added additional column
1015            to the html export with information how each field will get
1016            anonymized.
1017    
1018    2008-07-07      Sascha L. Teichmann <[email protected]>  
1019    
1020            * tools/anonym/xmlimport.py: sync with productive version.
1021    
1022    2008-06-10      Torsten Irländer <[email protected]>
1023    
1024            * tools/formed/formed/plugins/export/sql.py: grant admin permission to
1025              call anonymize function
1026    
1027    2008-05-21      Sascha L. Teichmann <[email protected]>  
1028    
1029            * tools/formed/formed/plugins/export/xsd.py: Brought encoding
1030              back to UTF-8.
1031    
1032    2008-05-21      Frank Koormann <[email protected]>
1033    
1034            * tools/formed/formed/plugins/export/xls.py: New, export key value
1035            tables as excel workbook with one sheet per table.
1036    
1037            * tools/formed/formed/config.py: ExportKeyValueTableAsXLS added.
1038    
1039    2008-05-21      Frank Koormann <[email protected]>
1040    
1041            * tools/formed/formed/plugins/export/xsd.py
1042            (SchemaCreator._createChoice): Fix use of choices name.
1043    
1044    2008-04-29      Sascha L. Teichmann <[email protected]>
1045    
1046            * tools/formed/formed/plugins/export/xsd.py: Use substitution group
1047              to allow arbitrary order of repeat groups.
1048    
1049    2008-04-29      Sascha L. Teichmann <[email protected]>
1050    
1051            * tools/formed/formed/plugins/export/xsd.py: Removed a needless
1052              character.
1053    
1054    2008-04-29      Sascha L. Teichmann <[email protected]>
1055    
1056            * tools/formed/formed/plugins/export/xsd.py: Added annotations
1057              to fields.
1058    
1059    2008-04-29      Sascha L. Teichmann <[email protected]>
1060    
1061            * tools/formed/formed/plugins/export/xsd.py: Added for
1062              choice fields.
1063    
1064    2008-04-29      Sascha L. Teichmann <[email protected]>
1065    
1066            * tools/formed/formed/plugins/export/xsd.py: Added support for
1067              boolean fields based on enumerations.
1068    
1069    2008-04-28      Sascha L. Teichmann <[email protected]>
1070    
1071            * tools/formed/formed/plugins/export/xsd.py: Added support for
1072              date, text and textarea fields.
1073    
1074    2008-04-28      Sascha L. Teichmann <[email protected]>
1075    
1076            * tools/formed/formed/plugins/export/xsd.py: Added support for
1077              repeat groups and integer fields.
1078    
1079    2008-04-28      Sascha L. Teichmann <[email protected]>
1080    
1081            * tools/formed/formed/plugins/export/xsd.py: New. plug-in for
1082              exporting as XML schema. not ready, yet.
1083    
1084            * tools/formed/formed/config.py: Use new plug-in.
1085    
1086            * tools/formed/formed/plugins/export/sql.py: Fixed wrong GUI text.
1087    
1088    2008-04-17      Torsten Irländer <[email protected]>
1089    
1090            * tools/formed/formed/plugins/export/sql.py: Changed WHERE clause in
1091            for the views because of the new group permissions.
1092    
1093    2008-04-09      Sascha L. Teichmann <[email protected]>
1094    
1095            * tools/anonym/cron.deleteOldAnonymized.sh: New. cron job to delete
1096              old anonymized cases.
1097    
1098    2008-04-01      Sascha L. Teichmann <[email protected]>
1099    
1100            * tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1"
1101              from clause to select datasets.
1102              Replace ']]>' in CDATA sections with correct splitted replacement.
1103    
1104    2008-03-12      Sascha L. Teichmann <[email protected]>
1105            
1106            * tools/anonym/cron.importAnonXml.sh: Added absolut path to  xmlimport
1107              script.
1108    
1109            * tools/anonym/xmlimport.py: commented out database port from
1110              connectionstring.
1111    
1112    2008-03-12      Sascha L. Teichmann <[email protected]>
1113    
1114            * tools/formed/formed/plugins/export/sql.py: Fixed bug in generation
1115              of anonymization of repeat groups (wrong id was given).
1116    
1117    2008-03-11      Sascha L. Teichmann <[email protected]>
1118    
1119            * tools/formed/formed/plugins/export/sql.py: Generate no update
1120              statements for relations which have no anonym functions applied.
1121    
1122    2008-03-11      Sascha L. Teichmann <[email protected]>
1123    
1124            * tools/formed/formed/plugins/export/sql.py: Added a newline after
1125              'COMMIT;' in the last line.
1126    
1127    2008-03-11      Sascha L. Teichmann <[email protected]>
1128    
1129            * tools/formed/formed/plugins/export/sql.py: Fixed syntax of
1130              generated anonymize_case() function.
1131              
1132    2008-03-11      Sascha L. Teichmann <[email protected]>
1133    
1134            * tools/formed/formed/plugins/export/sql.py: Added code to
1135              generate a plpgsql function anonymize_case() that anonymized
1136              a given case and all of its depending repeat groups.
1137    
1138    2008-03-06      Sascha L. Teichmann <[email protected]>
1139    
1140            * tools/anonym/xmlimport.py: remove print of insert statement.
1141    
1142            * tools/formed/formed/plugins/export/sql.py: Print generation date in ISO.
1143    
1144    2008-03-03      Torsten Irländer <[email protected]>
1145    
1146            * anonym/cron.sendAnonXml.sh,
1147              anonym/getDbList.sh: Modified script to be used directly in the
1148              production environment (Copied running scripts from production
1149              server)
1150    
1151            * cron.importAnonXml.sh: Added deleting of ols cases. Modified script
1152              to be used in a production environment (Cpoied running script from
1153              production server)
1154    
1155            * tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to
1156              ensure that only valid cases get exported
1157    
1158    2008-02-27      Sascha L. Teichmann <[email protected]>
1159    
1160            * tools/anonym/xmlimport.py: Fixed bug in date converter.
1161    
1162    2008-02-27      Sascha L. Teichmann <[email protected]>
1163    
1164            * tools/anonym/xmlimport.py: Simpilied version
1165    
1166    2008-02-27      Sascha L. Teichmann <[email protected]>
1167    
1168            * tools/anonym/cron.importAnonXml.sh: Add sudo call for
1169              xmlimport.py and parameters.
1170    
1171            * tools/anonym/xmlimport.py: Various bug fixes. Not working yet. :-/
1172    
1173            * tools/anonym/xmlexport.py: Use python interpreter without env
1174              because of sudo context.
1175    
1176    2008-02-26      Sascha L. Teichmann <[email protected]>
1177    
1178            * tools/anonym/xmlimport.py: added support for getopt. add
1179              support to force in fkz in import of case.
1180    
1181    2008-02-26      Sascha L. Teichmann <[email protected]>
1182    
1183            * tools/anonym/xmlimport.py: Implemented logic to create/update cases.
1184    
1185            * tools/anonym/html.awk: produces valid HTML.
1186    
1187    2008-02-25      Sascha L. Teichmann <[email protected]>
1188    
1189            * tools/anonym/joincsv.py: Fix a logic bug.
1190    
1191    2008-02-25      Torsten Irlaender <[email protected]>
1192    
1193            * tools/anonym/cron.importAnonXml.sh: Added shellscript for importing
1194              exportted cases. It will read all files from a directory and import
1195              the files into the DB. After that the script will cleanup the
1196              directory.
1197    
1198    2008-02-25      Torsten Irländer <[email protected]>
1199            
1200            * tools/anonym/cron.sendAnonXml.sh,
1201              tools/anonym/xmlexport.py,
1202              tools/anonym/getDbList.sh: Added shell-scripts for exporting cases
1203    
1204    2008-02-25      Sascha L. Teichmann <[email protected]>
1205    
1206            * tools/anonym/joincsv.py: Fixed typo which generated wrong number of cols.
1207    
1208    2008-02-25      Sascha L. Teichmann <[email protected]>
1209    
1210            * tools/anonym/joincsv.py: New. Joins CSV files.
1211    
1212            * tools/anonym/html.awk: New. Converts CSV to HTML
1213    
1214    2008-02-25      Sascha L. Teichmann <[email protected]>
1215    
1216            * tools/anonym/xmlimport.py: New. Added generation of
1217              update statements.
1218    
1219    2008-02-25      Sascha L. Teichmann <[email protected]>
1220    
1221            * tools/anonym/xmlimport.py: New. Base for importing
1222              XML from cron.
1223    
1224    2008-02-24      Sascha L. Teichmann <[email protected]>
1225    
1226            * tools/formed/formed/plugins/export/html2.py: New. plug-in
1227              for a simplified HTML output
1228    
1229            * tools/formed/formed/plugins/export/typemap.py: New. plug-in
1230              for dump schema as python dictionary.
1231    
1232            * tools/formed/formed/config.py: Enable new plug-ins. Out comment
1233              old stored procedure and view generators.
1234    
1235    2008-02-19      Sascha L. Teichmann <[email protected]>
1236    
1237            * tools/anonym/xmlexport.py: New. Export all cases in database
1238              as XML.
1239    
1240    2008-02-18      Sascha L. Teichmann <[email protected]>
1241    
1242            * tools/anonym/anoymncsv.py: separate field with '\t' now.
1243              all '\t's are replaced by '   ' before. '\r\n' are removed too.
1244    
1245    2008-02-15      Sascha L. Teichmann <[email protected]>
1246    
1247            * tools/anonym/anoymncsv.py: simple script to fetch anonymous
1248              data from database.
1249    
1250    2008-02-14      Sascha L. Teichmann <[email protected]>
1251    
1252            * tools/formed/formed/plugins/export/sql.py: Exchanged name
1253              erase_value with suppress_value/suppress_value2.
1254    
1255    2008-02-13      Sascha L. Teichmann <[email protected]>
1256    
1257            * tools/formed/formed/plugins/export/sql.py: output id, master_id
1258              substitute 'erase_value' with NULL value.
1259    
1260    2008-02-13      Sascha L. Teichmann <[email protected]>
1261    
1262            * tools/formed/formed/plugins/export/sql.py: output id, master_id
1263              and uuid_id in anonymiziation views too.
1264    
1265    2008-02-13      Sascha L. Teichmann <[email protected]>
1266    
1267            * tools/formed/formed/plugins/export/sql.py: Added generation
1268              of anonymiziation views for master table views and repeat group
1269              views.
1270    
1271    2008-02-13      Sascha L. Teichmann <[email protected]>
1272    
1273            * tools/formed/formed/model/nodecomponents.py: Added attribute
1274              "function"
1275    
1276            * tools/formed/formed/io/document.py: Save attributes in
1277              alphabetical order.
1278    
1279    2008-02-02      Sascha L. Teichmann <[email protected]>
1280    
1281            * tools/formed/formed/plugins/export/sql.py: Added update rule
1282              for master table and repeat groups views. Granted update right
1283              to :cm_ka_group.
1284    
1285    2008-02-01      Sascha L. Teichmann <[email protected]>
1286    
1287            * tools/formed/formed/plugins/export/sql.py: Added a column 'uuid_id'
1288              for master table and repeat groups. Also added unique constraints
1289              to these columns.
1290    
1291    2007-12-10      Sascha L. Teichmann <[email protected]>
1292    
1293            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Added a system
1294              property 'root.element' to specify the name of the XML root.
1295    
1296            * pdf2xfa/startup/pdf2xfa.sh, pdf2xfa/README.TXT: Adjusted.
1297    
1298    2007-11-22      Sascha L. Teichmann <[email protected]>
1299    
1300            * pdf2xfa/startup, */pdf2xfa.sh, */pdf2xfa.init: boot scripts
1301              for GNU/Linux (tested Debian 'Etch' 4.0) by Sascha Wilde.
1302    
1303            * pdf2xfa/README.TXT: Add a remark to new boot scripts.
1304    
1305    2007-11-21      Sascha L. Teichmann <[email protected]>
1306    
1307            * pdf2xfa/src/de/intevation/pdfimport/Log.java: New.
1308              Sends logging to file.
1309    
1310            * pdf2xfa/src/de/intevation/pdfimport/Server.java,
1311              pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Adjusted
1312              to use new logging.
1313    
1314            * pdf2xfa/README.TXT: Added remark how to use logging.
1315    
1316    2007-11-16      Frank Koormann <[email protected]>
1317    
1318            * tools/formed/formed/plugins/export/sql.py (createSchema):
1319            Append only column "bearbeiter_id", standins are modelled by a
1320            separate table.
1321    
1322    2007-11-16      Sascha L. Teichmann <[email protected]>
1323    
1324            * tools/formed/formed/model/data.py,
1325              tools/formed/formed/plugins/web/view_renderer.py:
1326              Added an invisible flag for info fields.
1327    
1328    2007-11-07      Sascha L. Teichmann <[email protected]>
1329    
1330            * tools/formed/formed/model/nodecomponents.py: Fixed a few small bugs
1331              (calling a wrong method).
1332    
1333    2007-11-07      Sascha L. Teichmann <[email protected]>
1334    
1335            * tools/formed/formed/model/nodecomponents.py: Added a field
1336              'alternative' to all node components. This might be of help to
1337              match PDF imports where the descriptions do not match.
1338    
1339    2007-10-23      Frank Koormann <[email protected]>
1340    
1341            * tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views
1342    
1343    2007-10-23      Frank Koormann <[email protected]>
1344    
1345            * tools/formed/formed/plugins/export/sql.py: Set default
1346            value (-1) for choices and bools.
1347    
1348    2007-10-21      Frank Koormann <[email protected]>
1349    
1350            * tools/formed/formed/plugins/export/sql.py: Grant statements for
1351            descriptive tables added.
1352            (Table.getName): new
1353    
1354    2007-10-21      Frank Koormann <[email protected]>
1355    
1356            * tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE"
1357            statements for views and roles to make updates easier.
1358            Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE.
1359    
1360    2007-10-19      Frank Koormann <[email protected]>
1361    
1362            * tools/formed/formed/plugins/export/sql.py: Added GRANT statements
1363            for views. The statements are prepared for variable substitution
1364            when executing the SQL-scripts by psql.
1365    
1366    2007-10-18      Sascha L. Teichmann <[email protected]>
1367    
1368            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed:
1369              End of result XML was truncated because of an unflushed buffer.
1370    
1371    2007-10-17      Sascha L. Teichmann <[email protected]>
1372    
1373            * pdf2xfa/bin/build-jar.sh: New. Build production jar file.
1374    
1375            * pdf2xfa/README.TXT: Adjusted how to build production jar file
1376              and how to use it.
1377    
1378            * pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class
1379              and iText dependency.
1380    
1381    2007-10-16      Sascha L. Teichmann <[email protected]>
1382    
1383            * tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe'
1384              are not modeled as BOOLEANs any more. That simpifies the conversion
1385              process web vs. db.
1386    
1387    2007-10-07      Sascha L. Teichmann <[email protected]>
1388    
1389            * tools/formed/formed/plugins/export/sql.py: Added the remaining
1390              UPDATE rules.
1391    
1392    2007-10-07      Sascha L. Teichmann <[email protected]>
1393    
1394            * tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some
1395              views. TODO: Test'em and implement the rest.
1396    
1397    2007-10-07      Sascha L. Teichmann <[email protected]>
1398    
1399            * tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT
1400              rules referenced none existing views.
1401    
1402    2007-10-07      Sascha L. Teichmann <[email protected]>
1403    
1404            * tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT
1405              rules for views. TODO: add UPDATE rules.
1406    
1407    2007-10-07      Sascha L. Teichmann <[email protected]>
1408    
1409            * tools/formed/formed/plugins/export/old_sql.py: New. Contains
1410              the legacy SQL export filters.
1411    
1412            * tools/formed/formed/plugins/export/sql.py: Factored out the
1413              legacy SQL export filters to old_sql.
1414    
1415            * tools/formed/formed/config.py: Adjusted to fetch legacy
1416              filters from old_sql.
1417    
1418    2007-10-06      Sascha L. Teichmann <[email protected]>
1419    
1420            * pdf2xfa/**: Initial import of the PDF to XFA server.
1421    
1422    2007-10-06      Sascha L. Teichmann <[email protected]>
1423    
1424            * tools/formed/formed/plugins/export/sql.py: Fixed bug
1425              that made choices of three elements to booleans if
1426              they have other meanings than 'Ja', 'Nein', 'keine Angabe'.
1427    
1428    2007-10-05      Sascha L. Teichmann <[email protected]>
1429    
1430            * tools/formed/formed/plugins/export/sql.py: Select ids of
1431              underlaying tables in views too.
1432    
1433    2007-10-04      Sascha L. Teichmann <[email protected]>
1434    
1435            * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
1436              Various bug fixes.
1437    
1438    2007-10-04      Sascha L. Teichmann <[email protected]>
1439    
1440            * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
1441              to extract fields from embedded repeat groups.
1442    
1443            * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
1444              views per page too. Result not tested yet.
1445    
1446    2007-10-01      Sascha L. Teichmann <[email protected]>
1447    
1448            * tools/formed/formed/plugins/web/view_renderer.py: Ignore
1449              in-page repeat groups while rendering pages.
1450    
1451    2007-10-01      Sascha L. Teichmann <[email protected]>
1452    
1453            * tools/formed/formed/model/nodecomponents.py: Added visitor
1454              traversals for document trees.
1455    
1456            * tools/formed/formed/model/data.py: Rewrote the
1457              Page.allWidgets() method to use new visitor for
1458              tree traversal.
1459    
1460    2007-09-27      Torsten Irlaender <[email protected]>
1461    
1462            * tools/formed/formed/plugins/names/filter.py: Pages are now included
1463              in the rename by formular name  algorithm
1464    
1465    2007-09-26      Sascha L. Teichmann <[email protected]>
1466    
1467            * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
1468              TODO: rewrite Page.allWidgets().
1469    
1470            * tools/formed/formed/model/nodecomponents.py: Added a method
1471              Node.firstLevel(criterion) to walk a defined line in the tree.
1472    
1473            * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
1474              build views and respective joins.
1475    
1476    2007-09-26      Sascha L. Teichmann <[email protected]>
1477    
1478            * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
1479              FORMED environment variable. If set to true tidylib is used to
1480              filter HTML content to be W3C valid. To use this feature install
1481              uTidylib.
1482    
1483            * tools/formed/formed/plugins/web/server.py: Check if MIME type is
1484              text/html and filters content through tidy if requested.
1485    
1486    2007-09-25      Torsten Irlaender <[email protected]>
1487    
1488            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
1489              cleanup of the form generation code.
1490    
1491    2007-09-21      Sascha L. Teichmann <[email protected]>
1492    
1493            * tools/formed/formed/plugins/export/sql.py: Added generation time
1494              and DROP TABLE statements to schema export.
1495    
1496    2007-09-20      Sascha L. Teichmann <[email protected]>
1497    
1498            * tools/formed/formed/plugins/export/sql.py: The tables are generated
1499              in correct topolocial order now.
1500    
1501    2007-09-20      Sascha L. Teichmann <[email protected]>
1502    
1503            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
1504              a document with items that are in given mode.
1505    
1506            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
1507              trees depending on selected modes.
1508    
1509            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
1510              Fixed clone issue with RuleNodes.
1511    
1512            * tools/formed/formed/config.py: Use new plug-in.
1513    
1514    2007-09-17      Sascha L. Teichmann <[email protected]>
1515    
1516            * tools/formed/formed/plugins/web/view_renderer.py: Make the
1517              view renderer a real view renderer. It takes a list of
1518              items now and not only a single page.
1519    
1520            * tools/formed/formed/plugins/web/renderer.py: Feed a list
1521              of items to the view renderer.
1522    
1523    2007-09-17      Torsten Irlaender <[email protected]>
1524    
1525            * tools/formed/formed/plugins/web/view_renderer.py:
1526              Small tweaks in rendering bools.
1527              RadioNodes (with all its children) can now be placed in a container.
1528              The radiobools will not get a surrounding <div> anymore.
1529              I am not sure if the new way results in the wanted behaivor, but the
1530              rendering results are much better now :)
1531              Maybe we need a similar approach for checkboxes?
1532              Rendering groups is still broken in some way.
1533    
1534    2007-09-17      Sascha L. Teichmann <[email protected]>
1535    
1536            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
1537              a few bugs: Do not render empty containers, do not
1538              generate misplaced <br class="newline"> in choices.
1539              Add a nameless container to catch the items that are
1540              nor explicitly assigned to a target. Removed FormData.
1541    
1542            * tools/formed/formed/plugins/web/renderer.py: Removed
1543              a needless import
1544    
1545    2007-09-17      Sascha L. Teichmann <[email protected]>
1546    
1547            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
1548              usage of 'containers' and 'target' attributes.
1549    
1550            * tools/formed/formed/plugins/web/controllers.py: Modified import.
1551    
1552            * tools/formed/formed/plugins/web/renderer.py: Use
1553              new ViewRenderer.
1554    
1555    2007-09-17      Sascha L. Teichmann <[email protected]>
1556    
1557            * tools/formed/formed/model/nodecomponents.py: Added attributes
1558              'target' to NodeComponent and 'containers' to Node.
1559    
1560            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
1561              to be a replacement for form_renderer. Not ready yet!
1562    
1563            * ChangeLog: Fixed some indention glitches.
1564    
1565    2007-09-13      Torsten Irlaender <[email protected]>
1566    
1567            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
1568              renaming algorithm.
1569    
1570    2007-09-12      Torsten Irlaender <[email protected]>
1571    
1572            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
1573              from formular navigation to "Fallakte Inhalt"
1574    
1575    2007-09-12      Torsten Irlaender <[email protected]>
1576    
1577            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
1578              values (dates)  were not pretty printed.
1579    
1580            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
1581              label rendering for choicelists.
1582    
1583    2007-09-12      Torsten Irlaender <[email protected]>
1584    
1585            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
1586              choicelist did not get selected when the value is set to "0"
1587    
1588    2007-09-12      Torsten Irlaender <[email protected]>
1589    
1590            * tools/formed/formed/plugins/web/form_renderer.py: Added
1591              "getPrintableData" method, for the formdata Class which will return
1592              the description rather than the value of element in the ID. This is
1593              need for displaying the choises in a right way.
1594            
1595            * tools/formed/formed/plugins/web/renderer.py: Changed string
1596              "Fallnummer" into "Kundennummer" in the templates. Added
1597              Kundennummer to the dataset digest output. Bound in the new
1598              "getPrintableData" call for the digest.
1599    
1600    2007-10-11      Sascha L. Teichmann <[email protected]>
1601    
1602            * tools/formed/formed/plugins/export/data.py: The import/export
1603              of data is now implemented with filters (the most consequent
1604              way in terms of design of FormEd). The support of the 'persistent'
1605              FORMED env-variable support has been removed.
1606    
1607            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
1608              filter file dialog to double as import dialog.
1609    
1610            * tools/formed/formed/main.py: Removed the the FORMED-var support
1611              for persistence.
1612            
1613            * tools/formed/formed/config.py: Add the two new filters to the filters
1614              list.
1615    
1616    2007-10-11      Sascha L. Teichmann <[email protected]>
1617    
1618            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
1619              Removed pickle/unpickle stuff.
1620    
1621            * tools/formed/formed/main.py: Uses the new XML persistence.
1622    
1623            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
1624              not converted to int indices.
1625    
1626    2007-09-11      Sascha L. Teichmann <[email protected]>
1627    
1628            * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
1629              with pickle/unpickle.
1630    
1631            * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
1632              Set to a file name it is tried to unpickle a MemoryDataStore from
1633              that file. When exiting the program this file is used to store the
1634              current MemoryDataStore state. The storing only works if you exit
1635              the program through the Menu File->Exit.
1636              usage: FORMED=persistent:test.db ./formed.sh
1637    
1638    2007-09-11      Torsten Irlaender <[email protected]>
1639    
1640            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
1641              application on the welcome page from "Formed" to "WASKA"
1642    
1643    2007-09-11      Torsten Irlaender <[email protected]>
1644    
1645            * tools/formed/formed/plugins/web/plugin.py,
1646            * tools/formed/formed/plugins/web/controllers.py,
1647            * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
1648              The infopage provides information on all project participants.
1649    
1650    2007-09-11      Sascha L. Teichmann <[email protected]>
1651    
1652            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
1653              issues with error messages (once again).
1654    
1655    2007-09-11      Torsten Irlaender <[email protected]>
1656    
1657            * tools/formed/formed/plugins/web/form_renderer.py,
1658            * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
1659              icons in error and confirmation dialogs.
1660    
1661    2007-09-11      Sascha L. Teichmann <[email protected]>
1662    
1663            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
1664              generation for ints, texts and textareas. Fixed h depths of infos.
1665    
1666    2007-09-11      Sascha L. Teichmann <[email protected]>
1667    
1668            * tools/formed/formed/plugins/web/form_renderer.py: Removed
1669              debug output for help.
1670    
1671            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
1672              check for bools.
1673    
1674            * tools/formed/formed/plugins/web/controllers.py:  Added correct
1675              HTML output of data for bools.
1676    
1677    2007-09-11      Torsten Irlaender <[email protected]>
1678    
1679            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
1680              textfields for int values. Changed Label for submitbuttons to
1681              "Speichern"
1682    
1683            * tools/formed/formed/plugins/web/plugin.py,
1684              tools/formed/formed/plugins/web/controllers.py: Added new
1685              NotImplementedHandler to show up a dummysite for not implemented
1686              functions.
1687    
1688            * tools/formed/formed/plugins/web/renderer.py: Added
1689              NotImplementedRenderer. Various small fixes. Mostly renaming the
1690              labels of some context menus. Error messages are now generated
1691              dynamically depending on num errors. Formular navigation has now
1692              colored indication for errors.
1693    
1694    2007-09-11      Torsten Irlaender <[email protected]>
1695    
1696            * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
1697              algorithm for the formular navigation to get rid of the problem
1698              that some of the items within the navigation are not linked.  Now
1699              structural group elements are linked with the next page found in the
1700              formular structure.
1701    
1702    2007-09-10      Torsten Irlaender <[email protected]>
1703            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
1704              div and formtag.
1705    
1706            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
1707              menu in the conformation dialog when creating a new dataset.
1708    
1709            * tools/formed/formed/plugins/web/renderer.py: Fixed error when
1710              rendering the default welcome page. Changed rendering of the
1711              overview and the digest table of the datasets. Added icon for
1712              confirmation dialog, moved the icon in the <h1> tags.  
1713    
1714    2007-09-10      Torsten Irlaender <[email protected]>
1715    
1716            * tools/formed/formed/plugins/web/form_renderer.py: Some html
1717              generation cleanup. Added error icons to formelements
1718    
1719            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
1720              of ErrorStatus. Fixed generated of the help tags in the formular
1721    
1722            * tools/formed/formed/plugins/web/renderer.py: Added error icon for
1723              pageerrors. An "!" now indicates errors on pages in the formular
1724              navigation. Added new <div> "content" around confirmation dialogss.
1725              Links in confimation dialogs are now rendered as buttons. Removed
1726              old obsolete OverviewRenderer.
1727    
1728    2007-09-10      Sascha L. Teichmann <[email protected]>
1729    
1730            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
1731              page in page navigation.
1732    
1733    2007-09-10      Torsten Irlaender <[email protected]>
1734    
1735            * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
1736              displaying formdata when changing datasets. Loading the right
1737              formdata was not handled in a correct way. Hope it is all fixed now.
1738              Left some commented code because not all sideeffects of the changes
1739              are tested yet.
1740    
1741            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
1742              now uses the correct data out of the formdata.
1743    
1744    2007-09-10      Sascha L. Teichmann <[email protected]>
1745    
1746            * tools/formed/formed/plugins/web/controllers.py: Pretty
1747              print format data (dates e.g)
1748    
1749    2007-09-10      Sascha L. Teichmann <[email protected]>
1750    
1751            * tools/formed/formed/plugins/web/controllers.py: Modified
1752              ErrorStats a bit to avoid mysterious extra error on page.
1753              No clue why this works.
1754    
1755    2007-09-10      Sascha L. Teichmann <[email protected]>
1756    
1757            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
1758              problem with radio groups, too.
1759    
1760    2007-09-10      Torsten Irlaender <[email protected]>
1761            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
1762              really removed when deleting a dataset.
1763            
1764    2007-09-10      Torsten Irlaender <[email protected]>
1765    
1766            * tools/formed/formed/plugins/web/controllers.py: Added new Class
1767              ErrorStats which provides Information on remaining errors per page.
1768    
1769            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
1770              the renderer methods from controllers.py to renderers.py.
1771    
1772            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
1773              handlers
1774    
1775    2007-09-10      Sascha L. Teichmann <[email protected]>
1776    
1777            * tools/formed/formed/plugins/web/form_renderer.py: values for
1778              choices are generated from the document tree now. This brings
1779              the state storage of select boxes in HTML to live.
1780    
1781    2007-09-09      Sascha L. Teichmann <[email protected]>
1782    
1783            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
1784              range checking of integers.
1785    
1786            * tools/formed/formed/plugins/web/controllers.py: Added class
1787              ErrorItem to track errors. They are stored in the session.
1788    
1789    2007-09-09      Sascha L. Teichmann <[email protected]>
1790    
1791            * tools/formed/formed/model/nodecomponents.py: Fixed returning
1792              wrong index in Document.indexOfcomponentByClassAndName.
1793    
1794            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
1795              written 'errot' in renderer for textareas.
1796    
1797            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
1798    
1799    2007-09-09      Sascha L. Teichmann <[email protected]>
1800    
1801            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
1802              method. Could be cheaper for some implementations of help.
1803    
1804            * tools/formed/formed/plugins/web/form_renderer.py: Modified
1805              FormData to have distinct getData(), getHelp() and getError()
1806              methods. Various bug fixes.
1807    
1808            * tools/formed/formed/plugins/web/controllers.py: Implements the
1809              new FormData (trivial by now).
1810    
1811            * tools/formed/formed/plugins/web/renderer.py: New FormData and
1812              some bug fixes.
1813    
1814    2007-09-09      Sascha L. Teichmann <[email protected]>
1815    
1816            * tools/formed/formed/model/memory.py,
1817              tools/formed/formed/model/persistent.py: Add a getValue() method
1818              to dataset abstraction. This is a bit of a workaround to bring
1819              global access across pages for rule checking to work.
1820    
1821            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
1822              the compiled version was not stored in the RuleLeaf.
1823    
1824            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
1825              convert the expression string to ascii for compilation.
1826    
1827            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
1828              valid data is stored to the dataset immediately now. Fixed a bug
1829              with integer handler.
1830    
1831            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
1832              stuff. When a submit is done extract the rules from the tree document
1833              that are effected by the modified variables and check them.
1834    
1835            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
1836              when dealing with templates.
1837    
1838    2007-09-07      Torsten Irlaender <[email protected]>
1839            * tools/formed/formed/plugins/web/controllers.py,
1840              tools/formed/formed/plugins/web/renderer.py: Moved more render
1841              functions into renderer.py. New render classes are:
1842              DataSetDigestRenderer, DataSetNavigationRenderer,
1843              DataSetFormularRenderer, ConfirmationDialogRenderer
1844    
1845              Note: The new methods are only called from selected handlers. Other
1846              handlers call the renderes in the old way.
1847    
1848    2007-09-07      Torsten Irlaender <[email protected]>
1849            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
1850              renderer.py to form_renderer.py. This file will contain formular
1851              specfic render methods in the future.
1852            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
1853              which will contain general render methods.
1854            * tools/formed/formed/plugins/web/controllers.py: Began to move all
1855              rendering into renderer.py or form_renderer.py. This file will only
1856              contain teh handlers in the future.
1857    
1858    2007-09-07      Torsten Irlaender <[email protected]>
1859            * tools/formed/formed/plugins/web/renderer.py,
1860              tools/formed/formed/plugins/web/controller.py:
1861              Renderes now get an instance of the formdata object to provide
1862              access the data needed to render various infoboxes etc. Handler
1863              instanciate the formdata.
1864            
1865    2007-09-06      Torsten Irlaender <[email protected]>
1866            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
1867              getFormData interface to work. Added two small semantic fixes, but
1868              did not manage to get it up. Need to exime this a little bit more
1869            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
1870              around the menus on the right side to be able to assign different
1871              styles. Added dataset actions while editing a dataset.
1872            
1873    2007-09-05      Torsten Irlaender <[email protected]>
1874            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
1875              removing unwanted del method
1876            * tools/formed/formed/plugins/web/controllers.py: Implemented
1877              confiration dialogs for create, delete, and select aof datasets. Started to use
1878              templates as well for larger information units like the dataset summary.
1879            
1880    2007-09-05      Sascha L. Teichmann <[email protected]>
1881    
1882            * tools/formed/formed/model/nodecomponents.py: Added a
1883              method to document to find index of page.
1884    
1885            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
1886              to fetch data from semantic box.
1887    
1888            * tools/formed/formed/plugins/web/controllers.py: Added new
1889              FormData implementation to support DB and semantic box.
1890    
1891    2007-09-05      Sascha L. Teichmann <[email protected]>
1892    
1893            * tools/formed/formed/plugins/web/renderer.py: escaped
1894              error message.
1895    
1896            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
1897              dataset from backend each time a page is up to edit.
1898    
1899    2007-09-05      Sascha L. Teichmann <[email protected]>
1900    
1901          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
1902            returns "Page not found" if given page is None.            returns "Page not found" if given page is None.
# Line 6  Line 1904 
1904          * tools/formed/formed/plugins/web/controllers.py: Added checks          * tools/formed/formed/plugins/web/controllers.py: Added checks
1905            to avoid crashing when ask for a non-existent page.            to avoid crashing when ask for a non-existent page.
1906    
1907  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1908    
1909          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
1910    
1911  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1912    
1913          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
1914            and renderers.            and renderers.
# Line 18  Line 1916 
1916          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
1917            and renderers now. TODO: Move renderers to renderer.py            and renderers now. TODO: Move renderers to renderer.py
1918    
1919  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1920    
1921          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
1922            and bound in the the new added functions to create, edit, delete and            and bound in the the new added functions to create, edit, delete and
1923            show formdata.            show formdata.
1924                    
1925  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1926    
1927          * tools/formed/formed/model/memory.py: Removed bisect and use a          * tools/formed/formed/model/memory.py: Removed bisect and use a
1928            simple linear scan for dataset lookup now.            simple linear scan for dataset lookup now.
# Line 32  Line 1930 
1930          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
1931            of different sizes.            of different sizes.
1932    
1933  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1934    
1935          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
1936            fuction            fuction
1937                              
1938          * tools/formed/formed/plugins/web/persistent.py: Added store() method          * tools/formed/formed/plugins/web/persistent.py: Added store() method
1939            to the DataSet interface            to the DataSet interface
1940    
1941          * tools/formed/formed/plugins/web/renderer.py: Added handlers and          * tools/formed/formed/plugins/web/renderer.py: Added handlers and
1942            renderes for create, update, delete and show actions on formular data.            renderes for create, update, delete and show actions on formular data.
1943    
1944  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1945    
1946          * tools/formed/formed/plugins/web/server.py: The mapping          * tools/formed/formed/plugins/web/server.py: The mapping
1947            to methods is now driven by regualar expressions and            to methods is now driven by regualar expressions and
1948                  a dictionary. Response objects are now able to send            a dictionary. Response objects are now able to send
1949                  error codes.            error codes.
1950    
1951          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
1952            when help in Formdata is None. Moved text for help into            when help in Formdata is None. Moved text for help into
1953                  a top level '''...''' variable.            a top level '''...''' variable.
1954    
1955          * tools/formed/test-data/simple.xml: Added test for help.          * tools/formed/test-data/simple.xml: Added test for help.
1956    
# Line 60  Line 1958 
1958    
1959          * tools/formed/formed/plugins/web/plugin.py: Uses the new          * tools/formed/formed/plugins/web/plugin.py: Uses the new
1960            table driven mapping of reguest handling. TODO: split the            table driven mapping of reguest handling. TODO: split the
1961                  WebPlugIn.pageHandler() method further to smaller handlers.            WebPlugIn.pageHandler() method further to smaller handlers.
1962                  Smaller clean ups and better exception handling.            Smaller clean ups and better exception handling.
1963    
1964          * tools/formed/formed/plugins/web/cache.py: Report OSErrors          * tools/formed/formed/plugins/web/cache.py: Report OSErrors
1965            and do not catch them.            and do not catch them.
1966    
1967  2007-09-04 Torsten Irlaender <[email protected]>  2007-09-04      Torsten Irlaender <[email protected]>
1968    
1969          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
1970          * tools/formed/formed/plugins/web/plugin.py: Added Interface to          * tools/formed/formed/plugins/web/plugin.py: Added Interface to
# Line 75  Line 1973 
1973            within a <div> tag.            within a <div> tag.
1974            Modified the error messages.            Modified the error messages.
1975    
1976  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1977    
1978          * tools/formed/formed/plugins/web/cache.py: New. Implements          * tools/formed/formed/plugins/web/cache.py: New. Implements
1979            the server-side caching more clean. Fixes a bug with            the server-side caching more clean. Fixes a bug with
1980                  serving static content.            serving static content.
1981    
1982          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
1983    
1984  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1985    
1986          * tools/formed/formed/plugins/web/plugin.py: Set MIME type          * tools/formed/formed/plugins/web/plugin.py: Set MIME type
1987            to "application/xhtml+xml" when serving help texts.            to "application/xhtml+xml" when serving help texts.
1988    
1989  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1990    
1991          * tools/formed/formed/plugins/export/diff.py: New. Exports          * tools/formed/formed/plugins/export/diff.py: New. Exports
1992            pairwise differences between all modes.            pairwise differences between all modes.
1993    
1994          * tools/formed/formed/config.py: Use new export filter.          * tools/formed/formed/config.py: Use new export filter.
1995    
1996  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1997    
1998          * tools/formed/formed/plugins/web/help.py: New. Parses an          * tools/formed/formed/plugins/web/help.py: New. Parses an
1999            XHTML document for id'ed divs and builds a help lookup.            XHTML document for id'ed divs and builds a help lookup.
# Line 109  Line 2007 
2007          * tools/formed/formed/plugins/web/plugin.py: Serves the help          * tools/formed/formed/plugins/web/plugin.py: Serves the help
2008            texts now.            texts now.
2009    
2010  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
2011    
2012          * tools/formed/formed/plugins/web/plugin.py: Only visible group          * tools/formed/formed/plugins/web/plugin.py: Only visible group
2013            elements will be rendered in the formular navigation.            elements will be rendered in the formular navigation.
2014            Formular pages in the navigation now have their own css-style            Formular pages in the navigation now have their own css-style
2015            attributes.            attributes.
2016    
2017  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
2018    
2019          * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page          * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
2020            errors in template            errors in template
2021          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
2022            pageerrors variable            pageerrors variable
2023    
2024  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
2025    
2026          * tools/formed/formed/plugins/export/html.py          * tools/formed/formed/plugins/export/html.py
2027          (RecursiveExporter): Added annotation to export          (RecursiveExporter): Added annotation to export
2028          (fillRow()): Renamed old fillNine to this more generic name.          (fillRow()): Renamed old fillNine to this more generic name.
2029                    
2030    
2031  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
2032    
2033          * tools/formed/formed/plugins/web/renderer.py: Using the decorator          * tools/formed/formed/plugins/web/renderer.py: Using the decorator
2034            from model.misc now.            from model.misc now.
2035    
2036  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
2037    
2038          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
2039            'annotation' attribute to node components. This is to            'annotation' attribute to node components. This is to
2040                  enable FormEd document authors to add comments to groups            enable FormEd document authors to add comments to groups
2041                  and fields.            and fields.
2042    
2043  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
2044    
2045          * tools/formed/formed/model/nodecomponents.py          * tools/formed/formed/model/nodecomponents.py
2046          (NodeComponent.getParent): New method to get node components parent.          (NodeComponent.getParent): New method to get node components parent.
# Line 150  Line 2048 
2048          * tools/formed/formed/plugins/export/html.py: Export Choice option          * tools/formed/formed/plugins/export/html.py: Export Choice option
2049          as simple list instead of collection of bools.          as simple list instead of collection of bools.
2050    
2051  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2052    
2053          * tools/formed/formed/model/persistent.py: Interfaces to abstract          * tools/formed/formed/model/persistent.py: Interfaces to abstract
2054            from persistent storage details.            from persistent storage details.
# Line 160  Line 2058 
2058    
2059          * tools/formed/formed/main.py: Holds a memory data store now.          * tools/formed/formed/main.py: Holds a memory data store now.
2060    
2061  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2062    
2063          * tools/formed/formed/plugins/export/sql.py,          * tools/formed/formed/plugins/export/sql.py,
2064            tools/formed/formed/plugins/export/html.py: Fixed constructor chains            tools/formed/formed/plugins/export/html.py: Fixed constructor chains
2065                  for FileDialogFilter sub classes.            for FileDialogFilter sub classes.
2066    
2067  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2068    
2069          * tools/formed/formed/model/misc.py: Checking the mode in recursive          * tools/formed/formed/model/misc.py: Checking the mode in recursive
2070            tree traversals is a common task. To ease this a decorator function            tree traversals is a common task. To ease this a decorator function
2071                  checkMode in union with sub classing ModeChecker can be used.            checkMode in union with sub classing ModeChecker can be used.
2072                  To make it work simply subclass from ModeChecker and add the decorator            To make it work simply subclass from ModeChecker and add the decorator
2073                  to the methods that need mode tracking. Before you start the recursion            to the methods that need mode tracking. Before you start the recursion
2074                  call self.prepareDescent().            call self.prepareDescent().
2075    
2076          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
2077            now which replace the old. TODO: Make the web renderer use the new scheme            now which replace the old. TODO: Make the web renderer use the new scheme
2078                  too.            too.
2079    
2080  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2081    
2082          * tools/formed/formed/plugins/export/sql.py: Removed needless import.          * tools/formed/formed/plugins/export/sql.py: Removed needless import.
2083    
2084          * tools/formed/formed/plugins/export/html.py: HTML table exporter          * tools/formed/formed/plugins/export/html.py: HTML table exporter
2085            uses new FileDialogFilter base class too.            uses new FileDialogFilter base class too.
2086    
2087  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2088    
2089          * tools/formed/formed/plugins/ui/*: New. All file exporters          * tools/formed/formed/plugins/ui/*: New. All file exporters
2090            need a file dialog. Till now each of them pulled up its            need a file dialog. Till now each of them pulled up its
2091                  own. This was silly code replication. Now there is an abstract            own. This was silly code replication. Now there is an abstract
2092                  base class 'FileDialogFilter' which implements the common            base class 'FileDialogFilter' which implements the common
2093                  behavior. The file exporters should subclass it.            behavior. The file exporters should subclass it.
2094    
2095          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
2096            exporters from the new base class. TODO: Subclass the HTML            exporters from the new base class. TODO: Subclass the HTML
2097                  exporter too.            exporter too.
2098    
2099  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
2100    
2101          * tools/formed/formed/plugins/export/html.py: Make mode check          * tools/formed/formed/plugins/export/html.py: Make mode check
2102            work (again).            work (again).
2103    
2104  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
2105    
2106          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
2107            exprt works now in a recursive way. This change was needed because            exprt works now in a recursive way. This change was needed because
# Line 211  Line 2109 
2109            full hirachically document stuctures. (nested lists)            full hirachically document stuctures. (nested lists)
2110            TODO: Fix modechecking            TODO: Fix modechecking
2111    
2112  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
2113    
2114          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
2115            now in recursive way. This change was needed because the structure            now in recursive way. This change was needed because the structure
2116            of the formedtree has changed to be able to render full hirachically            of the formedtree has changed to be able to render full hirachically
2117            document stuctures. (nested lists)            document stuctures. (nested lists)
2118    
2119  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
2120    
2121          * tools/formed/formed/model/nodecomponents.py: use discard()          * tools/formed/formed/model/nodecomponents.py: use discard()
2122            instead of remove on sets.            instead of remove on sets.
# Line 229  Line 2127 
2127          * tools/formed/formed/config.py: Added the new exporter          * tools/formed/formed/config.py: Added the new exporter
2128            to the list of export filters.            to the list of export filters.
2129    
2130  2007-08-30 Sascha L. Teichmann <[email protected]>  2007-08-30      Sascha L. Teichmann <[email protected]>
2131    
2132          * tools/formed/formed/model/data.py: Fixed a bug in          * tools/formed/formed/model/data.py: Fixed a bug in
2133            Page.allWidgets()            Page.allWidgets()
# Line 239  Line 2137 
2137    
2138          * tools/formed/formed/config.py: Add the new SP exporter.          * tools/formed/formed/config.py: Add the new SP exporter.
2139    
2140  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
2141    
2142          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2143            tools/formed/formed/plugins/web/error_renderer.py: Added interface            tools/formed/formed/plugins/web/error_renderer.py: Added interface
2144            to get the errors for a whole page in te formular. These errors can            to get the errors for a whole page in te formular. These errors can
2145            now be displayed on the top of the formular.            now be displayed on the top of the formular.
2146    
2147  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
2148    
2149          * tools/formed/formed/plugins/web/renderer.py: Finished implementation          * tools/formed/formed/plugins/web/renderer.py: Finished implementation
2150            of the getFromData interface and prepared the rederer for generating            of the getFromData interface and prepared the rederer for generating
2151            nice error messages            nice error messages
2152    
2153  2007-08-28 Frank Koormann <[email protected]>  2007-08-28      Frank Koormann <[email protected]>
2154    
2155          * tools/formed/formed/plugins/export/sql.py          * tools/formed/formed/plugins/export/sql.py
2156          (SchemaCreator.createSchema, SchemaCreator._createGroup):          (SchemaCreator.createSchema, SchemaCreator._createGroup):
2157          Fixed typo in created DDS (PRIMRAY -> PRIMARY)          Fixed typo in created DDS (PRIMRAY -> PRIMARY)
2158    
2159  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
2160    
2161          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
2162            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
2163    
2164  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2165    
2166          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
2167            for repeat tables.            for repeat tables.
2168                        
2169  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2170    
2171          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
2172            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
2173                  this case reference the existing table.            this case reference the existing table.
2174    
2175  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2176    
2177          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
2178            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 284  Line 2182 
2182          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
2183            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
2184    
2185  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2186    
2187          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
2188            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
2189    
2190  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
2191    
2192          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
2193          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 297  Line 2195 
2195            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
2196            Added error indication to textfields            Added error indication to textfields
2197    
2198  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2199    
2200          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2201            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
2202                  of logical groups.            of logical groups.
2203    
2204  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2205    
2206          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
2207            attributes.            attributes.
2208    
2209          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
2210    
2211  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2212    
2213          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
2214            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
2215    
2216  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
2217    
2218          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
2219            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
2220            depending tags in the html generation.            depending tags in the html generation.
2221    
2222  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2223    
2224          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2225            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
2226                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
2227                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
2228    
2229  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2230    
2231          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
2232            serving of static content.            serving of static content.
# Line 336  Line 2234 
2234          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
2235            old send code.            old send code.
2236    
2237  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2238    
2239          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
2240            Response object. Fix typo.            Response object. Fix typo.
# Line 344  Line 2242 
2242          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
2243            response object to serve different MIME types.            response object to serve different MIME types.
2244    
2245  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2246    
2247          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
2248            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
2249                  root of the static content.            root of the static content.
2250    
2251  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2252    
2253          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2254            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
2255    
2256          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
2257            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
2258                  a template for the HTML output.            a template for the HTML output.
2259    
2260          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
2261            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
2262                  handling.            handling.
2263    
2264          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
2265            nagivation code.            nagivation code.
2266    
2267          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
2268    
2269  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2270    
2271          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
2272            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 382  Line 2280 
2280          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
2281            the HTTP server code now.            the HTTP server code now.
2282    
2283  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2284    
2285          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
2286    
2287          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
2288            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
2289                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
2290                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
2291    
2292          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
2293    
# Line 397  Line 2295 
2295    
2296          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
2297            to find all items of a given type in document for a given            to find all items of a given type in document for a given
2298                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
2299    
2300          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
2301            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
2302                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
2303                  expr of rule leafs.            expr of rule leafs.
2304    
2305          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
2306            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
2307                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
2308                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
2309                  to know if they are still valid.            to know if they are still valid.
2310    
2311  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2312    
2313          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
2314            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 418  Line 2316 
2316          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
2317            generation              generation  
2318    
2319  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2320    
2321          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
2322            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 426  Line 2324 
2324          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
2325            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
2326    
2327  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2328    
2329          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
2330            of external choice list.            of external choice list.
2331    
2332  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2333    
2334          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
2335            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
2336    
2337  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2338    
2339          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
2340            mode depended leaf items.            mode depended leaf items.
# Line 446  Line 2344 
2344    
2345          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
2346            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
2347                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
2348                  not done.            not done.
2349    
2350  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2351    
2352          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
2353            of radio groups and choices too.            of radio groups and choices too.
2354    
2355  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2356    
2357          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
2358            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
2359            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
2360    
2361  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2362    
2363          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
2364            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
2365                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
2366    
2367  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2368    
2369          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
2370            HTML and SQL exporters.            HTML and SQL exporters.
# Line 475  Line 2373 
2373            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
2374            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
2375            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
2376                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
2377    
2378          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
2379            package now.            package now.
2380    
2381  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
2382    
2383          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
2384            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 489  Line 2387 
2387    
2388          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
2389    
2390  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2391    
2392          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
2393            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 499  Line 2397 
2397    
2398          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
2399    
2400  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
2401    
2402          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
2403            to extract fields and options in the XFA Data in teh PDF. This            to extract fields and options in the XFA Data in teh PDF. This
2404            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
2405            formular versions.            formular versions.
2406                    
2407  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2408    
2409          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
2410            select all modes. ;-)            select all modes. ;-)
2411    
2412  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2413    
2414          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
2415            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 521  Line 2419 
2419            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
2420            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
2421    
2422  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2423    
2424          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
2425            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 532  Line 2430 
2430          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
2431            env configuration.            env configuration.
2432    
2433  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2434    
2435          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
2436            table are now alphabetically sorted.            table are now alphabetically sorted.
2437    
2438  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2439    
2440          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
2441            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 553  Line 2451 
2451    
2452          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
2453    
2454  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2455    
2456          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
2457            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
2458    
2459  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2460    
2461          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
2462    
2463  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2464    
2465          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
2466            for the hidden field. Argh!            for the hidden field. Argh!
2467    
2468  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2469    
2470          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
2471            generation of hidden page field.            generation of hidden page field.
2472    
2473  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2474    
2475          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2476            checks for radio groups.            checks for radio groups.
2477    
2478  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2479    
2480          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2481            checks for choices.            checks for choices.
# Line 592  Line 2490 
2490          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
2491          Replace technical types with readable descriptions          Replace technical types with readable descriptions
2492    
2493  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2494    
2495          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
2496            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
2497                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
2498                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
2499                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
2500                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
2501    
2502          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
2503            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 607  Line 2505 
2505          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
2506            hidden field to store the name of the page.            hidden field to store the name of the page.
2507    
2508  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2509    
2510          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
2511            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
2512    
2513  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2514    
2515          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
2516            in switches.            in switches.
2517    
2518          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
2519            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
2520                  with a given mode.            with a given mode.
2521    
2522          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
2523            listing all widgets in page.            listing all widgets in page.
2524    
2525  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
2526    
2527          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
2528            latin-1            latin-1
2529    
2530  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2531    
2532          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
2533            walk.            walk.
2534                              
2535          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
2536            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
2537                  give children in a given mode.            give children in a given mode.
2538    
2539          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
2540            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
2541    
2542  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2543    
2544          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
2545            texts and text areas.            texts and text areas.
# Line 649  Line 2547 
2547          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
2548            to UTF-8 in generated form.            to UTF-8 in generated form.
2549    
2550  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
2551    
2552          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2553            tests for dates.            tests for dates.
2554    
2555  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
2556    
2557          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
2558            range test.            range test.
# Line 668  Line 2566 
2566          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
2567            check.            check.
2568    
2569  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
2570    
2571          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
2572            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 681  Line 2579 
2579            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
2580            session now. This will ease testing the constraint            session now. This will ease testing the constraint
2581            tests which need to be written soon.            tests which need to be written soon.
2582                              
2583            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
2584            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
2585            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 699  Line 2597 
2597            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
2598            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
2599            selects their respective menu item.            selects their respective menu item.
2600                              
2601          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
2602            installed filters.            installed filters.
2603    
# Line 760  Line 2658 
2658    
2659          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
2660            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
2661                  menu and put a separator between them.            menu and put a separator between them.
2662    
2663  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
2664    
# Line 769  Line 2667 
2667    
2668          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
2669            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
2670                  global configuration is passed at setup time.            global configuration is passed at setup time.
2671    
2672          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
2673            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
2674                  from the global configuration each time a rendering            from the global configuration each time a rendering
2675                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
2676                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
2677                  is not needed any more because it can be configured            is not needed any more because it can be configured
2678                  at runtime.            at runtime.
2679    
2680          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
2681            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
2682                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
2683                  global config.            global config.
2684    
2685          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
2686            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 794  Line 2692 
2692    
2693          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2694            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
2695                  print out in web plugin.            print out in web plugin.
2696    
2697  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
2698    
# Line 812  Line 2710 
2710    
2711          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2712            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
2713                  to FORMED environment variable.            to FORMED environment variable.
2714                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
2715                  Defaults to 'default'.            Defaults to 'default'.
2716    
2717          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
2718    
# Line 828  Line 2726 
2726          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
2727            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
2728            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
2729                  to model external item lists.            to model external item lists.
2730    
2731          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
2732            list.            list.
# Line 845  Line 2743 
2743    
2744          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
2745            choice item lists for a given field from XFA files. e.g. with            choice item lists for a given field from XFA files. e.g. with
2746                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
2747    
2748  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
2749    
2750          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2751            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
2752                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
2753                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
2754                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
2755                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
2756                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
2757    
2758                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
2759                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
2760                              
2761          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
2762            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
2763    
# Line 877  Line 2775 
2775    
2776          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
2777            of the tree.            of the tree.
2778                              
2779          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
2780    
2781          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 900  Line 2798 
2798    
2799          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
2800            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
2801                  in document tree.            in document tree.
2802    
2803          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
2804            after names collisions are eliminated.            after names collisions are eliminated.
# Line 912  Line 2810 
2810    
2811          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2812            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
2813                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
2814                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
2815                  purpose.            purpose.
2816    
2817          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
2818            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
2819                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
2820    
2821          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
2822            from bool items.            from bool items.
# Line 937  Line 2835 
2835    
2836          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
2837            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
2838                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
2839    
2840  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
2841    
# Line 974  Line 2872 
2872    
2873          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
2874            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
2875                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
2876    
2877          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
2878            the reference to the config.            the reference to the config.
# Line 1054  Line 2952 
2952    
2953          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2954            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
2955                  attributes.            attributes.
2956    
2957          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
2958            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 1083  Line 2981 
2981    
2982          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
2983            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
2984                  tree.            tree.
2985    
2986  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
2987    
# Line 1112  Line 3010 
3010    
3011          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
3012            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
3013                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
3014    
3015          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
3016            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
3017                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
3018    
3019  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
3020    
# Line 1164  Line 3062 
3062    
3063          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
3064            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
3065                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
3066    
3067          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
3068    
# Line 1177  Line 3075 
3075    
3076          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
3077            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
3078                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
3079    
3080  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
3081    
# Line 1193  Line 3091 
3091    
3092          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
3093            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
3094                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.143  
changed lines
  Added in v.429

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26