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