/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 315 - (hide annotations)
Fri Mar 13 18:18:16 2009 UTC (15 years, 11 months ago) by teichmann
File size: 84215 byte(s)
Make the error descriptions in date sequence rules more precise.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26