/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.93  
changed lines
  Added in v.279

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26