/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 334 - (hide annotations)
Wed Jun 17 09:42:37 2009 UTC (15 years, 8 months ago) by teichmann
File size: 87827 byte(s)
SQL Schema generator: s/-/_/ in relation names.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26