/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 252 - (hide annotations)
Tue Mar 11 11:50:56 2008 UTC (16 years, 11 months ago) by teichmann
File size: 69621 byte(s)
SQL schema exporter:

Added code to generate a plpgsql function anonymize_case() that anonymizes
a given case and all of its depending repeat groups.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26