/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26