/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.178  
changed lines
  Added in v.302

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26