/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.81  
changed lines
  Added in v.281

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26