/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.33  
changed lines
  Added in v.238

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26