/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.53  
changed lines
  Added in v.251

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26