1 |
2007-08-1/ Torsten Irlaender <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
4 |
|
issues. 'action' looks for all widgets on a page now, goes |
5 |
|
through all passed parameters, tries to match them with the |
6 |
|
widgets of the page and put them into the semantic box. |
7 |
|
Afterwards a list of untouched page parameters are left |
8 |
|
which will be deleted from the semantic box. |
9 |
|
|
10 |
|
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
11 |
|
The NodeComponent is passed as an argument now. |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/renderer.py: Generate a |
14 |
|
hidden field to store the name of the page. |
15 |
|
|
16 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
19 |
|
issue with incoming UTF-8 data. |
20 |
|
|
21 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
22 |
|
|
23 |
|
* tools/formed/test-data/simple.xml: Improve test for widgets |
24 |
|
in switches. |
25 |
|
|
26 |
|
* tools/formed/formed/model/data.py: Added a method to find all |
27 |
|
widgets in a given page. Fixed a bug when walking in switch |
28 |
|
with a given mode. |
29 |
|
|
30 |
|
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
31 |
|
listing all widgets in page. |
32 |
|
|
33 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
36 |
|
latin-1 |
37 |
|
|
38 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
39 |
|
|
40 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
41 |
|
walk. |
42 |
|
|
43 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
44 |
|
walk() with usage of the new mode parameter. Added a method to |
45 |
|
give children in a given mode. |
46 |
|
|
47 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
48 |
|
new Switch.childrenInMode() method. |
49 |
|
|
50 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
51 |
|
|
52 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
53 |
|
texts and text areas. |
54 |
|
|
55 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
56 |
|
to UTF-8 in generated form. |
57 |
|
|
58 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
59 |
|
|
60 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
61 |
|
tests for dates. |
62 |
|
|
63 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
64 |
|
|
65 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
66 |
|
range test. |
67 |
|
|
68 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
69 |
|
to find a tree item for a given name. |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
72 |
|
semantic checking. Has check for integers. |
73 |
|
|
74 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
75 |
|
check. |
76 |
|
|
77 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
78 |
|
|
79 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
80 |
|
selection-field generation (Removed quote) |
81 |
|
|
82 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/plugins/web/plugin.py, |
85 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
86 |
|
simple cookie based session management to the HTML |
87 |
|
renderer. This submit parameters are stored in the |
88 |
|
session now. This will ease testing the constraint |
89 |
|
tests which need to be written soon. |
90 |
|
|
91 |
|
BEWARE: The session management is _not_ made for production! |
92 |
|
Denial of service attacks are too easy, and the |
93 |
|
cryptographical strength of the session id is doubtful. |
94 |
|
|
95 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
96 |
|
|
97 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
98 |
|
coming from the document tree now when inserting it into the |
99 |
|
HTML output. |
100 |
|
|
101 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
102 |
|
|
103 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
104 |
|
of plug-in: Filter. They have a short and a long description |
105 |
|
and can be hooked automatically into the new 'Filters' |
106 |
|
sub menu under 'Extra'. They got called when the user |
107 |
|
selects their respective menu item. |
108 |
|
|
109 |
|
* tools/formed/formed/config.py: Contains the list of |
110 |
|
installed filters. |
111 |
|
|
112 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
113 |
|
sub menu during gui initialization. The hard wired code |
114 |
|
for make unique and formular name/description -> name |
115 |
|
is removed because they are implemented as filters now. |
116 |
|
|
117 |
|
* tools/formed/formed/model/nodecomponents.py, |
118 |
|
tools/formed/formed/model/data.py: Removed the make |
119 |
|
unique and formular name/description -> name code. |
120 |
|
|
121 |
|
* tools/formed/formed/plugins/names, |
122 |
|
tools/formed/formed/plugins/names/__init__.py, |
123 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
124 |
|
the make unique and formular name/description -> name code |
125 |
|
in form of filters. |
126 |
|
|
127 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
128 |
|
test for the formular name/description -> name filter. |
129 |
|
|
130 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
131 |
|
|
132 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
133 |
|
command line argument is interpreted as filename of document |
134 |
|
to be loaded at program startup. |
135 |
|
|
136 |
|
2007-08-17 Frank Koormann <[email protected]> |
137 |
|
|
138 |
|
* contrib/convert-formedtree2html.xsl: |
139 |
|
Heading level depending on depth of group node. |
140 |
|
In case of radio/choice/check only list of options. |
141 |
|
|
142 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
143 |
|
|
144 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
145 |
|
HTML doc-string and charset information in the meta-header. |
146 |
|
|
147 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
148 |
|
|
149 |
* contrib/convert-formedtree2html.xsl: Added small script for |
* contrib/convert-formedtree2html.xsl: Added small script for |
150 |
exporting the formed tree to html |
exporting the formed tree to html |