/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 296 - (show annotations)
Fri Nov 28 11:50:49 2008 UTC (16 years, 2 months ago) by teichmann
File size: 79184 byte(s)
Added stub for required fields rules generator. Ported WidgetCollector from Offline client.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26