/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 300 - (hide annotations)
Wed Dec 17 10:33:37 2008 UTC (16 years, 2 months ago) by frank
File size: 80234 byte(s)
LaTeX export reworked: Section marks and help text placeholder.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26