/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.134  
changed lines
  Added in v.272

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26