/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 275 - (hide annotations)
Mon Jul 7 10:26:03 2008 UTC (16 years, 7 months ago) by teichmann
File size: 73721 byte(s)
Updated anon XML import to schema 1.5

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26