/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 293 - (show annotations)
Wed Nov 5 10:25:24 2008 UTC (16 years, 3 months ago) by torsten
File size: 78267 byte(s)
Fixed import error

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26