/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 282 - (hide annotations)
Wed Aug 13 13:09:51 2008 UTC (16 years, 6 months ago) by teichmann
File size: 75324 byte(s)
First version of FormEd i18n.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26