/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.88  
changed lines
  Added in v.276

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26