/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 271 - (hide annotations)
Wed May 21 14:30:01 2008 UTC (16 years, 9 months ago) by frank
File size: 73294 byte(s)
New, export key value tables as excel workbook with one sheet per table.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26