/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 279 - (hide annotations)
Thu Jul 17 15:54:29 2008 UTC (16 years, 7 months ago) by teichmann
File size: 74557 byte(s)
Anon XML import on eval server: Moved marking of invalid cases from xmlimporter to cron jobs.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26