/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 253 - (hide annotations)
Tue Mar 11 14:16:48 2008 UTC (16 years, 11 months ago) by teichmann
File size: 69785 byte(s)
SQL schema exporter:
Fix syntax of generated anonymize_case() function.
  

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26