/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 75 by teichmann, Wed Aug 22 14:15:41 2007 UTC revision 227 by teichmann, Wed Feb 13 16:44:26 2008 UTC
# Line 1  Line 1 
1  2007-08-22 Sascha L. Teichmann <[email protected]>  2008-02-13      Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/plugins/export/sql.py: output id, master_id
4              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              and uuid_id in anonymiziation views too.
10    
11    2008-02-13      Sascha L. Teichmann <[email protected]>
12    
13            * 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            * 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    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    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    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    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    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    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    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    2007-11-07      Sascha L. Teichmann <[email protected]>
75    
76            * 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            * 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    2007-10-23      Frank Koormann <[email protected]>
86    
87            * tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views
88    
89    2007-10-23      Frank Koormann <[email protected]>
90    
91            * tools/formed/formed/plugins/export/sql.py: Set default
92            value (-1) for choices and bools.
93    
94    2007-10-21      Frank Koormann <[email protected]>
95    
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            * 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    2007-10-19      Frank Koormann <[email protected]>
107    
108            * 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    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    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    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    2007-10-07      Sascha L. Teichmann <[email protected]>
134    
135            * 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            * 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            * 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            * 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            * 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    2007-10-06      Sascha L. Teichmann <[email protected]>
165    
166            * pdf2xfa/**: Initial import of the PDF to XFA server.
167    
168    2007-10-06      Sascha L. Teichmann <[email protected]>
169    
170            * 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    2007-10-05      Sascha L. Teichmann <[email protected]>
175    
176            * 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            * 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            * 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    2007-10-01      Sascha L. Teichmann <[email protected]>
193    
194            * 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            * 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    2007-09-27      Torsten Irlaender <[email protected]>
207    
208            * tools/formed/formed/plugins/names/filter.py: Pages are now included
209              in the rename by formular name  algorithm
210    
211    2007-09-26      Sascha L. Teichmann <[email protected]>
212    
213            * 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            * 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    2007-09-25      Torsten Irlaender <[email protected]>
233    
234            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
235              cleanup of the form generation code.
236    
237    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    2007-09-20      Sascha L. Teichmann <[email protected]>
243    
244            * 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            * 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    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    2007-09-17      Torsten Irlaender <[email protected]>
270    
271            * 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    2007-09-17      Sascha L. Teichmann <[email protected]>
281    
282            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
283              a few bugs: Do not render empty containers, do not
284              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    
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            * 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            * 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            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
314              renaming algorithm.
315    
316    2007-09-12      Torsten Irlaender <[email protected]>
317    
318            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
319              from formular navigation to "Fallakte Inhalt"
320    
321    2007-09-12      Torsten Irlaender <[email protected]>
322    
323            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
324              values (dates)  were not pretty printed.
325    
326            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
327              label rendering for choicelists.
328    
329    2007-09-12      Torsten Irlaender <[email protected]>
330    
331            * 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    2007-09-12      Torsten Irlaender <[email protected]>
335    
336            * 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    2007-10-11      Sascha L. Teichmann <[email protected]>
347    
348            * tools/formed/formed/plugins/export/data.py: The import/export
349              of data is now implemented with filters (the most consequent
350              way in terms of design of FormEd). The support of the 'persistent'
351              FORMED env-variable support has been removed.
352    
353            * 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    2007-10-11      Sascha L. Teichmann <[email protected]>
363    
364            * 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    2007-09-11      Sascha L. Teichmann <[email protected]>
373    
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              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    
384    2007-09-11      Torsten Irlaender <[email protected]>
385    
386            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
387              application on the welcome page from "Formed" to "WASKA"
388    
389    2007-09-11      Torsten Irlaender <[email protected]>
390    
391            * 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    2007-09-11      Sascha L. Teichmann <[email protected]>
397    
398            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
399              issues with error messages (once again).
400    
401    2007-09-11      Torsten Irlaender <[email protected]>
402    
403            * 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    2007-09-11      Sascha L. Teichmann <[email protected]>
408    
409            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
410              generation for ints, texts and textareas. Fixed h depths of infos.
411    
412    2007-09-11      Sascha L. Teichmann <[email protected]>
413    
414            * 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    2007-09-11      Torsten Irlaender <[email protected]>
424    
425            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
426              textfields for int values. Changed Label for submitbuttons to
427              "Speichern"
428    
429            * 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    
434            * 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    2007-09-11      Torsten Irlaender <[email protected]>
441    
442            * 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    2007-09-10      Torsten Irlaender <[email protected]>
449            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
450              div and formtag.
451    
452            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
453              menu in the conformation dialog when creating a new dataset.
454    
455            * 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    2007-09-10      Torsten Irlaender <[email protected]>
461    
462            * tools/formed/formed/plugins/web/form_renderer.py: Some html
463              generation cleanup. Added error icons to formelements
464    
465            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
466              of ErrorStatus. Fixed generated of the help tags in the formular
467    
468            * 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    2007-09-10      Sascha L. Teichmann <[email protected]>
475    
476            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
477              page in page navigation.
478    
479    2007-09-10      Torsten Irlaender <[email protected]>
480    
481            * 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    
487            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
488              now uses the correct data out of the formdata.
489    
490    2007-09-10      Sascha L. Teichmann <[email protected]>
491    
492            * tools/formed/formed/plugins/web/controllers.py: Pretty
493              print format data (dates e.g)
494    
495    2007-09-10      Sascha L. Teichmann <[email protected]>
496    
497            * tools/formed/formed/plugins/web/controllers.py: Modified
498              ErrorStats a bit to avoid mysterious extra error on page.
499              No clue why this works.
500    
501    2007-09-10      Sascha L. Teichmann <[email protected]>
502    
503            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
504              problem with radio groups, too.
505    
506    2007-09-10      Torsten Irlaender <[email protected]>
507            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
508              really removed when deleting a dataset.
509            
510    2007-09-10      Torsten Irlaender <[email protected]>
511    
512            * tools/formed/formed/plugins/web/controllers.py: Added new Class
513              ErrorStats which provides Information on remaining errors per page.
514    
515            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
516              the renderer methods from controllers.py to renderers.py.
517    
518            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
519              handlers
520    
521    2007-09-10      Sascha L. Teichmann <[email protected]>
522    
523            * tools/formed/formed/plugins/web/form_renderer.py: values for
524              choices are generated from the document tree now. This brings
525              the state storage of select boxes in HTML to live.
526    
527    2007-09-09      Sascha L. Teichmann <[email protected]>
528    
529            * 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    2007-09-09      Sascha L. Teichmann <[email protected]>
536    
537            * 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    2007-09-09      Sascha L. Teichmann <[email protected]>
546    
547            * 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              methods. Various bug fixes.
553    
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    2007-09-09      Sascha L. Teichmann <[email protected]>
561    
562            * tools/formed/formed/model/memory.py,
563              tools/formed/formed/model/persistent.py: Add a getValue() method
564              to dataset abstraction. This is a bit of a workaround to bring
565              global access across pages for rule checking to work.
566    
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              with integer handler.
576    
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              that are effected by the modified variables and check them.
580    
581            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
582              when dealing with templates.
583    
584    2007-09-07      Torsten Irlaender <[email protected]>
585            * 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    2007-09-07      Torsten Irlaender <[email protected]>
595            * 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    2007-09-07      Torsten Irlaender <[email protected]>
605            * 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    2007-09-06      Torsten Irlaender <[email protected]>
612            * 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    2007-09-05      Torsten Irlaender <[email protected]>
620            * 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    2007-09-05      Sascha L. Teichmann <[email protected]>
627    
628            * 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    2007-09-05      Sascha L. Teichmann <[email protected]>
638    
639            * 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    2007-09-05      Sascha L. Teichmann <[email protected]>
646    
647            * 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    2007-09-05      Sascha L. Teichmann <[email protected]>
654    
655            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
656    
657    2007-09-05      Sascha L. Teichmann <[email protected]>
658    
659            * 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    2007-09-05      Torsten Irlaender <[email protected]>
666    
667            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
668              and bound in the the new added functions to create, edit, delete and
669              show formdata.
670            
671    2007-09-05      Sascha L. Teichmann <[email protected]>
672    
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    2007-09-05      Torsten Irlaender <[email protected]>
680    
681            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
682              fuction
683              
684            * tools/formed/formed/plugins/web/persistent.py: Added store() method
685              to the DataSet interface
686    
687            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
688              renderes for create, update, delete and show actions on formular data.
689    
690    2007-09-04      Sascha L. Teichmann <[email protected]>
691    
692            * tools/formed/formed/plugins/web/server.py: The mapping
693              to methods is now driven by regualar expressions and
694              a dictionary. Response objects are now able to send
695              error codes.
696    
697            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
698              when help in Formdata is None. Moved text for help into
699              a top level '''...''' variable.
700    
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              WebPlugIn.pageHandler() method further to smaller handlers.
708              Smaller clean ups and better exception handling.
709    
710            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
711              and do not catch them.
712    
713    2007-09-04      Torsten Irlaender <[email protected]>
714    
715            * 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    2007-09-04      Sascha L. Teichmann <[email protected]>
723    
724            * tools/formed/formed/plugins/web/cache.py: New. Implements
725              the server-side caching more clean. Fixes a bug with
726              serving static content.
727    
728            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
729    
730    2007-09-04      Sascha L. Teichmann <[email protected]>
731    
732            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
733              to "application/xhtml+xml" when serving help texts.
734    
735    2007-09-03      Sascha L. Teichmann <[email protected]>
736    
737            * 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    2007-09-03      Sascha L. Teichmann <[email protected]>
743    
744            * tools/formed/formed/plugins/web/help.py: New. Parses an
745              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    2007-09-03      Torsten Irlaender <[email protected]>
757    
758            * 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    2007-09-03      Torsten Irlaender <[email protected]>
764    
765            * 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    2007-09-03      Frank Koormann <[email protected]>
771    
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    2007-09-03      Sascha L. Teichmann <[email protected]>
778    
779            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
780              from model.misc now.
781    
782    2007-09-03      Sascha L. Teichmann <[email protected]>
783    
784            * tools/formed/formed/model/nodecomponents.py: Added an
785              'annotation' attribute to node components. This is to
786              enable FormEd document authors to add comments to groups
787              and fields.
788    
789    2007-09-03      Frank Koormann <[email protected]>
790    
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    2007-09-02      Sascha L. Teichmann <[email protected]>
798    
799            * 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    2007-09-02      Sascha L. Teichmann <[email protected]>
808    
809            * tools/formed/formed/plugins/export/sql.py,
810              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
811              for FileDialogFilter sub classes.
812    
813    2007-09-02      Sascha L. Teichmann <[email protected]>
814    
815            * 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              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    
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              too.
825    
826    2007-09-02      Sascha L. Teichmann <[email protected]>
827    
828            * 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    2007-09-02      Sascha L. Teichmann <[email protected]>
834    
835            * tools/formed/formed/plugins/ui/*: New. All file exporters
836              need a file dialog. Till now each of them pulled up its
837              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    
841            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
842              exporters from the new base class. TODO: Subclass the HTML
843              exporter too.
844    
845    2007-08-31      Sascha L. Teichmann <[email protected]>
846    
847            * tools/formed/formed/plugins/export/html.py: Make mode check
848              work (again).
849    
850    2007-08-31      Torsten Irlaender <[email protected]>
851    
852            * 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    2007-08-31      Torsten Irlaender <[email protected]>
859    
860            * 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    2007-08-31      Sascha L. Teichmann <[email protected]>
866    
867            * 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    2007-08-30      Sascha L. Teichmann <[email protected]>
877    
878            * 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    2007-08-29      Torsten Irlaender <[email protected]>
887    
888            * 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    2007-08-29      Torsten Irlaender <[email protected]>
894    
895            * 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    2007-08-28      Frank Koormann <[email protected]>
900    
901            * tools/formed/formed/plugins/export/sql.py
902            (SchemaCreator.createSchema, SchemaCreator._createGroup):
903            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
904    
905    2007-08-28      Torsten Irlaender <[email protected]>
906    
907            * tools/formed/formed/plugins/export/sql.py: Added small helper
908              function to generated valid quotes within the sql statements
909    
910    2007-08-29      Sascha L. Teichmann <[email protected]>
911    
912            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
913              for repeat tables.
914              
915    2007-08-29      Sascha L. Teichmann <[email protected]>
916    
917            * tools/formed/formed/plugins/export/sql.py: When generating
918              an extra table check in a table of same content exists. In
919              this case reference the existing table.
920    
921    2007-08-29      Sascha L. Teichmann <[email protected]>
922    
923            * 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    2007-08-29      Sascha L. Teichmann <[email protected]>
932    
933            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
934              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
935    
936    2007-08-28      Torsten Irlaender <[email protected]>
937    
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    2007-08-28      Sascha L. Teichmann <[email protected]>
945    
946            * tools/formed/formed/model/data.py,
947              tools/formed/formed/io/document.py: Removed support
948              of logical groups.
949    
950    2007-08-28      Sascha L. Teichmann <[email protected]>
951    
952            * tools/formed/formed/io/document.py: Avoid saving empty
953              attributes.
954    
955            * tools/formed/test-data/simple.xml: Applied.
956    
957    2007-08-28      Sascha L. Teichmann <[email protected]>
958    
959            * tools/formed/formed/model/data.py: Added 'repeat' and
960              'invisible' attributes to group. TODO: remove logical group.
961    
962    2007-08-27      Torsten Irlaender <[email protected]>
963    
964            * 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    2007-08-27      Sascha L. Teichmann <[email protected]>
969    
970            * tools/formed/formed/model/data.py,
971              tools/formed/formed/io/document.py: Added a logical group.
972              It has an attribute 'repeat' to indicate that it might
973              be worthy an external table in DB schema.
974    
975    2007-08-27      Sascha L. Teichmann <[email protected]>
976    
977            * 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    2007-08-27      Sascha L. Teichmann <[email protected]>
984    
985            * 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    2007-08-27      Sascha L. Teichmann <[email protected]>
992    
993            * tools/formed/formed/plugins/web/plugin.py: Add web.path
994              to FORMED environment  variable to specify the
995              root of the static content.
996    
997    2007-08-26      Sascha L. Teichmann <[email protected]>
998    
999            * 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              a template for the HTML output.
1005    
1006            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
1007              mode issues. Introduces CSS support. Simplified the action
1008              handling.
1009    
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    2007-08-26      Sascha L. Teichmann <[email protected]>
1016    
1017            * 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    2007-08-26      Sascha L. Teichmann <[email protected]>
1030    
1031            * 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              arbitrary python expressions I've decided to use a very
1036              basic and limited stack machine to support rule checking.
1037    
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              mode. Usefull to find all rules in the tree.
1045    
1046            * tools/formed/formed/ui/controls.py: Added a listener mechanism
1047              to attribute table to report exceptions when setting a value
1048              from GUI. Useful to report compilation errors when setting
1049              expr of rule leafs.
1050    
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              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    
1057    2007-08-24      Torsten Irlaender <[email protected]>
1058    
1059            * 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    2007-08-24      Torsten Irlaender <[email protected]>
1066    
1067            * 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    2007-08-24      Sascha L. Teichmann <[email protected]>
1074    
1075            * tools/formed/formed/plugins/export/html.py: Print lengths
1076              of external choice list.
1077    
1078    2007-08-24      Sascha L. Teichmann <[email protected]>
1079    
1080            * tools/formed/formed/main.py: Little workaround for
1081              mode selection if someone adds an removes a mode.
1082    
1083    2007-08-24      Sascha L. Teichmann <[email protected]>
1084    
1085            * 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              Cause: The modes are only cumulated over time. Removal is
1094              not done.
1095    
1096    2007-08-24      Sascha L. Teichmann <[email protected]>
1097    
1098            * tools/formed/formed/plugins/export/html.py: Dump the items
1099              of radio groups and choices too.
1100    
1101    2007-08-24      Torsten Irlaender <[email protected]>
1102    
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    2007-08-24      Sascha L. Teichmann <[email protected]>
1108    
1109            * tools/formed/formed/plugins/export/html.py: Tweaked
1110              HTML table exporter a bit to be on par with the XSLT
1111              script. TODO: Dump items in radio and choice groups.
1112    
1113    2007-08-23      Sascha L. Teichmann <[email protected]>
1114    
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              the HTML and the SQL exporters now.
1123    
1124            * tools/formed/formed/config.py: Use exporters from different
1125              package now.
1126    
1127    2007-08-23      Torsten Irlaender <[email protected]>
1128    
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    2007-08-23      Sascha L. Teichmann <[email protected]>
1137    
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    2007-08-23      Torsten Irlaender <[email protected]>
1147    
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    2007-08-23      Sascha L. Teichmann <[email protected]>
1154    
1155            * tools/formed/formed/main.py: Add an 'all' mode to
1156              select all modes. ;-)
1157    
1158    2007-08-22      Sascha L. Teichmann <[email protected]>
1159    
1160            * 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    2007-08-22      Sascha L. Teichmann <[email protected]>
1169    
1170            * 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    2007-08-22      Sascha L. Teichmann <[email protected]>
1180    
1181            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
1182              table are now alphabetically sorted.
1183    
1184    2007-08-22      Sascha L. Teichmann <[email protected]>
1185    
1186          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
1187            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 14  Line 1197 
1197    
1198          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
1199    
1200  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1201    
1202          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
1203            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
1204    
1205  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1206    
1207          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
1208    
1209  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1210    
1211          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
1212            for the hidden field. Argh!            for the hidden field. Argh!
1213    
1214  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1215    
1216          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
1217            generation of hidden page field.            generation of hidden page field.
1218    
1219  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1220    
1221          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1222            checks for radio groups.            checks for radio groups.
1223    
1224  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1225    
1226          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1227            checks for choices.            checks for choices.
# Line 53  Line 1236 
1236          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
1237          Replace technical types with readable descriptions          Replace technical types with readable descriptions
1238    
1239  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1240    
1241          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1242            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
1243                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
1244                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
1245                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
1246                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
1247    
1248          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
1249            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 68  Line 1251 
1251          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
1252            hidden field to store the name of the page.            hidden field to store the name of the page.
1253    
1254  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1255    
1256          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1257            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
1258    
1259  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1260    
1261          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
1262            in switches.            in switches.
1263    
1264          * tools/formed/formed/model/data.py: Added a method to find all          * 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            widgets in a given page. Fixed a bug when walking in switch
1266                  with a given mode.            with a given mode.
1267    
1268          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
1269            listing all widgets in page.            listing all widgets in page.
1270    
1271  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
1272    
1273          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1274            latin-1            latin-1
1275    
1276  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1277    
1278          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
1279            walk.            walk.
1280                              
1281          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1282            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
1283                  give children in a given mode.            give children in a given mode.
1284    
1285          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1286            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
1287    
1288  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1289    
1290          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
1291            texts and text areas.            texts and text areas.
# Line 110  Line 1293 
1293          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1294            to UTF-8 in generated form.            to UTF-8 in generated form.
1295    
1296  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
1297    
1298          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1299            tests for dates.            tests for dates.
1300    
1301  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
1302    
1303          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
1304            range test.            range test.
# Line 129  Line 1312 
1312          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
1313            check.            check.
1314    
1315  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
1316    
1317          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1318            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 142  Line 1325 
1325            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1326            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1327            tests which need to be written soon.            tests which need to be written soon.
1328                              
1329            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1330            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1331            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 160  Line 1343 
1343            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1344            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1345            selects their respective menu item.            selects their respective menu item.
1346                              
1347          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1348            installed filters.            installed filters.
1349    
# Line 221  Line 1404 
1404    
1405          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1406            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1407                  menu and put a separator between them.            menu and put a separator between them.
1408    
1409  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1410    
# Line 230  Line 1413 
1413    
1414          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1415            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1416                  global configuration is passed at setup time.            global configuration is passed at setup time.
1417    
1418          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1419            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1420                  from the global configuration each time a rendering            from the global configuration each time a rendering
1421                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1422                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1423                  is not needed any more because it can be configured            is not needed any more because it can be configured
1424                  at runtime.            at runtime.
1425    
1426          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1427            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1428                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1429                  global config.            global config.
1430    
1431          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1432            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 255  Line 1438 
1438    
1439          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1440            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1441                  print out in web plugin.            print out in web plugin.
1442    
1443  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1444    
# Line 273  Line 1456 
1456    
1457          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1458            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1459                  to FORMED environment variable.            to FORMED environment variable.
1460                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1461                  Defaults to 'default'.            Defaults to 'default'.
1462    
1463          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1464    
# Line 289  Line 1472 
1472          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1473            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1474            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1475                  to model external item lists.            to model external item lists.
1476    
1477          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1478            list.            list.
# Line 306  Line 1489 
1489    
1490          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * 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            choice item lists for a given field from XFA files. e.g. with
1492                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1493    
1494  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1495    
1496          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1497            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1498                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1499                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1500                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1501                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1502                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1503    
1504                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1505                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1506                              
1507          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1508            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1509    
# Line 338  Line 1521 
1521    
1522          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1523            of the tree.            of the tree.
1524                              
1525          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1526    
1527          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 361  Line 1544 
1544    
1545          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1546            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1547                  in document tree.            in document tree.
1548    
1549          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1550            after names collisions are eliminated.            after names collisions are eliminated.
# Line 373  Line 1556 
1556    
1557          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1558            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1559                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1560                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1561                  purpose.            purpose.
1562    
1563          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1564            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1565                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1566    
1567          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1568            from bool items.            from bool items.
# Line 398  Line 1581 
1581    
1582          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1583            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1584                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1585    
1586  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1587    
# Line 435  Line 1618 
1618    
1619          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1620            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1621                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1622    
1623          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1624            the reference to the config.            the reference to the config.
# Line 515  Line 1698 
1698    
1699          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1700            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
1701                  attributes.            attributes.
1702    
1703          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
1704            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 544  Line 1727 
1727    
1728          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
1729            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
1730                  tree.            tree.
1731    
1732  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
1733    
# Line 573  Line 1756 
1756    
1757          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
1758            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
1759                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
1760    
1761          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1762            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1763                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
1764    
1765  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
1766    
# Line 625  Line 1808 
1808    
1809          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
1810            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
1811                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
1812    
1813          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
1814    
# Line 638  Line 1821 
1821    
1822          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
1823            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
1824                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
1825    
1826  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
1827    
# Line 654  Line 1837 
1837    
1838          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
1839            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
1840                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.75  
changed lines
  Added in v.227

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26