/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 244 - (hide annotations)
Wed Feb 27 11:56:51 2008 UTC (17 years ago) by teichmann
File size: 68618 byte(s)
Simplified the XML import.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26