/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.5  
changed lines
  Added in v.300

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26