/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 234 - (hide annotations)
Mon Feb 25 11:41:32 2008 UTC (17 years ago) by teichmann
File size: 67166 byte(s)
Added generation of SQL update statements.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26