/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 241 - (hide annotations)
Tue Feb 26 15:38:42 2008 UTC (17 years ago) by teichmann
File size: 68198 byte(s)
XML import added support for getopt and fkz imforcement.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26