/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 259 - (hide annotations)
Wed Apr 9 15:48:37 2008 UTC (16 years, 10 months ago) by teichmann
File size: 71225 byte(s)
Added cron job script to delete old anonymized cases from database.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26