/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 276 - (hide annotations)
Mon Jul 7 10:59:40 2008 UTC (16 years, 7 months ago) by teichmann
File size: 73847 byte(s)
Mark cases as inconsistent if they do not fullfill the conditions of valid time evaluation.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26