/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 227 - (hide annotations)
Wed Feb 13 16:44:26 2008 UTC (17 years ago) by teichmann
File size: 65892 byte(s)
SQL schema generator: substitute 'erase_value' with NULL value.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26