/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 258 - (hide annotations)
Tue Apr 1 13:01:15 2008 UTC (16 years, 10 months ago) by teichmann
File size: 71072 byte(s)
Anoymnized XML export.

Removed "WHERE einverstaendniserklaerung = 1" from clause to select datasets.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26