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