1 |
2007-09.10 Torsten Irlaender <[email protected]> |
2007-09-17 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Make the |
4 |
|
view renderer a real view renderer. It takes a list of |
5 |
|
items now and not only a single page. |
6 |
|
|
7 |
|
* tools/formed/formed/plugins/web/renderer.py: Feed a list |
8 |
|
of items to the view renderer. |
9 |
|
|
10 |
|
2007-09-17 Torsten Irlaender <[email protected]> |
11 |
|
|
12 |
|
* tools/formed/formed/plugins/web/view_renderer.py: |
13 |
|
Small tweaks in rendering bools. |
14 |
|
RadioNodes (with all its children) can now be placed in a container. |
15 |
|
The radiobools will not get a surrounding <div> anymore. |
16 |
|
I am not sure if the new way results in the wanted behaivor, but the |
17 |
|
rendering results are much better now :) |
18 |
|
Maybe we need a similar approach for checkboxes? |
19 |
|
Rendering groups is still broken in some way. |
20 |
|
|
21 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
22 |
|
|
23 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Fixed |
24 |
|
a few bugs: Do not render empty containers, do not |
25 |
|
generate misplaced <br class="newline"> in choices. |
26 |
|
Add a nameless container to catch the items that are |
27 |
|
nor explicitly assigned to a target. Removed FormData. |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
30 |
|
a needless import |
31 |
|
|
32 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
33 |
|
|
34 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Implemented |
35 |
|
usage of 'containers' and 'target' attributes. |
36 |
|
|
37 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified import. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/renderer.py: Use |
40 |
|
new ViewRenderer. |
41 |
|
|
42 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
43 |
|
|
44 |
|
* tools/formed/formed/model/nodecomponents.py: Added attributes |
45 |
|
'target' to NodeComponent and 'containers' to Node. |
46 |
|
|
47 |
|
* tools/formed/formed/plugins/web/view_renderer.py: New. Aimed |
48 |
|
to be a replacement for form_renderer. Not ready yet! |
49 |
|
|
50 |
|
* ChangeLog: Fixed some indention glitches. |
51 |
|
|
52 |
|
2007-09-13 Torsten Irlaender <[email protected]> |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed bug in the |
55 |
|
renaming algorithm. |
56 |
|
|
57 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
58 |
|
|
59 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed header |
60 |
|
from formular navigation to "Fallakte Inhalt" |
61 |
|
|
62 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
63 |
|
|
64 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad |
65 |
|
values (dates) were not pretty printed. |
66 |
|
|
67 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to |
68 |
|
label rendering for choicelists. |
69 |
|
|
70 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
71 |
|
|
72 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that |
73 |
|
choicelist did not get selected when the value is set to "0" |
74 |
|
|
75 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
76 |
|
|
77 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added |
78 |
|
"getPrintableData" method, for the formdata Class which will return |
79 |
|
the description rather than the value of element in the ID. This is |
80 |
|
need for displaying the choises in a right way. |
81 |
|
|
82 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed string |
83 |
|
"Fallnummer" into "Kundennummer" in the templates. Added |
84 |
|
Kundennummer to the dataset digest output. Bound in the new |
85 |
|
"getPrintableData" call for the digest. |
86 |
|
|
87 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
88 |
|
|
89 |
|
* tools/formed/formed/plugins/export/data.py: The import/export |
90 |
|
of data is now implemented with filters (the most consequent |
91 |
|
way in terms of design of FormEd). The support of the 'persistent' |
92 |
|
FORMED env-variable support has been removed. |
93 |
|
|
94 |
|
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
95 |
|
filter file dialog to double as import dialog. |
96 |
|
|
97 |
|
* tools/formed/formed/main.py: Removed the the FORMED-var support |
98 |
|
for persistence. |
99 |
|
|
100 |
|
* tools/formed/formed/config.py: Add the two new filters to the filters |
101 |
|
list. |
102 |
|
|
103 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
104 |
|
|
105 |
|
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
106 |
|
Removed pickle/unpickle stuff. |
107 |
|
|
108 |
|
* tools/formed/formed/main.py: Uses the new XML persistence. |
109 |
|
|
110 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
111 |
|
not converted to int indices. |
112 |
|
|
113 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
114 |
|
|
115 |
|
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
116 |
|
with pickle/unpickle. |
117 |
|
|
118 |
|
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
119 |
|
Set to a file name it is tried to unpickle a MemoryDataStore from |
120 |
|
that file. When exiting the program this file is used to store the |
121 |
|
current MemoryDataStore state. The storing only works if you exit |
122 |
|
the program through the Menu File->Exit. |
123 |
|
usage: FORMED=persistent:test.db ./formed.sh |
124 |
|
|
125 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
126 |
|
|
127 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
128 |
|
application on the welcome page from "Formed" to "WASKA" |
129 |
|
|
130 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
131 |
|
|
132 |
|
* tools/formed/formed/plugins/web/plugin.py, |
133 |
|
* tools/formed/formed/plugins/web/controllers.py, |
134 |
|
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
135 |
|
The infopage provides information on all project participants. |
136 |
|
|
137 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
140 |
|
issues with error messages (once again). |
141 |
|
|
142 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
145 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
146 |
|
icons in error and confirmation dialogs. |
147 |
|
|
148 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
149 |
|
|
150 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
151 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
152 |
|
|
153 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
156 |
|
debug output for help. |
157 |
|
|
158 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
159 |
|
check for bools. |
160 |
|
|
161 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
162 |
|
HTML output of data for bools. |
163 |
|
|
164 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
165 |
|
|
166 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
167 |
|
textfields for int values. Changed Label for submitbuttons to |
168 |
|
"Speichern" |
169 |
|
|
170 |
|
* tools/formed/formed/plugins/web/plugin.py, |
171 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
172 |
|
NotImplementedHandler to show up a dummysite for not implemented |
173 |
|
functions. |
174 |
|
|
175 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
176 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
177 |
|
labels of some context menus. Error messages are now generated |
178 |
|
dynamically depending on num errors. Formular navigation has now |
179 |
|
colored indication for errors. |
180 |
|
|
181 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
182 |
|
|
183 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
184 |
|
algorithm for the formular navigation to get rid of the problem |
185 |
|
that some of the items within the navigation are not linked. Now |
186 |
|
structural group elements are linked with the next page found in the |
187 |
|
formular structure. |
188 |
|
|
189 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
190 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
191 |
|
div and formtag. |
192 |
|
|
193 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
194 |
|
menu in the conformation dialog when creating a new dataset. |
195 |
|
|
196 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
197 |
|
rendering the default welcome page. Changed rendering of the |
198 |
|
overview and the digest table of the datasets. Added icon for |
199 |
|
confirmation dialog, moved the icon in the <h1> tags. |
200 |
|
|
201 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
202 |
|
|
203 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
204 |
|
generation cleanup. Added error icons to formelements |
205 |
|
|
206 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
207 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
208 |
|
|
209 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
210 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
211 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
212 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
213 |
|
old obsolete OverviewRenderer. |
214 |
|
|
215 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
216 |
|
|
217 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
218 |
|
page in page navigation. |
219 |
|
|
220 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
221 |
|
|
222 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
223 |
|
displaying formdata when changing datasets. Loading the right |
224 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
225 |
|
Left some commented code because not all sideeffects of the changes |
226 |
|
are tested yet. |
227 |
|
|
228 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
229 |
|
now uses the correct data out of the formdata. |
230 |
|
|
231 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
232 |
|
|
233 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
234 |
|
print format data (dates e.g) |
235 |
|
|
236 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
237 |
|
|
238 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
239 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
240 |
|
No clue why this works. |
241 |
|
|
242 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
243 |
|
|
244 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
245 |
|
problem with radio groups, too. |
246 |
|
|
247 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
248 |
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
249 |
really removed when deleting a dataset. |
really removed when deleting a dataset. |
250 |
|
|
251 |
2007-09.10 Torsten Irlaender <[email protected]> |
2007-09-10 Torsten Irlaender <[email protected]> |
252 |
|
|
253 |
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
254 |
ErrorStats which provides Information on remaining errors per page. |
ErrorStats which provides Information on remaining errors per page. |
255 |
|
|
256 |
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
257 |
the renderer methods from controllers.py to renderers.py. |
the renderer methods from controllers.py to renderers.py. |
258 |
|
|
259 |
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
260 |
handlers |
handlers |
261 |
|
|
262 |
2007-09-10 Sascha L. Teichmann <[email protected]> |
2007-09-10 Sascha L. Teichmann <[email protected]> |
263 |
|
|
264 |
* tools/formed/formed/plugins/web/form_renderer.py: values for |
* tools/formed/formed/plugins/web/form_renderer.py: values for |
265 |
choices are generated from the document tree now. This brings |
choices are generated from the document tree now. This brings |
266 |
the state storage of select boxes in HTML to live. |
the state storage of select boxes in HTML to live. |
267 |
|
|
268 |
2007-09-09 Sascha L. Teichmann <[email protected]> |
2007-09-09 Sascha L. Teichmann <[email protected]> |
269 |
|
|
270 |
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
271 |
range checking of integers. |
range checking of integers. |
273 |
* tools/formed/formed/plugins/web/controllers.py: Added class |
* tools/formed/formed/plugins/web/controllers.py: Added class |
274 |
ErrorItem to track errors. They are stored in the session. |
ErrorItem to track errors. They are stored in the session. |
275 |
|
|
276 |
2007-09-09 Sascha L. Teichmann <[email protected]> |
2007-09-09 Sascha L. Teichmann <[email protected]> |
277 |
|
|
278 |
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
279 |
wrong index in Document.indexOfcomponentByClassAndName. |
wrong index in Document.indexOfcomponentByClassAndName. |
283 |
|
|
284 |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
285 |
|
|
286 |
2007-09-09 Sascha L. Teichmann <[email protected]> |
2007-09-09 Sascha L. Teichmann <[email protected]> |
287 |
|
|
288 |
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
289 |
method. Could be cheaper for some implementations of help. |
method. Could be cheaper for some implementations of help. |
290 |
|
|
291 |
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
292 |
FormData to have distinct getData(), getHelp() and getError() |
FormData to have distinct getData(), getHelp() and getError() |
293 |
methods. Various bug fixes. |
methods. Various bug fixes. |
294 |
|
|
295 |
* tools/formed/formed/plugins/web/controllers.py: Implements the |
* tools/formed/formed/plugins/web/controllers.py: Implements the |
296 |
new FormData (trivial by now). |
new FormData (trivial by now). |
298 |
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
299 |
some bug fixes. |
some bug fixes. |
300 |
|
|
301 |
2007-09-09 Sascha L. Teichmann <[email protected]> |
2007-09-09 Sascha L. Teichmann <[email protected]> |
302 |
|
|
303 |
* tools/formed/formed/model/memory.py, |
* tools/formed/formed/model/memory.py, |
304 |
tools/formed/formed/model/persistent.py: Add a getValue() method |
tools/formed/formed/model/persistent.py: Add a getValue() method |
305 |
to dataset abstraction. This is a bit of a workaround to bring |
to dataset abstraction. This is a bit of a workaround to bring |
306 |
global access across pages for rule checking to work. |
global access across pages for rule checking to work. |
307 |
|
|
308 |
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
309 |
the compiled version was not stored in the RuleLeaf. |
the compiled version was not stored in the RuleLeaf. |
313 |
|
|
314 |
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
315 |
valid data is stored to the dataset immediately now. Fixed a bug |
valid data is stored to the dataset immediately now. Fixed a bug |
316 |
with integer handler. |
with integer handler. |
317 |
|
|
318 |
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
319 |
stuff. When a submit is done extract the rules from the tree document |
stuff. When a submit is done extract the rules from the tree document |
320 |
that are effected by the modified variables and check them. |
that are effected by the modified variables and check them. |
321 |
|
|
322 |
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
323 |
when dealing with templates. |
when dealing with templates. |
324 |
|
|
325 |
2007-09-07 Torsten Irlaender <[email protected]> |
2007-09-07 Torsten Irlaender <[email protected]> |
326 |
* tools/formed/formed/plugins/web/controllers.py, |
* tools/formed/formed/plugins/web/controllers.py, |
327 |
tools/formed/formed/plugins/web/renderer.py: Moved more render |
tools/formed/formed/plugins/web/renderer.py: Moved more render |
328 |
functions into renderer.py. New render classes are: |
functions into renderer.py. New render classes are: |
332 |
Note: The new methods are only called from selected handlers. Other |
Note: The new methods are only called from selected handlers. Other |
333 |
handlers call the renderes in the old way. |
handlers call the renderes in the old way. |
334 |
|
|
335 |
2007-09-07 Torsten Irlaender <[email protected]> |
2007-09-07 Torsten Irlaender <[email protected]> |
336 |
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
337 |
renderer.py to form_renderer.py. This file will contain formular |
renderer.py to form_renderer.py. This file will contain formular |
338 |
specfic render methods in the future. |
specfic render methods in the future. |
342 |
rendering into renderer.py or form_renderer.py. This file will only |
rendering into renderer.py or form_renderer.py. This file will only |
343 |
contain teh handlers in the future. |
contain teh handlers in the future. |
344 |
|
|
345 |
2007-09-07 Torsten Irlaender <[email protected]> |
2007-09-07 Torsten Irlaender <[email protected]> |
346 |
* tools/formed/formed/plugins/web/renderer.py, |
* tools/formed/formed/plugins/web/renderer.py, |
347 |
tools/formed/formed/plugins/web/controller.py: |
tools/formed/formed/plugins/web/controller.py: |
348 |
Renderes now get an instance of the formdata object to provide |
Renderes now get an instance of the formdata object to provide |
349 |
access the data needed to render various infoboxes etc. Handler |
access the data needed to render various infoboxes etc. Handler |
350 |
instanciate the formdata. |
instanciate the formdata. |
351 |
|
|
352 |
2007-09-06 Torsten Irlaender <[email protected]> |
2007-09-06 Torsten Irlaender <[email protected]> |
353 |
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
354 |
getFormData interface to work. Added two small semantic fixes, but |
getFormData interface to work. Added two small semantic fixes, but |
355 |
did not manage to get it up. Need to exime this a little bit more |
did not manage to get it up. Need to exime this a little bit more |
357 |
around the menus on the right side to be able to assign different |
around the menus on the right side to be able to assign different |
358 |
styles. Added dataset actions while editing a dataset. |
styles. Added dataset actions while editing a dataset. |
359 |
|
|
360 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
361 |
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
362 |
removing unwanted del method |
removing unwanted del method |
363 |
* tools/formed/formed/plugins/web/controllers.py: Implemented |
* tools/formed/formed/plugins/web/controllers.py: Implemented |
364 |
confiration dialogs for create, delete, and select aof datasets. Started to use |
confiration dialogs for create, delete, and select aof datasets. Started to use |
365 |
templates as well for larger information units like the dataset summary. |
templates as well for larger information units like the dataset summary. |
366 |
|
|
367 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
368 |
|
|
369 |
* tools/formed/formed/model/nodecomponents.py: Added a |
* tools/formed/formed/model/nodecomponents.py: Added a |
370 |
method to document to find index of page. |
method to document to find index of page. |
375 |
* tools/formed/formed/plugins/web/controllers.py: Added new |
* tools/formed/formed/plugins/web/controllers.py: Added new |
376 |
FormData implementation to support DB and semantic box. |
FormData implementation to support DB and semantic box. |
377 |
|
|
378 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
379 |
|
|
380 |
* tools/formed/formed/plugins/web/renderer.py: escaped |
* tools/formed/formed/plugins/web/renderer.py: escaped |
381 |
error message. |
error message. |
383 |
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
384 |
dataset from backend each time a page is up to edit. |
dataset from backend each time a page is up to edit. |
385 |
|
|
386 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
387 |
|
|
388 |
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
389 |
returns "Page not found" if given page is None. |
returns "Page not found" if given page is None. |
391 |
* tools/formed/formed/plugins/web/controllers.py: Added checks |
* tools/formed/formed/plugins/web/controllers.py: Added checks |
392 |
to avoid crashing when ask for a non-existent page. |
to avoid crashing when ask for a non-existent page. |
393 |
|
|
394 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
395 |
|
|
396 |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
397 |
|
|
398 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
399 |
|
|
400 |
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
401 |
and renderers. |
and renderers. |
403 |
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
404 |
and renderers now. TODO: Move renderers to renderer.py |
and renderers now. TODO: Move renderers to renderer.py |
405 |
|
|
406 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
407 |
|
|
408 |
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
409 |
and bound in the the new added functions to create, edit, delete and |
and bound in the the new added functions to create, edit, delete and |
410 |
show formdata. |
show formdata. |
411 |
|
|
412 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
413 |
|
|
414 |
* tools/formed/formed/model/memory.py: Removed bisect and use a |
* tools/formed/formed/model/memory.py: Removed bisect and use a |
415 |
simple linear scan for dataset lookup now. |
simple linear scan for dataset lookup now. |
417 |
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
418 |
of different sizes. |
of different sizes. |
419 |
|
|
420 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
421 |
|
|
422 |
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
423 |
fuction |
fuction |
424 |
|
|
425 |
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
426 |
to the DataSet interface |
to the DataSet interface |
427 |
|
|
428 |
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
429 |
renderes for create, update, delete and show actions on formular data. |
renderes for create, update, delete and show actions on formular data. |
430 |
|
|
431 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
432 |
|
|
433 |
* tools/formed/formed/plugins/web/server.py: The mapping |
* tools/formed/formed/plugins/web/server.py: The mapping |
434 |
to methods is now driven by regualar expressions and |
to methods is now driven by regualar expressions and |
435 |
a dictionary. Response objects are now able to send |
a dictionary. Response objects are now able to send |
436 |
error codes. |
error codes. |
437 |
|
|
438 |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
439 |
when help in Formdata is None. Moved text for help into |
when help in Formdata is None. Moved text for help into |
440 |
a top level '''...''' variable. |
a top level '''...''' variable. |
441 |
|
|
442 |
* tools/formed/test-data/simple.xml: Added test for help. |
* tools/formed/test-data/simple.xml: Added test for help. |
443 |
|
|
445 |
|
|
446 |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
447 |
table driven mapping of reguest handling. TODO: split the |
table driven mapping of reguest handling. TODO: split the |
448 |
WebPlugIn.pageHandler() method further to smaller handlers. |
WebPlugIn.pageHandler() method further to smaller handlers. |
449 |
Smaller clean ups and better exception handling. |
Smaller clean ups and better exception handling. |
450 |
|
|
451 |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
452 |
and do not catch them. |
and do not catch them. |
453 |
|
|
454 |
2007-09-04 Torsten Irlaender <[email protected]> |
2007-09-04 Torsten Irlaender <[email protected]> |
455 |
|
|
456 |
* tools/formed/formed/plugins/web/renderer.py, |
* tools/formed/formed/plugins/web/renderer.py, |
457 |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
460 |
within a <div> tag. |
within a <div> tag. |
461 |
Modified the error messages. |
Modified the error messages. |
462 |
|
|
463 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
464 |
|
|
465 |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
466 |
the server-side caching more clean. Fixes a bug with |
the server-side caching more clean. Fixes a bug with |
467 |
serving static content. |
serving static content. |
468 |
|
|
469 |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
470 |
|
|
471 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
472 |
|
|
473 |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
474 |
to "application/xhtml+xml" when serving help texts. |
to "application/xhtml+xml" when serving help texts. |
475 |
|
|
476 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
477 |
|
|
478 |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
479 |
pairwise differences between all modes. |
pairwise differences between all modes. |
480 |
|
|
481 |
* tools/formed/formed/config.py: Use new export filter. |
* tools/formed/formed/config.py: Use new export filter. |
482 |
|
|
483 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
484 |
|
|
485 |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
486 |
XHTML document for id'ed divs and builds a help lookup. |
XHTML document for id'ed divs and builds a help lookup. |
494 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
495 |
texts now. |
texts now. |
496 |
|
|
497 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
498 |
|
|
499 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
500 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
501 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
502 |
attributes. |
attributes. |
503 |
|
|
504 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
505 |
|
|
506 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
507 |
errors in template |
errors in template |
508 |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
509 |
pageerrors variable |
pageerrors variable |
510 |
|
|
511 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
512 |
|
|
513 |
* tools/formed/formed/plugins/export/html.py |
* tools/formed/formed/plugins/export/html.py |
514 |
(RecursiveExporter): Added annotation to export |
(RecursiveExporter): Added annotation to export |
515 |
(fillRow()): Renamed old fillNine to this more generic name. |
(fillRow()): Renamed old fillNine to this more generic name. |
516 |
|
|
517 |
|
|
518 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
519 |
|
|
520 |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
521 |
from model.misc now. |
from model.misc now. |
522 |
|
|
523 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
524 |
|
|
525 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
526 |
'annotation' attribute to node components. This is to |
'annotation' attribute to node components. This is to |
527 |
enable FormEd document authors to add comments to groups |
enable FormEd document authors to add comments to groups |
528 |
and fields. |
and fields. |
529 |
|
|
530 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
531 |
|
|
532 |
* tools/formed/formed/model/nodecomponents.py |
* tools/formed/formed/model/nodecomponents.py |
533 |
(NodeComponent.getParent): New method to get node components parent. |
(NodeComponent.getParent): New method to get node components parent. |
535 |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
536 |
as simple list instead of collection of bools. |
as simple list instead of collection of bools. |
537 |
|
|
538 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
539 |
|
|
540 |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
541 |
from persistent storage details. |
from persistent storage details. |
545 |
|
|
546 |
* tools/formed/formed/main.py: Holds a memory data store now. |
* tools/formed/formed/main.py: Holds a memory data store now. |
547 |
|
|
548 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
549 |
|
|
550 |
* tools/formed/formed/plugins/export/sql.py, |
* tools/formed/formed/plugins/export/sql.py, |
551 |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
552 |
for FileDialogFilter sub classes. |
for FileDialogFilter sub classes. |
553 |
|
|
554 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
555 |
|
|
556 |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
557 |
tree traversals is a common task. To ease this a decorator function |
tree traversals is a common task. To ease this a decorator function |
558 |
checkMode in union with sub classing ModeChecker can be used. |
checkMode in union with sub classing ModeChecker can be used. |
559 |
To make it work simply subclass from ModeChecker and add the decorator |
To make it work simply subclass from ModeChecker and add the decorator |
560 |
to the methods that need mode tracking. Before you start the recursion |
to the methods that need mode tracking. Before you start the recursion |
561 |
call self.prepareDescent(). |
call self.prepareDescent(). |
562 |
|
|
563 |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
564 |
now which replace the old. TODO: Make the web renderer use the new scheme |
now which replace the old. TODO: Make the web renderer use the new scheme |
565 |
too. |
too. |
566 |
|
|
567 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
568 |
|
|
569 |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
570 |
|
|
571 |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
572 |
uses new FileDialogFilter base class too. |
uses new FileDialogFilter base class too. |
573 |
|
|
574 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
575 |
|
|
576 |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
577 |
need a file dialog. Till now each of them pulled up its |
need a file dialog. Till now each of them pulled up its |
578 |
own. This was silly code replication. Now there is an abstract |
own. This was silly code replication. Now there is an abstract |
579 |
base class 'FileDialogFilter' which implements the common |
base class 'FileDialogFilter' which implements the common |
580 |
behavior. The file exporters should subclass it. |
behavior. The file exporters should subclass it. |
581 |
|
|
582 |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
583 |
exporters from the new base class. TODO: Subclass the HTML |
exporters from the new base class. TODO: Subclass the HTML |
584 |
exporter too. |
exporter too. |
585 |
|
|
586 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
587 |
|
|
588 |
* tools/formed/formed/plugins/export/html.py: Make mode check |
* tools/formed/formed/plugins/export/html.py: Make mode check |
589 |
work (again). |
work (again). |
590 |
|
|
591 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
592 |
|
|
593 |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
594 |
exprt works now in a recursive way. This change was needed because |
exprt works now in a recursive way. This change was needed because |
596 |
full hirachically document stuctures. (nested lists) |
full hirachically document stuctures. (nested lists) |
597 |
TODO: Fix modechecking |
TODO: Fix modechecking |
598 |
|
|
599 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
600 |
|
|
601 |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
602 |
now in recursive way. This change was needed because the structure |
now in recursive way. This change was needed because the structure |
603 |
of the formedtree has changed to be able to render full hirachically |
of the formedtree has changed to be able to render full hirachically |
604 |
document stuctures. (nested lists) |
document stuctures. (nested lists) |
605 |
|
|
606 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
607 |
|
|
608 |
* tools/formed/formed/model/nodecomponents.py: use discard() |
* tools/formed/formed/model/nodecomponents.py: use discard() |
609 |
instead of remove on sets. |
instead of remove on sets. |
614 |
* tools/formed/formed/config.py: Added the new exporter |
* tools/formed/formed/config.py: Added the new exporter |
615 |
to the list of export filters. |
to the list of export filters. |
616 |
|
|
617 |
2007-08-30 Sascha L. Teichmann <[email protected]> |
2007-08-30 Sascha L. Teichmann <[email protected]> |
618 |
|
|
619 |
* tools/formed/formed/model/data.py: Fixed a bug in |
* tools/formed/formed/model/data.py: Fixed a bug in |
620 |
Page.allWidgets() |
Page.allWidgets() |
624 |
|
|
625 |
* tools/formed/formed/config.py: Add the new SP exporter. |
* tools/formed/formed/config.py: Add the new SP exporter. |
626 |
|
|
627 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
628 |
|
|
629 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
630 |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
631 |
to get the errors for a whole page in te formular. These errors can |
to get the errors for a whole page in te formular. These errors can |
632 |
now be displayed on the top of the formular. |
now be displayed on the top of the formular. |
633 |
|
|
634 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
635 |
|
|
636 |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
637 |
of the getFromData interface and prepared the rederer for generating |
of the getFromData interface and prepared the rederer for generating |
638 |
nice error messages |
nice error messages |
639 |
|
|
640 |
2007-08-28 Frank Koormann <[email protected]> |
2007-08-28 Frank Koormann <[email protected]> |
641 |
|
|
642 |
* tools/formed/formed/plugins/export/sql.py |
* tools/formed/formed/plugins/export/sql.py |
643 |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
644 |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
645 |
|
|
646 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
647 |
|
|
648 |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
649 |
function to generated valid quotes within the sql statements |
function to generated valid quotes within the sql statements |
650 |
|
|
651 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
652 |
|
|
653 |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
654 |
for repeat tables. |
for repeat tables. |
655 |
|
|
656 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
657 |
|
|
658 |
* tools/formed/formed/plugins/export/sql.py: When generating |
* tools/formed/formed/plugins/export/sql.py: When generating |
659 |
an extra table check in a table of same content exists. In |
an extra table check in a table of same content exists. In |
660 |
this case reference the existing table. |
this case reference the existing table. |
661 |
|
|
662 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
663 |
|
|
664 |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
665 |
_real_ SQL and respect repeat groups. |
_real_ SQL and respect repeat groups. |
669 |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
670 |
instead of expensive += string concat in some places. |
instead of expensive += string concat in some places. |
671 |
|
|
672 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
673 |
|
|
674 |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
675 |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
676 |
|
|
677 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
678 |
|
|
679 |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
680 |
* tools/formed/model/data.py: Implements Formadata interface to |
* tools/formed/model/data.py: Implements Formadata interface to |
682 |
attribute of the groupnode. Field-label generation slightly changed. |
attribute of the groupnode. Field-label generation slightly changed. |
683 |
Added error indication to textfields |
Added error indication to textfields |
684 |
|
|
685 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
686 |
|
|
687 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
688 |
tools/formed/formed/io/document.py: Removed support |
tools/formed/formed/io/document.py: Removed support |
689 |
of logical groups. |
of logical groups. |
690 |
|
|
691 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
692 |
|
|
693 |
* tools/formed/formed/io/document.py: Avoid saving empty |
* tools/formed/formed/io/document.py: Avoid saving empty |
694 |
attributes. |
attributes. |
695 |
|
|
696 |
* tools/formed/test-data/simple.xml: Applied. |
* tools/formed/test-data/simple.xml: Applied. |
697 |
|
|
698 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
699 |
|
|
700 |
* tools/formed/formed/model/data.py: Added 'repeat' and |
* tools/formed/formed/model/data.py: Added 'repeat' and |
701 |
'invisible' attributes to group. TODO: remove logical group. |
'invisible' attributes to group. TODO: remove logical group. |
702 |
|
|
703 |
2007-08-27 Torsten Irlaender <[email protected]> |
2007-08-27 Torsten Irlaender <[email protected]> |
704 |
|
|
705 |
* tools/formed/plugins/web/plugin.py, |
* tools/formed/plugins/web/plugin.py, |
706 |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
707 |
depending tags in the html generation. |
depending tags in the html generation. |
708 |
|
|
709 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
710 |
|
|
711 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
712 |
tools/formed/formed/io/document.py: Added a logical group. |
tools/formed/formed/io/document.py: Added a logical group. |
713 |
It has an attribute 'repeat' to indicate that it might |
It has an attribute 'repeat' to indicate that it might |
714 |
be worthy an external table in DB schema. |
be worthy an external table in DB schema. |
715 |
|
|
716 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
717 |
|
|
718 |
* tools/formed/formed/plugins/web/plugin.py: Support |
* tools/formed/formed/plugins/web/plugin.py: Support |
719 |
serving of static content. |
serving of static content. |
721 |
* tools/formed/formed/plugins/web/server.py: Removed |
* tools/formed/formed/plugins/web/server.py: Removed |
722 |
old send code. |
old send code. |
723 |
|
|
724 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
725 |
|
|
726 |
* tools/formed/formed/plugins/web/plugin.py: Use new |
* tools/formed/formed/plugins/web/plugin.py: Use new |
727 |
Response object. Fix typo. |
Response object. Fix typo. |
729 |
* tools/formed/formed/plugins/web/server.py: support |
* tools/formed/formed/plugins/web/server.py: support |
730 |
response object to serve different MIME types. |
response object to serve different MIME types. |
731 |
|
|
732 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
733 |
|
|
734 |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
735 |
to FORMED environment variable to specify the |
to FORMED environment variable to specify the |
736 |
root of the static content. |
root of the static content. |
737 |
|
|
738 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
739 |
|
|
740 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
741 |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
742 |
|
|
743 |
* tools/formed/formed/plugins/web/www, |
* tools/formed/formed/plugins/web/www, |
744 |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
745 |
a template for the HTML output. |
a template for the HTML output. |
746 |
|
|
747 |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
748 |
mode issues. Introduces CSS support. Simplified the action |
mode issues. Introduces CSS support. Simplified the action |
749 |
handling. |
handling. |
750 |
|
|
751 |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
752 |
nagivation code. |
nagivation code. |
753 |
|
|
754 |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
755 |
|
|
756 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
757 |
|
|
758 |
* tools/formed/formed/model/data.py: Added missing broadcast |
* tools/formed/formed/model/data.py: Added missing broadcast |
759 |
parameter to setAttribute() of RuleLeaf. |
parameter to setAttribute() of RuleLeaf. |
767 |
* tools/formed/formed/plugins/web/server.py: New. Contains |
* tools/formed/formed/plugins/web/server.py: New. Contains |
768 |
the HTTP server code now. |
the HTTP server code now. |
769 |
|
|
770 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
771 |
|
|
772 |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
773 |
|
|
774 |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
775 |
expression evaluator. To avoid the problem of eval()ing |
expression evaluator. To avoid the problem of eval()ing |
776 |
arbitrary python expressions I've decided to use a very |
arbitrary python expressions I've decided to use a very |
777 |
basic and limited stack machine to support rule checking. |
basic and limited stack machine to support rule checking. |
778 |
|
|
779 |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
780 |
|
|
782 |
|
|
783 |
* tools/formed/formed/model/nodecomponents.py: Add a method |
* tools/formed/formed/model/nodecomponents.py: Add a method |
784 |
to find all items of a given type in document for a given |
to find all items of a given type in document for a given |
785 |
mode. Usefull to find all rules in the tree. |
mode. Usefull to find all rules in the tree. |
786 |
|
|
787 |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
788 |
to attribute table to report exceptions when setting a value |
to attribute table to report exceptions when setting a value |
789 |
from GUI. Useful to report compilation errors when setting |
from GUI. Useful to report compilation errors when setting |
790 |
expr of rule leafs. |
expr of rule leafs. |
791 |
|
|
792 |
* tools/formed/formed/main.py: Added a method to track exceptions |
* tools/formed/formed/main.py: Added a method to track exceptions |
793 |
from the attribute table and pop up dialogs if they occur. |
from the attribute table and pop up dialogs if they occur. |
794 |
Added a counter of rule modifications in tree. Useful if you |
Added a counter of rule modifications in tree. Useful if you |
795 |
want build cached data structures like rule sets and you want |
want build cached data structures like rule sets and you want |
796 |
to know if they are still valid. |
to know if they are still valid. |
797 |
|
|
798 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
799 |
|
|
800 |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
801 |
for checkbox values. (Syntax error). |
for checkbox values. (Syntax error). |
803 |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
804 |
generation |
generation |
805 |
|
|
806 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
807 |
|
|
808 |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
809 |
making the formularnames more database friendly. Added some more |
making the formularnames more database friendly. Added some more |
811 |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
812 |
separated class, and some fixes in sql generation. |
separated class, and some fixes in sql generation. |
813 |
|
|
814 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
815 |
|
|
816 |
* tools/formed/formed/plugins/export/html.py: Print lengths |
* tools/formed/formed/plugins/export/html.py: Print lengths |
817 |
of external choice list. |
of external choice list. |
818 |
|
|
819 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
820 |
|
|
821 |
* tools/formed/formed/main.py: Little workaround for |
* tools/formed/formed/main.py: Little workaround for |
822 |
mode selection if someone adds an removes a mode. |
mode selection if someone adds an removes a mode. |
823 |
|
|
824 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
825 |
|
|
826 |
* tools/formed/test-data/simple.xml: Better test case for |
* tools/formed/test-data/simple.xml: Better test case for |
827 |
mode depended leaf items. |
mode depended leaf items. |
831 |
|
|
832 |
* tools/formed/formed/plugins/export/html.py: Use effective |
* tools/formed/formed/plugins/export/html.py: Use effective |
833 |
mode. TODO: the 'all' modus return false results sometimes. |
mode. TODO: the 'all' modus return false results sometimes. |
834 |
Cause: The modes are only cumulated over time. Removal is |
Cause: The modes are only cumulated over time. Removal is |
835 |
not done. |
not done. |
836 |
|
|
837 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
838 |
|
|
839 |
* tools/formed/formed/plugins/export/html.py: Dump the items |
* tools/formed/formed/plugins/export/html.py: Dump the items |
840 |
of radio groups and choices too. |
of radio groups and choices too. |
841 |
|
|
842 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
843 |
|
|
844 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
845 |
by formular names to make the naming more database friendly. |
by formular names to make the naming more database friendly. |
846 |
Now only alphanumeric and underscore chars is allowed. |
Now only alphanumeric and underscore chars is allowed. |
847 |
|
|
848 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
849 |
|
|
850 |
* tools/formed/formed/plugins/export/html.py: Tweaked |
* tools/formed/formed/plugins/export/html.py: Tweaked |
851 |
HTML table exporter a bit to be on par with the XSLT |
HTML table exporter a bit to be on par with the XSLT |
852 |
script. TODO: Dump items in radio and choice groups. |
script. TODO: Dump items in radio and choice groups. |
853 |
|
|
854 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
855 |
|
|
856 |
* tools/formed/formed/plugins/names/filter.py: Removed |
* tools/formed/formed/plugins/names/filter.py: Removed |
857 |
HTML and SQL exporters. |
HTML and SQL exporters. |
860 |
tools/formed/formed/plugins/export/__init__.py, |
tools/formed/formed/plugins/export/__init__.py, |
861 |
tools/formed/formed/plugins/export/sql.py, |
tools/formed/formed/plugins/export/sql.py, |
862 |
tools/formed/formed/plugins/export/html.py: New: Contain |
tools/formed/formed/plugins/export/html.py: New: Contain |
863 |
the HTML and the SQL exporters now. |
the HTML and the SQL exporters now. |
864 |
|
|
865 |
* tools/formed/formed/config.py: Use exporters from different |
* tools/formed/formed/config.py: Use exporters from different |
866 |
package now. |
package now. |
867 |
|
|
868 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
869 |
|
|
870 |
* tools/formed/formed/plugins/names/filter.py: Added an |
* tools/formed/formed/plugins/names/filter.py: Added an |
871 |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
874 |
|
|
875 |
* tools/formed/formed/config.py: Install the new SQL filter. |
* tools/formed/formed/config.py: Install the new SQL filter. |
876 |
|
|
877 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
878 |
|
|
879 |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
880 |
method to determine the depth of particular tree item. |
method to determine the depth of particular tree item. |
884 |
|
|
885 |
* tools/formed/formed/config.py: Install the new HTML filter. |
* tools/formed/formed/config.py: Install the new HTML filter. |
886 |
|
|
887 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
888 |
|
|
889 |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
890 |
to extract fields and options in the XFA Data in teh PDF. This |
to extract fields and options in the XFA Data in teh PDF. This |
891 |
script might me handy to indicate changes between the different |
script might me handy to indicate changes between the different |
892 |
formular versions. |
formular versions. |
893 |
|
|
894 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
895 |
|
|
896 |
* tools/formed/formed/main.py: Add an 'all' mode to |
* tools/formed/formed/main.py: Add an 'all' mode to |
897 |
select all modes. ;-) |
select all modes. ;-) |
898 |
|
|
899 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
900 |
|
|
901 |
* tools/formed/test-data/simple.xml, |
* tools/formed/test-data/simple.xml, |
902 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
906 |
tools/formed/formed/main.py: Removed support for switch nodes. |
tools/formed/formed/main.py: Removed support for switch nodes. |
907 |
BEWARE: This breaks compatibility with older documents! |
BEWARE: This breaks compatibility with older documents! |
908 |
|
|
909 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
910 |
|
|
911 |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
912 |
getSelectedMode() from main now. |
getSelectedMode() from main now. |
917 |
* tools/formed/formed/config.py: removed selected mode from |
* tools/formed/formed/config.py: removed selected mode from |
918 |
env configuration. |
env configuration. |
919 |
|
|
920 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
921 |
|
|
922 |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
923 |
table are now alphabetically sorted. |
table are now alphabetically sorted. |
924 |
|
|
925 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
926 |
|
|
927 |
* tools/formed/formed/model/nodecomponents.py: Added code to |
* tools/formed/formed/model/nodecomponents.py: Added code to |
928 |
establish the new 'modes' recursively. |
establish the new 'modes' recursively. |
938 |
|
|
939 |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
940 |
|
|
941 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
942 |
|
|
943 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
944 |
attribute 'modes' to NodeComponents. |
attribute 'modes' to NodeComponents. |
945 |
|
|
946 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
947 |
|
|
948 |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
949 |
|
|
950 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
951 |
|
|
952 |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
953 |
for the hidden field. Argh! |
for the hidden field. Argh! |
954 |
|
|
955 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
956 |
|
|
957 |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
958 |
generation of hidden page field. |
generation of hidden page field. |
959 |
|
|
960 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
961 |
|
|
962 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
963 |
checks for radio groups. |
checks for radio groups. |
964 |
|
|
965 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
966 |
|
|
967 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
968 |
checks for choices. |
checks for choices. |
977 |
* contrib/convert-formedtree2html.xsl: |
* contrib/convert-formedtree2html.xsl: |
978 |
Replace technical types with readable descriptions |
Replace technical types with readable descriptions |
979 |
|
|
980 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
981 |
|
|
982 |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
983 |
issues. 'action' looks for all widgets on a page now, goes |
issues. 'action' looks for all widgets on a page now, goes |
984 |
through all passed parameters, tries to match them with the |
through all passed parameters, tries to match them with the |
985 |
widgets of the page and put them into the semantic box. |
widgets of the page and put them into the semantic box. |
986 |
Afterwards a list of untouched page parameters are left |
Afterwards a list of untouched page parameters are left |
987 |
which will be deleted from the semantic box. |
which will be deleted from the semantic box. |
988 |
|
|
989 |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
990 |
The NodeComponent is passed as an argument now. |
The NodeComponent is passed as an argument now. |
992 |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
993 |
hidden field to store the name of the page. |
hidden field to store the name of the page. |
994 |
|
|
995 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
996 |
|
|
997 |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
998 |
issue with incoming UTF-8 data. |
issue with incoming UTF-8 data. |
999 |
|
|
1000 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
1001 |
|
|
1002 |
* tools/formed/test-data/simple.xml: Improve test for widgets |
* tools/formed/test-data/simple.xml: Improve test for widgets |
1003 |
in switches. |
in switches. |
1004 |
|
|
1005 |
* tools/formed/formed/model/data.py: Added a method to find all |
* tools/formed/formed/model/data.py: Added a method to find all |
1006 |
widgets in a given page. Fixed a bug when walking in switch |
widgets in a given page. Fixed a bug when walking in switch |
1007 |
with a given mode. |
with a given mode. |
1008 |
|
|
1009 |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
1010 |
listing all widgets in page. |
listing all widgets in page. |
1011 |
|
|
1012 |
2007-08-21 Torsten Irlaender <[email protected]> |
2007-08-21 Torsten Irlaender <[email protected]> |
1013 |
|
|
1014 |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
1015 |
latin-1 |
latin-1 |
1016 |
|
|
1017 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
1018 |
|
|
1019 |
* tools/formed/formed/model/data.py: Added mode parameter to |
* tools/formed/formed/model/data.py: Added mode parameter to |
1020 |
walk. |
walk. |
1021 |
|
|
1022 |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
1023 |
walk() with usage of the new mode parameter. Added a method to |
walk() with usage of the new mode parameter. Added a method to |
1024 |
give children in a given mode. |
give children in a given mode. |
1025 |
|
|
1026 |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
1027 |
new Switch.childrenInMode() method. |
new Switch.childrenInMode() method. |
1028 |
|
|
1029 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
1030 |
|
|
1031 |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
1032 |
texts and text areas. |
texts and text areas. |
1034 |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
1035 |
to UTF-8 in generated form. |
to UTF-8 in generated form. |
1036 |
|
|
1037 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
1038 |
|
|
1039 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
1040 |
tests for dates. |
tests for dates. |
1041 |
|
|
1042 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
1043 |
|
|
1044 |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
1045 |
range test. |
range test. |
1053 |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
1054 |
check. |
check. |
1055 |
|
|
1056 |
2007-08-20 Torsten Irlaender <[email protected]> |
2007-08-20 Torsten Irlaender <[email protected]> |
1057 |
|
|
1058 |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
1059 |
selection-field generation (Removed quote) |
selection-field generation (Removed quote) |
1066 |
renderer. This submit parameters are stored in the |
renderer. This submit parameters are stored in the |
1067 |
session now. This will ease testing the constraint |
session now. This will ease testing the constraint |
1068 |
tests which need to be written soon. |
tests which need to be written soon. |
1069 |
|
|
1070 |
BEWARE: The session management is _not_ made for production! |
BEWARE: The session management is _not_ made for production! |
1071 |
Denial of service attacks are too easy, and the |
Denial of service attacks are too easy, and the |
1072 |
cryptographical strength of the session id is doubtful. |
cryptographical strength of the session id is doubtful. |
1084 |
and can be hooked automatically into the new 'Filters' |
and can be hooked automatically into the new 'Filters' |
1085 |
sub menu under 'Extra'. They got called when the user |
sub menu under 'Extra'. They got called when the user |
1086 |
selects their respective menu item. |
selects their respective menu item. |
1087 |
|
|
1088 |
* tools/formed/formed/config.py: Contains the list of |
* tools/formed/formed/config.py: Contains the list of |
1089 |
installed filters. |
installed filters. |
1090 |
|
|
1145 |
|
|
1146 |
* tools/formed/formed/main.py: Swaped order of |
* tools/formed/formed/main.py: Swaped order of |
1147 |
'Make names unique' and 'Selected mode...' in Extra |
'Make names unique' and 'Selected mode...' in Extra |
1148 |
menu and put a separator between them. |
menu and put a separator between them. |
1149 |
|
|
1150 |
2007-08-15 Sascha L. Teichmann <[email protected]> |
2007-08-15 Sascha L. Teichmann <[email protected]> |
1151 |
|
|
1154 |
|
|
1155 |
* tools/formed/formed/plugins/plugin.py: Simplified |
* tools/formed/formed/plugins/plugin.py: Simplified |
1156 |
the plug-in interface. Only the reference to the |
the plug-in interface. Only the reference to the |
1157 |
global configuration is passed at setup time. |
global configuration is passed at setup time. |
1158 |
|
|
1159 |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
1160 |
to new plug-in setup. The traveral mode is now taken |
to new plug-in setup. The traveral mode is now taken |
1161 |
from the global configuration each time a rendering |
from the global configuration each time a rendering |
1162 |
is triggered. The FORMED parameter is now named |
is triggered. The FORMED parameter is now named |
1163 |
'doc.mode' instead of 'web.mode'. The parameter |
'doc.mode' instead of 'web.mode'. The parameter |
1164 |
is not needed any more because it can be configured |
is not needed any more because it can be configured |
1165 |
at runtime. |
at runtime. |
1166 |
|
|
1167 |
* tools/formed/formed/main.py: Adjusted to new plugin |
* tools/formed/formed/main.py: Adjusted to new plugin |
1168 |
setup. Added a new menu item Extra->Select Mode... |
setup. Added a new menu item Extra->Select Mode... |
1169 |
to select the traversal mode. It is stored in the |
to select the traversal mode. It is stored in the |
1170 |
global config. |
global config. |
1171 |
|
|
1172 |
* tools/formed/formed/config.py: Simplified. Only uses |
* tools/formed/formed/config.py: Simplified. Only uses |
1173 |
one env dictionary to store global configuration parameters. |
one env dictionary to store global configuration parameters. |
1179 |
|
|
1180 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
1181 |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
1182 |
print out in web plugin. |
print out in web plugin. |
1183 |
|
|
1184 |
2007-08-15 Torsten Irlaender <[email protected]> |
2007-08-15 Torsten Irlaender <[email protected]> |
1185 |
|
|
1197 |
|
|
1198 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
1199 |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
1200 |
to FORMED environment variable. |
to FORMED environment variable. |
1201 |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
1202 |
Defaults to 'default'. |
Defaults to 'default'. |
1203 |
|
|
1204 |
* tools/formed/test-data/simple.xml: Added test for switch. |
* tools/formed/test-data/simple.xml: Added test for switch. |
1205 |
|
|
1213 |
* tools/formed/formed/io/document.py, |
* tools/formed/formed/io/document.py, |
1214 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
1215 |
tools/formed/formed/model/nodecomponents.py: Added an item |
tools/formed/formed/model/nodecomponents.py: Added an item |
1216 |
to model external item lists. |
to model external item lists. |
1217 |
|
|
1218 |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
1219 |
list. |
list. |
1230 |
|
|
1231 |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
1232 |
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 |
1233 |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
1234 |
|
|
1235 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
2007-08-12 Sascha L. Teichmann <[email protected]> |
1236 |
|
|
1237 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1238 |
tools/formed/formed/plugins/web/renderer.py, |
tools/formed/formed/plugins/web/renderer.py, |
1239 |
tools/formed/formed/io/document.py: Changed the structure |
tools/formed/formed/io/document.py: Changed the structure |
1240 |
of choice constructs. The idea to hold the different items |
of choice constructs. The idea to hold the different items |
1241 |
of a particular choice in a semicolon separated list was bad. |
of a particular choice in a semicolon separated list was bad. |
1242 |
Now choices are groups and the option items are modelled as |
Now choices are groups and the option items are modelled as |
1243 |
embedded bools. (mainly Torsten Irländer's idea). |
embedded bools. (mainly Torsten Irländer's idea). |
1244 |
|
|
1245 |
WARNING: this makes old document files containing choices incompatible!!! |
WARNING: this makes old document files containing choices incompatible!!! |
1246 |
Use the following XSLT to reestablish compatibility. |
Use the following XSLT to reestablish compatibility. |
1247 |
|
|
1248 |
* contrib/itemize-choices.xsl: New converts old to new structure. |
* contrib/itemize-choices.xsl: New converts old to new structure. |
1249 |
Needs exslt.org's string extensions (which xsltproc includes) |
Needs exslt.org's string extensions (which xsltproc includes) |
1250 |
|
|
1262 |
|
|
1263 |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
1264 |
of the tree. |
of the tree. |
1265 |
|
|
1266 |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
1267 |
|
|
1268 |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
1285 |
|
|
1286 |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
1287 |
items in the document tree. Added a method to eliminated duplicated names |
items in the document tree. Added a method to eliminated duplicated names |
1288 |
in document tree. |
in document tree. |
1289 |
|
|
1290 |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
1291 |
after names collisions are eliminated. |
after names collisions are eliminated. |
1297 |
|
|
1298 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1299 |
tools/formed/formed/plugins/web/renderer.py: Removed support |
tools/formed/formed/plugins/web/renderer.py: Removed support |
1300 |
for 'text' attributes in bool items. They were never really |
for 'text' attributes in bool items. They were never really |
1301 |
used and the 'description' attributes fulfill the same |
used and the 'description' attributes fulfill the same |
1302 |
purpose. |
purpose. |
1303 |
|
|
1304 |
* contrib/remove-bool-text.xsl: Transform to remove the |
* contrib/remove-bool-text.xsl: Transform to remove the |
1305 |
'text' attributes from bool items. Apply with: |
'text' attributes from bool items. Apply with: |
1306 |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
1307 |
|
|
1308 |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
1309 |
from bool items. |
from bool items. |
1322 |
|
|
1323 |
* contrib/convert-choices.xsl: Added to convert document files |
* contrib/convert-choices.xsl: Added to convert document files |
1324 |
which use the choice 'option' attribute to usage of 'value'. |
which use the choice 'option' attribute to usage of 'value'. |
1325 |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
1326 |
|
|
1327 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2007-08-10 Sascha L. Teichmann <[email protected]> |
1328 |
|
|
1359 |
|
|
1360 |
* tools/formed/formed/plugins/web/plugin.py: To determine |
* tools/formed/formed/plugins/web/plugin.py: To determine |
1361 |
the port look at FORMED dictionary first. Key is 'web.port'. |
the port look at FORMED dictionary first. Key is 'web.port'. |
1362 |
e.g. FORMED='web.port:8888' |
e.g. FORMED='web.port:8888' |
1363 |
|
|
1364 |
* tools/formed/formed/main.py: Call the plugin setup with |
* tools/formed/formed/main.py: Call the plugin setup with |
1365 |
the reference to the config. |
the reference to the config. |
1439 |
|
|
1440 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1441 |
tools/formed/formed/model/nodecomponents.py: Added new |
tools/formed/formed/model/nodecomponents.py: Added new |
1442 |
attributes. |
attributes. |
1443 |
|
|
1444 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1445 |
for checkboxes and radio buttons. |
for checkboxes and radio buttons. |
1468 |
|
|
1469 |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
1470 |
version of a recursive HTML renderer based on the document |
version of a recursive HTML renderer based on the document |
1471 |
tree. |
tree. |
1472 |
|
|
1473 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1474 |
|
|
1497 |
|
|
1498 |
* tools/formed/formed/main.py: Added event route document -> |
* tools/formed/formed/main.py: Added event route document -> |
1499 |
attribute table to get informed when selected item is delete |
attribute table to get informed when selected item is delete |
1500 |
or an attribute is changed from the outside. |
or an attribute is changed from the outside. |
1501 |
|
|
1502 |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
1503 |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
1504 |
of 3 argument. Uses icons+tooltips for tree navigation now. |
of 3 argument. Uses icons+tooltips for tree navigation now. |
1505 |
|
|
1506 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2007-08-07 Sascha L. Teichmann <[email protected]> |
1507 |
|
|
1549 |
|
|
1550 |
* tools/formed/formed/ui/controls.py: Establish sort order |
* tools/formed/formed/ui/controls.py: Establish sort order |
1551 |
by indices of children in parent instead of alphanum. |
by indices of children in parent instead of alphanum. |
1552 |
Code to move items up and down the document tree. |
Code to move items up and down the document tree. |
1553 |
|
|
1554 |
* tools/formed/formed/io/document.py: Added missing imports. |
* tools/formed/formed/io/document.py: Added missing imports. |
1555 |
|
|
1562 |
|
|
1563 |
* tools/formed/formed/main.py, |
* tools/formed/formed/main.py, |
1564 |
tools/formed/formed/ui/controls.py: Added control to |
tools/formed/formed/ui/controls.py: Added control to |
1565 |
move items around in tree. Has no effect by now. |
move items around in tree. Has no effect by now. |
1566 |
|
|
1567 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2007-08-05 Sascha L. Teichmann <[email protected]> |
1568 |
|
|
1578 |
|
|
1579 |
* tools/formed/*: initial check-in of the Formular Editor. |
* tools/formed/*: initial check-in of the Formular Editor. |
1580 |
Not working yet. Only can load, view and store formular XML files. |
Not working yet. Only can load, view and store formular XML files. |
1581 |
Start it with 'tools/formed/formed.sh'. |
Start it with 'tools/formed/formed.sh'. |