/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 296 - (hide annotations)
Fri Nov 28 11:50:49 2008 UTC (16 years, 2 months ago) by teichmann
File size: 79184 byte(s)
Added stub for required fields rules generator. Ported WidgetCollector from Offline client.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26