/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.101  
changed lines
  Added in v.304

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26