/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 281 - (hide annotations)
Fri Aug 8 09:04:09 2008 UTC (16 years, 6 months ago) by teichmann
File size: 74854 byte(s)
anonymized export: Only export cases which are not 'schwebend geloescht'.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26