/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.138  
changed lines
  Added in v.289

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26