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