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