/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 333 - (hide annotations)
Tue May 26 15:21:00 2009 UTC (15 years, 9 months ago) by teichmann
File size: 87698 byte(s)
 small optimization in making names unique.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26