/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.8  
changed lines
  Added in v.320

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26