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