/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 224 - (show annotations)
Wed Feb 13 12:08:21 2008 UTC (17 years ago) by teichmann
File size: 65352 byte(s)
- Added attribute "function" in FormEd nodes
- Save XML attribiutes in alphabetical order.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26