/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 278 - (hide annotations)
Mon Jul 7 15:11:06 2008 UTC (16 years, 7 months ago) by torsten
File size: 74378 byte(s)
Added LaTeX export and more information on anonymisation to HTML export.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26