/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.138  
changed lines
  Added in v.326

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26