/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 283 - (show annotations)
Wed Aug 13 14:42:15 2008 UTC (16 years, 6 months ago) by teichmann
File size: 76691 byte(s)
i18n of the plug-ins:

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26