/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 254 - (hide annotations)
Tue Mar 11 14:31:23 2008 UTC (16 years, 11 months ago) by teichmann
File size: 69943 byte(s)
SQL schema exporter: Added a newline in last line.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26