/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 272 - (hide annotations)
Tue Jun 10 15:51:51 2008 UTC (16 years, 8 months ago) by torsten
File size: 73458 byte(s)
Grant access permission for anonymize function to admin-ka

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26