/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 260 - (hide annotations)
Thu Apr 17 08:54:19 2008 UTC (16 years, 10 months ago) by torsten
File size: 71413 byte(s)
Changed WHERE clause of view to work with group permissions

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26