/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 327 - (hide annotations)
Fri Apr 24 12:29:32 2009 UTC (15 years, 10 months ago) by teichmann
File size: 86390 byte(s)
New plug-in to generate tree structures in database.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26