/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 320 - (hide annotations)
Fri Mar 20 14:40:36 2009 UTC (15 years, 11 months ago) by teichmann
File size: 84981 byte(s)
Date rules: Fixed error message.  Generate past and future rules.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26