/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 326 - (show annotations)
Thu Apr 16 15:18:22 2009 UTC (15 years, 10 months ago) by teichmann
File size: 86180 byte(s)
Fixed RepeatNode and added attribute 'digest'.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26