/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.85  
changed lines
  Added in v.311

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26