/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 238 - (hide annotations)
Mon Feb 25 17:08:20 2008 UTC (17 years ago) by teichmann
File size: 67750 byte(s)
Merged

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26