/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 245 - (hide annotations)
Wed Feb 27 13:46:00 2008 UTC (17 years ago) by teichmann
File size: 68736 byte(s)
XML import: fixed bug in date conversion.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26