/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 277 - (hide annotations)
Mon Jul 7 11:29:34 2008 UTC (16 years, 7 months ago) by torsten
File size: 74053 byte(s)
Added Information on anonymisation to html export

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26