1 |
|
2008-04-01 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1" |
4 |
|
from clause to select datasets. |
5 |
|
Replace ']]>' in CDATA sections with correct splitted replacement. |
6 |
|
|
7 |
|
2008-03-12 Sascha L. Teichmann <[email protected]> |
8 |
|
|
9 |
|
* tools/anonym/cron.importAnonXml.sh: Added absolut path to xmlimport |
10 |
|
script. |
11 |
|
|
12 |
|
* tools/anonym/xmlimport.py: commented out database port from |
13 |
|
connectionstring. |
14 |
|
|
15 |
|
2008-03-12 Sascha L. Teichmann <[email protected]> |
16 |
|
|
17 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed bug in generation |
18 |
|
of anonymization of repeat groups (wrong id was given). |
19 |
|
|
20 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
21 |
|
|
22 |
|
* tools/formed/formed/plugins/export/sql.py: Generate no update |
23 |
|
statements for relations which have no anonym functions applied. |
24 |
|
|
25 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
26 |
|
|
27 |
|
* tools/formed/formed/plugins/export/sql.py: Added a newline after |
28 |
|
'COMMIT;' in the last line. |
29 |
|
|
30 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
31 |
|
|
32 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed syntax of |
33 |
|
generated anonymize_case() function. |
34 |
|
|
35 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
36 |
|
|
37 |
|
* tools/formed/formed/plugins/export/sql.py: Added code to |
38 |
|
generate a plpgsql function anonymize_case() that anonymized |
39 |
|
a given case and all of its depending repeat groups. |
40 |
|
|
41 |
|
2008-03-06 Sascha L. Teichmann <[email protected]> |
42 |
|
|
43 |
|
* tools/anonym/xmlimport.py: remove print of insert statement. |
44 |
|
|
45 |
|
* tools/formed/formed/plugins/export/sql.py: Print generation date in ISO. |
46 |
|
|
47 |
|
2008-03-03 Torsten Irländer <[email protected]> |
48 |
|
|
49 |
|
* anonym/cron.sendAnonXml.sh, |
50 |
|
anonym/getDbList.sh: Modified script to be used directly in the |
51 |
|
production environment (Copied running scripts from production |
52 |
|
server) |
53 |
|
|
54 |
|
* cron.importAnonXml.sh: Added deleting of ols cases. Modified script |
55 |
|
to be used in a production environment (Cpoied running script from |
56 |
|
production server) |
57 |
|
|
58 |
|
* tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to |
59 |
|
ensure that only valid cases get exported |
60 |
|
|
61 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
62 |
|
|
63 |
|
* tools/anonym/xmlimport.py: Fixed bug in date converter. |
64 |
|
|
65 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
66 |
|
|
67 |
|
* tools/anonym/xmlimport.py: Simpilied version |
68 |
|
|
69 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
70 |
|
|
71 |
|
* tools/anonym/cron.importAnonXml.sh: Add sudo call for |
72 |
|
xmlimport.py and parameters. |
73 |
|
|
74 |
|
* tools/anonym/xmlimport.py: Various bug fixes. Not working yet. :-/ |
75 |
|
|
76 |
|
* tools/anonym/xmlexport.py: Use python interpreter without env |
77 |
|
because of sudo context. |
78 |
|
|
79 |
|
2008-02-26 Sascha L. Teichmann <[email protected]> |
80 |
|
|
81 |
|
* tools/anonym/xmlimport.py: added support for getopt. add |
82 |
|
support to force in fkz in import of case. |
83 |
|
|
84 |
|
2008-02-26 Sascha L. Teichmann <[email protected]> |
85 |
|
|
86 |
|
* tools/anonym/xmlimport.py: Implemented logic to create/update cases. |
87 |
|
|
88 |
|
* tools/anonym/html.awk: produces valid HTML. |
89 |
|
|
90 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
91 |
|
|
92 |
|
* tools/anonym/joincsv.py: Fix a logic bug. |
93 |
|
|
94 |
|
2008-02-25 Torsten Irlaender <[email protected]> |
95 |
|
|
96 |
|
* tools/anonym/cron.importAnonXml.sh: Added shellscript for importing |
97 |
|
exportted cases. It will read all files from a directory and import |
98 |
|
the files into the DB. After that the script will cleanup the |
99 |
|
directory. |
100 |
|
|
101 |
|
2008-02-25 Torsten Irländer <[email protected]> |
102 |
|
|
103 |
|
* tools/anonym/cron.sendAnonXml.sh, |
104 |
|
tools/anonym/xmlexport.py, |
105 |
|
tools/anonym/getDbList.sh: Added shell-scripts for exporting cases |
106 |
|
|
107 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
108 |
|
|
109 |
|
* tools/anonym/joincsv.py: Fixed typo which generated wrong number of cols. |
110 |
|
|
111 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
112 |
|
|
113 |
|
* tools/anonym/joincsv.py: New. Joins CSV files. |
114 |
|
|
115 |
|
* tools/anonym/html.awk: New. Converts CSV to HTML |
116 |
|
|
117 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
118 |
|
|
119 |
|
* tools/anonym/xmlimport.py: New. Added generation of |
120 |
|
update statements. |
121 |
|
|
122 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
123 |
|
|
124 |
|
* tools/anonym/xmlimport.py: New. Base for importing |
125 |
|
XML from cron. |
126 |
|
|
127 |
|
2008-02-24 Sascha L. Teichmann <[email protected]> |
128 |
|
|
129 |
|
* tools/formed/formed/plugins/export/html2.py: New. plug-in |
130 |
|
for a simplified HTML output |
131 |
|
|
132 |
|
* tools/formed/formed/plugins/export/typemap.py: New. plug-in |
133 |
|
for dump schema as python dictionary. |
134 |
|
|
135 |
|
* tools/formed/formed/config.py: Enable new plug-ins. Out comment |
136 |
|
old stored procedure and view generators. |
137 |
|
|
138 |
|
2008-02-19 Sascha L. Teichmann <[email protected]> |
139 |
|
|
140 |
|
* tools/anonym/xmlexport.py: New. Export all cases in database |
141 |
|
as XML. |
142 |
|
|
143 |
|
2008-02-18 Sascha L. Teichmann <[email protected]> |
144 |
|
|
145 |
|
* tools/anonym/anoymncsv.py: separate field with '\t' now. |
146 |
|
all '\t's are replaced by ' ' before. '\r\n' are removed too. |
147 |
|
|
148 |
|
2008-02-15 Sascha L. Teichmann <[email protected]> |
149 |
|
|
150 |
|
* tools/anonym/anoymncsv.py: simple script to fetch anonymous |
151 |
|
data from database. |
152 |
|
|
153 |
|
2008-02-14 Sascha L. Teichmann <[email protected]> |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/export/sql.py: Exchanged name |
156 |
|
erase_value with suppress_value/suppress_value2. |
157 |
|
|
158 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
159 |
|
|
160 |
|
* tools/formed/formed/plugins/export/sql.py: output id, master_id |
161 |
|
substitute 'erase_value' with NULL value. |
162 |
|
|
163 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/export/sql.py: output id, master_id |
166 |
|
and uuid_id in anonymiziation views too. |
167 |
|
|
168 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
169 |
|
|
170 |
|
* tools/formed/formed/plugins/export/sql.py: Added generation |
171 |
|
of anonymiziation views for master table views and repeat group |
172 |
|
views. |
173 |
|
|
174 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
175 |
|
|
176 |
|
* tools/formed/formed/model/nodecomponents.py: Added attribute |
177 |
|
"function" |
178 |
|
|
179 |
|
* tools/formed/formed/io/document.py: Save attributes in |
180 |
|
alphabetical order. |
181 |
|
|
182 |
|
2008-02-02 Sascha L. Teichmann <[email protected]> |
183 |
|
|
184 |
|
* tools/formed/formed/plugins/export/sql.py: Added update rule |
185 |
|
for master table and repeat groups views. Granted update right |
186 |
|
to :cm_ka_group. |
187 |
|
|
188 |
|
2008-02-01 Sascha L. Teichmann <[email protected]> |
189 |
|
|
190 |
|
* tools/formed/formed/plugins/export/sql.py: Added a column 'uuid_id' |
191 |
|
for master table and repeat groups. Also added unique constraints |
192 |
|
to these columns. |
193 |
|
|
194 |
|
2007-12-10 Sascha L. Teichmann <[email protected]> |
195 |
|
|
196 |
|
* pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Added a system |
197 |
|
property 'root.element' to specify the name of the XML root. |
198 |
|
|
199 |
|
* pdf2xfa/startup/pdf2xfa.sh, pdf2xfa/README.TXT: Adjusted. |
200 |
|
|
201 |
|
2007-11-22 Sascha L. Teichmann <[email protected]> |
202 |
|
|
203 |
|
* pdf2xfa/startup, */pdf2xfa.sh, */pdf2xfa.init: boot scripts |
204 |
|
for GNU/Linux (tested Debian 'Etch' 4.0) by Sascha Wilde. |
205 |
|
|
206 |
|
* pdf2xfa/README.TXT: Add a remark to new boot scripts. |
207 |
|
|
208 |
|
2007-11-21 Sascha L. Teichmann <[email protected]> |
209 |
|
|
210 |
|
* pdf2xfa/src/de/intevation/pdfimport/Log.java: New. |
211 |
|
Sends logging to file. |
212 |
|
|
213 |
|
* pdf2xfa/src/de/intevation/pdfimport/Server.java, |
214 |
|
pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Adjusted |
215 |
|
to use new logging. |
216 |
|
|
217 |
|
* pdf2xfa/README.TXT: Added remark how to use logging. |
218 |
|
|
219 |
|
2007-11-16 Frank Koormann <[email protected]> |
220 |
|
|
221 |
|
* tools/formed/formed/plugins/export/sql.py (createSchema): |
222 |
|
Append only column "bearbeiter_id", standins are modelled by a |
223 |
|
separate table. |
224 |
|
|
225 |
|
2007-11-16 Sascha L. Teichmann <[email protected]> |
226 |
|
|
227 |
|
* tools/formed/formed/model/data.py, |
228 |
|
tools/formed/formed/plugins/web/view_renderer.py: |
229 |
|
Added an invisible flag for info fields. |
230 |
|
|
231 |
|
2007-11-07 Sascha L. Teichmann <[email protected]> |
232 |
|
|
233 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed a few small bugs |
234 |
|
(calling a wrong method). |
235 |
|
|
236 |
|
2007-11-07 Sascha L. Teichmann <[email protected]> |
237 |
|
|
238 |
|
* tools/formed/formed/model/nodecomponents.py: Added a field |
239 |
|
'alternative' to all node components. This might be of help to |
240 |
|
match PDF imports where the descriptions do not match. |
241 |
|
|
242 |
|
2007-10-23 Frank Koormann <[email protected]> |
243 |
|
|
244 |
|
* tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views |
245 |
|
|
246 |
|
2007-10-23 Frank Koormann <[email protected]> |
247 |
|
|
248 |
|
* tools/formed/formed/plugins/export/sql.py: Set default |
249 |
|
value (-1) for choices and bools. |
250 |
|
|
251 |
|
2007-10-21 Frank Koormann <[email protected]> |
252 |
|
|
253 |
|
* tools/formed/formed/plugins/export/sql.py: Grant statements for |
254 |
|
descriptive tables added. |
255 |
|
(Table.getName): new |
256 |
|
|
257 |
|
2007-10-21 Frank Koormann <[email protected]> |
258 |
|
|
259 |
|
* tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE" |
260 |
|
statements for views and roles to make updates easier. |
261 |
|
Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE. |
262 |
|
|
263 |
|
2007-10-19 Frank Koormann <[email protected]> |
264 |
|
|
265 |
|
* tools/formed/formed/plugins/export/sql.py: Added GRANT statements |
266 |
|
for views. The statements are prepared for variable substitution |
267 |
|
when executing the SQL-scripts by psql. |
268 |
|
|
269 |
|
2007-10-18 Sascha L. Teichmann <[email protected]> |
270 |
|
|
271 |
|
* pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed: |
272 |
|
End of result XML was truncated because of an unflushed buffer. |
273 |
|
|
274 |
|
2007-10-17 Sascha L. Teichmann <[email protected]> |
275 |
|
|
276 |
|
* pdf2xfa/bin/build-jar.sh: New. Build production jar file. |
277 |
|
|
278 |
|
* pdf2xfa/README.TXT: Adjusted how to build production jar file |
279 |
|
and how to use it. |
280 |
|
|
281 |
|
* pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class |
282 |
|
and iText dependency. |
283 |
|
|
284 |
|
2007-10-16 Sascha L. Teichmann <[email protected]> |
285 |
|
|
286 |
|
* tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe' |
287 |
|
are not modeled as BOOLEANs any more. That simpifies the conversion |
288 |
|
process web vs. db. |
289 |
|
|
290 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
291 |
|
|
292 |
|
* tools/formed/formed/plugins/export/sql.py: Added the remaining |
293 |
|
UPDATE rules. |
294 |
|
|
295 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
296 |
|
|
297 |
|
* tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some |
298 |
|
views. TODO: Test'em and implement the rest. |
299 |
|
|
300 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
301 |
|
|
302 |
|
* tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT |
303 |
|
rules referenced none existing views. |
304 |
|
|
305 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
306 |
|
|
307 |
|
* tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT |
308 |
|
rules for views. TODO: add UPDATE rules. |
309 |
|
|
310 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
311 |
|
|
312 |
|
* tools/formed/formed/plugins/export/old_sql.py: New. Contains |
313 |
|
the legacy SQL export filters. |
314 |
|
|
315 |
|
* tools/formed/formed/plugins/export/sql.py: Factored out the |
316 |
|
legacy SQL export filters to old_sql. |
317 |
|
|
318 |
|
* tools/formed/formed/config.py: Adjusted to fetch legacy |
319 |
|
filters from old_sql. |
320 |
|
|
321 |
|
2007-10-06 Sascha L. Teichmann <[email protected]> |
322 |
|
|
323 |
|
* pdf2xfa/**: Initial import of the PDF to XFA server. |
324 |
|
|
325 |
|
2007-10-06 Sascha L. Teichmann <[email protected]> |
326 |
|
|
327 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed bug |
328 |
|
that made choices of three elements to booleans if |
329 |
|
they have other meanings than 'Ja', 'Nein', 'keine Angabe'. |
330 |
|
|
331 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
332 |
|
|
333 |
|
* tools/formed/formed/plugins/export/sql.py: Select ids of |
334 |
|
underlaying tables in views too. |
335 |
|
|
336 |
|
2007-10-04 Sascha L. Teichmann <[email protected]> |
337 |
|
|
338 |
|
* tools/formed/formed/plugins/export/sql.py: Create schema inside transaction. |
339 |
|
Various bug fixes. |
340 |
|
|
341 |
|
2007-10-04 Sascha L. Teichmann <[email protected]> |
342 |
|
|
343 |
|
* tools/formed/formed/model/data.py: Added GroupNode.allWidgets() |
344 |
|
to extract fields from embedded repeat groups. |
345 |
|
|
346 |
|
* tools/formed/formed/plugins/export/sql.py: The SQL exporter exports |
347 |
|
views per page too. Result not tested yet. |
348 |
|
|
349 |
|
2007-10-01 Sascha L. Teichmann <[email protected]> |
350 |
|
|
351 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Ignore |
352 |
|
in-page repeat groups while rendering pages. |
353 |
|
|
354 |
|
2007-10-01 Sascha L. Teichmann <[email protected]> |
355 |
|
|
356 |
|
* tools/formed/formed/model/nodecomponents.py: Added visitor |
357 |
|
traversals for document trees. |
358 |
|
|
359 |
|
* tools/formed/formed/model/data.py: Rewrote the |
360 |
|
Page.allWidgets() method to use new visitor for |
361 |
|
tree traversal. |
362 |
|
|
363 |
|
2007-09-27 Torsten Irlaender <[email protected]> |
364 |
|
|
365 |
|
* tools/formed/formed/plugins/names/filter.py: Pages are now included |
366 |
|
in the rename by formular name algorithm |
367 |
|
|
368 |
|
2007-09-26 Sascha L. Teichmann <[email protected]> |
369 |
|
|
370 |
|
* tools/formed/formed/model/data.py: Removed old {next|prev}Page() |
371 |
|
TODO: rewrite Page.allWidgets(). |
372 |
|
|
373 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
374 |
|
Node.firstLevel(criterion) to walk a defined line in the tree. |
375 |
|
|
376 |
|
* tools/formed/formed/plugins/export/sql.py: Extract data suitable to |
377 |
|
build views and respective joins. |
378 |
|
|
379 |
|
2007-09-26 Sascha L. Teichmann <[email protected]> |
380 |
|
|
381 |
|
* tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to |
382 |
|
FORMED environment variable. If set to true tidylib is used to |
383 |
|
filter HTML content to be W3C valid. To use this feature install |
384 |
|
uTidylib. |
385 |
|
|
386 |
|
* tools/formed/formed/plugins/web/server.py: Check if MIME type is |
387 |
|
text/html and filters content through tidy if requested. |
388 |
|
|
389 |
|
2007-09-25 Torsten Irlaender <[email protected]> |
390 |
|
|
391 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Small fix and |
392 |
|
cleanup of the form generation code. |
393 |
|
|
394 |
|
2007-09-21 Sascha L. Teichmann <[email protected]> |
395 |
|
|
396 |
|
* tools/formed/formed/plugins/export/sql.py: Added generation time |
397 |
|
and DROP TABLE statements to schema export. |
398 |
|
|
399 |
|
2007-09-20 Sascha L. Teichmann <[email protected]> |
400 |
|
|
401 |
|
* tools/formed/formed/plugins/export/sql.py: The tables are generated |
402 |
|
in correct topolocial order now. |
403 |
|
|
404 |
|
2007-09-20 Sascha L. Teichmann <[email protected]> |
405 |
|
|
406 |
|
* tools/formed/formed/plugins/export/mode.py: New. Filter to export |
407 |
|
a document with items that are in given mode. |
408 |
|
|
409 |
|
* tools/formed/formed/model/nodecomponents.py: Added methods to clone |
410 |
|
trees depending on selected modes. |
411 |
|
|
412 |
|
* tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py: |
413 |
|
Fixed clone issue with RuleNodes. |
414 |
|
|
415 |
|
* tools/formed/formed/config.py: Use new plug-in. |
416 |
|
|
417 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
418 |
|
|
419 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Make the |
420 |
|
view renderer a real view renderer. It takes a list of |
421 |
|
items now and not only a single page. |
422 |
|
|
423 |
|
* tools/formed/formed/plugins/web/renderer.py: Feed a list |
424 |
|
of items to the view renderer. |
425 |
|
|
426 |
|
2007-09-17 Torsten Irlaender <[email protected]> |
427 |
|
|
428 |
|
* tools/formed/formed/plugins/web/view_renderer.py: |
429 |
|
Small tweaks in rendering bools. |
430 |
|
RadioNodes (with all its children) can now be placed in a container. |
431 |
|
The radiobools will not get a surrounding <div> anymore. |
432 |
|
I am not sure if the new way results in the wanted behaivor, but the |
433 |
|
rendering results are much better now :) |
434 |
|
Maybe we need a similar approach for checkboxes? |
435 |
|
Rendering groups is still broken in some way. |
436 |
|
|
437 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
438 |
|
|
439 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Fixed |
440 |
|
a few bugs: Do not render empty containers, do not |
441 |
|
generate misplaced <br class="newline"> in choices. |
442 |
|
Add a nameless container to catch the items that are |
443 |
|
nor explicitly assigned to a target. Removed FormData. |
444 |
|
|
445 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
446 |
|
a needless import |
447 |
|
|
448 |
2007-09-17 Sascha L. Teichmann <[email protected]> |
2007-09-17 Sascha L. Teichmann <[email protected]> |
449 |
|
|
450 |
* tools/formed/formed/plugins/web/view_renderer.py: Implemented |
* tools/formed/formed/plugins/web/view_renderer.py: Implemented |