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