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