/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 319 - (hide annotations)
Mon Mar 16 14:43:03 2009 UTC (15 years, 11 months ago) by teichmann
File size: 84770 byte(s)
Expression engine: Forget to call today with context.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26