/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.169  
changed lines
  Added in v.328

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26