/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 330 - (hide annotations)
Thu Apr 30 15:56:38 2009 UTC (15 years, 9 months ago) by teichmann
File size: 87191 byte(s)
New SQL schema generator plug-in.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26