/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.175  
changed lines
  Added in v.297

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26