/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.34  
changed lines
  Added in v.408

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26