/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 301 - (hide annotations)
Thu Jan 8 11:57:14 2009 UTC (16 years, 1 month ago) by torsten
File size: 80441 byte(s)
Add isset operator to autogenerated rules.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26