/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (hide annotations)
Mon Apr 27 14:54:41 2009 UTC (15 years, 10 months ago) by teichmann
File size: 86564 byte(s)
Added functions in repeat group schema generator to create datasets.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26