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