/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.151  
changed lines
  Added in v.258

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26