/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 316 - (hide annotations)
Mon Mar 16 13:21:37 2009 UTC (15 years, 11 months ago) by teichmann
File size: 84393 byte(s)
Added ConditionalNode.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26