/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 247 - (hide annotations)
Mon Mar 3 10:26:38 2008 UTC (16 years, 11 months ago) by torsten
File size: 69182 byte(s)
Added Changenote

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26