/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.25  
changed lines
  Added in v.332

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26