/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 263 - (hide annotations)
Mon Apr 28 21:50:48 2008 UTC (16 years, 10 months ago) by teichmann
File size: 72018 byte(s)
Added support for date, text, textarea fields in XSD export.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26