/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.47  
changed lines
  Added in v.245

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26