1 |
2007-09-12 Torsten Irlaender <[email protected]> |
2010-09-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Avoid database deadlocks that can happen when database clients try |
4 |
|
to work with the same case using two separate database |
5 |
|
connections. See mpuls/issue1145 for details. |
6 |
|
|
7 |
|
* formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the |
8 |
|
computation of the new json structure description into the new |
9 |
|
database function compute_case_structure |
10 |
|
(TRIGGER_TMPL): Change the trigger functions to immediately update |
11 |
|
the cached json structure description instead of just setting the |
12 |
|
modified flag. This avoids the lazy recomputation that makes what |
13 |
|
seems like a read-only access (calling get_case_structure) into a |
14 |
|
writing access (updates of the cache). The writes lock the row in |
15 |
|
the case_structure table which prevent other connections from |
16 |
|
accessing the same case. As part of this, the delete triggers are |
17 |
|
now AFTER triggers because the repeat groups instance must have |
18 |
|
been removed when the structure is recomputed. |
19 |
|
(SUBSELECT_TMPL): Since the delete trigger is now an after |
20 |
|
trigger, we need to change the way the master id is computed. We |
21 |
|
cannot join with the repeatgroup table in question because the row |
22 |
|
has already been deleted. However, we can use the master_id |
23 |
|
column of the OLD row to select the row of the parent table. |
24 |
|
(create_triggers): Avoid the inner joins with the current repeat |
25 |
|
group for the above mentioned reasons. In the very common case of |
26 |
|
repeat groups which are direct children of the master_tbl, we can |
27 |
|
compare the master_tbl.id directly with the row's master_id. |
28 |
|
|
29 |
|
2010-09-14 Roland Geider <[email protected]> |
30 |
|
|
31 |
|
* formed/formed/plugins/export/xsd.py: issue1131: update XSD for new |
32 |
|
formedtree structure |
33 |
|
|
34 |
|
2010-09-01 Roland Geider <[email protected]> |
35 |
|
|
36 |
|
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
37 |
|
appearing double. |
38 |
|
The problem was that the way the formEditor handled fields with |
39 |
|
manually created rules changed. Instead of ignoring fields (very |
40 |
|
early behaviour) or always generating them (early behaviour), now the |
41 |
|
formED will only ignore fields with rules which name starts with |
42 |
|
'required-rule-manual'. This is helpful when the rules for mandatory |
43 |
|
fields are more complex (e.g. mother's name is only required if |
44 |
|
mother is known). |
45 |
|
|
46 |
|
2010-08-10 Torsten Irländer <[email protected]> |
47 |
|
|
48 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
49 |
|
formedtrees |
50 |
|
|
51 |
|
2010-08-09 Roland Geider <[email protected]> |
52 |
|
|
53 |
|
* formed/model/exprtree.py: fixed typo |
54 |
|
|
55 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
56 |
|
|
57 |
|
* formed/po/de_DE.po: Update translations |
58 |
|
|
59 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
60 |
|
|
61 |
|
* formed/po/formed.pot: Regenerated. |
62 |
|
|
63 |
|
* formed/po/de_DE.po: Update. |
64 |
|
|
65 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
66 |
|
|
67 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
68 |
|
usage message |
69 |
|
|
70 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
71 |
|
|
72 |
|
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
73 |
|
the order of entries in the .pot-file more predictable. |
74 |
|
|
75 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
76 |
|
|
77 |
|
* formed/formed/model/nodecomponents.py (RootNode.__init__) |
78 |
|
(RootNode.getVersion, RootNode.setVersion): Add attribute |
79 |
|
"version" and accessor methods. |
80 |
|
|
81 |
|
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let |
82 |
|
the user set the document version. |
83 |
|
(MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion |
84 |
|
|
85 |
|
2010-08-02 Bernhard Herzog <[email protected]> |
86 |
|
|
87 |
|
* formed/formed.py, formed/formed/io/document.py, |
88 |
|
formed/formed/io/factories.py, formed/formed/io/parser.py, |
89 |
|
formed/formed/model/data.py, formed/formed/model/event.py, |
90 |
|
formed/formed/model/expr.py, formed/formed/model/exprtree.py, |
91 |
|
formed/formed/model/memory.py, formed/formed/model/misc.py, |
92 |
|
formed/formed/model/nodecomponents.py, |
93 |
|
formed/formed/model/persistent.py: Fix coding declaration to be |
94 |
|
acceptable to both python and Emacs. |
95 |
|
|
96 |
|
2010-07-29 Torsten Irländer <[email protected]> |
97 |
|
|
98 |
|
* formed/formed/model/data.py: Added "invisible" attribute to |
99 |
|
BoolLeafs. This can be used to hide options in choicelists. so the |
100 |
|
user can not select the value in the user interface. But the db will |
101 |
|
have this option so is ist still present in the db an can be used |
102 |
|
* formed/formed/model/exprtree.py: Added "days" function. |
103 |
|
|
104 |
|
2010-07-26 Roland Geider <[email protected]> |
105 |
|
|
106 |
|
* formed/formed/model/nodecomponents.py, |
107 |
|
formed/formed/plugins/modify/rules.py: generated date rules take |
108 |
|
into consideration repeat groups |
109 |
|
|
110 |
|
2010-07-21 Torsten Irländer <[email protected]> |
111 |
|
|
112 |
|
Issue870 |
113 |
|
|
114 |
|
* formed/formed/plugins/modify/rules.py (descriptions): Do not collect |
115 |
|
all headers to the referenced fields. Only list labels of the error |
116 |
|
fields, which should be distinct enough. |
117 |
|
|
118 |
|
Issue851 |
119 |
|
|
120 |
|
* formed/formed/model/data.py |
121 |
|
formed/formed/plugins/export/new_sql.py |
122 |
|
formed/formed/plugins/web/view_renderer.py |
123 |
|
formed/formed/io/document.py |
124 |
|
formed/formed/config.py: Added Float-Field to Formed |
125 |
|
|
126 |
|
2010-06-11 Bernhard Herzog <[email protected]> |
127 |
|
|
128 |
|
* formed/formed/plugins/export/rg_sql.py |
129 |
|
(CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call |
130 |
|
create_master_ds to create the master tbl entry. This way we can |
131 |
|
add SQL code that's specific to an MPuls instance to |
132 |
|
create_master_ds and still have create_master_tbl use that new |
133 |
|
code. This is useful for e.g. the JMD-Struktur part. |
134 |
|
|
135 |
|
2010-06-02 Roland Geider <[email protected]> |
136 |
|
|
137 |
|
* formed/formed/plugins/modify/rules.py: make the names of generated |
138 |
|
date-sequence-rules unique |
139 |
|
|
140 |
|
2010-06-02 Roland Geider <[email protected]> |
141 |
|
|
142 |
|
* formed/plugins/export/xls.py: updated regular expression |
143 |
|
|
144 |
|
2010-05-17 Frank Koormann <[email protected]> |
145 |
|
|
146 |
|
* formed/formed/plugins/export/latex.py: Improved section labeling. |
147 |
|
|
148 |
|
* formed/formed/plugins/export/xls.py: |
149 |
|
Export references (ie where are the lists used). |
150 |
|
|
151 |
|
2010-04-30 Torsten Irländer <[email protected]> |
152 |
|
|
153 |
|
* formed/formed/plugins/modify/rules.py (VariableType.substitute): Do |
154 |
|
not generate "%"-rules for required fields in repeat-groups. |
155 |
|
|
156 |
|
2010-04-28 Roland Geider <[email protected]> |
157 |
|
|
158 |
|
* formed/plugins/export/xls.py: Radiogroups are exported |
159 |
|
* formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD |
160 |
|
JMD formedtree.xml validates XSD |
161 |
|
|
162 |
|
2010-04-08 Torsten Irländer <[email protected]> |
163 |
|
|
164 |
|
* formed/formed/plugins/modify/rules.py |
165 |
|
(GenerateRequiredRules.generateDateSequenceRules): Add error mark to |
166 |
|
rules. Generete each rule twice to be able to render errors at both |
167 |
|
datefields. |
168 |
|
|
169 |
|
2010-04-07 Torsten Irländer <[email protected]> |
170 |
|
|
171 |
|
* formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag. |
172 |
|
|
173 |
|
2010-04-06 Torsten Irländer <[email protected]> |
174 |
|
|
175 |
|
* formed/formed/io/document.py (_toXML): Added comment with |
176 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
177 |
|
* formed/formed/plugins/export/new_sql.py |
178 |
|
(ExportAsSQLFilter.doExport): Added comment with |
179 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
180 |
|
* formed/formed/model/exprtree.py: Added years operator. |
181 |
|
|
182 |
|
2010-03-30 Roland Geider <[email protected]> |
183 |
|
|
184 |
|
* formed/formed/plugins/export/latex.py: Added filter |
185 |
|
|
186 |
|
2010-03-25 Roland Geider <[email protected]> |
187 |
|
|
188 |
|
* formed/formed/plugins/export/xsd.py: Generate valid XML |
189 |
|
|
190 |
|
2010-02-11 Frank Koormann <[email protected]> |
191 |
|
|
192 |
|
* formed/formed/plugins/export/xls.py: Allow groups in choices. |
193 |
|
|
194 |
|
2009-12-02 Torsten Irländer <[email protected]> |
195 |
|
|
196 |
|
* formed/formed/plugins/export/typemap.py: do not ignore conditional |
197 |
|
nodes on traversal. |
198 |
|
|
199 |
|
2009-11-17 Sascha L. Teichmann <[email protected]> |
200 |
|
|
201 |
|
* formed/formed/model/exprtree.py: Recognize '%' vars |
202 |
|
in compilation. Does not eval it! |
203 |
|
|
204 |
|
* formed/formed/plugins/modify/rules.py: Generate '%' vars |
205 |
|
for variables in repeat groups. |
206 |
|
|
207 |
|
2009-11-13 Sascha L. Teichmann <[email protected]> |
208 |
|
|
209 |
|
* formed/formed/plugins/export/typemap.py: Fixed to work |
210 |
|
with new repeat group nodes. |
211 |
|
|
212 |
|
2009-10-28 Sascha L. Teichmann <[email protected]> |
213 |
|
|
214 |
|
* formed/formed/plugins/export/xsd.py, |
215 |
|
formed/formed/plugins/export/sql.py, |
216 |
|
formed/formed/plugins/export/new_sql.py: Allow groups in choices. |
217 |
|
|
218 |
|
2009-10-07 Frank Koormann <[email protected]> |
219 |
|
|
220 |
|
* formed/formed/plugins/export/latex.py: |
221 |
|
Adjusted textprocessing to escape tex-active characters. |
222 |
|
|
223 |
|
2009-10-07 Sascha L. Teichmann <[email protected]> |
224 |
|
|
225 |
|
* formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py, |
226 |
|
formed/formed/plugins/export/html2.py: Adjusted to cope with |
227 |
|
"semi-complete" implementation of logbook tree structure. |
228 |
|
|
229 |
|
2009-06-18 Torsten Irländer <[email protected]> |
230 |
|
|
231 |
|
* formed/formed/plugins/export/new_sql.py, |
232 |
|
formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and |
233 |
|
added permissions. |
234 |
|
|
235 |
|
2009-06-18 Torsten Irländer <[email protected]> |
236 |
|
|
237 |
|
* formed/formed/plugins/export/new_sql.py: Commented out generation of |
238 |
|
page_views, as they do not work with rgroups. |
239 |
|
|
240 |
|
2009-06-17 Torsten Irländer <[email protected]> |
241 |
|
|
242 |
|
* formed/formed/plugins/export/new_sql.py: Fixed anonymize function |
243 |
|
and rolenames. |
244 |
|
|
245 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
246 |
|
|
247 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
248 |
|
|
249 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
250 |
|
|
251 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
252 |
|
|
253 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
254 |
|
|
255 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
256 |
|
nodecomponent names. |
257 |
|
|
258 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
259 |
|
|
260 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
261 |
|
repeat groups if no uuid is given. If a uuid is given then |
262 |
|
the creation is triggered by an xml import. |
263 |
|
|
264 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
265 |
|
|
266 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
267 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
268 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
269 |
|
|
270 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
271 |
|
The old one is deactivated. |
272 |
|
|
273 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
274 |
|
|
275 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
276 |
|
|
277 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
278 |
|
TODO: Adjust execution rights. |
279 |
|
|
280 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
281 |
|
|
282 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
283 |
|
Add functions to create dataset. |
284 |
|
|
285 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
286 |
|
|
287 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
288 |
|
tree structure functions in database. |
289 |
|
|
290 |
|
* formed/formed/config.py: load plug-in. |
291 |
|
|
292 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
293 |
|
|
294 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
295 |
|
RepeatNode. Removed needless methods |
296 |
|
|
297 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
298 |
|
|
299 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
300 |
|
more readable with '=' and '<>'. |
301 |
|
|
302 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
303 |
|
|
304 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
305 |
|
of uuid on anonymization of case. |
306 |
|
|
307 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
308 |
|
|
309 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
310 |
|
case_anonymize(). |
311 |
|
|
312 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
313 |
|
|
314 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
315 |
|
the trees infix. |
316 |
|
|
317 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
318 |
|
readable rules. |
319 |
|
|
320 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
321 |
|
|
322 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
323 |
|
|
324 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
325 |
|
|
326 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
327 |
|
exceptions if there is less or more than one element on stack |
328 |
|
after compilation of expression. |
329 |
|
|
330 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
331 |
|
|
332 |
|
* formed/formed/model/data.py: Removed debug output |
333 |
|
|
334 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
335 |
|
Generate past and future rules. |
336 |
|
|
337 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
338 |
|
|
339 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
340 |
|
|
341 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
342 |
|
|
343 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
344 |
|
|
345 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
346 |
|
|
347 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
348 |
|
|
349 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
350 |
|
|
351 |
|
* formed/formed/model/data.py: Added ConditionalNode |
352 |
|
|
353 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
354 |
|
|
355 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
356 |
|
|
357 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
358 |
|
in date sequence rules more precise. |
359 |
|
|
360 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
361 |
|
|
362 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
363 |
|
|
364 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
365 |
|
|
366 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
367 |
|
|
368 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
369 |
|
Adjusted imports. |
370 |
|
|
371 |
|
2009-03-12 Torsten Irländer <[email protected]> |
372 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
373 |
|
|
374 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
375 |
|
|
376 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
377 |
|
|
378 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
379 |
|
|
380 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
381 |
|
|
382 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
383 |
|
nodecomponent names. |
384 |
|
|
385 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
386 |
|
|
387 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
388 |
|
repeat groups if no uuid is given. If a uuid is given then |
389 |
|
the creation is triggered by an xml import. |
390 |
|
|
391 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
392 |
|
|
393 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
394 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
395 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
396 |
|
|
397 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
398 |
|
The old one is deactivated. |
399 |
|
|
400 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
401 |
|
|
402 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
403 |
|
|
404 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
405 |
|
TODO: Adjust execution rights. |
406 |
|
|
407 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
408 |
|
|
409 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
410 |
|
Add functions to create dataset. |
411 |
|
|
412 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
413 |
|
|
414 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
415 |
|
tree structure functions in database. |
416 |
|
|
417 |
|
* formed/formed/config.py: load plug-in. |
418 |
|
|
419 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
420 |
|
|
421 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
422 |
|
RepeatNode. Removed needless methods |
423 |
|
|
424 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
425 |
|
|
426 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
427 |
|
more readable with '=' and '<>'. |
428 |
|
|
429 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
430 |
|
|
431 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
432 |
|
of uuid on anonymization of case. |
433 |
|
|
434 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
435 |
|
|
436 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
437 |
|
case_anonymize(). |
438 |
|
|
439 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
440 |
|
|
441 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
442 |
|
the trees infix. |
443 |
|
|
444 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
445 |
|
readable rules. |
446 |
|
|
447 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
448 |
|
|
449 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
450 |
|
|
451 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
452 |
|
|
453 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
454 |
|
exceptions if there is less or more than one element on stack |
455 |
|
after compilation of expression. |
456 |
|
|
457 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
458 |
|
|
459 |
|
* formed/formed/model/data.py: Removed debug output |
460 |
|
|
461 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
462 |
|
Generate past and future rules. |
463 |
|
|
464 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
465 |
|
|
466 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
467 |
|
|
468 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
469 |
|
|
470 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
471 |
|
|
472 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
473 |
|
|
474 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
475 |
|
|
476 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
477 |
|
|
478 |
|
* formed/formed/model/data.py: Added ConditionalNode |
479 |
|
|
480 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
481 |
|
|
482 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
483 |
|
|
484 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
485 |
|
in date sequence rules more precise. |
486 |
|
|
487 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
488 |
|
|
489 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
490 |
|
|
491 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
492 |
|
|
493 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
494 |
|
|
495 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
496 |
|
Adjusted imports. |
497 |
|
|
498 |
|
2009-03-12 Torsten Irländer <[email protected]> |
499 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
500 |
|
|
501 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
502 |
|
|
503 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
504 |
|
|
505 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
506 |
|
|
507 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
508 |
|
|
509 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
510 |
|
nodecomponent names. |
511 |
|
|
512 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
513 |
|
|
514 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
515 |
|
repeat groups if no uuid is given. If a uuid is given then |
516 |
|
the creation is triggered by an xml import. |
517 |
|
|
518 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
519 |
|
|
520 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
521 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
522 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
523 |
|
|
524 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
525 |
|
The old one is deactivated. |
526 |
|
|
527 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
528 |
|
|
529 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
530 |
|
|
531 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
532 |
|
TODO: Adjust execution rights. |
533 |
|
|
534 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
535 |
|
|
536 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
537 |
|
Add functions to create dataset. |
538 |
|
|
539 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
540 |
|
|
541 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
542 |
|
tree structure functions in database. |
543 |
|
|
544 |
|
* formed/formed/config.py: load plug-in. |
545 |
|
|
546 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
547 |
|
|
548 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
549 |
|
RepeatNode. Removed needless methods |
550 |
|
|
551 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
552 |
|
|
553 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
554 |
|
more readable with '=' and '<>'. |
555 |
|
|
556 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
557 |
|
|
558 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
559 |
|
of uuid on anonymization of case. |
560 |
|
|
561 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
562 |
|
|
563 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
564 |
|
case_anonymize(). |
565 |
|
|
566 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
567 |
|
|
568 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
569 |
|
the trees infix. |
570 |
|
|
571 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
572 |
|
readable rules. |
573 |
|
|
574 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
575 |
|
|
576 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
577 |
|
|
578 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
579 |
|
|
580 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
581 |
|
exceptions if there is less or more than one element on stack |
582 |
|
after compilation of expression. |
583 |
|
|
584 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
585 |
|
|
586 |
|
* formed/formed/model/data.py: Removed debug output |
587 |
|
|
588 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
589 |
|
Generate past and future rules. |
590 |
|
|
591 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
592 |
|
|
593 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
594 |
|
|
595 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
596 |
|
|
597 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
598 |
|
|
599 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
600 |
|
|
601 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
602 |
|
|
603 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
604 |
|
|
605 |
|
* formed/formed/model/data.py: Added ConditionalNode |
606 |
|
|
607 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
608 |
|
|
609 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
610 |
|
|
611 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
612 |
|
in date sequence rules more precise. |
613 |
|
|
614 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
615 |
|
|
616 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
617 |
|
|
618 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
619 |
|
|
620 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
621 |
|
|
622 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
623 |
|
Adjusted imports. |
624 |
|
|
625 |
|
2009-03-12 Torsten Irländer <[email protected]> |
626 |
|
|
627 |
|
Introduced new order attribute for date fields |
628 |
|
|
629 |
|
* formed/formed/model/data.py: Order fields can be used to define to |
630 |
|
ordering of datefields withing the document. Needed for automatic |
631 |
|
generation of consistency rules. |
632 |
|
|
633 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
634 |
|
|
635 |
|
* formed/formed/model/data.py: Allow pages to be 'invisible'. |
636 |
|
|
637 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
638 |
|
|
639 |
|
* formed/formed/plugins/export/sql.py: Fixed problem with |
640 |
|
description reference tables of radio groups. |
641 |
|
|
642 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
643 |
|
|
644 |
|
* formed/formed/plugins/export/sql.py: replace '-' in names |
645 |
|
by '_'. |
646 |
|
|
647 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
648 |
|
|
649 |
|
* formed/formed/plugins/export/sql.py: to figure ou which |
650 |
|
tables are equal the insert statememnts are lower cased |
651 |
|
and sorted before they are compared. This reduces the number |
652 |
|
of generated referfence tables. |
653 |
|
|
654 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
655 |
|
|
656 |
|
Repair SQL schema creation for radio groups. |
657 |
|
|
658 |
|
* formed/formed/plugins/export/sql.py: radio groups are handled |
659 |
|
like choices now. |
660 |
|
|
661 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
662 |
|
|
663 |
|
Make it startable again. |
664 |
|
|
665 |
|
* formed/formed/plugins/export/xls.py: Import pyExcelerator only |
666 |
|
when plug-in is called. |
667 |
|
|
668 |
|
* formed/formed/model/nodecomponents.py: Event routing was messed up. |
669 |
|
Rewired root node with document. |
670 |
|
|
671 |
|
* formed/formed/plugins/web/help.py: Removed old xml.ext import. |
672 |
|
XXX: This breaks creating help by now! |
673 |
|
|
674 |
|
* formed/formed/io/parser.py: Replace old deprecated base class |
675 |
|
by new one. |
676 |
|
|
677 |
|
* formed/formed/main.py: Do not crash if locale cannot be set. |
678 |
|
|
679 |
|
* formed/formed/ui/controls.py: Use document.getCase() instead |
680 |
|
of document.case to prevent uninitialized dereferences. |
681 |
|
|
682 |
|
2009-01-22 Torsten Irländer <[email protected]> |
683 |
|
|
684 |
|
Implemented new XML-Format for formed xml files. |
685 |
|
|
686 |
|
* formed/formed/model/nodecomponents.py, |
687 |
|
formed/formed/io/document.py, |
688 |
|
formed/formed/main.py, |
689 |
|
formed/formed/ui/controls.py: Introduced new "case" and "logbook" |
690 |
|
node. Under case is the definition of the formular. logbook will |
691 |
|
hold the defintion of logboog entrys. For now only the part under |
692 |
|
"case" can be modified. |
693 |
|
|
694 |
|
2009-01-21 Torsten Irländer <[email protected]> |
695 |
|
|
696 |
|
Changed way how XSD-Scheme is generated |
697 |
|
|
698 |
|
* formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support |
699 |
|
logbookentrys. The scheme definiton is now hardcoded in the |
700 |
|
exporter as it will rarely change. It logbookpart will not be |
701 |
|
generated from the formedtree anymore. |
702 |
|
|
703 |
|
2009-01-20 Torsten Irländer <[email protected]> |
704 |
|
|
705 |
|
Support Logbook entrys in xsd schema export |
706 |
|
|
707 |
|
* formed/formed/model/data.py: Repeatnode are now handeld as |
708 |
|
repeatgroups in xsd-export |
709 |
|
* formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support |
710 |
|
logbookentrys. The scheme will now validate against an xmlfile from |
711 |
|
the offlineclient. |
712 |
|
|
713 |
|
2009-01-09 Torsten Irländer <[email protected]> |
714 |
|
|
715 |
|
Added new repeat node |
716 |
|
|
717 |
|
* formed/formed/model/data.py, |
718 |
|
formed/formed/io/document.py: Added repeatnode to the formedtree. |
719 |
|
TODO: Remove repeatgroup handling from the groupnode. |
720 |
|
|
721 |
|
2009-01-08 Torsten Irländer <[email protected]> |
722 |
|
|
723 |
|
Add isset operator to autogenerated rules. |
724 |
|
|
725 |
|
* formed/formed/plugins/modify/rules.py: Add issed operator to standard |
726 |
|
autogenerated rules. |
727 |
|
|
728 |
|
2008-12-17 Frank Koormann <[email protected]> |
729 |
|
|
730 |
|
* formed/formed/plugins/export/latex.py: Export form as set of |
731 |
|
latex tables to be included into a master document. The export |
732 |
|
generates section marks to structure the form and placeholders for |
733 |
|
help texts to be merged in by a post processing step. |
734 |
|
|
735 |
|
2008-12-04 Sascha L. Teichmann <[email protected]> |
736 |
|
|
737 |
|
* formed/formed/model/expr.py: Added 'today' which pushes the current date |
738 |
|
on the stack. |
739 |
|
|
740 |
|
2008-12-03 Sascha L. Teichmann <[email protected]> |
741 |
|
|
742 |
|
* formed/formed/plugins/web/controllers.py: compute changeset more correctly in |
743 |
|
storage of fields. |
744 |
|
|
745 |
|
* formed/formed/plugins/export/xsd.py: Added unknown int -999999 to integer |
746 |
|
fields as an accepted value. Generate schema for radio groups too. |
747 |
|
|
748 |
|
2008-12-01 Torsten Irländer <[email protected]> |
749 |
|
|
750 |
|
Added autmatic generation of required rules |
751 |
|
|
752 |
|
* formed/formed/model/data.py, |
753 |
|
formed/formed/model/expr.py, |
754 |
|
formed/formed/plugins/modify/rules.py: Default rules for required |
755 |
|
fields can now be generated. |
756 |
|
|
757 |
|
2008-11-28 Sascha L. Teichmann <[email protected]> |
758 |
|
|
759 |
|
* formed/formed/model/data.py, formed/formed/model/nodecomponents.py: |
760 |
|
Ported WidgetCollector from Offline client. |
761 |
|
|
762 |
|
* formed/formed/plugins/modify/__init__.py, formed/formed/plugins/modify, |
763 |
|
formed/formed/plugins/modify/rules.py: Stub for required rules generator. |
764 |
|
|
765 |
|
* formed/formed/config.py: Bind new filter to FormEd |
766 |
|
|
767 |
|
2008-11-27 Torsten Irländer <[email protected]> |
768 |
|
|
769 |
|
* formed/formed/model/data.py: Added new attribute mark for rules |
770 |
|
|
771 |
|
2008-11-10 Torsten Irländer <[email protected]> |
772 |
|
|
773 |
|
Implemented radio-matrix elements. radio elelement having the same |
774 |
|
options can now be rendered in table form. |
775 |
|
|
776 |
|
* formed/formed/model/data.py, |
777 |
|
formed/formed/io/document.py: Added new radio-matrix element to the |
778 |
|
model and gui |
779 |
|
* formed/formed/plugins/web/view_renderer.py: Write html-renderer for |
780 |
|
the radio-matrix element. |
781 |
|
|
782 |
|
2008-11.03 Torsten Irländer <[email protected]> |
783 |
|
|
784 |
|
* formed/formed/model/data.py: Fixed import error |
785 |
|
|
786 |
|
2008-10-29 Sascha L. Teichmann <[email protected]> |
787 |
|
|
788 |
|
Relative paths in external choices are now possible. Relative paths are |
789 |
|
relative to path of the master document. |
790 |
|
|
791 |
|
* formed/model/data.py: external choice are now storing the path to the |
792 |
|
master document. |
793 |
|
|
794 |
|
* formed/formed/io/document.py: Pass context to SAX builder. |
795 |
|
|
796 |
|
* formed/formed/io/factories.py: For new created nodes look if there |
797 |
|
is a method 'setLoadContext' and call it. |
798 |
|
|
799 |
|
2008-09-04 Sascha L. Teichmann <[email protected]> |
800 |
|
|
801 |
|
* doc/beschreibung.txt: New. Initial description of FormEd (german). |
802 |
|
|
803 |
|
2008-08-22 Sascha L. Teichmann <[email protected]> |
804 |
|
|
805 |
|
* formed/formed/model/nodecomponents.py: Added attribute 'flags'. |
806 |
|
|
807 |
|
2008-08-21 Sascha L. Teichmann <[email protected]> |
808 |
|
|
809 |
|
* formed/formed/io/document.py: Indent tree while saving |
810 |
|
* formed/formed/main.py: removed needless print |
811 |
|
|
812 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
813 |
|
|
814 |
|
* LICENSE: New GPLv3 |
815 |
|
* */*.py, *.sh: Added reference to LICENSE |
816 |
|
|
817 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
818 |
|
|
819 |
|
* tools: removed because there a no tools any more. |
820 |
|
|
821 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
822 |
|
|
823 |
|
* tools/formed: moved one level up because its the only |
824 |
|
part of this project now. |
825 |
|
|
826 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
827 |
|
|
828 |
|
* tools/anonym/*: Removed as it belongs to mpuls WASKA |
829 |
|
|
830 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
831 |
|
|
832 |
|
* pdf2xfa/*: removed. It belongs to mpuls |
833 |
|
|
834 |
|
2008-08-13 L. Teichmann <[email protected]> |
835 |
|
|
836 |
|
i18n of the plug-ins: |
837 |
|
* tools/formed/formed/plugins/export/diff.py, |
838 |
|
tools/formed/formed/plugins/export/data.py, |
839 |
|
tools/formed/formed/plugins/export/old_sql.py, |
840 |
|
tools/formed/formed/plugins/export/latex.py, |
841 |
|
tools/formed/formed/plugins/export/xsd.py, |
842 |
|
tools/formed/formed/plugins/export/sql.py, |
843 |
|
tools/formed/formed/plugins/export/typemap.py, |
844 |
|
tools/formed/formed/plugins/export/html.py, |
845 |
|
tools/formed/formed/plugins/export/mode.py, |
846 |
|
tools/formed/formed/plugins/export/html2.py, |
847 |
|
tools/formed/formed/plugins/export/xls.py, |
848 |
|
tools/formed/formed/plugins/names/filter.py, |
849 |
|
tools/formed/formed/plugins/plugin.py, |
850 |
|
tools/formed/formed/plugins/web/help.py, |
851 |
|
tools/formed/formed/plugins/web/form_renderer.py, |
852 |
|
tools/formed/formed/plugins/web/plugin.py, |
853 |
|
tools/formed/formed/plugins/web/error_renderer.py, |
854 |
|
tools/formed/formed/plugins/web/view_renderer.py, |
855 |
|
tools/formed/formed/plugins/web/semantic.py, |
856 |
|
tools/formed/formed/plugins/web/cache.py, |
857 |
|
tools/formed/formed/plugins/web/server.py, |
858 |
|
tools/formed/formed/plugins/web/controllers.py, |
859 |
|
tools/formed/formed/plugins/web/renderer.py, |
860 |
|
tools/formed/formed/plugins/ui/controls.py, |
861 |
|
tools/formed/formed/config.py: _("")s the stuff |
862 |
|
tools/formed/po/formed.pot, tools/formed/po/de_DE.po: |
863 |
|
extracted and translated. |
864 |
|
|
865 |
|
2008-08-08 Sascha L. Teichmann <[email protected]> |
866 |
|
|
867 |
|
First version of FormEd i18n. After checkout go to tools/formed/po/ and |
868 |
|
say 'make mo'. Afterwards you can start FormEd as usual. |
869 |
|
|
870 |
|
* tools/formed/resources: New. Place to places ressources like *.mo files |
871 |
|
* tools/formed/formed/main.py, tools/formed/formed/ui/controls.py: Add _("")s |
872 |
|
|
873 |
|
* tools/formed/po, |
874 |
|
tools/formed/po/Makefile, |
875 |
|
tools/formed/po/formed.pot, |
876 |
|
tools/formed/po/de_DE.po: i18n stuff. |
877 |
|
|
878 |
|
2008-08-08 Sascha L. Teichmann <[email protected]> |
879 |
|
|
880 |
|
* tools/anonym/xmlexport.py: Only export cases which are not |
881 |
|
'schwebend geloescht'. |
882 |
|
|
883 |
|
2008-07-23 Sascha L. Teichmann <[email protected]> |
884 |
|
|
885 |
|
Fixed issue472 |
886 |
|
|
887 |
|
* tools/anonym/xmlimport.py: Regenerate dicts from current form ed tree. |
888 |
|
|
889 |
|
2008-07-17 Sascha L. Teichmann <[email protected]> |
890 |
|
|
891 |
|
* tools/anonym/xmlimport.py: removed marking of invalid cases |
892 |
|
* tools/anonym/cron.importAnonXml.sh: re-inserted here. |
893 |
|
|
894 |
|
2008-07.07 Torsten Irländer <[email protected]> |
895 |
|
|
896 |
|
* tools/formed/formed/plugins/export/latex.py |
897 |
|
tools/formed/formed/config.py: Added new LaTex Export. Beware this |
898 |
|
is even more ugly the HTML Export. |
899 |
|
* tools/formed/formed/plugins/export/html.py: Added information on |
900 |
|
anonymisation to the html export. |
901 |
|
|
902 |
|
2008-07-07 Sascha L. Teichmann <[email protected]> |
903 |
|
|
904 |
|
* tools/anonym/xmlimport.py: Mark cases if they are inconsistent. |
905 |
|
|
906 |
|
2008-07-07 Sascha L. Teichmann <[email protected]> |
907 |
|
|
908 |
|
* tools/anonym/xmlimport.py: Updated to schema 1.5. (Which is incompatible to 1.4) |
909 |
|
|
910 |
|
2008-07-07 Sascha L. Teichmann <[email protected]> |
911 |
|
|
912 |
|
* tools/formed/formed/plugins/export/html.py: Added additional column |
913 |
|
to the html export with information how each field will get |
914 |
|
anonymized. |
915 |
|
|
916 |
|
2008-07-07 Sascha L. Teichmann <[email protected]> |
917 |
|
|
918 |
|
* tools/anonym/xmlimport.py: sync with productive version. |
919 |
|
|
920 |
|
2008-06-10 Torsten Irländer <[email protected]> |
921 |
|
|
922 |
|
* tools/formed/formed/plugins/export/sql.py: grant admin permission to |
923 |
|
call anonymize function |
924 |
|
|
925 |
|
2008-05-21 Sascha L. Teichmann <[email protected]> |
926 |
|
|
927 |
|
* tools/formed/formed/plugins/export/xsd.py: Brought encoding |
928 |
|
back to UTF-8. |
929 |
|
|
930 |
|
2008-05-21 Frank Koormann <[email protected]> |
931 |
|
|
932 |
|
* tools/formed/formed/plugins/export/xls.py: New, export key value |
933 |
|
tables as excel workbook with one sheet per table. |
934 |
|
|
935 |
|
* tools/formed/formed/config.py: ExportKeyValueTableAsXLS added. |
936 |
|
|
937 |
|
2008-05-21 Frank Koormann <[email protected]> |
938 |
|
|
939 |
|
* tools/formed/formed/plugins/export/xsd.py |
940 |
|
(SchemaCreator._createChoice): Fix use of choices name. |
941 |
|
|
942 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
943 |
|
|
944 |
|
* tools/formed/formed/plugins/export/xsd.py: Use substitution group |
945 |
|
to allow arbitrary order of repeat groups. |
946 |
|
|
947 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
948 |
|
|
949 |
|
* tools/formed/formed/plugins/export/xsd.py: Removed a needless |
950 |
|
character. |
951 |
|
|
952 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
953 |
|
|
954 |
|
* tools/formed/formed/plugins/export/xsd.py: Added annotations |
955 |
|
to fields. |
956 |
|
|
957 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
958 |
|
|
959 |
|
* tools/formed/formed/plugins/export/xsd.py: Added for |
960 |
|
choice fields. |
961 |
|
|
962 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
963 |
|
|
964 |
|
* tools/formed/formed/plugins/export/xsd.py: Added support for |
965 |
|
boolean fields based on enumerations. |
966 |
|
|
967 |
|
2008-04-28 Sascha L. Teichmann <[email protected]> |
968 |
|
|
969 |
|
* tools/formed/formed/plugins/export/xsd.py: Added support for |
970 |
|
date, text and textarea fields. |
971 |
|
|
972 |
|
2008-04-28 Sascha L. Teichmann <[email protected]> |
973 |
|
|
974 |
|
* tools/formed/formed/plugins/export/xsd.py: Added support for |
975 |
|
repeat groups and integer fields. |
976 |
|
|
977 |
|
2008-04-28 Sascha L. Teichmann <[email protected]> |
978 |
|
|
979 |
|
* tools/formed/formed/plugins/export/xsd.py: New. plug-in for |
980 |
|
exporting as XML schema. not ready, yet. |
981 |
|
|
982 |
|
* tools/formed/formed/config.py: Use new plug-in. |
983 |
|
|
984 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed wrong GUI text. |
985 |
|
|
986 |
|
2008-04-17 Torsten Irländer <[email protected]> |
987 |
|
|
988 |
|
* tools/formed/formed/plugins/export/sql.py: Changed WHERE clause in |
989 |
|
for the views because of the new group permissions. |
990 |
|
|
991 |
|
2008-04-09 Sascha L. Teichmann <[email protected]> |
992 |
|
|
993 |
|
* tools/anonym/cron.deleteOldAnonymized.sh: New. cron job to delete |
994 |
|
old anonymized cases. |
995 |
|
|
996 |
|
2008-04-01 Sascha L. Teichmann <[email protected]> |
997 |
|
|
998 |
|
* tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1" |
999 |
|
from clause to select datasets. |
1000 |
|
Replace ']]>' in CDATA sections with correct splitted replacement. |
1001 |
|
|
1002 |
|
2008-03-12 Sascha L. Teichmann <[email protected]> |
1003 |
|
|
1004 |
|
* tools/anonym/cron.importAnonXml.sh: Added absolut path to xmlimport |
1005 |
|
script. |
1006 |
|
|
1007 |
|
* tools/anonym/xmlimport.py: commented out database port from |
1008 |
|
connectionstring. |
1009 |
|
|
1010 |
|
2008-03-12 Sascha L. Teichmann <[email protected]> |
1011 |
|
|
1012 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed bug in generation |
1013 |
|
of anonymization of repeat groups (wrong id was given). |
1014 |
|
|
1015 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
1016 |
|
|
1017 |
|
* tools/formed/formed/plugins/export/sql.py: Generate no update |
1018 |
|
statements for relations which have no anonym functions applied. |
1019 |
|
|
1020 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
1021 |
|
|
1022 |
|
* tools/formed/formed/plugins/export/sql.py: Added a newline after |
1023 |
|
'COMMIT;' in the last line. |
1024 |
|
|
1025 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
1026 |
|
|
1027 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed syntax of |
1028 |
|
generated anonymize_case() function. |
1029 |
|
|
1030 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
1031 |
|
|
1032 |
|
* tools/formed/formed/plugins/export/sql.py: Added code to |
1033 |
|
generate a plpgsql function anonymize_case() that anonymized |
1034 |
|
a given case and all of its depending repeat groups. |
1035 |
|
|
1036 |
|
2008-03-06 Sascha L. Teichmann <[email protected]> |
1037 |
|
|
1038 |
|
* tools/anonym/xmlimport.py: remove print of insert statement. |
1039 |
|
|
1040 |
|
* tools/formed/formed/plugins/export/sql.py: Print generation date in ISO. |
1041 |
|
|
1042 |
|
2008-03-03 Torsten Irländer <[email protected]> |
1043 |
|
|
1044 |
|
* anonym/cron.sendAnonXml.sh, |
1045 |
|
anonym/getDbList.sh: Modified script to be used directly in the |
1046 |
|
production environment (Copied running scripts from production |
1047 |
|
server) |
1048 |
|
|
1049 |
|
* cron.importAnonXml.sh: Added deleting of ols cases. Modified script |
1050 |
|
to be used in a production environment (Cpoied running script from |
1051 |
|
production server) |
1052 |
|
|
1053 |
|
* tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to |
1054 |
|
ensure that only valid cases get exported |
1055 |
|
|
1056 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
1057 |
|
|
1058 |
|
* tools/anonym/xmlimport.py: Fixed bug in date converter. |
1059 |
|
|
1060 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
1061 |
|
|
1062 |
|
* tools/anonym/xmlimport.py: Simpilied version |
1063 |
|
|
1064 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
1065 |
|
|
1066 |
|
* tools/anonym/cron.importAnonXml.sh: Add sudo call for |
1067 |
|
xmlimport.py and parameters. |
1068 |
|
|
1069 |
|
* tools/anonym/xmlimport.py: Various bug fixes. Not working yet. :-/ |
1070 |
|
|
1071 |
|
* tools/anonym/xmlexport.py: Use python interpreter without env |
1072 |
|
because of sudo context. |
1073 |
|
|
1074 |
|
2008-02-26 Sascha L. Teichmann <[email protected]> |
1075 |
|
|
1076 |
|
* tools/anonym/xmlimport.py: added support for getopt. add |
1077 |
|
support to force in fkz in import of case. |
1078 |
|
|
1079 |
|
2008-02-26 Sascha L. Teichmann <[email protected]> |
1080 |
|
|
1081 |
|
* tools/anonym/xmlimport.py: Implemented logic to create/update cases. |
1082 |
|
|
1083 |
|
* tools/anonym/html.awk: produces valid HTML. |
1084 |
|
|
1085 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1086 |
|
|
1087 |
|
* tools/anonym/joincsv.py: Fix a logic bug. |
1088 |
|
|
1089 |
|
2008-02-25 Torsten Irlaender <[email protected]> |
1090 |
|
|
1091 |
|
* tools/anonym/cron.importAnonXml.sh: Added shellscript for importing |
1092 |
|
exportted cases. It will read all files from a directory and import |
1093 |
|
the files into the DB. After that the script will cleanup the |
1094 |
|
directory. |
1095 |
|
|
1096 |
|
2008-02-25 Torsten Irländer <[email protected]> |
1097 |
|
|
1098 |
|
* tools/anonym/cron.sendAnonXml.sh, |
1099 |
|
tools/anonym/xmlexport.py, |
1100 |
|
tools/anonym/getDbList.sh: Added shell-scripts for exporting cases |
1101 |
|
|
1102 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1103 |
|
|
1104 |
|
* tools/anonym/joincsv.py: Fixed typo which generated wrong number of cols. |
1105 |
|
|
1106 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1107 |
|
|
1108 |
|
* tools/anonym/joincsv.py: New. Joins CSV files. |
1109 |
|
|
1110 |
|
* tools/anonym/html.awk: New. Converts CSV to HTML |
1111 |
|
|
1112 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1113 |
|
|
1114 |
|
* tools/anonym/xmlimport.py: New. Added generation of |
1115 |
|
update statements. |
1116 |
|
|
1117 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1118 |
|
|
1119 |
|
* tools/anonym/xmlimport.py: New. Base for importing |
1120 |
|
XML from cron. |
1121 |
|
|
1122 |
|
2008-02-24 Sascha L. Teichmann <[email protected]> |
1123 |
|
|
1124 |
|
* tools/formed/formed/plugins/export/html2.py: New. plug-in |
1125 |
|
for a simplified HTML output |
1126 |
|
|
1127 |
|
* tools/formed/formed/plugins/export/typemap.py: New. plug-in |
1128 |
|
for dump schema as python dictionary. |
1129 |
|
|
1130 |
|
* tools/formed/formed/config.py: Enable new plug-ins. Out comment |
1131 |
|
old stored procedure and view generators. |
1132 |
|
|
1133 |
|
2008-02-19 Sascha L. Teichmann <[email protected]> |
1134 |
|
|
1135 |
|
* tools/anonym/xmlexport.py: New. Export all cases in database |
1136 |
|
as XML. |
1137 |
|
|
1138 |
|
2008-02-18 Sascha L. Teichmann <[email protected]> |
1139 |
|
|
1140 |
|
* tools/anonym/anoymncsv.py: separate field with '\t' now. |
1141 |
|
all '\t's are replaced by ' ' before. '\r\n' are removed too. |
1142 |
|
|
1143 |
|
2008-02-15 Sascha L. Teichmann <[email protected]> |
1144 |
|
|
1145 |
|
* tools/anonym/anoymncsv.py: simple script to fetch anonymous |
1146 |
|
data from database. |
1147 |
|
|
1148 |
|
2008-02-14 Sascha L. Teichmann <[email protected]> |
1149 |
|
|
1150 |
|
* tools/formed/formed/plugins/export/sql.py: Exchanged name |
1151 |
|
erase_value with suppress_value/suppress_value2. |
1152 |
|
|
1153 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
1154 |
|
|
1155 |
|
* tools/formed/formed/plugins/export/sql.py: output id, master_id |
1156 |
|
substitute 'erase_value' with NULL value. |
1157 |
|
|
1158 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
1159 |
|
|
1160 |
|
* tools/formed/formed/plugins/export/sql.py: output id, master_id |
1161 |
|
and uuid_id in anonymiziation views too. |
1162 |
|
|
1163 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
1164 |
|
|
1165 |
|
* tools/formed/formed/plugins/export/sql.py: Added generation |
1166 |
|
of anonymiziation views for master table views and repeat group |
1167 |
|
views. |
1168 |
|
|
1169 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
1170 |
|
|
1171 |
|
* tools/formed/formed/model/nodecomponents.py: Added attribute |
1172 |
|
"function" |
1173 |
|
|
1174 |
|
* tools/formed/formed/io/document.py: Save attributes in |
1175 |
|
alphabetical order. |
1176 |
|
|
1177 |
|
2008-02-02 Sascha L. Teichmann <[email protected]> |
1178 |
|
|
1179 |
|
* tools/formed/formed/plugins/export/sql.py: Added update rule |
1180 |
|
for master table and repeat groups views. Granted update right |
1181 |
|
to :cm_ka_group. |
1182 |
|
|
1183 |
|
2008-02-01 Sascha L. Teichmann <[email protected]> |
1184 |
|
|
1185 |
|
* tools/formed/formed/plugins/export/sql.py: Added a column 'uuid_id' |
1186 |
|
for master table and repeat groups. Also added unique constraints |
1187 |
|
to these columns. |
1188 |
|
|
1189 |
|
2007-12-10 Sascha L. Teichmann <[email protected]> |
1190 |
|
|
1191 |
|
* pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Added a system |
1192 |
|
property 'root.element' to specify the name of the XML root. |
1193 |
|
|
1194 |
|
* pdf2xfa/startup/pdf2xfa.sh, pdf2xfa/README.TXT: Adjusted. |
1195 |
|
|
1196 |
|
2007-11-22 Sascha L. Teichmann <[email protected]> |
1197 |
|
|
1198 |
|
* pdf2xfa/startup, */pdf2xfa.sh, */pdf2xfa.init: boot scripts |
1199 |
|
for GNU/Linux (tested Debian 'Etch' 4.0) by Sascha Wilde. |
1200 |
|
|
1201 |
|
* pdf2xfa/README.TXT: Add a remark to new boot scripts. |
1202 |
|
|
1203 |
|
2007-11-21 Sascha L. Teichmann <[email protected]> |
1204 |
|
|
1205 |
|
* pdf2xfa/src/de/intevation/pdfimport/Log.java: New. |
1206 |
|
Sends logging to file. |
1207 |
|
|
1208 |
|
* pdf2xfa/src/de/intevation/pdfimport/Server.java, |
1209 |
|
pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Adjusted |
1210 |
|
to use new logging. |
1211 |
|
|
1212 |
|
* pdf2xfa/README.TXT: Added remark how to use logging. |
1213 |
|
|
1214 |
|
2007-11-16 Frank Koormann <[email protected]> |
1215 |
|
|
1216 |
|
* tools/formed/formed/plugins/export/sql.py (createSchema): |
1217 |
|
Append only column "bearbeiter_id", standins are modelled by a |
1218 |
|
separate table. |
1219 |
|
|
1220 |
|
2007-11-16 Sascha L. Teichmann <[email protected]> |
1221 |
|
|
1222 |
|
* tools/formed/formed/model/data.py, |
1223 |
|
tools/formed/formed/plugins/web/view_renderer.py: |
1224 |
|
Added an invisible flag for info fields. |
1225 |
|
|
1226 |
|
2007-11-07 Sascha L. Teichmann <[email protected]> |
1227 |
|
|
1228 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed a few small bugs |
1229 |
|
(calling a wrong method). |
1230 |
|
|
1231 |
|
2007-11-07 Sascha L. Teichmann <[email protected]> |
1232 |
|
|
1233 |
|
* tools/formed/formed/model/nodecomponents.py: Added a field |
1234 |
|
'alternative' to all node components. This might be of help to |
1235 |
|
match PDF imports where the descriptions do not match. |
1236 |
|
|
1237 |
|
2007-10-23 Frank Koormann <[email protected]> |
1238 |
|
|
1239 |
|
* tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views |
1240 |
|
|
1241 |
|
2007-10-23 Frank Koormann <[email protected]> |
1242 |
|
|
1243 |
|
* tools/formed/formed/plugins/export/sql.py: Set default |
1244 |
|
value (-1) for choices and bools. |
1245 |
|
|
1246 |
|
2007-10-21 Frank Koormann <[email protected]> |
1247 |
|
|
1248 |
|
* tools/formed/formed/plugins/export/sql.py: Grant statements for |
1249 |
|
descriptive tables added. |
1250 |
|
(Table.getName): new |
1251 |
|
|
1252 |
|
2007-10-21 Frank Koormann <[email protected]> |
1253 |
|
|
1254 |
|
* tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE" |
1255 |
|
statements for views and roles to make updates easier. |
1256 |
|
Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE. |
1257 |
|
|
1258 |
|
2007-10-19 Frank Koormann <[email protected]> |
1259 |
|
|
1260 |
|
* tools/formed/formed/plugins/export/sql.py: Added GRANT statements |
1261 |
|
for views. The statements are prepared for variable substitution |
1262 |
|
when executing the SQL-scripts by psql. |
1263 |
|
|
1264 |
|
2007-10-18 Sascha L. Teichmann <[email protected]> |
1265 |
|
|
1266 |
|
* pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed: |
1267 |
|
End of result XML was truncated because of an unflushed buffer. |
1268 |
|
|
1269 |
|
2007-10-17 Sascha L. Teichmann <[email protected]> |
1270 |
|
|
1271 |
|
* pdf2xfa/bin/build-jar.sh: New. Build production jar file. |
1272 |
|
|
1273 |
|
* pdf2xfa/README.TXT: Adjusted how to build production jar file |
1274 |
|
and how to use it. |
1275 |
|
|
1276 |
|
* pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class |
1277 |
|
and iText dependency. |
1278 |
|
|
1279 |
|
2007-10-16 Sascha L. Teichmann <[email protected]> |
1280 |
|
|
1281 |
|
* tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe' |
1282 |
|
are not modeled as BOOLEANs any more. That simpifies the conversion |
1283 |
|
process web vs. db. |
1284 |
|
|
1285 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1286 |
|
|
1287 |
|
* tools/formed/formed/plugins/export/sql.py: Added the remaining |
1288 |
|
UPDATE rules. |
1289 |
|
|
1290 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1291 |
|
|
1292 |
|
* tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some |
1293 |
|
views. TODO: Test'em and implement the rest. |
1294 |
|
|
1295 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1296 |
|
|
1297 |
|
* tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT |
1298 |
|
rules referenced none existing views. |
1299 |
|
|
1300 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1301 |
|
|
1302 |
|
* tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT |
1303 |
|
rules for views. TODO: add UPDATE rules. |
1304 |
|
|
1305 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1306 |
|
|
1307 |
|
* tools/formed/formed/plugins/export/old_sql.py: New. Contains |
1308 |
|
the legacy SQL export filters. |
1309 |
|
|
1310 |
|
* tools/formed/formed/plugins/export/sql.py: Factored out the |
1311 |
|
legacy SQL export filters to old_sql. |
1312 |
|
|
1313 |
|
* tools/formed/formed/config.py: Adjusted to fetch legacy |
1314 |
|
filters from old_sql. |
1315 |
|
|
1316 |
|
2007-10-06 Sascha L. Teichmann <[email protected]> |
1317 |
|
|
1318 |
|
* pdf2xfa/**: Initial import of the PDF to XFA server. |
1319 |
|
|
1320 |
|
2007-10-06 Sascha L. Teichmann <[email protected]> |
1321 |
|
|
1322 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed bug |
1323 |
|
that made choices of three elements to booleans if |
1324 |
|
they have other meanings than 'Ja', 'Nein', 'keine Angabe'. |
1325 |
|
|
1326 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
1327 |
|
|
1328 |
|
* tools/formed/formed/plugins/export/sql.py: Select ids of |
1329 |
|
underlaying tables in views too. |
1330 |
|
|
1331 |
|
2007-10-04 Sascha L. Teichmann <[email protected]> |
1332 |
|
|
1333 |
|
* tools/formed/formed/plugins/export/sql.py: Create schema inside transaction. |
1334 |
|
Various bug fixes. |
1335 |
|
|
1336 |
|
2007-10-04 Sascha L. Teichmann <[email protected]> |
1337 |
|
|
1338 |
|
* tools/formed/formed/model/data.py: Added GroupNode.allWidgets() |
1339 |
|
to extract fields from embedded repeat groups. |
1340 |
|
|
1341 |
|
* tools/formed/formed/plugins/export/sql.py: The SQL exporter exports |
1342 |
|
views per page too. Result not tested yet. |
1343 |
|
|
1344 |
|
2007-10-01 Sascha L. Teichmann <[email protected]> |
1345 |
|
|
1346 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Ignore |
1347 |
|
in-page repeat groups while rendering pages. |
1348 |
|
|
1349 |
|
2007-10-01 Sascha L. Teichmann <[email protected]> |
1350 |
|
|
1351 |
|
* tools/formed/formed/model/nodecomponents.py: Added visitor |
1352 |
|
traversals for document trees. |
1353 |
|
|
1354 |
|
* tools/formed/formed/model/data.py: Rewrote the |
1355 |
|
Page.allWidgets() method to use new visitor for |
1356 |
|
tree traversal. |
1357 |
|
|
1358 |
|
2007-09-27 Torsten Irlaender <[email protected]> |
1359 |
|
|
1360 |
|
* tools/formed/formed/plugins/names/filter.py: Pages are now included |
1361 |
|
in the rename by formular name algorithm |
1362 |
|
|
1363 |
|
2007-09-26 Sascha L. Teichmann <[email protected]> |
1364 |
|
|
1365 |
|
* tools/formed/formed/model/data.py: Removed old {next|prev}Page() |
1366 |
|
TODO: rewrite Page.allWidgets(). |
1367 |
|
|
1368 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
1369 |
|
Node.firstLevel(criterion) to walk a defined line in the tree. |
1370 |
|
|
1371 |
|
* tools/formed/formed/plugins/export/sql.py: Extract data suitable to |
1372 |
|
build views and respective joins. |
1373 |
|
|
1374 |
|
2007-09-26 Sascha L. Teichmann <[email protected]> |
1375 |
|
|
1376 |
|
* tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to |
1377 |
|
FORMED environment variable. If set to true tidylib is used to |
1378 |
|
filter HTML content to be W3C valid. To use this feature install |
1379 |
|
uTidylib. |
1380 |
|
|
1381 |
|
* tools/formed/formed/plugins/web/server.py: Check if MIME type is |
1382 |
|
text/html and filters content through tidy if requested. |
1383 |
|
|
1384 |
|
2007-09-25 Torsten Irlaender <[email protected]> |
1385 |
|
|
1386 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Small fix and |
1387 |
|
cleanup of the form generation code. |
1388 |
|
|
1389 |
|
2007-09-21 Sascha L. Teichmann <[email protected]> |
1390 |
|
|
1391 |
|
* tools/formed/formed/plugins/export/sql.py: Added generation time |
1392 |
|
and DROP TABLE statements to schema export. |
1393 |
|
|
1394 |
|
2007-09-20 Sascha L. Teichmann <[email protected]> |
1395 |
|
|
1396 |
|
* tools/formed/formed/plugins/export/sql.py: The tables are generated |
1397 |
|
in correct topolocial order now. |
1398 |
|
|
1399 |
|
2007-09-20 Sascha L. Teichmann <[email protected]> |
1400 |
|
|
1401 |
|
* tools/formed/formed/plugins/export/mode.py: New. Filter to export |
1402 |
|
a document with items that are in given mode. |
1403 |
|
|
1404 |
|
* tools/formed/formed/model/nodecomponents.py: Added methods to clone |
1405 |
|
trees depending on selected modes. |
1406 |
|
|
1407 |
|
* tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py: |
1408 |
|
Fixed clone issue with RuleNodes. |
1409 |
|
|
1410 |
|
* tools/formed/formed/config.py: Use new plug-in. |
1411 |
|
|
1412 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
1413 |
|
|
1414 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Make the |
1415 |
|
view renderer a real view renderer. It takes a list of |
1416 |
|
items now and not only a single page. |
1417 |
|
|
1418 |
|
* tools/formed/formed/plugins/web/renderer.py: Feed a list |
1419 |
|
of items to the view renderer. |
1420 |
|
|
1421 |
|
2007-09-17 Torsten Irlaender <[email protected]> |
1422 |
|
|
1423 |
|
* tools/formed/formed/plugins/web/view_renderer.py: |
1424 |
|
Small tweaks in rendering bools. |
1425 |
|
RadioNodes (with all its children) can now be placed in a container. |
1426 |
|
The radiobools will not get a surrounding <div> anymore. |
1427 |
|
I am not sure if the new way results in the wanted behaivor, but the |
1428 |
|
rendering results are much better now :) |
1429 |
|
Maybe we need a similar approach for checkboxes? |
1430 |
|
Rendering groups is still broken in some way. |
1431 |
|
|
1432 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
1433 |
|
|
1434 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Fixed |
1435 |
|
a few bugs: Do not render empty containers, do not |
1436 |
|
generate misplaced <br class="newline"> in choices. |
1437 |
|
Add a nameless container to catch the items that are |
1438 |
|
nor explicitly assigned to a target. Removed FormData. |
1439 |
|
|
1440 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
1441 |
|
a needless import |
1442 |
|
|
1443 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
1444 |
|
|
1445 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Implemented |
1446 |
|
usage of 'containers' and 'target' attributes. |
1447 |
|
|
1448 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified import. |
1449 |
|
|
1450 |
|
* tools/formed/formed/plugins/web/renderer.py: Use |
1451 |
|
new ViewRenderer. |
1452 |
|
|
1453 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
1454 |
|
|
1455 |
|
* tools/formed/formed/model/nodecomponents.py: Added attributes |
1456 |
|
'target' to NodeComponent and 'containers' to Node. |
1457 |
|
|
1458 |
|
* tools/formed/formed/plugins/web/view_renderer.py: New. Aimed |
1459 |
|
to be a replacement for form_renderer. Not ready yet! |
1460 |
|
|
1461 |
|
* ChangeLog: Fixed some indention glitches. |
1462 |
|
|
1463 |
|
2007-09-13 Torsten Irlaender <[email protected]> |
1464 |
|
|
1465 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed bug in the |
1466 |
|
renaming algorithm. |
1467 |
|
|
1468 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
1469 |
|
|
1470 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed header |
1471 |
|
from formular navigation to "Fallakte Inhalt" |
1472 |
|
|
1473 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
1474 |
|
|
1475 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad |
1476 |
|
values (dates) were not pretty printed. |
1477 |
|
|
1478 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to |
1479 |
|
label rendering for choicelists. |
1480 |
|
|
1481 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
1482 |
|
|
1483 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that |
1484 |
|
choicelist did not get selected when the value is set to "0" |
1485 |
|
|
1486 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
1487 |
|
|
1488 |
* tools/formed/formed/plugins/web/form_renderer.py: Added |
* tools/formed/formed/plugins/web/form_renderer.py: Added |
1489 |
"getPrintableData" method, for the formdata Class which will return |
"getPrintableData" method, for the formdata Class which will return |
1490 |
the description rather than the value of element in the ID. This is |
the description rather than the value of element in the ID. This is |
1495 |
Kundennummer to the dataset digest output. Bound in the new |
Kundennummer to the dataset digest output. Bound in the new |
1496 |
"getPrintableData" call for the digest. |
"getPrintableData" call for the digest. |
1497 |
|
|
1498 |
2007-10-11 Sascha L. Teichmann <[email protected]> |
2007-10-11 Sascha L. Teichmann <[email protected]> |
1499 |
|
|
1500 |
* tools/formed/formed/plugins/export/data.py: The import/export |
* tools/formed/formed/plugins/export/data.py: The import/export |
1501 |
of data is now implemented with filters (the most consequent |
of data is now implemented with filters (the most consequent |
1502 |
way in terms of design of FormEd). The support of the 'persistent' |
way in terms of design of FormEd). The support of the 'persistent' |
1503 |
FORMED env-variable support has been removed. |
FORMED env-variable support has been removed. |
1504 |
|
|
1505 |
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
1506 |
filter file dialog to double as import dialog. |
filter file dialog to double as import dialog. |
1507 |
|
|
1511 |
* tools/formed/formed/config.py: Add the two new filters to the filters |
* tools/formed/formed/config.py: Add the two new filters to the filters |
1512 |
list. |
list. |
1513 |
|
|
1514 |
2007-10-11 Sascha L. Teichmann <[email protected]> |
2007-10-11 Sascha L. Teichmann <[email protected]> |
1515 |
|
|
1516 |
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
1517 |
Removed pickle/unpickle stuff. |
Removed pickle/unpickle stuff. |
1521 |
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
1522 |
not converted to int indices. |
not converted to int indices. |
1523 |
|
|
1524 |
2007-09-11 Sascha L. Teichmann <[email protected]> |
2007-09-11 Sascha L. Teichmann <[email protected]> |
1525 |
|
|
1526 |
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
1527 |
with pickle/unpickle. |
with pickle/unpickle. |
1528 |
|
|
1529 |
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
1530 |
Set to a file name it is tried to unpickle a MemoryDataStore from |
Set to a file name it is tried to unpickle a MemoryDataStore from |
1531 |
that file. When exiting the program this file is used to store the |
that file. When exiting the program this file is used to store the |
1532 |
current MemoryDataStore state. The storing only works if you exit |
current MemoryDataStore state. The storing only works if you exit |
1533 |
the program through the Menu File->Exit. |
the program through the Menu File->Exit. |
1534 |
usage: FORMED=persistent:test.db ./formed.sh |
usage: FORMED=persistent:test.db ./formed.sh |
1535 |
|
|
1536 |
2007-09-11 Torsten Irlaender <[email protected]> |
2007-09-11 Torsten Irlaender <[email protected]> |
1537 |
|
|
1538 |
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
1539 |
application on the welcome page from "Formed" to "WASKA" |
application on the welcome page from "Formed" to "WASKA" |
1540 |
|
|
1541 |
2007-09-11 Torsten Irlaender <[email protected]> |
2007-09-11 Torsten Irlaender <[email protected]> |
1542 |
|
|
1543 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
1544 |
* tools/formed/formed/plugins/web/controllers.py, |
* tools/formed/formed/plugins/web/controllers.py, |
1545 |
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
1546 |
The infopage provides information on all project participants. |
The infopage provides information on all project participants. |
1547 |
|
|
1548 |
2007-09-11 Sascha L. Teichmann <[email protected]> |
2007-09-11 Sascha L. Teichmann <[email protected]> |
1549 |
|
|
1550 |
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
1551 |
issues with error messages (once again). |
issues with error messages (once again). |
1552 |
|
|
1553 |
2007-09-11 Torsten Irlaender <[email protected]> |
2007-09-11 Torsten Irlaender <[email protected]> |
1554 |
|
|
1555 |
* tools/formed/formed/plugins/web/form_renderer.py, |
* tools/formed/formed/plugins/web/form_renderer.py, |
1556 |
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
1557 |
icons in error and confirmation dialogs. |
icons in error and confirmation dialogs. |
1558 |
|
|
1559 |
2007-09-11 Sascha L. Teichmann <[email protected]> |
2007-09-11 Sascha L. Teichmann <[email protected]> |
1560 |
|
|
1561 |
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
1562 |
generation for ints, texts and textareas. Fixed h depths of infos. |
generation for ints, texts and textareas. Fixed h depths of infos. |
1563 |
|
|
1564 |
2007-09-11 Sascha L. Teichmann <[email protected]> |
2007-09-11 Sascha L. Teichmann <[email protected]> |
1565 |
|
|
1566 |
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
1567 |
debug output for help. |
debug output for help. |
1572 |
* tools/formed/formed/plugins/web/controllers.py: Added correct |
* tools/formed/formed/plugins/web/controllers.py: Added correct |
1573 |
HTML output of data for bools. |
HTML output of data for bools. |
1574 |
|
|
1575 |
2007-09-11 Torsten Irlaender <[email protected]> |
2007-09-11 Torsten Irlaender <[email protected]> |
1576 |
|
|
1577 |
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
1578 |
textfields for int values. Changed Label for submitbuttons to |
textfields for int values. Changed Label for submitbuttons to |
1589 |
dynamically depending on num errors. Formular navigation has now |
dynamically depending on num errors. Formular navigation has now |
1590 |
colored indication for errors. |
colored indication for errors. |
1591 |
|
|
1592 |
2007-09-11 Torsten Irlaender <[email protected]> |
2007-09-11 Torsten Irlaender <[email protected]> |
1593 |
|
|
1594 |
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
1595 |
algorithm for the formular navigation to get rid of the problem |
algorithm for the formular navigation to get rid of the problem |
1597 |
structural group elements are linked with the next page found in the |
structural group elements are linked with the next page found in the |
1598 |
formular structure. |
formular structure. |
1599 |
|
|
1600 |
2007-09-10 Torsten Irlaender <[email protected]> |
2007-09-10 Torsten Irlaender <[email protected]> |
1601 |
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
1602 |
div and formtag. |
div and formtag. |
1603 |
|
|
1609 |
overview and the digest table of the datasets. Added icon for |
overview and the digest table of the datasets. Added icon for |
1610 |
confirmation dialog, moved the icon in the <h1> tags. |
confirmation dialog, moved the icon in the <h1> tags. |
1611 |
|
|
1612 |
2007-09-10 Torsten Irlaender <[email protected]> |
2007-09-10 Torsten Irlaender <[email protected]> |
1613 |
|
|
1614 |
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
1615 |
generation cleanup. Added error icons to formelements |
generation cleanup. Added error icons to formelements |
1623 |
Links in confimation dialogs are now rendered as buttons. Removed |
Links in confimation dialogs are now rendered as buttons. Removed |
1624 |
old obsolete OverviewRenderer. |
old obsolete OverviewRenderer. |
1625 |
|
|
1626 |
2007-09-10 Sascha L. Teichmann <[email protected]> |
2007-09-10 Sascha L. Teichmann <[email protected]> |
1627 |
|
|
1628 |
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
1629 |
page in page navigation. |
page in page navigation. |
1630 |
|
|
1631 |
2007-09-10 Torsten Irlaender <[email protected]> |
2007-09-10 Torsten Irlaender <[email protected]> |
1632 |
|
|
1633 |
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
1634 |
displaying formdata when changing datasets. Loading the right |
displaying formdata when changing datasets. Loading the right |
1639 |
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
1640 |
now uses the correct data out of the formdata. |
now uses the correct data out of the formdata. |
1641 |
|
|
1642 |
2007-09-10 Sascha L. Teichmann <[email protected]> |
2007-09-10 Sascha L. Teichmann <[email protected]> |
1643 |
|
|
1644 |
* tools/formed/formed/plugins/web/controllers.py: Pretty |
* tools/formed/formed/plugins/web/controllers.py: Pretty |
1645 |
print format data (dates e.g) |
print format data (dates e.g) |
1646 |
|
|
1647 |
2007-09-10 Sascha L. Teichmann <[email protected]> |
2007-09-10 Sascha L. Teichmann <[email protected]> |
1648 |
|
|
1649 |
* tools/formed/formed/plugins/web/controllers.py: Modified |
* tools/formed/formed/plugins/web/controllers.py: Modified |
1650 |
ErrorStats a bit to avoid mysterious extra error on page. |
ErrorStats a bit to avoid mysterious extra error on page. |
1651 |
No clue why this works. |
No clue why this works. |
1652 |
|
|
1653 |
2007-09-10 Sascha L. Teichmann <[email protected]> |
2007-09-10 Sascha L. Teichmann <[email protected]> |
1654 |
|
|
1655 |
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
1656 |
problem with radio groups, too. |
problem with radio groups, too. |
1657 |
|
|
1658 |
2007-09-10 Torsten Irlaender <[email protected]> |
2007-09-10 Torsten Irlaender <[email protected]> |
1659 |
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
1660 |
really removed when deleting a dataset. |
really removed when deleting a dataset. |
1661 |
|
|
1662 |
2007-09-10 Torsten Irlaender <[email protected]> |
2007-09-10 Torsten Irlaender <[email protected]> |
1663 |
|
|
1664 |
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
1665 |
ErrorStats which provides Information on remaining errors per page. |
ErrorStats which provides Information on remaining errors per page. |
1670 |
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
1671 |
handlers |
handlers |
1672 |
|
|
1673 |
2007-09-10 Sascha L. Teichmann <[email protected]> |
2007-09-10 Sascha L. Teichmann <[email protected]> |
1674 |
|
|
1675 |
* tools/formed/formed/plugins/web/form_renderer.py: values for |
* tools/formed/formed/plugins/web/form_renderer.py: values for |
1676 |
choices are generated from the document tree now. This brings |
choices are generated from the document tree now. This brings |
1677 |
the state storage of select boxes in HTML to live. |
the state storage of select boxes in HTML to live. |
1678 |
|
|
1679 |
2007-09-09 Sascha L. Teichmann <[email protected]> |
2007-09-09 Sascha L. Teichmann <[email protected]> |
1680 |
|
|
1681 |
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
1682 |
range checking of integers. |
range checking of integers. |
1684 |
* tools/formed/formed/plugins/web/controllers.py: Added class |
* tools/formed/formed/plugins/web/controllers.py: Added class |
1685 |
ErrorItem to track errors. They are stored in the session. |
ErrorItem to track errors. They are stored in the session. |
1686 |
|
|
1687 |
2007-09-09 Sascha L. Teichmann <[email protected]> |
2007-09-09 Sascha L. Teichmann <[email protected]> |
1688 |
|
|
1689 |
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
1690 |
wrong index in Document.indexOfcomponentByClassAndName. |
wrong index in Document.indexOfcomponentByClassAndName. |
1694 |
|
|
1695 |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
1696 |
|
|
1697 |
2007-09-09 Sascha L. Teichmann <[email protected]> |
2007-09-09 Sascha L. Teichmann <[email protected]> |
1698 |
|
|
1699 |
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
1700 |
method. Could be cheaper for some implementations of help. |
method. Could be cheaper for some implementations of help. |
1701 |
|
|
1702 |
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
1703 |
FormData to have distinct getData(), getHelp() and getError() |
FormData to have distinct getData(), getHelp() and getError() |
1704 |
methods. Various bug fixes. |
methods. Various bug fixes. |
1705 |
|
|
1706 |
* tools/formed/formed/plugins/web/controllers.py: Implements the |
* tools/formed/formed/plugins/web/controllers.py: Implements the |
1707 |
new FormData (trivial by now). |
new FormData (trivial by now). |
1709 |
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
1710 |
some bug fixes. |
some bug fixes. |
1711 |
|
|
1712 |
2007-09-09 Sascha L. Teichmann <[email protected]> |
2007-09-09 Sascha L. Teichmann <[email protected]> |
1713 |
|
|
1714 |
* tools/formed/formed/model/memory.py, |
* tools/formed/formed/model/memory.py, |
1715 |
tools/formed/formed/model/persistent.py: Add a getValue() method |
tools/formed/formed/model/persistent.py: Add a getValue() method |
1716 |
to dataset abstraction. This is a bit of a workaround to bring |
to dataset abstraction. This is a bit of a workaround to bring |
1717 |
global access across pages for rule checking to work. |
global access across pages for rule checking to work. |
1718 |
|
|
1719 |
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
1720 |
the compiled version was not stored in the RuleLeaf. |
the compiled version was not stored in the RuleLeaf. |
1724 |
|
|
1725 |
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
1726 |
valid data is stored to the dataset immediately now. Fixed a bug |
valid data is stored to the dataset immediately now. Fixed a bug |
1727 |
with integer handler. |
with integer handler. |
1728 |
|
|
1729 |
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
1730 |
stuff. When a submit is done extract the rules from the tree document |
stuff. When a submit is done extract the rules from the tree document |
1731 |
that are effected by the modified variables and check them. |
that are effected by the modified variables and check them. |
1732 |
|
|
1733 |
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
1734 |
when dealing with templates. |
when dealing with templates. |
1735 |
|
|
1736 |
2007-09-07 Torsten Irlaender <[email protected]> |
2007-09-07 Torsten Irlaender <[email protected]> |
1737 |
* tools/formed/formed/plugins/web/controllers.py, |
* tools/formed/formed/plugins/web/controllers.py, |
1738 |
tools/formed/formed/plugins/web/renderer.py: Moved more render |
tools/formed/formed/plugins/web/renderer.py: Moved more render |
1739 |
functions into renderer.py. New render classes are: |
functions into renderer.py. New render classes are: |
1743 |
Note: The new methods are only called from selected handlers. Other |
Note: The new methods are only called from selected handlers. Other |
1744 |
handlers call the renderes in the old way. |
handlers call the renderes in the old way. |
1745 |
|
|
1746 |
2007-09-07 Torsten Irlaender <[email protected]> |
2007-09-07 Torsten Irlaender <[email protected]> |
1747 |
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
1748 |
renderer.py to form_renderer.py. This file will contain formular |
renderer.py to form_renderer.py. This file will contain formular |
1749 |
specfic render methods in the future. |
specfic render methods in the future. |
1753 |
rendering into renderer.py or form_renderer.py. This file will only |
rendering into renderer.py or form_renderer.py. This file will only |
1754 |
contain teh handlers in the future. |
contain teh handlers in the future. |
1755 |
|
|
1756 |
2007-09-07 Torsten Irlaender <[email protected]> |
2007-09-07 Torsten Irlaender <[email protected]> |
1757 |
* tools/formed/formed/plugins/web/renderer.py, |
* tools/formed/formed/plugins/web/renderer.py, |
1758 |
tools/formed/formed/plugins/web/controller.py: |
tools/formed/formed/plugins/web/controller.py: |
1759 |
Renderes now get an instance of the formdata object to provide |
Renderes now get an instance of the formdata object to provide |
1760 |
access the data needed to render various infoboxes etc. Handler |
access the data needed to render various infoboxes etc. Handler |
1761 |
instanciate the formdata. |
instanciate the formdata. |
1762 |
|
|
1763 |
2007-09-06 Torsten Irlaender <[email protected]> |
2007-09-06 Torsten Irlaender <[email protected]> |
1764 |
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
1765 |
getFormData interface to work. Added two small semantic fixes, but |
getFormData interface to work. Added two small semantic fixes, but |
1766 |
did not manage to get it up. Need to exime this a little bit more |
did not manage to get it up. Need to exime this a little bit more |
1768 |
around the menus on the right side to be able to assign different |
around the menus on the right side to be able to assign different |
1769 |
styles. Added dataset actions while editing a dataset. |
styles. Added dataset actions while editing a dataset. |
1770 |
|
|
1771 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
1772 |
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
1773 |
removing unwanted del method |
removing unwanted del method |
1774 |
* tools/formed/formed/plugins/web/controllers.py: Implemented |
* tools/formed/formed/plugins/web/controllers.py: Implemented |
1775 |
confiration dialogs for create, delete, and select aof datasets. Started to use |
confiration dialogs for create, delete, and select aof datasets. Started to use |
1776 |
templates as well for larger information units like the dataset summary. |
templates as well for larger information units like the dataset summary. |
1777 |
|
|
1778 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
1779 |
|
|
1780 |
* tools/formed/formed/model/nodecomponents.py: Added a |
* tools/formed/formed/model/nodecomponents.py: Added a |
1781 |
method to document to find index of page. |
method to document to find index of page. |
1786 |
* tools/formed/formed/plugins/web/controllers.py: Added new |
* tools/formed/formed/plugins/web/controllers.py: Added new |
1787 |
FormData implementation to support DB and semantic box. |
FormData implementation to support DB and semantic box. |
1788 |
|
|
1789 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
1790 |
|
|
1791 |
* tools/formed/formed/plugins/web/renderer.py: escaped |
* tools/formed/formed/plugins/web/renderer.py: escaped |
1792 |
error message. |
error message. |
1794 |
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
1795 |
dataset from backend each time a page is up to edit. |
dataset from backend each time a page is up to edit. |
1796 |
|
|
1797 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
1798 |
|
|
1799 |
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
1800 |
returns "Page not found" if given page is None. |
returns "Page not found" if given page is None. |
1802 |
* tools/formed/formed/plugins/web/controllers.py: Added checks |
* tools/formed/formed/plugins/web/controllers.py: Added checks |
1803 |
to avoid crashing when ask for a non-existent page. |
to avoid crashing when ask for a non-existent page. |
1804 |
|
|
1805 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
1806 |
|
|
1807 |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
1808 |
|
|
1809 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
1810 |
|
|
1811 |
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
1812 |
and renderers. |
and renderers. |
1814 |
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
1815 |
and renderers now. TODO: Move renderers to renderer.py |
and renderers now. TODO: Move renderers to renderer.py |
1816 |
|
|
1817 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
1818 |
|
|
1819 |
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
1820 |
and bound in the the new added functions to create, edit, delete and |
and bound in the the new added functions to create, edit, delete and |
1821 |
show formdata. |
show formdata. |
1822 |
|
|
1823 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
1824 |
|
|
1825 |
* tools/formed/formed/model/memory.py: Removed bisect and use a |
* tools/formed/formed/model/memory.py: Removed bisect and use a |
1826 |
simple linear scan for dataset lookup now. |
simple linear scan for dataset lookup now. |
1828 |
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
1829 |
of different sizes. |
of different sizes. |
1830 |
|
|
1831 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
1832 |
|
|
1833 |
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
1834 |
fuction |
fuction |
1835 |
|
|
1836 |
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
1837 |
to the DataSet interface |
to the DataSet interface |
1838 |
|
|
1839 |
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
1840 |
renderes for create, update, delete and show actions on formular data. |
renderes for create, update, delete and show actions on formular data. |
1841 |
|
|
1842 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
1843 |
|
|
1844 |
* tools/formed/formed/plugins/web/server.py: The mapping |
* tools/formed/formed/plugins/web/server.py: The mapping |
1845 |
to methods is now driven by regualar expressions and |
to methods is now driven by regualar expressions and |
1846 |
a dictionary. Response objects are now able to send |
a dictionary. Response objects are now able to send |
1847 |
error codes. |
error codes. |
1848 |
|
|
1849 |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
1850 |
when help in Formdata is None. Moved text for help into |
when help in Formdata is None. Moved text for help into |
1851 |
a top level '''...''' variable. |
a top level '''...''' variable. |
1852 |
|
|
1853 |
* tools/formed/test-data/simple.xml: Added test for help. |
* tools/formed/test-data/simple.xml: Added test for help. |
1854 |
|
|
1856 |
|
|
1857 |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
1858 |
table driven mapping of reguest handling. TODO: split the |
table driven mapping of reguest handling. TODO: split the |
1859 |
WebPlugIn.pageHandler() method further to smaller handlers. |
WebPlugIn.pageHandler() method further to smaller handlers. |
1860 |
Smaller clean ups and better exception handling. |
Smaller clean ups and better exception handling. |
1861 |
|
|
1862 |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
1863 |
and do not catch them. |
and do not catch them. |
1864 |
|
|
1865 |
2007-09-04 Torsten Irlaender <[email protected]> |
2007-09-04 Torsten Irlaender <[email protected]> |
1866 |
|
|
1867 |
* tools/formed/formed/plugins/web/renderer.py, |
* tools/formed/formed/plugins/web/renderer.py, |
1868 |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
1871 |
within a <div> tag. |
within a <div> tag. |
1872 |
Modified the error messages. |
Modified the error messages. |
1873 |
|
|
1874 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
1875 |
|
|
1876 |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
1877 |
the server-side caching more clean. Fixes a bug with |
the server-side caching more clean. Fixes a bug with |
1878 |
serving static content. |
serving static content. |
1879 |
|
|
1880 |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
1881 |
|
|
1882 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
1883 |
|
|
1884 |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
1885 |
to "application/xhtml+xml" when serving help texts. |
to "application/xhtml+xml" when serving help texts. |
1886 |
|
|
1887 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
1888 |
|
|
1889 |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
1890 |
pairwise differences between all modes. |
pairwise differences between all modes. |
1891 |
|
|
1892 |
* tools/formed/formed/config.py: Use new export filter. |
* tools/formed/formed/config.py: Use new export filter. |
1893 |
|
|
1894 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
1895 |
|
|
1896 |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
1897 |
XHTML document for id'ed divs and builds a help lookup. |
XHTML document for id'ed divs and builds a help lookup. |
1905 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
1906 |
texts now. |
texts now. |
1907 |
|
|
1908 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
1909 |
|
|
1910 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
1911 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
1912 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
1913 |
attributes. |
attributes. |
1914 |
|
|
1915 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
1916 |
|
|
1917 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
1918 |
errors in template |
errors in template |
1919 |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
1920 |
pageerrors variable |
pageerrors variable |
1921 |
|
|
1922 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
1923 |
|
|
1924 |
* tools/formed/formed/plugins/export/html.py |
* tools/formed/formed/plugins/export/html.py |
1925 |
(RecursiveExporter): Added annotation to export |
(RecursiveExporter): Added annotation to export |
1926 |
(fillRow()): Renamed old fillNine to this more generic name. |
(fillRow()): Renamed old fillNine to this more generic name. |
1927 |
|
|
1928 |
|
|
1929 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
1930 |
|
|
1931 |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
1932 |
from model.misc now. |
from model.misc now. |
1933 |
|
|
1934 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
1935 |
|
|
1936 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
1937 |
'annotation' attribute to node components. This is to |
'annotation' attribute to node components. This is to |
1938 |
enable FormEd document authors to add comments to groups |
enable FormEd document authors to add comments to groups |
1939 |
and fields. |
and fields. |
1940 |
|
|
1941 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
1942 |
|
|
1943 |
* tools/formed/formed/model/nodecomponents.py |
* tools/formed/formed/model/nodecomponents.py |
1944 |
(NodeComponent.getParent): New method to get node components parent. |
(NodeComponent.getParent): New method to get node components parent. |
1946 |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
1947 |
as simple list instead of collection of bools. |
as simple list instead of collection of bools. |
1948 |
|
|
1949 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1950 |
|
|
1951 |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
1952 |
from persistent storage details. |
from persistent storage details. |
1956 |
|
|
1957 |
* tools/formed/formed/main.py: Holds a memory data store now. |
* tools/formed/formed/main.py: Holds a memory data store now. |
1958 |
|
|
1959 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1960 |
|
|
1961 |
* tools/formed/formed/plugins/export/sql.py, |
* tools/formed/formed/plugins/export/sql.py, |
1962 |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
1963 |
for FileDialogFilter sub classes. |
for FileDialogFilter sub classes. |
1964 |
|
|
1965 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1966 |
|
|
1967 |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
1968 |
tree traversals is a common task. To ease this a decorator function |
tree traversals is a common task. To ease this a decorator function |
1969 |
checkMode in union with sub classing ModeChecker can be used. |
checkMode in union with sub classing ModeChecker can be used. |
1970 |
To make it work simply subclass from ModeChecker and add the decorator |
To make it work simply subclass from ModeChecker and add the decorator |
1971 |
to the methods that need mode tracking. Before you start the recursion |
to the methods that need mode tracking. Before you start the recursion |
1972 |
call self.prepareDescent(). |
call self.prepareDescent(). |
1973 |
|
|
1974 |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
1975 |
now which replace the old. TODO: Make the web renderer use the new scheme |
now which replace the old. TODO: Make the web renderer use the new scheme |
1976 |
too. |
too. |
1977 |
|
|
1978 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1979 |
|
|
1980 |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
1981 |
|
|
1982 |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
1983 |
uses new FileDialogFilter base class too. |
uses new FileDialogFilter base class too. |
1984 |
|
|
1985 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1986 |
|
|
1987 |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
1988 |
need a file dialog. Till now each of them pulled up its |
need a file dialog. Till now each of them pulled up its |
1989 |
own. This was silly code replication. Now there is an abstract |
own. This was silly code replication. Now there is an abstract |
1990 |
base class 'FileDialogFilter' which implements the common |
base class 'FileDialogFilter' which implements the common |
1991 |
behavior. The file exporters should subclass it. |
behavior. The file exporters should subclass it. |
1992 |
|
|
1993 |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
1994 |
exporters from the new base class. TODO: Subclass the HTML |
exporters from the new base class. TODO: Subclass the HTML |
1995 |
exporter too. |
exporter too. |
1996 |
|
|
1997 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
1998 |
|
|
1999 |
* tools/formed/formed/plugins/export/html.py: Make mode check |
* tools/formed/formed/plugins/export/html.py: Make mode check |
2000 |
work (again). |
work (again). |
2001 |
|
|
2002 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
2003 |
|
|
2004 |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
2005 |
exprt works now in a recursive way. This change was needed because |
exprt works now in a recursive way. This change was needed because |
2007 |
full hirachically document stuctures. (nested lists) |
full hirachically document stuctures. (nested lists) |
2008 |
TODO: Fix modechecking |
TODO: Fix modechecking |
2009 |
|
|
2010 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
2011 |
|
|
2012 |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
2013 |
now in recursive way. This change was needed because the structure |
now in recursive way. This change was needed because the structure |
2014 |
of the formedtree has changed to be able to render full hirachically |
of the formedtree has changed to be able to render full hirachically |
2015 |
document stuctures. (nested lists) |
document stuctures. (nested lists) |
2016 |
|
|
2017 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2018 |
|
|
2019 |
* tools/formed/formed/model/nodecomponents.py: use discard() |
* tools/formed/formed/model/nodecomponents.py: use discard() |
2020 |
instead of remove on sets. |
instead of remove on sets. |
2025 |
* tools/formed/formed/config.py: Added the new exporter |
* tools/formed/formed/config.py: Added the new exporter |
2026 |
to the list of export filters. |
to the list of export filters. |
2027 |
|
|
2028 |
2007-08-30 Sascha L. Teichmann <[email protected]> |
2007-08-30 Sascha L. Teichmann <[email protected]> |
2029 |
|
|
2030 |
* tools/formed/formed/model/data.py: Fixed a bug in |
* tools/formed/formed/model/data.py: Fixed a bug in |
2031 |
Page.allWidgets() |
Page.allWidgets() |
2035 |
|
|
2036 |
* tools/formed/formed/config.py: Add the new SP exporter. |
* tools/formed/formed/config.py: Add the new SP exporter. |
2037 |
|
|
2038 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
2039 |
|
|
2040 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
2041 |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
2042 |
to get the errors for a whole page in te formular. These errors can |
to get the errors for a whole page in te formular. These errors can |
2043 |
now be displayed on the top of the formular. |
now be displayed on the top of the formular. |
2044 |
|
|
2045 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
2046 |
|
|
2047 |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
2048 |
of the getFromData interface and prepared the rederer for generating |
of the getFromData interface and prepared the rederer for generating |
2049 |
nice error messages |
nice error messages |
2050 |
|
|
2051 |
2007-08-28 Frank Koormann <[email protected]> |
2007-08-28 Frank Koormann <[email protected]> |
2052 |
|
|
2053 |
* tools/formed/formed/plugins/export/sql.py |
* tools/formed/formed/plugins/export/sql.py |
2054 |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
2055 |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
2056 |
|
|
2057 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
2058 |
|
|
2059 |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
2060 |
function to generated valid quotes within the sql statements |
function to generated valid quotes within the sql statements |
2061 |
|
|
2062 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2063 |
|
|
2064 |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
2065 |
for repeat tables. |
for repeat tables. |
2066 |
|
|
2067 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2068 |
|
|
2069 |
* tools/formed/formed/plugins/export/sql.py: When generating |
* tools/formed/formed/plugins/export/sql.py: When generating |
2070 |
an extra table check in a table of same content exists. In |
an extra table check in a table of same content exists. In |
2071 |
this case reference the existing table. |
this case reference the existing table. |
2072 |
|
|
2073 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2074 |
|
|
2075 |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
2076 |
_real_ SQL and respect repeat groups. |
_real_ SQL and respect repeat groups. |
2080 |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
2081 |
instead of expensive += string concat in some places. |
instead of expensive += string concat in some places. |
2082 |
|
|
2083 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2084 |
|
|
2085 |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
2086 |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
2087 |
|
|
2088 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
2089 |
|
|
2090 |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
2091 |
* tools/formed/model/data.py: Implements Formadata interface to |
* tools/formed/model/data.py: Implements Formadata interface to |
2093 |
attribute of the groupnode. Field-label generation slightly changed. |
attribute of the groupnode. Field-label generation slightly changed. |
2094 |
Added error indication to textfields |
Added error indication to textfields |
2095 |
|
|
2096 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2097 |
|
|
2098 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2099 |
tools/formed/formed/io/document.py: Removed support |
tools/formed/formed/io/document.py: Removed support |
2100 |
of logical groups. |
of logical groups. |
2101 |
|
|
2102 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2103 |
|
|
2104 |
* tools/formed/formed/io/document.py: Avoid saving empty |
* tools/formed/formed/io/document.py: Avoid saving empty |
2105 |
attributes. |
attributes. |
2106 |
|
|
2107 |
* tools/formed/test-data/simple.xml: Applied. |
* tools/formed/test-data/simple.xml: Applied. |
2108 |
|
|
2109 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2110 |
|
|
2111 |
* tools/formed/formed/model/data.py: Added 'repeat' and |
* tools/formed/formed/model/data.py: Added 'repeat' and |
2112 |
'invisible' attributes to group. TODO: remove logical group. |
'invisible' attributes to group. TODO: remove logical group. |
2113 |
|
|
2114 |
2007-08-27 Torsten Irlaender <[email protected]> |
2007-08-27 Torsten Irlaender <[email protected]> |
2115 |
|
|
2116 |
* tools/formed/plugins/web/plugin.py, |
* tools/formed/plugins/web/plugin.py, |
2117 |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
2118 |
depending tags in the html generation. |
depending tags in the html generation. |
2119 |
|
|
2120 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2121 |
|
|
2122 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2123 |
tools/formed/formed/io/document.py: Added a logical group. |
tools/formed/formed/io/document.py: Added a logical group. |
2124 |
It has an attribute 'repeat' to indicate that it might |
It has an attribute 'repeat' to indicate that it might |
2125 |
be worthy an external table in DB schema. |
be worthy an external table in DB schema. |
2126 |
|
|
2127 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2128 |
|
|
2129 |
* tools/formed/formed/plugins/web/plugin.py: Support |
* tools/formed/formed/plugins/web/plugin.py: Support |
2130 |
serving of static content. |
serving of static content. |
2132 |
* tools/formed/formed/plugins/web/server.py: Removed |
* tools/formed/formed/plugins/web/server.py: Removed |
2133 |
old send code. |
old send code. |
2134 |
|
|
2135 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2136 |
|
|
2137 |
* tools/formed/formed/plugins/web/plugin.py: Use new |
* tools/formed/formed/plugins/web/plugin.py: Use new |
2138 |
Response object. Fix typo. |
Response object. Fix typo. |
2140 |
* tools/formed/formed/plugins/web/server.py: support |
* tools/formed/formed/plugins/web/server.py: support |
2141 |
response object to serve different MIME types. |
response object to serve different MIME types. |
2142 |
|
|
2143 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2144 |
|
|
2145 |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
2146 |
to FORMED environment variable to specify the |
to FORMED environment variable to specify the |
2147 |
root of the static content. |
root of the static content. |
2148 |
|
|
2149 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2150 |
|
|
2151 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2152 |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
2153 |
|
|
2154 |
* tools/formed/formed/plugins/web/www, |
* tools/formed/formed/plugins/web/www, |
2155 |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
2156 |
a template for the HTML output. |
a template for the HTML output. |
2157 |
|
|
2158 |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
2159 |
mode issues. Introduces CSS support. Simplified the action |
mode issues. Introduces CSS support. Simplified the action |
2160 |
handling. |
handling. |
2161 |
|
|
2162 |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
2163 |
nagivation code. |
nagivation code. |
2164 |
|
|
2165 |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
2166 |
|
|
2167 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2168 |
|
|
2169 |
* tools/formed/formed/model/data.py: Added missing broadcast |
* tools/formed/formed/model/data.py: Added missing broadcast |
2170 |
parameter to setAttribute() of RuleLeaf. |
parameter to setAttribute() of RuleLeaf. |
2178 |
* tools/formed/formed/plugins/web/server.py: New. Contains |
* tools/formed/formed/plugins/web/server.py: New. Contains |
2179 |
the HTTP server code now. |
the HTTP server code now. |
2180 |
|
|
2181 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2182 |
|
|
2183 |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
2184 |
|
|
2185 |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
2186 |
expression evaluator. To avoid the problem of eval()ing |
expression evaluator. To avoid the problem of eval()ing |
2187 |
arbitrary python expressions I've decided to use a very |
arbitrary python expressions I've decided to use a very |
2188 |
basic and limited stack machine to support rule checking. |
basic and limited stack machine to support rule checking. |
2189 |
|
|
2190 |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
2191 |
|
|
2193 |
|
|
2194 |
* tools/formed/formed/model/nodecomponents.py: Add a method |
* tools/formed/formed/model/nodecomponents.py: Add a method |
2195 |
to find all items of a given type in document for a given |
to find all items of a given type in document for a given |
2196 |
mode. Usefull to find all rules in the tree. |
mode. Usefull to find all rules in the tree. |
2197 |
|
|
2198 |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
2199 |
to attribute table to report exceptions when setting a value |
to attribute table to report exceptions when setting a value |
2200 |
from GUI. Useful to report compilation errors when setting |
from GUI. Useful to report compilation errors when setting |
2201 |
expr of rule leafs. |
expr of rule leafs. |
2202 |
|
|
2203 |
* tools/formed/formed/main.py: Added a method to track exceptions |
* tools/formed/formed/main.py: Added a method to track exceptions |
2204 |
from the attribute table and pop up dialogs if they occur. |
from the attribute table and pop up dialogs if they occur. |
2205 |
Added a counter of rule modifications in tree. Useful if you |
Added a counter of rule modifications in tree. Useful if you |
2206 |
want build cached data structures like rule sets and you want |
want build cached data structures like rule sets and you want |
2207 |
to know if they are still valid. |
to know if they are still valid. |
2208 |
|
|
2209 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
2210 |
|
|
2211 |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
2212 |
for checkbox values. (Syntax error). |
for checkbox values. (Syntax error). |
2214 |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
2215 |
generation |
generation |
2216 |
|
|
2217 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
2218 |
|
|
2219 |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
2220 |
making the formularnames more database friendly. Added some more |
making the formularnames more database friendly. Added some more |
2222 |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
2223 |
separated class, and some fixes in sql generation. |
separated class, and some fixes in sql generation. |
2224 |
|
|
2225 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2226 |
|
|
2227 |
* tools/formed/formed/plugins/export/html.py: Print lengths |
* tools/formed/formed/plugins/export/html.py: Print lengths |
2228 |
of external choice list. |
of external choice list. |
2229 |
|
|
2230 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2231 |
|
|
2232 |
* tools/formed/formed/main.py: Little workaround for |
* tools/formed/formed/main.py: Little workaround for |
2233 |
mode selection if someone adds an removes a mode. |
mode selection if someone adds an removes a mode. |
2234 |
|
|
2235 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2236 |
|
|
2237 |
* tools/formed/test-data/simple.xml: Better test case for |
* tools/formed/test-data/simple.xml: Better test case for |
2238 |
mode depended leaf items. |
mode depended leaf items. |
2242 |
|
|
2243 |
* tools/formed/formed/plugins/export/html.py: Use effective |
* tools/formed/formed/plugins/export/html.py: Use effective |
2244 |
mode. TODO: the 'all' modus return false results sometimes. |
mode. TODO: the 'all' modus return false results sometimes. |
2245 |
Cause: The modes are only cumulated over time. Removal is |
Cause: The modes are only cumulated over time. Removal is |
2246 |
not done. |
not done. |
2247 |
|
|
2248 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2249 |
|
|
2250 |
* tools/formed/formed/plugins/export/html.py: Dump the items |
* tools/formed/formed/plugins/export/html.py: Dump the items |
2251 |
of radio groups and choices too. |
of radio groups and choices too. |
2252 |
|
|
2253 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
2254 |
|
|
2255 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
2256 |
by formular names to make the naming more database friendly. |
by formular names to make the naming more database friendly. |
2257 |
Now only alphanumeric and underscore chars is allowed. |
Now only alphanumeric and underscore chars is allowed. |
2258 |
|
|
2259 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2260 |
|
|
2261 |
* tools/formed/formed/plugins/export/html.py: Tweaked |
* tools/formed/formed/plugins/export/html.py: Tweaked |
2262 |
HTML table exporter a bit to be on par with the XSLT |
HTML table exporter a bit to be on par with the XSLT |
2263 |
script. TODO: Dump items in radio and choice groups. |
script. TODO: Dump items in radio and choice groups. |
2264 |
|
|
2265 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2266 |
|
|
2267 |
* tools/formed/formed/plugins/names/filter.py: Removed |
* tools/formed/formed/plugins/names/filter.py: Removed |
2268 |
HTML and SQL exporters. |
HTML and SQL exporters. |
2271 |
tools/formed/formed/plugins/export/__init__.py, |
tools/formed/formed/plugins/export/__init__.py, |
2272 |
tools/formed/formed/plugins/export/sql.py, |
tools/formed/formed/plugins/export/sql.py, |
2273 |
tools/formed/formed/plugins/export/html.py: New: Contain |
tools/formed/formed/plugins/export/html.py: New: Contain |
2274 |
the HTML and the SQL exporters now. |
the HTML and the SQL exporters now. |
2275 |
|
|
2276 |
* tools/formed/formed/config.py: Use exporters from different |
* tools/formed/formed/config.py: Use exporters from different |
2277 |
package now. |
package now. |
2278 |
|
|
2279 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
2280 |
|
|
2281 |
* tools/formed/formed/plugins/names/filter.py: Added an |
* tools/formed/formed/plugins/names/filter.py: Added an |
2282 |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
2285 |
|
|
2286 |
* tools/formed/formed/config.py: Install the new SQL filter. |
* tools/formed/formed/config.py: Install the new SQL filter. |
2287 |
|
|
2288 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2289 |
|
|
2290 |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
2291 |
method to determine the depth of particular tree item. |
method to determine the depth of particular tree item. |
2295 |
|
|
2296 |
* tools/formed/formed/config.py: Install the new HTML filter. |
* tools/formed/formed/config.py: Install the new HTML filter. |
2297 |
|
|
2298 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
2299 |
|
|
2300 |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
2301 |
to extract fields and options in the XFA Data in teh PDF. This |
to extract fields and options in the XFA Data in teh PDF. This |
2302 |
script might me handy to indicate changes between the different |
script might me handy to indicate changes between the different |
2303 |
formular versions. |
formular versions. |
2304 |
|
|
2305 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2306 |
|
|
2307 |
* tools/formed/formed/main.py: Add an 'all' mode to |
* tools/formed/formed/main.py: Add an 'all' mode to |
2308 |
select all modes. ;-) |
select all modes. ;-) |
2309 |
|
|
2310 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2311 |
|
|
2312 |
* tools/formed/test-data/simple.xml, |
* tools/formed/test-data/simple.xml, |
2313 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
2317 |
tools/formed/formed/main.py: Removed support for switch nodes. |
tools/formed/formed/main.py: Removed support for switch nodes. |
2318 |
BEWARE: This breaks compatibility with older documents! |
BEWARE: This breaks compatibility with older documents! |
2319 |
|
|
2320 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2321 |
|
|
2322 |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
2323 |
getSelectedMode() from main now. |
getSelectedMode() from main now. |
2328 |
* tools/formed/formed/config.py: removed selected mode from |
* tools/formed/formed/config.py: removed selected mode from |
2329 |
env configuration. |
env configuration. |
2330 |
|
|
2331 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2332 |
|
|
2333 |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
2334 |
table are now alphabetically sorted. |
table are now alphabetically sorted. |
2335 |
|
|
2336 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2337 |
|
|
2338 |
* tools/formed/formed/model/nodecomponents.py: Added code to |
* tools/formed/formed/model/nodecomponents.py: Added code to |
2339 |
establish the new 'modes' recursively. |
establish the new 'modes' recursively. |
2349 |
|
|
2350 |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
2351 |
|
|
2352 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2353 |
|
|
2354 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
2355 |
attribute 'modes' to NodeComponents. |
attribute 'modes' to NodeComponents. |
2356 |
|
|
2357 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2358 |
|
|
2359 |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
2360 |
|
|
2361 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2362 |
|
|
2363 |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
2364 |
for the hidden field. Argh! |
for the hidden field. Argh! |
2365 |
|
|
2366 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2367 |
|
|
2368 |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
2369 |
generation of hidden page field. |
generation of hidden page field. |
2370 |
|
|
2371 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2372 |
|
|
2373 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
2374 |
checks for radio groups. |
checks for radio groups. |
2375 |
|
|
2376 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2377 |
|
|
2378 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
2379 |
checks for choices. |
checks for choices. |
2388 |
* contrib/convert-formedtree2html.xsl: |
* contrib/convert-formedtree2html.xsl: |
2389 |
Replace technical types with readable descriptions |
Replace technical types with readable descriptions |
2390 |
|
|
2391 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2392 |
|
|
2393 |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
2394 |
issues. 'action' looks for all widgets on a page now, goes |
issues. 'action' looks for all widgets on a page now, goes |
2395 |
through all passed parameters, tries to match them with the |
through all passed parameters, tries to match them with the |
2396 |
widgets of the page and put them into the semantic box. |
widgets of the page and put them into the semantic box. |
2397 |
Afterwards a list of untouched page parameters are left |
Afterwards a list of untouched page parameters are left |
2398 |
which will be deleted from the semantic box. |
which will be deleted from the semantic box. |
2399 |
|
|
2400 |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
2401 |
The NodeComponent is passed as an argument now. |
The NodeComponent is passed as an argument now. |
2403 |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
2404 |
hidden field to store the name of the page. |
hidden field to store the name of the page. |
2405 |
|
|
2406 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2407 |
|
|
2408 |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
2409 |
issue with incoming UTF-8 data. |
issue with incoming UTF-8 data. |
2410 |
|
|
2411 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2412 |
|
|
2413 |
* tools/formed/test-data/simple.xml: Improve test for widgets |
* tools/formed/test-data/simple.xml: Improve test for widgets |
2414 |
in switches. |
in switches. |
2415 |
|
|
2416 |
* tools/formed/formed/model/data.py: Added a method to find all |
* tools/formed/formed/model/data.py: Added a method to find all |
2417 |
widgets in a given page. Fixed a bug when walking in switch |
widgets in a given page. Fixed a bug when walking in switch |
2418 |
with a given mode. |
with a given mode. |
2419 |
|
|
2420 |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
2421 |
listing all widgets in page. |
listing all widgets in page. |
2422 |
|
|
2423 |
2007-08-21 Torsten Irlaender <[email protected]> |
2007-08-21 Torsten Irlaender <[email protected]> |
2424 |
|
|
2425 |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
2426 |
latin-1 |
latin-1 |
2427 |
|
|
2428 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2429 |
|
|
2430 |
* tools/formed/formed/model/data.py: Added mode parameter to |
* tools/formed/formed/model/data.py: Added mode parameter to |
2431 |
walk. |
walk. |
2432 |
|
|
2433 |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
2434 |
walk() with usage of the new mode parameter. Added a method to |
walk() with usage of the new mode parameter. Added a method to |
2435 |
give children in a given mode. |
give children in a given mode. |
2436 |
|
|
2437 |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
2438 |
new Switch.childrenInMode() method. |
new Switch.childrenInMode() method. |
2439 |
|
|
2440 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2441 |
|
|
2442 |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
2443 |
texts and text areas. |
texts and text areas. |
2445 |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
2446 |
to UTF-8 in generated form. |
to UTF-8 in generated form. |
2447 |
|
|
2448 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2449 |
|
|
2450 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
2451 |
tests for dates. |
tests for dates. |
2452 |
|
|
2453 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2454 |
|
|
2455 |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
2456 |
range test. |
range test. |
2464 |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
2465 |
check. |
check. |
2466 |
|
|
2467 |
2007-08-20 Torsten Irlaender <[email protected]> |
2007-08-20 Torsten Irlaender <[email protected]> |
2468 |
|
|
2469 |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
2470 |
selection-field generation (Removed quote) |
selection-field generation (Removed quote) |
2477 |
renderer. This submit parameters are stored in the |
renderer. This submit parameters are stored in the |
2478 |
session now. This will ease testing the constraint |
session now. This will ease testing the constraint |
2479 |
tests which need to be written soon. |
tests which need to be written soon. |
2480 |
|
|
2481 |
BEWARE: The session management is _not_ made for production! |
BEWARE: The session management is _not_ made for production! |
2482 |
Denial of service attacks are too easy, and the |
Denial of service attacks are too easy, and the |
2483 |
cryptographical strength of the session id is doubtful. |
cryptographical strength of the session id is doubtful. |
2495 |
and can be hooked automatically into the new 'Filters' |
and can be hooked automatically into the new 'Filters' |
2496 |
sub menu under 'Extra'. They got called when the user |
sub menu under 'Extra'. They got called when the user |
2497 |
selects their respective menu item. |
selects their respective menu item. |
2498 |
|
|
2499 |
* tools/formed/formed/config.py: Contains the list of |
* tools/formed/formed/config.py: Contains the list of |
2500 |
installed filters. |
installed filters. |
2501 |
|
|
2556 |
|
|
2557 |
* tools/formed/formed/main.py: Swaped order of |
* tools/formed/formed/main.py: Swaped order of |
2558 |
'Make names unique' and 'Selected mode...' in Extra |
'Make names unique' and 'Selected mode...' in Extra |
2559 |
menu and put a separator between them. |
menu and put a separator between them. |
2560 |
|
|
2561 |
2007-08-15 Sascha L. Teichmann <[email protected]> |
2007-08-15 Sascha L. Teichmann <[email protected]> |
2562 |
|
|
2565 |
|
|
2566 |
* tools/formed/formed/plugins/plugin.py: Simplified |
* tools/formed/formed/plugins/plugin.py: Simplified |
2567 |
the plug-in interface. Only the reference to the |
the plug-in interface. Only the reference to the |
2568 |
global configuration is passed at setup time. |
global configuration is passed at setup time. |
2569 |
|
|
2570 |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
2571 |
to new plug-in setup. The traveral mode is now taken |
to new plug-in setup. The traveral mode is now taken |
2572 |
from the global configuration each time a rendering |
from the global configuration each time a rendering |
2573 |
is triggered. The FORMED parameter is now named |
is triggered. The FORMED parameter is now named |
2574 |
'doc.mode' instead of 'web.mode'. The parameter |
'doc.mode' instead of 'web.mode'. The parameter |
2575 |
is not needed any more because it can be configured |
is not needed any more because it can be configured |
2576 |
at runtime. |
at runtime. |
2577 |
|
|
2578 |
* tools/formed/formed/main.py: Adjusted to new plugin |
* tools/formed/formed/main.py: Adjusted to new plugin |
2579 |
setup. Added a new menu item Extra->Select Mode... |
setup. Added a new menu item Extra->Select Mode... |
2580 |
to select the traversal mode. It is stored in the |
to select the traversal mode. It is stored in the |
2581 |
global config. |
global config. |
2582 |
|
|
2583 |
* tools/formed/formed/config.py: Simplified. Only uses |
* tools/formed/formed/config.py: Simplified. Only uses |
2584 |
one env dictionary to store global configuration parameters. |
one env dictionary to store global configuration parameters. |
2590 |
|
|
2591 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
2592 |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
2593 |
print out in web plugin. |
print out in web plugin. |
2594 |
|
|
2595 |
2007-08-15 Torsten Irlaender <[email protected]> |
2007-08-15 Torsten Irlaender <[email protected]> |
2596 |
|
|
2608 |
|
|
2609 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
2610 |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
2611 |
to FORMED environment variable. |
to FORMED environment variable. |
2612 |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
2613 |
Defaults to 'default'. |
Defaults to 'default'. |
2614 |
|
|
2615 |
* tools/formed/test-data/simple.xml: Added test for switch. |
* tools/formed/test-data/simple.xml: Added test for switch. |
2616 |
|
|
2624 |
* tools/formed/formed/io/document.py, |
* tools/formed/formed/io/document.py, |
2625 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
2626 |
tools/formed/formed/model/nodecomponents.py: Added an item |
tools/formed/formed/model/nodecomponents.py: Added an item |
2627 |
to model external item lists. |
to model external item lists. |
2628 |
|
|
2629 |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
2630 |
list. |
list. |
2641 |
|
|
2642 |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
2643 |
choice item lists for a given field from XFA files. e.g. with |
choice item lists for a given field from XFA files. e.g. with |
2644 |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
2645 |
|
|
2646 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
2007-08-12 Sascha L. Teichmann <[email protected]> |
2647 |
|
|
2648 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2649 |
tools/formed/formed/plugins/web/renderer.py, |
tools/formed/formed/plugins/web/renderer.py, |
2650 |
tools/formed/formed/io/document.py: Changed the structure |
tools/formed/formed/io/document.py: Changed the structure |
2651 |
of choice constructs. The idea to hold the different items |
of choice constructs. The idea to hold the different items |
2652 |
of a particular choice in a semicolon separated list was bad. |
of a particular choice in a semicolon separated list was bad. |
2653 |
Now choices are groups and the option items are modelled as |
Now choices are groups and the option items are modelled as |
2654 |
embedded bools. (mainly Torsten Irländer's idea). |
embedded bools. (mainly Torsten Irländer's idea). |
2655 |
|
|
2656 |
WARNING: this makes old document files containing choices incompatible!!! |
WARNING: this makes old document files containing choices incompatible!!! |
2657 |
Use the following XSLT to reestablish compatibility. |
Use the following XSLT to reestablish compatibility. |
2658 |
|
|
2659 |
* contrib/itemize-choices.xsl: New converts old to new structure. |
* contrib/itemize-choices.xsl: New converts old to new structure. |
2660 |
Needs exslt.org's string extensions (which xsltproc includes) |
Needs exslt.org's string extensions (which xsltproc includes) |
2661 |
|
|
2673 |
|
|
2674 |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
2675 |
of the tree. |
of the tree. |
2676 |
|
|
2677 |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
2678 |
|
|
2679 |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
2696 |
|
|
2697 |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
2698 |
items in the document tree. Added a method to eliminated duplicated names |
items in the document tree. Added a method to eliminated duplicated names |
2699 |
in document tree. |
in document tree. |
2700 |
|
|
2701 |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
2702 |
after names collisions are eliminated. |
after names collisions are eliminated. |
2708 |
|
|
2709 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2710 |
tools/formed/formed/plugins/web/renderer.py: Removed support |
tools/formed/formed/plugins/web/renderer.py: Removed support |
2711 |
for 'text' attributes in bool items. They were never really |
for 'text' attributes in bool items. They were never really |
2712 |
used and the 'description' attributes fulfill the same |
used and the 'description' attributes fulfill the same |
2713 |
purpose. |
purpose. |
2714 |
|
|
2715 |
* contrib/remove-bool-text.xsl: Transform to remove the |
* contrib/remove-bool-text.xsl: Transform to remove the |
2716 |
'text' attributes from bool items. Apply with: |
'text' attributes from bool items. Apply with: |
2717 |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
2718 |
|
|
2719 |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
2720 |
from bool items. |
from bool items. |
2733 |
|
|
2734 |
* contrib/convert-choices.xsl: Added to convert document files |
* contrib/convert-choices.xsl: Added to convert document files |
2735 |
which use the choice 'option' attribute to usage of 'value'. |
which use the choice 'option' attribute to usage of 'value'. |
2736 |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
2737 |
|
|
2738 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2739 |
|
|
2770 |
|
|
2771 |
* tools/formed/formed/plugins/web/plugin.py: To determine |
* tools/formed/formed/plugins/web/plugin.py: To determine |
2772 |
the port look at FORMED dictionary first. Key is 'web.port'. |
the port look at FORMED dictionary first. Key is 'web.port'. |
2773 |
e.g. FORMED='web.port:8888' |
e.g. FORMED='web.port:8888' |
2774 |
|
|
2775 |
* tools/formed/formed/main.py: Call the plugin setup with |
* tools/formed/formed/main.py: Call the plugin setup with |
2776 |
the reference to the config. |
the reference to the config. |
2850 |
|
|
2851 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2852 |
tools/formed/formed/model/nodecomponents.py: Added new |
tools/formed/formed/model/nodecomponents.py: Added new |
2853 |
attributes. |
attributes. |
2854 |
|
|
2855 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
2856 |
for checkboxes and radio buttons. |
for checkboxes and radio buttons. |
2879 |
|
|
2880 |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
2881 |
version of a recursive HTML renderer based on the document |
version of a recursive HTML renderer based on the document |
2882 |
tree. |
tree. |
2883 |
|
|
2884 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2885 |
|
|
2908 |
|
|
2909 |
* tools/formed/formed/main.py: Added event route document -> |
* tools/formed/formed/main.py: Added event route document -> |
2910 |
attribute table to get informed when selected item is delete |
attribute table to get informed when selected item is delete |
2911 |
or an attribute is changed from the outside. |
or an attribute is changed from the outside. |
2912 |
|
|
2913 |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
2914 |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
2915 |
of 3 argument. Uses icons+tooltips for tree navigation now. |
of 3 argument. Uses icons+tooltips for tree navigation now. |
2916 |
|
|
2917 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2918 |
|
|
2960 |
|
|
2961 |
* tools/formed/formed/ui/controls.py: Establish sort order |
* tools/formed/formed/ui/controls.py: Establish sort order |
2962 |
by indices of children in parent instead of alphanum. |
by indices of children in parent instead of alphanum. |
2963 |
Code to move items up and down the document tree. |
Code to move items up and down the document tree. |
2964 |
|
|
2965 |
* tools/formed/formed/io/document.py: Added missing imports. |
* tools/formed/formed/io/document.py: Added missing imports. |
2966 |
|
|
2973 |
|
|
2974 |
* tools/formed/formed/main.py, |
* tools/formed/formed/main.py, |
2975 |
tools/formed/formed/ui/controls.py: Added control to |
tools/formed/formed/ui/controls.py: Added control to |
2976 |
move items around in tree. Has no effect by now. |
move items around in tree. Has no effect by now. |
2977 |
|
|
2978 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2979 |
|
|
2989 |
|
|
2990 |
* tools/formed/*: initial check-in of the Formular Editor. |
* tools/formed/*: initial check-in of the Formular Editor. |
2991 |
Not working yet. Only can load, view and store formular XML files. |
Not working yet. Only can load, view and store formular XML files. |
2992 |
Start it with 'tools/formed/formed.sh'. |
Start it with 'tools/formed/formed.sh'. |