/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 263 - (show annotations)
Mon Apr 28 21:50:48 2008 UTC (16 years, 10 months ago) by teichmann
File size: 72018 byte(s)
Added support for date, text, textarea fields in XSD export.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26