/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 279 - (show annotations)
Thu Jul 17 15:54:29 2008 UTC (16 years, 7 months ago) by teichmann
File size: 74557 byte(s)
Anon XML import on eval server: Moved marking of invalid cases from xmlimporter to cron jobs.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26