/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 227 - (show annotations)
Wed Feb 13 16:44:26 2008 UTC (17 years ago) by teichmann
File size: 65892 byte(s)
SQL schema generator: substitute 'erase_value' with NULL value.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26