/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 226 - (show annotations)
Wed Feb 13 16:22:13 2008 UTC (17 years ago) by teichmann
File size: 65721 byte(s)
SQL schema exporter:
    output id, master_id
    and uuid_id in anonymiziation views too.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26