/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 274 - (hide annotations)
Mon Jul 7 08:57:17 2008 UTC (16 years, 7 months ago) by teichmann
File size: 73578 byte(s)
Synced anon XML import with produktive version.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26