/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 256 - (hide annotations)
Wed Mar 12 10:18:23 2008 UTC (16 years, 11 months ago) by teichmann
File size: 70323 byte(s)
SQL schema exporter:

Fixed a bug in anonymization code of repeat groups.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26