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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26