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