/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 52 by torsten, Fri Aug 17 14:32:03 2007 UTC revision 113 by torsten, Thu Aug 30 15:52:54 2007 UTC
# Line 1  Line 1 
1  2007-08-1/      Torsten Irlaender <[email protected]>  2007-08-29 Torsten Irlaender <[email protected]>
2    
3            * tools/formed/formed/plugins/web/plugin.py,
4              tools/formed/formed/plugins/web/error_renderer.py: Added interface
5              to get the errors for a whole page in te formular. These errors can
6              now be displayed on the top of the formular.
7    
8    2007-08-29 Torsten Irlaender <[email protected]>
9    
10            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
11              of the getFromData interface and prepared the rederer for generating
12              nice error messages
13    
14    2007-08-28 Frank Koormann <[email protected]>
15    
16            * tools/formed/formed/plugins/export/sql.py
17            (SchemaCreator.createSchema, SchemaCreator._createGroup):
18            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
19    
20    2007-08-28 Torsten Irlaender <[email protected]>
21    
22            * tools/formed/formed/plugins/export/sql.py: Added small helper
23              function to generated valid quotes within the sql statements
24    
25    2007-08-29 Sascha L. Teichmann <[email protected]>
26    
27            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
28              for repeat tables.
29              
30    2007-08-29 Sascha L. Teichmann <[email protected]>
31    
32            * tools/formed/formed/plugins/export/sql.py: When generating
33              an extra table check in a table of same content exists. In
34                    this case reference the existing table.
35    
36    2007-08-29 Sascha L. Teichmann <[email protected]>
37    
38            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
39              _real_ SQL and respect repeat groups.
40    
41            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
42    
43            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
44              instead of expensive += string concat in some places.
45    
46    2007-08-29 Sascha L. Teichmann <[email protected]>
47    
48            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
49              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
50    
51    2007-08-28 Torsten Irlaender <[email protected]>
52    
53            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
54            * tools/formed/model/data.py: Implements Formadata interface to
55              textfields. Fieldset generated depends now on the "invisible"
56              attribute of the groupnode. Field-label generation slightly changed.
57              Added error indication to textfields
58    
59    2007-08-28 Sascha L. Teichmann <[email protected]>
60    
61            * tools/formed/formed/model/data.py,
62              tools/formed/formed/io/document.py: Removed support
63                    of logical groups.
64    
65    2007-08-28 Sascha L. Teichmann <[email protected]>
66    
67            * tools/formed/formed/io/document.py: Avoid saving empty
68              attributes.
69    
70            * tools/formed/test-data/simple.xml: Applied.
71    
72    2007-08-28 Sascha L. Teichmann <[email protected]>
73    
74            * tools/formed/formed/model/data.py: Added 'repeat' and
75              'invisible' attributes to group. TODO: remove logical group.
76    
77    2007-08-27 Torsten Irlaender <[email protected]>
78    
79            * tools/formed/plugins/web/plugin.py,
80              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
81              depending tags in the html generation.
82    
83    2007-08-27 Sascha L. Teichmann <[email protected]>
84    
85            * tools/formed/formed/model/data.py,
86              tools/formed/formed/io/document.py: Added a logical group.
87                    It has an attribute 'repeat' to indicate that it might
88                    be worthy an external table in DB schema.
89    
90    2007-08-27 Sascha L. Teichmann <[email protected]>
91    
92            * tools/formed/formed/plugins/web/plugin.py: Support
93              serving of static content.
94    
95            * tools/formed/formed/plugins/web/server.py: Removed
96              old send code.
97    
98    2007-08-27 Sascha L. Teichmann <[email protected]>
99    
100            * tools/formed/formed/plugins/web/plugin.py: Use new
101              Response object. Fix typo.
102    
103            * tools/formed/formed/plugins/web/server.py: support
104              response object to serve different MIME types.
105    
106    2007-08-27 Sascha L. Teichmann <[email protected]>
107    
108            * tools/formed/formed/plugins/web/plugin.py: Add web.path
109              to FORMED environment  variable to specify the
110                    root of the static content.
111    
112    2007-08-26 Sascha L. Teichmann <[email protected]>
113    
114            * tools/formed/formed/model/data.py,
115              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
116    
117            * tools/formed/formed/plugins/web/www,
118              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
119                    a template for the HTML output.
120    
121            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
122              mode issues. Introduces CSS support. Simplified the action
123                    handling.
124    
125            * tools/formed/formed/plugins/web/renderer.py: Removed the
126              nagivation code.
127    
128            * tools/formed/formed/plugins/web/server.py: Added missing import.
129    
130    2007-08-26 Sascha L. Teichmann <[email protected]>
131    
132            * tools/formed/formed/model/data.py: Added missing broadcast
133              parameter to setAttribute() of RuleLeaf.
134    
135            * tools/formed/formed/plugins/web/plugin.py: Factorize
136              HTTP server code out to separate module.
137    
138            * tools/formed/formed/plugins/web/renderer.py: Removed
139              needless -1 from pop()
140    
141            * tools/formed/formed/plugins/web/server.py: New. Contains
142              the HTTP server code now.
143    
144    2007-08-26 Sascha L. Teichmann <[email protected]>
145    
146            * tools/formed/test-data/simple.xml: Modified to contain a rule.
147    
148            * tools/formed/formed/model/expr.py: Added. A simple RPN
149              expression evaluator. To avoid the problem of eval()ing
150                    arbitrary python expressions I've decided to use a very
151                    basic and limited stack machine to support rule checking.
152    
153            * tools/formed/formed/model/data.py: Added a RuleLeaf.
154    
155            * tools/formed/formed/io/document.py: Added factories for rules.
156    
157            * tools/formed/formed/model/nodecomponents.py: Add a method
158              to find all items of a given type in document for a given
159                    mode. Usefull to find all rules in the tree.
160    
161            * tools/formed/formed/ui/controls.py: Added a listener mechanism
162              to attribute table to report exceptions when setting a value
163                    from GUI. Useful to report compilation errors when setting
164                    expr of rule leafs.
165    
166            * tools/formed/formed/main.py: Added a method to track exceptions
167              from the attribute table and pop up dialogs if they occur.
168                    Added a counter of rule modifications in tree. Useful if you
169                    want build cached data structures like rule sets and you want
170                    to know if they are still valid.
171    
172    2007-08-24 Torsten Irlaender <[email protected]>
173    
174            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
175              for checkbox values. (Syntax error).
176    
177            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
178              generation  
179    
180    2007-08-24 Torsten Irlaender <[email protected]>
181    
182            * tools/formed/formed/plugins/names/filter.py: Separated Class for
183              making the formularnames more database friendly. Added some more
184              checks.
185            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
186              separated class, and some fixes in sql generation.
187    
188    2007-08-24 Sascha L. Teichmann <[email protected]>
189    
190            * tools/formed/formed/plugins/export/html.py: Print lengths
191              of external choice list.
192    
193    2007-08-24 Sascha L. Teichmann <[email protected]>
194    
195            * tools/formed/formed/main.py: Little workaround for
196              mode selection if someone adds an removes a mode.
197    
198    2007-08-24 Sascha L. Teichmann <[email protected]>
199    
200            * tools/formed/test-data/simple.xml: Better test case for
201              mode depended leaf items.
202    
203            * tools/formed/formed/model/nodecomponents.py: Added a method
204              to calculate the effective mode of an item.
205    
206            * tools/formed/formed/plugins/export/html.py: Use effective
207              mode. TODO: the 'all' modus return false results sometimes.
208                    Cause: The modes are only cumulated over time. Removal is
209                    not done.
210    
211    2007-08-24 Sascha L. Teichmann <[email protected]>
212    
213            * tools/formed/formed/plugins/export/html.py: Dump the items
214              of radio groups and choices too.
215    
216    2007-08-24 Torsten Irlaender <[email protected]>
217    
218            * tools/formed/formed/plugins/names/filter.py: Modified the renaming
219              by formular names to make the naming more database friendly.
220              Now only alphanumeric and underscore chars is allowed.
221    
222    2007-08-24 Sascha L. Teichmann <[email protected]>
223    
224            * tools/formed/formed/plugins/export/html.py: Tweaked
225              HTML table exporter a bit to be on par with the XSLT
226                    script. TODO: Dump items in radio and choice groups.
227    
228    2007-08-23 Sascha L. Teichmann <[email protected]>
229    
230            * tools/formed/formed/plugins/names/filter.py: Removed
231              HTML and SQL exporters.
232    
233            * tools/formed/formed/plugins/export,
234              tools/formed/formed/plugins/export/__init__.py,
235              tools/formed/formed/plugins/export/sql.py,
236              tools/formed/formed/plugins/export/html.py: New: Contain
237                    the HTML and the SQL exporters now.
238    
239            * tools/formed/formed/config.py: Use exporters from different
240              package now.
241    
242    2007-08-23 Torsten Irlaender <[email protected]>
243    
244            * tools/formed/formed/plugins/names/filter.py: Added an
245              pseudo SQL export filters. TODO: Move HTML and SQL filter
246              in a new file (formed/plugins/export/htmlexport.py and
247              sqlexport.py?)
248    
249            * tools/formed/formed/config.py: Install the new SQL filter.
250    
251    2007-08-23 Sascha L. Teichmann <[email protected]>
252    
253            * tools/formed/formed/model/nodecomponents.py: Added a depth()
254              method to determine the depth of particular tree item.
255    
256            * tools/formed/formed/plugins/names/filter.py: Added an
257              HTML export filters. TODO: needs more work.
258    
259            * tools/formed/formed/config.py: Install the new HTML filter.
260    
261    2007-08-23 Torsten Irlaender <[email protected]>
262    
263            * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
264              to extract fields and options in the XFA Data in teh PDF. This
265              script might me handy to indicate changes between the different
266              formular versions.
267            
268    2007-08-23 Sascha L. Teichmann <[email protected]>
269    
270            * tools/formed/formed/main.py: Add an 'all' mode to
271              select all modes. ;-)
272    
273    2007-08-22 Sascha L. Teichmann <[email protected]>
274    
275            * tools/formed/test-data/simple.xml,
276              tools/formed/formed/model/data.py,
277              tools/formed/formed/plugins/web/plugin.py,
278              tools/formed/formed/plugins/web/renderer.py,
279              tools/formed/formed/io/document.py,
280              tools/formed/formed/main.py: Removed support for switch nodes.
281              BEWARE: This breaks compatibility with older documents!
282    
283    2007-08-22 Sascha L. Teichmann <[email protected]>
284    
285            * tools/formed/formed/plugins/web/plugin.py: Uses the
286              getSelectedMode() from main now.
287    
288            * tools/formed/formed/main.py: selected mode is now hold
289              in main.
290    
291            * tools/formed/formed/config.py: removed selected mode from
292              env configuration.
293    
294    2007-08-22 Sascha L. Teichmann <[email protected]>
295    
296            * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
297              table are now alphabetically sorted.
298    
299    2007-08-22 Sascha L. Teichmann <[email protected]>
300    
301            * tools/formed/formed/model/nodecomponents.py: Added code to
302              establish the new 'modes' recursively.
303    
304            * tools/formed/formed/plugins/plugin.py: Pass main instead
305              of cfg on plug-in start-up.
306    
307            * tools/formed/formed/plugins/web/plugin.py: Use the new
308              'modes' attribute for rendering.
309    
310            * tools/formed/formed/plugins/web/renderer.py: Use decorators
311              to check the new modes.
312    
313            * tools/formed/formed/main.py: Adjusted to new infrastructure.
314    
315    2007-08-22 Sascha L. Teichmann <[email protected]>
316    
317            * tools/formed/formed/model/nodecomponents.py: Added an
318              attribute 'modes' to NodeComponents.
319    
320    2007-08-22 Sascha L. Teichmann <[email protected]>
321    
322            * tools/formed/formed/model/data.py: Small cosmetic cleanups
323    
324    2007-08-21 Sascha L. Teichmann <[email protected]>
325    
326            * tools/formed/formed/plugins/web/renderer.py: Another fix
327              for the hidden field. Argh!
328    
329    2007-08-21 Sascha L. Teichmann <[email protected]>
330    
331            * tools/formed/formed/plugins/web/renderer.py: Fixed double
332              generation of hidden page field.
333    
334    2007-08-21 Sascha L. Teichmann <[email protected]>
335    
336            * tools/formed/formed/plugins/web/semantic.py: Added semantic
337              checks for radio groups.
338    
339    2007-08-21 Sascha L. Teichmann <[email protected]>
340    
341            * tools/formed/formed/plugins/web/semantic.py: Added semantic
342              checks for choices.
343    
344    2007-08-21      Frank Koormann <[email protected]>
345    
346            * contrib/convert-formedtree2html.xsl: Display switch nodes as
347            alternatives.
348            
349    2007-08-21      Frank Koormann <[email protected]>
350    
351            * contrib/convert-formedtree2html.xsl:
352            Replace technical types with readable descriptions
353    
354    2007-08-21 Sascha L. Teichmann <[email protected]>
355    
356            * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
357              issues. 'action' looks for all widgets on a page now, goes
358                    through all passed parameters, tries to match them with the
359                    widgets of the page and put them into the semantic box.
360                    Afterwards a list of untouched page parameters are left
361                    which will be deleted from the semantic box.
362    
363            * tools/formed/formed/plugins/web/semantic.py: Simplified.
364              The NodeComponent is passed as an argument now.
365    
366            * tools/formed/formed/plugins/web/renderer.py: Generate a
367              hidden field to store the name of the page.
368    
369    2007-08-21 Sascha L. Teichmann <[email protected]>
370    
371            * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
372              issue with incoming UTF-8 data.
373    
374    2007-08-21 Sascha L. Teichmann <[email protected]>
375    
376            * tools/formed/test-data/simple.xml: Improve test for widgets
377              in switches.
378    
379            * tools/formed/formed/model/data.py: Added a method to find all
380              widgets in a given page. Fixed a bug when walking in switch
381                    with a given mode.
382    
383            * tools/formed/formed/plugins/web/plugin.py: Simple test for
384              listing all widgets in page.
385    
386    2007-08-21 Torsten Irlaender <[email protected]>
387    
388            * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
389              latin-1
390    
391    2007-08-21 Sascha L. Teichmann <[email protected]>
392    
393            * tools/formed/formed/model/data.py: Added mode parameter to
394              walk.
395                    
396            * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
397              walk() with usage of the new mode parameter. Added a method to
398                    give children in a given mode.
399    
400            * tools/formed/formed/plugins/web/renderer.py: Simplified to use
401              new Switch.childrenInMode() method.
402    
403    2007-08-21 Sascha L. Teichmann <[email protected]>
404    
405            * tools/formed/formed/plugins/web/semantic.py: Add checks for
406              texts and text areas.
407    
408            * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
409              to UTF-8 in generated form.
410    
411    2007-08-20 Sascha L. Teichmann <[email protected]>
412    
413            * tools/formed/formed/plugins/web/semantic.py: Added semantic
414              tests for dates.
415    
416    2007-08-20 Sascha L. Teichmann <[email protected]>        
417    
418            * tools/formed/test-data/simple.xml: Tweak a bit for integer
419              range test.
420    
421            * tools/formed/formed/model/nodecomponents.py: Added a method
422              to find a tree item for a given name.
423    
424            * tools/formed/formed/plugins/web/semantic.py: New: Box for
425              semantic checking. Has check for integers.
426    
427            * tools/formed/formed/plugins/web/plugin.py: Use semantic
428              check.
429    
430    2007-08-20      Torsten Irlaender <[email protected]>
431    
432            * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
433              selection-field generation (Removed quote)
434    
435    2007-08-18      Sascha L. Teichmann <[email protected]>
436    
437            * tools/formed/formed/plugins/web/plugin.py,
438              tools/formed/formed/plugins/web/renderer.py: Added a
439              simple cookie based session management to the HTML
440              renderer. This submit parameters are stored in the
441              session now. This will ease testing the constraint
442              tests which need to be written soon.
443                    
444              BEWARE: The session management is _not_ made for production!
445              Denial of service attacks are too easy, and the
446              cryptographical strength of the session id is doubtful.
447    
448    2007-08-18      Sascha L. Teichmann <[email protected]>
449    
450            * tools/formed/formed/plugins/web/renderer.py: Escaping text
451              coming from the document tree now when inserting it into the
452              HTML output.
453    
454    2007-08-18      Sascha L. Teichmann <[email protected]>
455    
456            * tools/formed/formed/plugins/plugin.py: Added a new kind
457              of plug-in: Filter. They have a short and a long description
458              and can be hooked automatically into the new 'Filters'
459              sub menu under 'Extra'. They got called when the user
460              selects their respective menu item.
461                    
462            * tools/formed/formed/config.py: Contains the list of
463              installed filters.
464    
465            * tools/formed/formed/main.py: Builds the Extra->Filters
466              sub menu during gui initialization. The hard wired code
467              for make unique and formular name/description -> name
468              is removed because they are implemented as filters now.
469    
470            * tools/formed/formed/model/nodecomponents.py,
471              tools/formed/formed/model/data.py: Removed the make
472              unique and formular name/description -> name code.
473    
474            * tools/formed/formed/plugins/names,
475              tools/formed/formed/plugins/names/__init__.py,
476              tools/formed/formed/plugins/names/filter.py: Added. Contains
477              the make unique and formular name/description -> name code
478              in form of filters.
479    
480            * tools/formed/test-data/simple.xml: Modified to be a better
481              test for the formular name/description -> name filter.
482    
483    2007-08-18      Sascha L. Teichmann <[email protected]>
484    
485            * tools/formed/formed.py, tools/formed/formed/main.py: First
486              command line argument is interpreted as filename of document
487              to be loaded at program startup.
488    
489    2007-08-17      Frank Koormann <[email protected]>
490    
491            * contrib/convert-formedtree2html.xsl:
492            Heading level depending on depth of group node.
493            In case of radio/choice/check only list of options.
494    
495    2007-08-17      Torsten Irlaender <[email protected]>
496    
497          * contrib/convert-formedtree2html.xsl: Output is now generated with          * contrib/convert-formedtree2html.xsl: Output is now generated with
498            HTML doc-string and charset information in the meta-header.            HTML doc-string and charset information in the meta-header.
499    
500  2007-08-1/      Torsten Irlaender <[email protected]>  2007-08-17      Torsten Irlaender <[email protected]>
501    
502          * contrib/convert-formedtree2html.xsl: Added small script for          * contrib/convert-formedtree2html.xsl: Added small script for
503            exporting the formed tree to html            exporting the formed tree to html

Legend:
Removed from v.52  
changed lines
  Added in v.113

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26