/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 329 - (hide annotations)
Tue Apr 28 10:06:31 2009 UTC (15 years, 10 months ago) by teichmann
File size: 86724 byte(s)
Added delete functions for repeat group SQL generator.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26