/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 315 - (show annotations)
Fri Mar 13 18:18:16 2009 UTC (15 years, 11 months ago) by teichmann
File size: 84215 byte(s)
Make the error descriptions in date sequence rules more precise.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26