/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 302 - (hide annotations)
Fri Jan 9 15:54:40 2009 UTC (16 years, 1 month ago) by torsten
File size: 80688 byte(s)
Added new repeat node

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26