/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 267 - (hide annotations)
Tue Apr 29 13:13:25 2008 UTC (16 years, 9 months ago) by teichmann
File size: 72590 byte(s)
Removed needless character in XSD exporter.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26