/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 262 - (hide annotations)
Mon Apr 28 21:11:48 2008 UTC (16 years, 10 months ago) by teichmann
File size: 71860 byte(s)
Added support for repeat groups and integers in XSD export.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26