/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.181  
changed lines
  Added in v.253

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26