/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 251 - (hide annotations)
Thu Mar 6 14:47:24 2008 UTC (16 years, 11 months ago) by teichmann
File size: 69382 byte(s)
* Removed query print in anonym xmlimport
* Print generation date of db schema in ISO.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26