/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 229 - (hide annotations)
Fri Feb 15 17:23:32 2008 UTC (17 years ago) by teichmann
File size: 66209 byte(s)
Added simple script to fetch anonymous data from database.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26