/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 324 - (hide annotations)
Thu Apr 2 14:24:37 2009 UTC (15 years, 10 months ago) by teichmann
File size: 85860 byte(s)
SQL Export: New function to anonymize uuids.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26