/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 308 - (hide annotations)
Fri Feb 6 17:41:29 2009 UTC (16 years ago) by teichmann
File size: 82994 byte(s)
Make table comparision invariant of insert statements and case.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26