/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.40  
changed lines
  Added in v.319

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26