/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 175 by teichmann, Tue Sep 11 17:21:55 2007 UTC revision 259 by teichmann, Wed Apr 9 15:48:37 2008 UTC
# Line 1  Line 1 
1  2007-09-11 Sascha L. Teichmann <[email protected]>  2008-04-09      Sascha L. Teichmann <[email protected]>
2    
3            * tools/anonym/cron.deleteOldAnonymized.sh: New. cron job to delete
4              old anonymized cases.
5    
6    2008-04-01      Sascha L. Teichmann <[email protected]>
7    
8            * tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1"
9              from clause to select datasets.
10              Replace ']]>' in CDATA sections with correct splitted replacement.
11    
12    2008-03-12      Sascha L. Teichmann <[email protected]>
13            
14            * tools/anonym/cron.importAnonXml.sh: Added absolut path to  xmlimport
15              script.
16    
17            * tools/anonym/xmlimport.py: commented out database port from
18              connectionstring.
19    
20    2008-03-12      Sascha L. Teichmann <[email protected]>
21    
22            * tools/formed/formed/plugins/export/sql.py: Fixed bug in generation
23              of anonymization of repeat groups (wrong id was given).
24    
25    2008-03-11      Sascha L. Teichmann <[email protected]>
26    
27            * tools/formed/formed/plugins/export/sql.py: Generate no update
28              statements for relations which have no anonym functions applied.
29    
30    2008-03-11      Sascha L. Teichmann <[email protected]>
31    
32            * tools/formed/formed/plugins/export/sql.py: Added a newline after
33              'COMMIT;' in the last line.
34    
35    2008-03-11      Sascha L. Teichmann <[email protected]>
36    
37            * tools/formed/formed/plugins/export/sql.py: Fixed syntax of
38              generated anonymize_case() function.
39              
40    2008-03-11      Sascha L. Teichmann <[email protected]>
41    
42            * tools/formed/formed/plugins/export/sql.py: Added code to
43              generate a plpgsql function anonymize_case() that anonymized
44              a given case and all of its depending repeat groups.
45    
46    2008-03-06      Sascha L. Teichmann <[email protected]>
47    
48            * tools/anonym/xmlimport.py: remove print of insert statement.
49    
50            * tools/formed/formed/plugins/export/sql.py: Print generation date in ISO.
51    
52    2008-03-03      Torsten Irländer <[email protected]>
53    
54            * anonym/cron.sendAnonXml.sh,
55              anonym/getDbList.sh: Modified script to be used directly in the
56              production environment (Copied running scripts from production
57              server)
58    
59            * cron.importAnonXml.sh: Added deleting of ols cases. Modified script
60              to be used in a production environment (Cpoied running script from
61              production server)
62    
63            * tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to
64              ensure that only valid cases get exported
65    
66    2008-02-27      Sascha L. Teichmann <[email protected]>
67    
68            * tools/anonym/xmlimport.py: Fixed bug in date converter.
69    
70    2008-02-27      Sascha L. Teichmann <[email protected]>
71    
72            * tools/anonym/xmlimport.py: Simpilied version
73    
74    2008-02-27      Sascha L. Teichmann <[email protected]>
75    
76            * tools/anonym/cron.importAnonXml.sh: Add sudo call for
77              xmlimport.py and parameters.
78    
79            * tools/anonym/xmlimport.py: Various bug fixes. Not working yet. :-/
80    
81            * tools/anonym/xmlexport.py: Use python interpreter without env
82              because of sudo context.
83    
84    2008-02-26      Sascha L. Teichmann <[email protected]>
85    
86            * tools/anonym/xmlimport.py: added support for getopt. add
87              support to force in fkz in import of case.
88    
89    2008-02-26      Sascha L. Teichmann <[email protected]>
90    
91            * tools/anonym/xmlimport.py: Implemented logic to create/update cases.
92    
93            * tools/anonym/html.awk: produces valid HTML.
94    
95    2008-02-25      Sascha L. Teichmann <[email protected]>
96    
97            * tools/anonym/joincsv.py: Fix a logic bug.
98    
99    2008-02-25      Torsten Irlaender <[email protected]>
100    
101            * tools/anonym/cron.importAnonXml.sh: Added shellscript for importing
102              exportted cases. It will read all files from a directory and import
103              the files into the DB. After that the script will cleanup the
104              directory.
105    
106    2008-02-25      Torsten Irländer <[email protected]>
107            
108            * tools/anonym/cron.sendAnonXml.sh,
109              tools/anonym/xmlexport.py,
110              tools/anonym/getDbList.sh: Added shell-scripts for exporting cases
111    
112    2008-02-25      Sascha L. Teichmann <[email protected]>
113    
114            * tools/anonym/joincsv.py: Fixed typo which generated wrong number of cols.
115    
116    2008-02-25      Sascha L. Teichmann <[email protected]>
117    
118            * tools/anonym/joincsv.py: New. Joins CSV files.
119    
120            * tools/anonym/html.awk: New. Converts CSV to HTML
121    
122    2008-02-25      Sascha L. Teichmann <[email protected]>
123    
124            * tools/anonym/xmlimport.py: New. Added generation of
125              update statements.
126    
127    2008-02-25      Sascha L. Teichmann <[email protected]>
128    
129            * tools/anonym/xmlimport.py: New. Base for importing
130              XML from cron.
131    
132    2008-02-24      Sascha L. Teichmann <[email protected]>
133    
134            * tools/formed/formed/plugins/export/html2.py: New. plug-in
135              for a simplified HTML output
136    
137            * tools/formed/formed/plugins/export/typemap.py: New. plug-in
138              for dump schema as python dictionary.
139    
140            * tools/formed/formed/config.py: Enable new plug-ins. Out comment
141              old stored procedure and view generators.
142    
143    2008-02-19      Sascha L. Teichmann <[email protected]>
144    
145            * tools/anonym/xmlexport.py: New. Export all cases in database
146              as XML.
147    
148    2008-02-18      Sascha L. Teichmann <[email protected]>
149    
150            * tools/anonym/anoymncsv.py: separate field with '\t' now.
151              all '\t's are replaced by '   ' before. '\r\n' are removed too.
152    
153    2008-02-15      Sascha L. Teichmann <[email protected]>
154    
155            * tools/anonym/anoymncsv.py: simple script to fetch anonymous
156              data from database.
157    
158    2008-02-14      Sascha L. Teichmann <[email protected]>
159    
160            * tools/formed/formed/plugins/export/sql.py: Exchanged name
161              erase_value with suppress_value/suppress_value2.
162    
163    2008-02-13      Sascha L. Teichmann <[email protected]>
164    
165            * tools/formed/formed/plugins/export/sql.py: output id, master_id
166              substitute 'erase_value' with NULL value.
167    
168    2008-02-13      Sascha L. Teichmann <[email protected]>
169    
170            * tools/formed/formed/plugins/export/sql.py: output id, master_id
171              and uuid_id in anonymiziation views too.
172    
173    2008-02-13      Sascha L. Teichmann <[email protected]>
174    
175            * tools/formed/formed/plugins/export/sql.py: Added generation
176              of anonymiziation views for master table views and repeat group
177              views.
178    
179    2008-02-13      Sascha L. Teichmann <[email protected]>
180    
181            * tools/formed/formed/model/nodecomponents.py: Added attribute
182              "function"
183    
184            * tools/formed/formed/io/document.py: Save attributes in
185              alphabetical order.
186    
187    2008-02-02      Sascha L. Teichmann <[email protected]>
188    
189            * tools/formed/formed/plugins/export/sql.py: Added update rule
190              for master table and repeat groups views. Granted update right
191              to :cm_ka_group.
192    
193    2008-02-01      Sascha L. Teichmann <[email protected]>
194    
195            * tools/formed/formed/plugins/export/sql.py: Added a column 'uuid_id'
196              for master table and repeat groups. Also added unique constraints
197              to these columns.
198    
199    2007-12-10      Sascha L. Teichmann <[email protected]>
200    
201            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Added a system
202              property 'root.element' to specify the name of the XML root.
203    
204            * pdf2xfa/startup/pdf2xfa.sh, pdf2xfa/README.TXT: Adjusted.
205    
206    2007-11-22      Sascha L. Teichmann <[email protected]>
207    
208            * pdf2xfa/startup, */pdf2xfa.sh, */pdf2xfa.init: boot scripts
209              for GNU/Linux (tested Debian 'Etch' 4.0) by Sascha Wilde.
210    
211            * pdf2xfa/README.TXT: Add a remark to new boot scripts.
212    
213    2007-11-21      Sascha L. Teichmann <[email protected]>
214    
215            * pdf2xfa/src/de/intevation/pdfimport/Log.java: New.
216              Sends logging to file.
217    
218            * pdf2xfa/src/de/intevation/pdfimport/Server.java,
219              pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Adjusted
220              to use new logging.
221    
222            * pdf2xfa/README.TXT: Added remark how to use logging.
223    
224    2007-11-16      Frank Koormann <[email protected]>
225    
226            * tools/formed/formed/plugins/export/sql.py (createSchema):
227            Append only column "bearbeiter_id", standins are modelled by a
228            separate table.
229    
230    2007-11-16      Sascha L. Teichmann <[email protected]>
231    
232            * tools/formed/formed/model/data.py,
233              tools/formed/formed/plugins/web/view_renderer.py:
234              Added an invisible flag for info fields.
235    
236    2007-11-07      Sascha L. Teichmann <[email protected]>
237    
238            * tools/formed/formed/model/nodecomponents.py: Fixed a few small bugs
239              (calling a wrong method).
240    
241    2007-11-07      Sascha L. Teichmann <[email protected]>
242    
243            * tools/formed/formed/model/nodecomponents.py: Added a field
244              'alternative' to all node components. This might be of help to
245              match PDF imports where the descriptions do not match.
246    
247    2007-10-23      Frank Koormann <[email protected]>
248    
249            * tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views
250    
251    2007-10-23      Frank Koormann <[email protected]>
252    
253            * tools/formed/formed/plugins/export/sql.py: Set default
254            value (-1) for choices and bools.
255    
256    2007-10-21      Frank Koormann <[email protected]>
257    
258            * tools/formed/formed/plugins/export/sql.py: Grant statements for
259            descriptive tables added.
260            (Table.getName): new
261    
262    2007-10-21      Frank Koormann <[email protected]>
263    
264            * tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE"
265            statements for views and roles to make updates easier.
266            Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE.
267    
268    2007-10-19      Frank Koormann <[email protected]>
269    
270            * tools/formed/formed/plugins/export/sql.py: Added GRANT statements
271            for views. The statements are prepared for variable substitution
272            when executing the SQL-scripts by psql.
273    
274    2007-10-18      Sascha L. Teichmann <[email protected]>
275    
276            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed:
277              End of result XML was truncated because of an unflushed buffer.
278    
279    2007-10-17      Sascha L. Teichmann <[email protected]>
280    
281            * pdf2xfa/bin/build-jar.sh: New. Build production jar file.
282    
283            * pdf2xfa/README.TXT: Adjusted how to build production jar file
284              and how to use it.
285    
286            * pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class
287              and iText dependency.
288    
289    2007-10-16      Sascha L. Teichmann <[email protected]>
290    
291            * tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe'
292              are not modeled as BOOLEANs any more. That simpifies the conversion
293              process web vs. db.
294    
295    2007-10-07      Sascha L. Teichmann <[email protected]>
296    
297            * tools/formed/formed/plugins/export/sql.py: Added the remaining
298              UPDATE rules.
299    
300    2007-10-07      Sascha L. Teichmann <[email protected]>
301    
302            * tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some
303              views. TODO: Test'em and implement the rest.
304    
305    2007-10-07      Sascha L. Teichmann <[email protected]>
306    
307            * tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT
308              rules referenced none existing views.
309    
310    2007-10-07      Sascha L. Teichmann <[email protected]>
311    
312            * tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT
313              rules for views. TODO: add UPDATE rules.
314    
315    2007-10-07      Sascha L. Teichmann <[email protected]>
316    
317            * tools/formed/formed/plugins/export/old_sql.py: New. Contains
318              the legacy SQL export filters.
319    
320            * tools/formed/formed/plugins/export/sql.py: Factored out the
321              legacy SQL export filters to old_sql.
322    
323            * tools/formed/formed/config.py: Adjusted to fetch legacy
324              filters from old_sql.
325    
326    2007-10-06      Sascha L. Teichmann <[email protected]>
327    
328            * pdf2xfa/**: Initial import of the PDF to XFA server.
329    
330    2007-10-06      Sascha L. Teichmann <[email protected]>
331    
332            * tools/formed/formed/plugins/export/sql.py: Fixed bug
333              that made choices of three elements to booleans if
334              they have other meanings than 'Ja', 'Nein', 'keine Angabe'.
335    
336    2007-10-05      Sascha L. Teichmann <[email protected]>
337    
338            * tools/formed/formed/plugins/export/sql.py: Select ids of
339              underlaying tables in views too.
340    
341    2007-10-04      Sascha L. Teichmann <[email protected]>
342    
343            * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
344              Various bug fixes.
345    
346    2007-10-04      Sascha L. Teichmann <[email protected]>
347    
348            * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
349              to extract fields from embedded repeat groups.
350    
351            * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
352              views per page too. Result not tested yet.
353    
354    2007-10-01      Sascha L. Teichmann <[email protected]>
355    
356            * tools/formed/formed/plugins/web/view_renderer.py: Ignore
357              in-page repeat groups while rendering pages.
358    
359    2007-10-01      Sascha L. Teichmann <[email protected]>
360    
361            * tools/formed/formed/model/nodecomponents.py: Added visitor
362              traversals for document trees.
363    
364            * tools/formed/formed/model/data.py: Rewrote the
365              Page.allWidgets() method to use new visitor for
366              tree traversal.
367    
368    2007-09-27      Torsten Irlaender <[email protected]>
369    
370            * tools/formed/formed/plugins/names/filter.py: Pages are now included
371              in the rename by formular name  algorithm
372    
373    2007-09-26      Sascha L. Teichmann <[email protected]>
374    
375            * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
376              TODO: rewrite Page.allWidgets().
377    
378            * tools/formed/formed/model/nodecomponents.py: Added a method
379              Node.firstLevel(criterion) to walk a defined line in the tree.
380    
381            * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
382              build views and respective joins.
383    
384    2007-09-26      Sascha L. Teichmann <[email protected]>
385    
386            * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
387              FORMED environment variable. If set to true tidylib is used to
388              filter HTML content to be W3C valid. To use this feature install
389              uTidylib.
390    
391            * tools/formed/formed/plugins/web/server.py: Check if MIME type is
392              text/html and filters content through tidy if requested.
393    
394    2007-09-25      Torsten Irlaender <[email protected]>
395    
396            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
397              cleanup of the form generation code.
398    
399    2007-09-21      Sascha L. Teichmann <[email protected]>
400    
401            * tools/formed/formed/plugins/export/sql.py: Added generation time
402              and DROP TABLE statements to schema export.
403    
404    2007-09-20      Sascha L. Teichmann <[email protected]>
405    
406            * tools/formed/formed/plugins/export/sql.py: The tables are generated
407              in correct topolocial order now.
408    
409    2007-09-20      Sascha L. Teichmann <[email protected]>
410    
411            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
412              a document with items that are in given mode.
413    
414            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
415              trees depending on selected modes.
416    
417            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
418              Fixed clone issue with RuleNodes.
419    
420            * tools/formed/formed/config.py: Use new plug-in.
421    
422    2007-09-17      Sascha L. Teichmann <[email protected]>
423    
424            * tools/formed/formed/plugins/web/view_renderer.py: Make the
425              view renderer a real view renderer. It takes a list of
426              items now and not only a single page.
427    
428            * tools/formed/formed/plugins/web/renderer.py: Feed a list
429              of items to the view renderer.
430    
431    2007-09-17      Torsten Irlaender <[email protected]>
432    
433            * tools/formed/formed/plugins/web/view_renderer.py:
434              Small tweaks in rendering bools.
435              RadioNodes (with all its children) can now be placed in a container.
436              The radiobools will not get a surrounding <div> anymore.
437              I am not sure if the new way results in the wanted behaivor, but the
438              rendering results are much better now :)
439              Maybe we need a similar approach for checkboxes?
440              Rendering groups is still broken in some way.
441    
442    2007-09-17      Sascha L. Teichmann <[email protected]>
443    
444            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
445              a few bugs: Do not render empty containers, do not
446              generate misplaced <br class="newline"> in choices.
447              Add a nameless container to catch the items that are
448              nor explicitly assigned to a target. Removed FormData.
449    
450            * tools/formed/formed/plugins/web/renderer.py: Removed
451              a needless import
452    
453    2007-09-17      Sascha L. Teichmann <[email protected]>
454    
455            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
456              usage of 'containers' and 'target' attributes.
457    
458            * tools/formed/formed/plugins/web/controllers.py: Modified import.
459    
460            * tools/formed/formed/plugins/web/renderer.py: Use
461              new ViewRenderer.
462    
463    2007-09-17      Sascha L. Teichmann <[email protected]>
464    
465            * tools/formed/formed/model/nodecomponents.py: Added attributes
466              'target' to NodeComponent and 'containers' to Node.
467    
468            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
469              to be a replacement for form_renderer. Not ready yet!
470    
471            * ChangeLog: Fixed some indention glitches.
472    
473    2007-09-13      Torsten Irlaender <[email protected]>
474    
475            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
476              renaming algorithm.
477    
478    2007-09-12      Torsten Irlaender <[email protected]>
479    
480            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
481              from formular navigation to "Fallakte Inhalt"
482    
483    2007-09-12      Torsten Irlaender <[email protected]>
484    
485            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
486              values (dates)  were not pretty printed.
487    
488            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
489              label rendering for choicelists.
490    
491    2007-09-12      Torsten Irlaender <[email protected]>
492    
493            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
494              choicelist did not get selected when the value is set to "0"
495    
496    2007-09-12      Torsten Irlaender <[email protected]>
497    
498            * tools/formed/formed/plugins/web/form_renderer.py: Added
499              "getPrintableData" method, for the formdata Class which will return
500              the description rather than the value of element in the ID. This is
501              need for displaying the choises in a right way.
502            
503            * tools/formed/formed/plugins/web/renderer.py: Changed string
504              "Fallnummer" into "Kundennummer" in the templates. Added
505              Kundennummer to the dataset digest output. Bound in the new
506              "getPrintableData" call for the digest.
507    
508    2007-10-11      Sascha L. Teichmann <[email protected]>
509    
510            * tools/formed/formed/plugins/export/data.py: The import/export
511              of data is now implemented with filters (the most consequent
512              way in terms of design of FormEd). The support of the 'persistent'
513              FORMED env-variable support has been removed.
514    
515            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
516              filter file dialog to double as import dialog.
517    
518            * tools/formed/formed/main.py: Removed the the FORMED-var support
519              for persistence.
520            
521            * tools/formed/formed/config.py: Add the two new filters to the filters
522              list.
523    
524    2007-10-11      Sascha L. Teichmann <[email protected]>
525    
526            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
527              Removed pickle/unpickle stuff.
528    
529            * tools/formed/formed/main.py: Uses the new XML persistence.
530    
531            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
532              not converted to int indices.
533    
534    2007-09-11      Sascha L. Teichmann <[email protected]>
535    
536          * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent          * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
537            with pickle/unpickle.            with pickle/unpickle.
538    
539          * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.          * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
540            Set to a file name it is tried to unpickle a MemoryDataStore from            Set to a file name it is tried to unpickle a MemoryDataStore from
541                  that file. When exiting the program this file is used to store the            that file. When exiting the program this file is used to store the
542                  current MemoryDataStore state. The storing only works if you exit            current MemoryDataStore state. The storing only works if you exit
543                  the program through the Menu File->Exit.            the program through the Menu File->Exit.
544                  usage: FORMED=persistent:test.db ./formed.sh            usage: FORMED=persistent:test.db ./formed.sh
545    
546  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
547    
548          * tools/formed/formed/plugins/web/renderer.py: Changed Name of the          * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
549            application on the welcome page from "Formed" to "WASKA"            application on the welcome page from "Formed" to "WASKA"
550    
551  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
552    
553          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
554          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
555          * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.          * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
556            The infopage provides information on all project participants.            The infopage provides information on all project participants.
557    
558  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
559    
560          * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion          * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
561            issues with error messages (once again).            issues with error messages (once again).
562    
563  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
564    
565          * tools/formed/formed/plugins/web/form_renderer.py,          * tools/formed/formed/plugins/web/form_renderer.py,
566          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
567            icons in error and confirmation dialogs.            icons in error and confirmation dialogs.
568    
569  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
570    
571          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
572            generation for ints, texts and textareas. Fixed h depths of infos.            generation for ints, texts and textareas. Fixed h depths of infos.
573    
574  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
575    
576          * tools/formed/formed/plugins/web/form_renderer.py: Removed          * tools/formed/formed/plugins/web/form_renderer.py: Removed
577            debug output for help.            debug output for help.
# Line 49  Line 582 
582          * tools/formed/formed/plugins/web/controllers.py:  Added correct          * tools/formed/formed/plugins/web/controllers.py:  Added correct
583            HTML output of data for bools.            HTML output of data for bools.
584    
585  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
586    
587          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
588            textfields for int values. Changed Label for submitbuttons to            textfields for int values. Changed Label for submitbuttons to
# Line 66  Line 599 
599            dynamically depending on num errors. Formular navigation has now            dynamically depending on num errors. Formular navigation has now
600            colored indication for errors.            colored indication for errors.
601    
602  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
603    
604          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
605            algorithm for the formular navigation to get rid of the problem            algorithm for the formular navigation to get rid of the problem
# Line 74  Line 607 
607            structural group elements are linked with the next page found in the            structural group elements are linked with the next page found in the
608            formular structure.            formular structure.
609    
610  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
611          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
612            div and formtag.            div and formtag.
613    
# Line 86  Line 619 
619            overview and the digest table of the datasets. Added icon for            overview and the digest table of the datasets. Added icon for
620            confirmation dialog, moved the icon in the <h1> tags.              confirmation dialog, moved the icon in the <h1> tags.  
621    
622  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
623    
624          * tools/formed/formed/plugins/web/form_renderer.py: Some html          * tools/formed/formed/plugins/web/form_renderer.py: Some html
625            generation cleanup. Added error icons to formelements            generation cleanup. Added error icons to formelements
# Line 100  Line 633 
633            Links in confimation dialogs are now rendered as buttons. Removed            Links in confimation dialogs are now rendered as buttons. Removed
634            old obsolete OverviewRenderer.            old obsolete OverviewRenderer.
635    
636  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
637    
638          * tools/formed/formed/plugins/web/renderer.py: Highlight selected          * tools/formed/formed/plugins/web/renderer.py: Highlight selected
639            page in page navigation.            page in page navigation.
640    
641  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
642    
643          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
644            displaying formdata when changing datasets. Loading the right            displaying formdata when changing datasets. Loading the right
# Line 116  Line 649 
649          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
650            now uses the correct data out of the formdata.            now uses the correct data out of the formdata.
651    
652  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
653    
654          * tools/formed/formed/plugins/web/controllers.py: Pretty          * tools/formed/formed/plugins/web/controllers.py: Pretty
655            print format data (dates e.g)            print format data (dates e.g)
656    
657  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
658    
659          * tools/formed/formed/plugins/web/controllers.py: Modified          * tools/formed/formed/plugins/web/controllers.py: Modified
660            ErrorStats a bit to avoid mysterious extra error on page.            ErrorStats a bit to avoid mysterious extra error on page.
661                  No clue why this works.            No clue why this works.
662    
663  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
664    
665          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
666            problem with radio groups, too.            problem with radio groups, too.
667    
668  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
669          * tools/formed/formed/plugins/web/controllers.py: Sessions are now          * tools/formed/formed/plugins/web/controllers.py: Sessions are now
670            really removed when deleting a dataset.            really removed when deleting a dataset.
671                    
672  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
673    
674          * tools/formed/formed/plugins/web/controllers.py: Added new Class          * tools/formed/formed/plugins/web/controllers.py: Added new Class
675            ErrorStats which provides Information on remaining errors per page.            ErrorStats which provides Information on remaining errors per page.
# Line 147  Line 680 
680          * tools/formed/formed/plugins/web/plugin.py: Removed render_session          * tools/formed/formed/plugins/web/plugin.py: Removed render_session
681            handlers            handlers
682    
683  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
684    
685          * tools/formed/formed/plugins/web/form_renderer.py: values for          * tools/formed/formed/plugins/web/form_renderer.py: values for
686            choices are generated from the document tree now. This brings            choices are generated from the document tree now. This brings
687                  the state storage of select boxes in HTML to live.            the state storage of select boxes in HTML to live.
688    
689  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
690    
691          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
692            range checking of integers.            range checking of integers.
# Line 161  Line 694 
694          * tools/formed/formed/plugins/web/controllers.py: Added class          * tools/formed/formed/plugins/web/controllers.py: Added class
695            ErrorItem to track errors. They are stored in the session.            ErrorItem to track errors. They are stored in the session.
696    
697  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
698    
699          * tools/formed/formed/model/nodecomponents.py: Fixed returning          * tools/formed/formed/model/nodecomponents.py: Fixed returning
700            wrong index in Document.indexOfcomponentByClassAndName.            wrong index in Document.indexOfcomponentByClassAndName.
# Line 171  Line 704 
704    
705          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
706    
707  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
708    
709          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
710            method. Could be cheaper for some implementations of help.            method. Could be cheaper for some implementations of help.
711    
712          * tools/formed/formed/plugins/web/form_renderer.py: Modified          * tools/formed/formed/plugins/web/form_renderer.py: Modified
713            FormData to have distinct getData(), getHelp() and getError()            FormData to have distinct getData(), getHelp() and getError()
714                  methods. Various bug fixes.            methods. Various bug fixes.
715    
716          * tools/formed/formed/plugins/web/controllers.py: Implements the          * tools/formed/formed/plugins/web/controllers.py: Implements the
717            new FormData (trivial by now).            new FormData (trivial by now).
# Line 186  Line 719 
719          * tools/formed/formed/plugins/web/renderer.py: New FormData and          * tools/formed/formed/plugins/web/renderer.py: New FormData and
720            some bug fixes.            some bug fixes.
721    
722  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
723    
724          * tools/formed/formed/model/memory.py,          * tools/formed/formed/model/memory.py,
725            tools/formed/formed/model/persistent.py: Add a getValue() method            tools/formed/formed/model/persistent.py: Add a getValue() method
726                  to dataset abstraction. This is a bit of a workaround to bring            to dataset abstraction. This is a bit of a workaround to bring
727                  global access across pages for rule checking to work.            global access across pages for rule checking to work.
728    
729          * tools/formed/formed/model/data.py: Fixed: When setting a new expression          * tools/formed/formed/model/data.py: Fixed: When setting a new expression
730            the compiled version was not stored in the RuleLeaf.            the compiled version was not stored in the RuleLeaf.
# Line 201  Line 734 
734    
735          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
736            valid data is stored to the dataset immediately now. Fixed a bug            valid data is stored to the dataset immediately now. Fixed a bug
737                  with integer handler.            with integer handler.
738    
739          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
740            stuff. When a submit is done extract the rules from the tree document            stuff. When a submit is done extract the rules from the tree document
741                  that are effected by the modified variables and check them.            that are effected by the modified variables and check them.
742    
743          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
744            when dealing with templates.            when dealing with templates.
745    
746  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
747          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
748            tools/formed/formed/plugins/web/renderer.py: Moved more render            tools/formed/formed/plugins/web/renderer.py: Moved more render
749            functions into renderer.py. New render classes are:            functions into renderer.py. New render classes are:
# Line 220  Line 753 
753            Note: The new methods are only called from selected handlers. Other            Note: The new methods are only called from selected handlers. Other
754            handlers call the renderes in the old way.            handlers call the renderes in the old way.
755    
756  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
757          * tools/formed/formed/plugins/web/form_renderer.py: Renamed          * tools/formed/formed/plugins/web/form_renderer.py: Renamed
758            renderer.py to form_renderer.py. This file will contain formular            renderer.py to form_renderer.py. This file will contain formular
759            specfic render methods in the future.            specfic render methods in the future.
# Line 230  Line 763 
763            rendering into renderer.py or form_renderer.py. This file will only            rendering into renderer.py or form_renderer.py. This file will only
764            contain teh handlers in the future.            contain teh handlers in the future.
765    
766  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
767          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
768            tools/formed/formed/plugins/web/controller.py:            tools/formed/formed/plugins/web/controller.py:
769            Renderes now get an instance of the formdata object to provide            Renderes now get an instance of the formdata object to provide
770            access the data needed to render various infoboxes etc. Handler            access the data needed to render various infoboxes etc. Handler
771            instanciate the formdata.            instanciate the formdata.
772                    
773  2007-09-06 Torsten Irlaender <[email protected]>  2007-09-06      Torsten Irlaender <[email protected]>
774          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
775            getFormData interface to work. Added two small semantic fixes, but            getFormData interface to work. Added two small semantic fixes, but
776            did not manage to get it up. Need to exime this a little bit more            did not manage to get it up. Need to exime this a little bit more
# Line 245  Line 778 
778            around the menus on the right side to be able to assign different            around the menus on the right side to be able to assign different
779            styles. Added dataset actions while editing a dataset.            styles. Added dataset actions while editing a dataset.
780                    
781  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
782          * tools/formed/formed/model/memory.py: Fixed deleting datasets by          * tools/formed/formed/model/memory.py: Fixed deleting datasets by
783            removing unwanted del method            removing unwanted del method
784          * tools/formed/formed/plugins/web/controllers.py: Implemented          * tools/formed/formed/plugins/web/controllers.py: Implemented
785            confiration dialogs for create, delete, and select aof datasets. Started to use            confiration dialogs for create, delete, and select aof datasets. Started to use
786            templates as well for larger information units like the dataset summary.            templates as well for larger information units like the dataset summary.
787                    
788  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
789    
790          * tools/formed/formed/model/nodecomponents.py: Added a          * tools/formed/formed/model/nodecomponents.py: Added a
791            method to document to find index of page.            method to document to find index of page.
# Line 263  Line 796 
796          * tools/formed/formed/plugins/web/controllers.py: Added new          * tools/formed/formed/plugins/web/controllers.py: Added new
797            FormData implementation to support DB and semantic box.            FormData implementation to support DB and semantic box.
798    
799  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
800    
801          * tools/formed/formed/plugins/web/renderer.py: escaped          * tools/formed/formed/plugins/web/renderer.py: escaped
802            error message.            error message.
# Line 271  Line 804 
804          * tools/formed/formed/plugins/web/controllers.py: Don't fetch          * tools/formed/formed/plugins/web/controllers.py: Don't fetch
805            dataset from backend each time a page is up to edit.            dataset from backend each time a page is up to edit.
806    
807  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
808    
809          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
810            returns "Page not found" if given page is None.            returns "Page not found" if given page is None.
# Line 279  Line 812 
812          * tools/formed/formed/plugins/web/controllers.py: Added checks          * tools/formed/formed/plugins/web/controllers.py: Added checks
813            to avoid crashing when ask for a non-existent page.            to avoid crashing when ask for a non-existent page.
814    
815  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
816    
817          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
818    
819  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
820    
821          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
822            and renderers.            and renderers.
# Line 291  Line 824 
824          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
825            and renderers now. TODO: Move renderers to renderer.py            and renderers now. TODO: Move renderers to renderer.py
826    
827  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
828    
829          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
830            and bound in the the new added functions to create, edit, delete and            and bound in the the new added functions to create, edit, delete and
831            show formdata.            show formdata.
832                    
833  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
834    
835          * tools/formed/formed/model/memory.py: Removed bisect and use a          * tools/formed/formed/model/memory.py: Removed bisect and use a
836            simple linear scan for dataset lookup now.            simple linear scan for dataset lookup now.
# Line 305  Line 838 
838          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
839            of different sizes.            of different sizes.
840    
841  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
842    
843          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
844            fuction            fuction
845                              
846          * tools/formed/formed/plugins/web/persistent.py: Added store() method          * tools/formed/formed/plugins/web/persistent.py: Added store() method
847            to the DataSet interface            to the DataSet interface
848    
849          * tools/formed/formed/plugins/web/renderer.py: Added handlers and          * tools/formed/formed/plugins/web/renderer.py: Added handlers and
850            renderes for create, update, delete and show actions on formular data.            renderes for create, update, delete and show actions on formular data.
851    
852  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
853    
854          * tools/formed/formed/plugins/web/server.py: The mapping          * tools/formed/formed/plugins/web/server.py: The mapping
855            to methods is now driven by regualar expressions and            to methods is now driven by regualar expressions and
856                  a dictionary. Response objects are now able to send            a dictionary. Response objects are now able to send
857                  error codes.            error codes.
858    
859          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
860            when help in Formdata is None. Moved text for help into            when help in Formdata is None. Moved text for help into
861                  a top level '''...''' variable.            a top level '''...''' variable.
862    
863          * tools/formed/test-data/simple.xml: Added test for help.          * tools/formed/test-data/simple.xml: Added test for help.
864    
# Line 333  Line 866 
866    
867          * tools/formed/formed/plugins/web/plugin.py: Uses the new          * tools/formed/formed/plugins/web/plugin.py: Uses the new
868            table driven mapping of reguest handling. TODO: split the            table driven mapping of reguest handling. TODO: split the
869                  WebPlugIn.pageHandler() method further to smaller handlers.            WebPlugIn.pageHandler() method further to smaller handlers.
870                  Smaller clean ups and better exception handling.            Smaller clean ups and better exception handling.
871    
872          * tools/formed/formed/plugins/web/cache.py: Report OSErrors          * tools/formed/formed/plugins/web/cache.py: Report OSErrors
873            and do not catch them.            and do not catch them.
874    
875  2007-09-04 Torsten Irlaender <[email protected]>  2007-09-04      Torsten Irlaender <[email protected]>
876    
877          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
878          * tools/formed/formed/plugins/web/plugin.py: Added Interface to          * tools/formed/formed/plugins/web/plugin.py: Added Interface to
# Line 348  Line 881 
881            within a <div> tag.            within a <div> tag.
882            Modified the error messages.            Modified the error messages.
883    
884  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
885    
886          * tools/formed/formed/plugins/web/cache.py: New. Implements          * tools/formed/formed/plugins/web/cache.py: New. Implements
887            the server-side caching more clean. Fixes a bug with            the server-side caching more clean. Fixes a bug with
888                  serving static content.            serving static content.
889    
890          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
891    
892  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
893    
894          * tools/formed/formed/plugins/web/plugin.py: Set MIME type          * tools/formed/formed/plugins/web/plugin.py: Set MIME type
895            to "application/xhtml+xml" when serving help texts.            to "application/xhtml+xml" when serving help texts.
896    
897  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
898    
899          * tools/formed/formed/plugins/export/diff.py: New. Exports          * tools/formed/formed/plugins/export/diff.py: New. Exports
900            pairwise differences between all modes.            pairwise differences between all modes.
901    
902          * tools/formed/formed/config.py: Use new export filter.          * tools/formed/formed/config.py: Use new export filter.
903    
904  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
905    
906          * tools/formed/formed/plugins/web/help.py: New. Parses an          * tools/formed/formed/plugins/web/help.py: New. Parses an
907            XHTML document for id'ed divs and builds a help lookup.            XHTML document for id'ed divs and builds a help lookup.
# Line 382  Line 915 
915          * tools/formed/formed/plugins/web/plugin.py: Serves the help          * tools/formed/formed/plugins/web/plugin.py: Serves the help
916            texts now.            texts now.
917    
918  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
919    
920          * tools/formed/formed/plugins/web/plugin.py: Only visible group          * tools/formed/formed/plugins/web/plugin.py: Only visible group
921            elements will be rendered in the formular navigation.            elements will be rendered in the formular navigation.
922            Formular pages in the navigation now have their own css-style            Formular pages in the navigation now have their own css-style
923            attributes.            attributes.
924    
925  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
926    
927          * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page          * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
928            errors in template            errors in template
929          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
930            pageerrors variable            pageerrors variable
931    
932  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
933    
934          * tools/formed/formed/plugins/export/html.py          * tools/formed/formed/plugins/export/html.py
935          (RecursiveExporter): Added annotation to export          (RecursiveExporter): Added annotation to export
936          (fillRow()): Renamed old fillNine to this more generic name.          (fillRow()): Renamed old fillNine to this more generic name.
937                    
938    
939  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
940    
941          * tools/formed/formed/plugins/web/renderer.py: Using the decorator          * tools/formed/formed/plugins/web/renderer.py: Using the decorator
942            from model.misc now.            from model.misc now.
943    
944  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
945    
946          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
947            'annotation' attribute to node components. This is to            'annotation' attribute to node components. This is to
948                  enable FormEd document authors to add comments to groups            enable FormEd document authors to add comments to groups
949                  and fields.            and fields.
950    
951  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
952    
953          * tools/formed/formed/model/nodecomponents.py          * tools/formed/formed/model/nodecomponents.py
954          (NodeComponent.getParent): New method to get node components parent.          (NodeComponent.getParent): New method to get node components parent.
# Line 423  Line 956 
956          * tools/formed/formed/plugins/export/html.py: Export Choice option          * tools/formed/formed/plugins/export/html.py: Export Choice option
957          as simple list instead of collection of bools.          as simple list instead of collection of bools.
958    
959  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
960    
961          * tools/formed/formed/model/persistent.py: Interfaces to abstract          * tools/formed/formed/model/persistent.py: Interfaces to abstract
962            from persistent storage details.            from persistent storage details.
# Line 433  Line 966 
966    
967          * tools/formed/formed/main.py: Holds a memory data store now.          * tools/formed/formed/main.py: Holds a memory data store now.
968    
969  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
970    
971          * tools/formed/formed/plugins/export/sql.py,          * tools/formed/formed/plugins/export/sql.py,
972            tools/formed/formed/plugins/export/html.py: Fixed constructor chains            tools/formed/formed/plugins/export/html.py: Fixed constructor chains
973                  for FileDialogFilter sub classes.            for FileDialogFilter sub classes.
974    
975  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
976    
977          * tools/formed/formed/model/misc.py: Checking the mode in recursive          * tools/formed/formed/model/misc.py: Checking the mode in recursive
978            tree traversals is a common task. To ease this a decorator function            tree traversals is a common task. To ease this a decorator function
979                  checkMode in union with sub classing ModeChecker can be used.            checkMode in union with sub classing ModeChecker can be used.
980                  To make it work simply subclass from ModeChecker and add the decorator            To make it work simply subclass from ModeChecker and add the decorator
981                  to the methods that need mode tracking. Before you start the recursion            to the methods that need mode tracking. Before you start the recursion
982                  call self.prepareDescent().            call self.prepareDescent().
983    
984          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
985            now which replace the old. TODO: Make the web renderer use the new scheme            now which replace the old. TODO: Make the web renderer use the new scheme
986                  too.            too.
987    
988  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
989    
990          * tools/formed/formed/plugins/export/sql.py: Removed needless import.          * tools/formed/formed/plugins/export/sql.py: Removed needless import.
991    
992          * tools/formed/formed/plugins/export/html.py: HTML table exporter          * tools/formed/formed/plugins/export/html.py: HTML table exporter
993            uses new FileDialogFilter base class too.            uses new FileDialogFilter base class too.
994    
995  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
996    
997          * tools/formed/formed/plugins/ui/*: New. All file exporters          * tools/formed/formed/plugins/ui/*: New. All file exporters
998            need a file dialog. Till now each of them pulled up its            need a file dialog. Till now each of them pulled up its
999                  own. This was silly code replication. Now there is an abstract            own. This was silly code replication. Now there is an abstract
1000                  base class 'FileDialogFilter' which implements the common            base class 'FileDialogFilter' which implements the common
1001                  behavior. The file exporters should subclass it.            behavior. The file exporters should subclass it.
1002    
1003          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
1004            exporters from the new base class. TODO: Subclass the HTML            exporters from the new base class. TODO: Subclass the HTML
1005                  exporter too.            exporter too.
1006    
1007  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
1008    
1009          * tools/formed/formed/plugins/export/html.py: Make mode check          * tools/formed/formed/plugins/export/html.py: Make mode check
1010            work (again).            work (again).
1011    
1012  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
1013    
1014          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
1015            exprt works now in a recursive way. This change was needed because            exprt works now in a recursive way. This change was needed because
# Line 484  Line 1017 
1017            full hirachically document stuctures. (nested lists)            full hirachically document stuctures. (nested lists)
1018            TODO: Fix modechecking            TODO: Fix modechecking
1019    
1020  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
1021    
1022          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
1023            now in recursive way. This change was needed because the structure            now in recursive way. This change was needed because the structure
1024            of the formedtree has changed to be able to render full hirachically            of the formedtree has changed to be able to render full hirachically
1025            document stuctures. (nested lists)            document stuctures. (nested lists)
1026    
1027  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
1028    
1029          * tools/formed/formed/model/nodecomponents.py: use discard()          * tools/formed/formed/model/nodecomponents.py: use discard()
1030            instead of remove on sets.            instead of remove on sets.
# Line 502  Line 1035 
1035          * tools/formed/formed/config.py: Added the new exporter          * tools/formed/formed/config.py: Added the new exporter
1036            to the list of export filters.            to the list of export filters.
1037    
1038  2007-08-30 Sascha L. Teichmann <[email protected]>  2007-08-30      Sascha L. Teichmann <[email protected]>
1039    
1040          * tools/formed/formed/model/data.py: Fixed a bug in          * tools/formed/formed/model/data.py: Fixed a bug in
1041            Page.allWidgets()            Page.allWidgets()
# Line 512  Line 1045 
1045    
1046          * tools/formed/formed/config.py: Add the new SP exporter.          * tools/formed/formed/config.py: Add the new SP exporter.
1047    
1048  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
1049    
1050          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1051            tools/formed/formed/plugins/web/error_renderer.py: Added interface            tools/formed/formed/plugins/web/error_renderer.py: Added interface
1052            to get the errors for a whole page in te formular. These errors can            to get the errors for a whole page in te formular. These errors can
1053            now be displayed on the top of the formular.            now be displayed on the top of the formular.
1054    
1055  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
1056    
1057          * tools/formed/formed/plugins/web/renderer.py: Finished implementation          * tools/formed/formed/plugins/web/renderer.py: Finished implementation
1058            of the getFromData interface and prepared the rederer for generating            of the getFromData interface and prepared the rederer for generating
1059            nice error messages            nice error messages
1060    
1061  2007-08-28 Frank Koormann <[email protected]>  2007-08-28      Frank Koormann <[email protected]>
1062    
1063          * tools/formed/formed/plugins/export/sql.py          * tools/formed/formed/plugins/export/sql.py
1064          (SchemaCreator.createSchema, SchemaCreator._createGroup):          (SchemaCreator.createSchema, SchemaCreator._createGroup):
1065          Fixed typo in created DDS (PRIMRAY -> PRIMARY)          Fixed typo in created DDS (PRIMRAY -> PRIMARY)
1066    
1067  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
1068    
1069          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
1070            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
1071    
1072  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
1073    
1074          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
1075            for repeat tables.            for repeat tables.
1076                        
1077  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
1078    
1079          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
1080            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
1081                  this case reference the existing table.            this case reference the existing table.
1082    
1083  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
1084    
1085          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
1086            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 557  Line 1090 
1090          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
1091            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
1092    
1093  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
1094    
1095          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
1096            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
1097    
1098  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
1099    
1100          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
1101          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 570  Line 1103 
1103            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
1104            Added error indication to textfields            Added error indication to textfields
1105    
1106  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
1107    
1108          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1109            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
1110                  of logical groups.            of logical groups.
1111    
1112  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
1113    
1114          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
1115            attributes.            attributes.
1116    
1117          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
1118    
1119  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
1120    
1121          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
1122            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
1123    
1124  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
1125    
1126          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
1127            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
1128            depending tags in the html generation.            depending tags in the html generation.
1129    
1130  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
1131    
1132          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1133            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
1134                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
1135                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
1136    
1137  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
1138    
1139          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
1140            serving of static content.            serving of static content.
# Line 609  Line 1142 
1142          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
1143            old send code.            old send code.
1144    
1145  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
1146    
1147          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
1148            Response object. Fix typo.            Response object. Fix typo.
# Line 617  Line 1150 
1150          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
1151            response object to serve different MIME types.            response object to serve different MIME types.
1152    
1153  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
1154    
1155          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
1156            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
1157                  root of the static content.            root of the static content.
1158    
1159  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
1160    
1161          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1162            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
1163    
1164          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
1165            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
1166                  a template for the HTML output.            a template for the HTML output.
1167    
1168          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
1169            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
1170                  handling.            handling.
1171    
1172          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
1173            nagivation code.            nagivation code.
1174    
1175          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
1176    
1177  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
1178    
1179          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
1180            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 655  Line 1188 
1188          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
1189            the HTTP server code now.            the HTTP server code now.
1190    
1191  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
1192    
1193          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
1194    
1195          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
1196            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
1197                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
1198                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
1199    
1200          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
1201    
# Line 670  Line 1203 
1203    
1204          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
1205            to find all items of a given type in document for a given            to find all items of a given type in document for a given
1206                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
1207    
1208          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
1209            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
1210                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
1211                  expr of rule leafs.            expr of rule leafs.
1212    
1213          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
1214            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
1215                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
1216                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
1217                  to know if they are still valid.            to know if they are still valid.
1218    
1219  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
1220    
1221          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
1222            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 691  Line 1224 
1224          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
1225            generation              generation  
1226    
1227  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
1228    
1229          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
1230            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 699  Line 1232 
1232          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
1233            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
1234    
1235  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1236    
1237          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
1238            of external choice list.            of external choice list.
1239    
1240  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1241    
1242          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
1243            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
1244    
1245  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1246    
1247          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
1248            mode depended leaf items.            mode depended leaf items.
# Line 719  Line 1252 
1252    
1253          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
1254            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
1255                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
1256                  not done.            not done.
1257    
1258  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1259    
1260          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
1261            of radio groups and choices too.            of radio groups and choices too.
1262    
1263  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
1264    
1265          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
1266            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
1267            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
1268    
1269  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1270    
1271          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
1272            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
1273                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
1274    
1275  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1276    
1277          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
1278            HTML and SQL exporters.            HTML and SQL exporters.
# Line 748  Line 1281 
1281            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
1282            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
1283            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
1284                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
1285    
1286          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
1287            package now.            package now.
1288    
1289  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
1290    
1291          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
1292            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 762  Line 1295 
1295    
1296          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
1297    
1298  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1299    
1300          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
1301            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 772  Line 1305 
1305    
1306          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
1307    
1308  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
1309    
1310          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
1311            to extract fields and options in the XFA Data in teh PDF. This            to extract fields and options in the XFA Data in teh PDF. This
1312            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
1313            formular versions.            formular versions.
1314                    
1315  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1316    
1317          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
1318            select all modes. ;-)            select all modes. ;-)
1319    
1320  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1321    
1322          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
1323            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 794  Line 1327 
1327            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
1328            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
1329    
1330  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1331    
1332          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
1333            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 805  Line 1338 
1338          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
1339            env configuration.            env configuration.
1340    
1341  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1342    
1343          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
1344            table are now alphabetically sorted.            table are now alphabetically sorted.
1345    
1346  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1347    
1348          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
1349            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 826  Line 1359 
1359    
1360          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
1361    
1362  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1363    
1364          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
1365            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
1366    
1367  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1368    
1369          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
1370    
1371  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1372    
1373          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
1374            for the hidden field. Argh!            for the hidden field. Argh!
1375    
1376  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1377    
1378          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
1379            generation of hidden page field.            generation of hidden page field.
1380    
1381  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1382    
1383          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1384            checks for radio groups.            checks for radio groups.
1385    
1386  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1387    
1388          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1389            checks for choices.            checks for choices.
# Line 865  Line 1398 
1398          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
1399          Replace technical types with readable descriptions          Replace technical types with readable descriptions
1400    
1401  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1402    
1403          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1404            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
1405                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
1406                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
1407                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
1408                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
1409    
1410          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
1411            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 880  Line 1413 
1413          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
1414            hidden field to store the name of the page.            hidden field to store the name of the page.
1415    
1416  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1417    
1418          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1419            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
1420    
1421  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1422    
1423          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
1424            in switches.            in switches.
1425    
1426          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
1427            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
1428                  with a given mode.            with a given mode.
1429    
1430          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
1431            listing all widgets in page.            listing all widgets in page.
1432    
1433  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
1434    
1435          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1436            latin-1            latin-1
1437    
1438  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1439    
1440          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
1441            walk.            walk.
1442                              
1443          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1444            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
1445                  give children in a given mode.            give children in a given mode.
1446    
1447          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1448            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
1449    
1450  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1451    
1452          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
1453            texts and text areas.            texts and text areas.
# Line 922  Line 1455 
1455          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1456            to UTF-8 in generated form.            to UTF-8 in generated form.
1457    
1458  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
1459    
1460          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1461            tests for dates.            tests for dates.
1462    
1463  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
1464    
1465          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
1466            range test.            range test.
# Line 941  Line 1474 
1474          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
1475            check.            check.
1476    
1477  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
1478    
1479          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1480            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 954  Line 1487 
1487            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1488            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1489            tests which need to be written soon.            tests which need to be written soon.
1490                              
1491            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1492            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1493            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 972  Line 1505 
1505            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1506            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1507            selects their respective menu item.            selects their respective menu item.
1508                              
1509          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1510            installed filters.            installed filters.
1511    
# Line 1033  Line 1566 
1566    
1567          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1568            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1569                  menu and put a separator between them.            menu and put a separator between them.
1570    
1571  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1572    
# Line 1042  Line 1575 
1575    
1576          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1577            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1578                  global configuration is passed at setup time.            global configuration is passed at setup time.
1579    
1580          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1581            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1582                  from the global configuration each time a rendering            from the global configuration each time a rendering
1583                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1584                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1585                  is not needed any more because it can be configured            is not needed any more because it can be configured
1586                  at runtime.            at runtime.
1587    
1588          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1589            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1590                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1591                  global config.            global config.
1592    
1593          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1594            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 1067  Line 1600 
1600    
1601          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1602            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1603                  print out in web plugin.            print out in web plugin.
1604    
1605  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1606    
# Line 1085  Line 1618 
1618    
1619          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1620            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1621                  to FORMED environment variable.            to FORMED environment variable.
1622                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1623                  Defaults to 'default'.            Defaults to 'default'.
1624    
1625          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1626    
# Line 1101  Line 1634 
1634          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1635            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1636            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1637                  to model external item lists.            to model external item lists.
1638    
1639          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1640            list.            list.
# Line 1118  Line 1651 
1651    
1652          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1653            choice item lists for a given field from XFA files. e.g. with            choice item lists for a given field from XFA files. e.g. with
1654                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1655    
1656  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1657    
1658          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1659            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1660                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1661                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1662                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1663                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1664                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1665    
1666                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1667                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1668                              
1669          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1670            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1671    
# Line 1150  Line 1683 
1683    
1684          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1685            of the tree.            of the tree.
1686                              
1687          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1688    
1689          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 1173  Line 1706 
1706    
1707          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1708            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1709                  in document tree.            in document tree.
1710    
1711          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1712            after names collisions are eliminated.            after names collisions are eliminated.
# Line 1185  Line 1718 
1718    
1719          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1720            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1721                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1722                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1723                  purpose.            purpose.
1724    
1725          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1726            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1727                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1728    
1729          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1730            from bool items.            from bool items.
# Line 1210  Line 1743 
1743    
1744          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1745            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1746                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1747    
1748  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1749    
# Line 1247  Line 1780 
1780    
1781          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1782            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1783                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1784    
1785          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1786            the reference to the config.            the reference to the config.
# Line 1327  Line 1860 
1860    
1861          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1862            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
1863                  attributes.            attributes.
1864    
1865          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
1866            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 1356  Line 1889 
1889    
1890          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
1891            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
1892                  tree.            tree.
1893    
1894  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
1895    
# Line 1385  Line 1918 
1918    
1919          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
1920            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
1921                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
1922    
1923          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1924            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1925                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
1926    
1927  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
1928    
# Line 1437  Line 1970 
1970    
1971          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
1972            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
1973                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
1974    
1975          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
1976    
# Line 1450  Line 1983 
1983    
1984          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
1985            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
1986                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
1987    
1988  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
1989    
# Line 1466  Line 1999 
1999    
2000          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
2001            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
2002                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.175  
changed lines
  Added in v.259

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26