/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.63  
changed lines
  Added in v.299

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26