1 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
4 |
|
range test. |
5 |
|
|
6 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
7 |
|
to find a tree item for a given name. |
8 |
|
|
9 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
10 |
|
semantic checking. Has check for integers. |
11 |
|
|
12 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
13 |
|
check. |
14 |
|
|
15 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
16 |
|
|
17 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
18 |
|
selection-field generation (Removed quote) |
19 |
|
|
20 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
21 |
|
|
22 |
|
* tools/formed/formed/plugins/web/plugin.py, |
23 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
24 |
|
simple cookie based session management to the HTML |
25 |
|
renderer. This submit parameters are stored in the |
26 |
|
session now. This will ease testing the constraint |
27 |
|
tests which need to be written soon. |
28 |
|
|
29 |
|
BEWARE: The session management is _not_ made for production! |
30 |
|
Denial of service attacks are too easy, and the |
31 |
|
cryptographical strength of the session id is doubtful. |
32 |
|
|
33 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
36 |
|
coming from the document tree now when inserting it into the |
37 |
|
HTML output. |
38 |
|
|
39 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
42 |
|
of plug-in: Filter. They have a short and a long description |
43 |
|
and can be hooked automatically into the new 'Filters' |
44 |
|
sub menu under 'Extra'. They got called when the user |
45 |
|
selects their respective menu item. |
46 |
|
|
47 |
|
* tools/formed/formed/config.py: Contains the list of |
48 |
|
installed filters. |
49 |
|
|
50 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
51 |
|
sub menu during gui initialization. The hard wired code |
52 |
|
for make unique and formular name/description -> name |
53 |
|
is removed because they are implemented as filters now. |
54 |
|
|
55 |
|
* tools/formed/formed/model/nodecomponents.py, |
56 |
|
tools/formed/formed/model/data.py: Removed the make |
57 |
|
unique and formular name/description -> name code. |
58 |
|
|
59 |
|
* tools/formed/formed/plugins/names, |
60 |
|
tools/formed/formed/plugins/names/__init__.py, |
61 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
62 |
|
the make unique and formular name/description -> name code |
63 |
|
in form of filters. |
64 |
|
|
65 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
66 |
|
test for the formular name/description -> name filter. |
67 |
|
|
68 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
69 |
|
|
70 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
71 |
|
command line argument is interpreted as filename of document |
72 |
|
to be loaded at program startup. |
73 |
|
|
74 |
|
2007-08-17 Frank Koormann <[email protected]> |
75 |
|
|
76 |
|
* contrib/convert-formedtree2html.xsl: |
77 |
|
Heading level depending on depth of group node. |
78 |
|
In case of radio/choice/check only list of options. |
79 |
|
|
80 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
81 |
|
|
82 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
83 |
|
HTML doc-string and charset information in the meta-header. |
84 |
|
|
85 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
86 |
|
|
87 |
|
* contrib/convert-formedtree2html.xsl: Added small script for |
88 |
|
exporting the formed tree to html |
89 |
|
|
90 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
91 |
|
|
92 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
93 |
|
the set the name of the node to the formularname. The formularname |
94 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
95 |
|
If the name is not unique and additional id value is appended. |
96 |
|
|
97 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
98 |
|
bool-leafs |
99 |
|
|
100 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
101 |
|
of the element |
102 |
|
|
103 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
104 |
|
|
105 |
|
* tools/formed/formed/main.py: Swaped order of |
106 |
|
'Make names unique' and 'Selected mode...' in Extra |
107 |
|
menu and put a separator between them. |
108 |
|
|
109 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
110 |
|
|
111 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
112 |
|
their modes to a given set now. |
113 |
|
|
114 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
115 |
|
the plug-in interface. Only the reference to the |
116 |
|
global configuration is passed at setup time. |
117 |
|
|
118 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
119 |
|
to new plug-in setup. The traveral mode is now taken |
120 |
|
from the global configuration each time a rendering |
121 |
|
is triggered. The FORMED parameter is now named |
122 |
|
'doc.mode' instead of 'web.mode'. The parameter |
123 |
|
is not needed any more because it can be configured |
124 |
|
at runtime. |
125 |
|
|
126 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
127 |
|
setup. Added a new menu item Extra->Select Mode... |
128 |
|
to select the traversal mode. It is stored in the |
129 |
|
global config. |
130 |
|
|
131 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
132 |
|
one env dictionary to store global configuration parameters. |
133 |
|
|
134 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
135 |
|
select one item from a list of given strings. |
136 |
|
|
137 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/web/plugin.py, |
140 |
|
tools/formed/formed/plugins/web/renderer.py: Added parameter |
141 |
|
print out in web plugin. |
142 |
|
|
143 |
|
2007-08-15 Torsten Irlaender <[email protected]> |
144 |
|
|
145 |
|
* contrib/convert-formedtree2csv.xsl: Added small script for |
146 |
|
exporting the formed tree to csv |
147 |
|
|
148 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
149 |
|
|
150 |
|
* tools/formed/formed/model/data.py, |
151 |
|
tools/formed/formed/model/nodecomponents.py, |
152 |
|
tools/formed/formed/io/document.py: Added a 'switch' node. |
153 |
|
|
154 |
|
* tools/formed/formed/plugins/web/renderer.py:Render the |
155 |
|
new 'switch' node. |
156 |
|
|
157 |
|
* tools/formed/formed/plugins/web/plugin.py, |
158 |
|
tools/formed/formed/config.py: Added a 'web.mode' parameter |
159 |
|
to FORMED environment variable. |
160 |
|
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
161 |
|
Defaults to 'default'. |
162 |
|
|
163 |
|
* tools/formed/test-data/simple.xml: Added test for switch. |
164 |
|
|
165 |
2007-08-14 Sascha L. Teichmann <[email protected]> |
2007-08-14 Sascha L. Teichmann <[email protected]> |
166 |
|
|
167 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |