/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 326 - (hide annotations)
Thu Apr 16 15:18:22 2009 UTC (15 years, 10 months ago) by teichmann
File size: 86180 byte(s)
Fixed RepeatNode and added attribute 'digest'.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26