/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 264 - (hide annotations)
Tue Apr 29 06:30:31 2008 UTC (16 years, 10 months ago) by teichmann
File size: 72182 byte(s)
Added support for boolean fields in XSD export.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26