/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 257 - (hide annotations)
Wed Mar 12 15:10:10 2008 UTC (16 years, 11 months ago) by torsten
File size: 70832 byte(s)
Updated import.cron

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26