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