/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 332 - (hide annotations)
Tue May 26 14:12:25 2009 UTC (15 years, 9 months ago) by teichmann
File size: 87577 byte(s)
Repaired unique filter for nodecomponent names.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26