/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 313 - (hide annotations)
Fri Mar 13 09:50:05 2009 UTC (15 years, 11 months ago) by teichmann
File size: 83921 byte(s)
Use new tree based expression engine.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26