/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 223 - (show annotations)
Sat Feb 2 16:54:15 2008 UTC (17 years ago) by teichmann
File size: 65132 byte(s)
FormEd / SQL schema exporter:
    Added update rule for master table and repeat groups.
    Granted update right to :cm_ka_group.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26