/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 225 - (hide annotations)
Wed Feb 13 16:07:19 2008 UTC (17 years ago) by teichmann
File size: 65551 byte(s)
SQL schema generator:
    Added generation of anonymiziation views for master table views and repeat group
	views.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26