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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26