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