/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 240 - (hide annotations)
Tue Feb 26 14:14:15 2008 UTC (17 years ago) by teichmann
File size: 68033 byte(s)
XML import: implementes logic to create/update cases.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26