/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.146  
changed lines
  Added in v.264

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26