/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.109  
changed lines
  Added in v.290

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26