/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 310 - (hide annotations)
Tue Feb 10 09:58:34 2009 UTC (16 years ago) by teichmann
File size: 83297 byte(s)
Fixed problem with description reference tables of radio groups.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26