/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 309 - (hide annotations)
Fri Feb 6 18:34:38 2009 UTC (16 years ago) by teichmann
File size: 83129 byte(s)
SQL exporter: replace '-' in names by '_'.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26