/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 255 - (hide annotations)
Tue Mar 11 16:54:29 2008 UTC (16 years, 11 months ago) by teichmann
File size: 70135 byte(s)
SQL schema exporter: 

anonymize_case-Generator:
Generate no update statements for relations which have no anonym functions applied.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26