/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 228 - (hide annotations)
Thu Feb 14 14:37:54 2008 UTC (17 years ago) by teichmann
File size: 66064 byte(s)
SQL schema generator: Exchanged name erase_value with suppress_value/suppress_value2.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26