/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26