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