/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 214 - (show annotations)
Fri Nov 2 10:13:18 2007 UTC (17 years, 3 months ago) by frank
File size: 63064 byte(s)
tools/formed/formed/plugins/export/sql.py: New WHERE-clause for views.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26