/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.60  
changed lines
  Added in v.296

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26