/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 297 - (hide annotations)
Mon Dec 1 10:24:57 2008 UTC (16 years, 2 months ago) by torsten
File size: 79460 byte(s)
Generate default rules for required fields

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26