/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.12  
changed lines
  Added in v.225

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26