/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.74  
changed lines
  Added in v.244

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26