/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 324 by teichmann, Thu Apr 2 14:24:37 2009 UTC revision 405 by torsten, Mon Oct 4 16:28:56 2010 UTC
# Line 1  Line 1 
1    2010-10-04  Torsten Irländer <[email protected]>
2    
3            * formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute
4            "tag" for rule-leafs
5            * formed/formed/config.py: Added export rules as XML to Menu
6    
7    2010-09-30  Torsten Irländer <[email protected]>
8    
9            * formed/formed/plugins/export/rules_sh.py
10            (ExportRulesAsSH.doExport): Filter out duplicted rules.
11    
12    2010-09-20  Frank Koormann   <[email protected]>
13    
14            * formed/formed/plugins/export/latex.py (RecursiveExporter):
15            Add "required"-field information to output and include
16            choice list contents.
17    
18    2010-09-16  Bernhard Herzog  <[email protected]>
19    
20            Avoid database deadlocks that can happen when database clients try
21            to work with the same case using two separate database
22            connections.  See mpuls/issue1145 for details.
23    
24            * formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the
25            computation of the new json structure description into the new
26            database function compute_case_structure
27            (TRIGGER_TMPL): Change the trigger functions to immediately update
28            the cached json structure description instead of just setting the
29            modified flag.  This avoids the lazy recomputation that makes what
30            seems like a read-only access (calling get_case_structure) into a
31            writing access (updates of the cache).  The writes lock the row in
32            the case_structure table which prevent other connections from
33            accessing the same case.  As part of this, the delete triggers are
34            now AFTER triggers because the repeat groups instance must have
35            been removed when the structure is recomputed.
36            (SUBSELECT_TMPL): Since the delete trigger is now an after
37            trigger, we need to change the way the master id is computed.  We
38            cannot join with the repeatgroup table in question because the row
39            has already been deleted.  However, we can use the master_id
40            column of the OLD row to select the row of the parent table.
41            (create_triggers): Avoid the inner joins with the current repeat
42            group for the above mentioned reasons.  In the very common case of
43            repeat groups which are direct children of the master_tbl, we can
44            compare the master_tbl.id directly with the row's master_id.
45    
46    2010-09-14 Roland Geider <[email protected]>
47    
48            * formed/formed/plugins/export/xsd.py: issue1131: update XSD for new
49              formedtree structure
50    
51    2010-09-01 Roland Geider <[email protected]>
52    
53            * formed/formed/plugins/modify/rules.py: issue1050: mandatory fields
54              appearing double.
55              The problem was that the way the formEditor handled fields with
56              manually created rules changed. Instead of ignoring fields (very
57              early behaviour) or always generating them (early behaviour), now the
58              formED will only ignore fields with rules which name starts with
59              'required-rule-manual'. This is helpful when the rules for mandatory
60              fields are more complex (e.g. mother's name is only required if
61              mother is known).
62    
63    2010-08-10  Torsten Irländer <[email protected]>
64    
65            * contrib/diff_formed.py: New helperscript to diff to given
66              formedtrees
67    
68    2010-08-09      Roland Geider <[email protected]>
69    
70            * formed/model/exprtree.py: fixed typo
71    
72    2010-08-04  Bernhard Herzog  <[email protected]>
73    
74            * formed/po/de_DE.po: Update translations
75    
76    2010-08-04  Bernhard Herzog  <[email protected]>
77    
78            * formed/po/formed.pot: Regenerated.
79    
80            * formed/po/de_DE.po: Update.
81    
82    2010-08-04  Bernhard Herzog  <[email protected]>
83    
84            * formed/po/Makefile: Use correct filename of the pot-file in the
85            usage message
86    
87    2010-08-04  Bernhard Herzog  <[email protected]>
88    
89            * formed/po/Makefile (LIST_POTFILES): Sort the file names to make
90            the order of entries in the .pot-file more predictable.
91    
92    2010-08-04  Bernhard Herzog  <[email protected]>
93    
94            * formed/formed/model/nodecomponents.py (RootNode.__init__)
95            (RootNode.getVersion, RootNode.setVersion): Add attribute
96            "version" and accessor methods.
97    
98            * formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let
99            the user set the document version.
100            (MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion
101    
102    2010-08-02  Bernhard Herzog  <[email protected]>
103    
104            * formed/formed.py, formed/formed/io/document.py,
105            formed/formed/io/factories.py, formed/formed/io/parser.py,
106            formed/formed/model/data.py, formed/formed/model/event.py,
107            formed/formed/model/expr.py, formed/formed/model/exprtree.py,
108            formed/formed/model/memory.py, formed/formed/model/misc.py,
109            formed/formed/model/nodecomponents.py,
110            formed/formed/model/persistent.py: Fix coding declaration to be
111            acceptable to both python and Emacs.
112    
113    2010-07-29  Torsten Irländer <[email protected]>
114    
115            * formed/formed/model/data.py: Added "invisible" attribute to
116            BoolLeafs. This can be used to hide options in choicelists. so the
117            user can not select the value in the user interface. But the db will
118            have this option so is ist still present in the db an can be used
119            * formed/formed/model/exprtree.py: Added "days" function.
120    
121    2010-07-26      Roland Geider <[email protected]>
122    
123            * formed/formed/model/nodecomponents.py,
124              formed/formed/plugins/modify/rules.py: generated date rules take
125              into consideration repeat groups
126    
127    2010-07-21  Torsten Irländer <[email protected]>
128    
129            Issue870
130    
131            * formed/formed/plugins/modify/rules.py (descriptions): Do not collect
132            all headers to the referenced fields. Only list labels of the error
133            fields, which should be distinct enough.
134    
135            Issue851
136    
137            * formed/formed/model/data.py
138              formed/formed/plugins/export/new_sql.py
139              formed/formed/plugins/web/view_renderer.py
140              formed/formed/io/document.py
141              formed/formed/config.py: Added Float-Field to Formed
142    
143    2010-06-11  Bernhard Herzog  <[email protected]>
144    
145            * formed/formed/plugins/export/rg_sql.py
146            (CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call
147            create_master_ds to create the master tbl entry.  This way we can
148            add SQL code that's specific to an MPuls instance to
149            create_master_ds and still have create_master_tbl use that new
150            code.  This is useful for e.g. the JMD-Struktur part.
151    
152    2010-06-02      Roland Geider <[email protected]>
153    
154            * formed/formed/plugins/modify/rules.py: make the names of generated
155              date-sequence-rules unique
156    
157    2010-06-02      Roland Geider <[email protected]>
158    
159            * formed/plugins/export/xls.py: updated regular expression
160    
161    2010-05-17      Frank Koormann <[email protected]>
162    
163            * formed/formed/plugins/export/latex.py: Improved section labeling.
164    
165            * formed/formed/plugins/export/xls.py:
166              Export references (ie where are the lists used).
167    
168    2010-04-30  Torsten Irländer <[email protected]>
169    
170            * formed/formed/plugins/modify/rules.py (VariableType.substitute): Do
171            not generate "%"-rules for required fields in repeat-groups.
172    
173    2010-04-28      Roland Geider <[email protected]>
174    
175            * formed/plugins/export/xls.py: Radiogroups are exported
176            * formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD
177              JMD formedtree.xml validates XSD
178    
179    2010-04-08  Torsten Irländer <[email protected]>
180    
181            * formed/formed/plugins/modify/rules.py
182            (GenerateRequiredRules.generateDateSequenceRules): Add error mark to
183            rules. Generete each rule twice to be able to render errors at both
184            datefields.
185    
186    2010-04-07  Torsten Irländer <[email protected]>
187    
188            * formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag.
189    
190    2010-04-06  Torsten Irländer <[email protected]>
191    
192            * formed/formed/io/document.py (_toXML): Added comment with
193            "$Revision"-tag. This tag will/can then be substituted by the VCS.
194            * formed/formed/plugins/export/new_sql.py
195            (ExportAsSQLFilter.doExport): Added comment with
196            "$Revision"-tag. This tag will/can then be substituted by the VCS.
197            * formed/formed/model/exprtree.py: Added years operator.
198    
199    2010-03-30      Roland Geider <[email protected]>
200    
201            * formed/formed/plugins/export/latex.py: Added filter
202    
203    2010-03-25      Roland Geider <[email protected]>
204    
205            * formed/formed/plugins/export/xsd.py: Generate valid XML
206    
207    2010-02-11      Frank Koormann <[email protected]>
208    
209            * formed/formed/plugins/export/xls.py: Allow groups in choices.
210    
211    2009-12-02      Torsten Irländer <[email protected]>
212    
213            * formed/formed/plugins/export/typemap.py: do not ignore conditional
214              nodes on traversal.
215    
216    2009-11-17      Sascha L. Teichmann <[email protected]>
217    
218            * formed/formed/model/exprtree.py: Recognize '%' vars
219              in compilation. Does not eval it!
220    
221            * formed/formed/plugins/modify/rules.py: Generate '%' vars
222              for variables in repeat groups.
223    
224    2009-11-13      Sascha L. Teichmann <[email protected]>
225    
226            * formed/formed/plugins/export/typemap.py: Fixed to work
227            with new repeat group nodes.
228    
229    2009-10-28      Sascha L. Teichmann <[email protected]>
230    
231            * formed/formed/plugins/export/xsd.py,
232            formed/formed/plugins/export/sql.py,
233            formed/formed/plugins/export/new_sql.py: Allow groups in choices.
234    
235    2009-10-07      Frank Koormann <[email protected]>
236    
237            * formed/formed/plugins/export/latex.py:
238            Adjusted textprocessing to escape tex-active characters.
239    
240    2009-10-07      Sascha L. Teichmann <[email protected]>
241    
242            * formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py,
243            formed/formed/plugins/export/html2.py: Adjusted to cope with
244            "semi-complete" implementation of logbook tree structure.
245    
246    2009-06-18      Torsten Irländer <[email protected]>
247    
248            * formed/formed/plugins/export/new_sql.py,
249              formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and
250              added permissions.
251    
252    2009-06-18      Torsten Irländer <[email protected]>
253    
254            * formed/formed/plugins/export/new_sql.py: Commented out generation of
255            page_views, as they do not work with rgroups.
256    
257    2009-06-17      Torsten Irländer <[email protected]>
258    
259            * formed/formed/plugins/export/new_sql.py: Fixed anonymize function
260            and rolenames.
261    
262    2009-06-17      Sascha L. Teichmann <[email protected]>
263    
264            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
265    
266    2009-05-26      Sascha L. Teichmann <[email protected]>
267    
268            * formed/formed/plugins/names/filter.py: small optimization.
269    
270    2009-05-26      Sascha L. Teichmann <[email protected]>
271    
272            * formed/formed/plugins/names/filter.py: Repaired unique filter for
273              nodecomponent names.
274    
275    2009-05-06      Sascha L. Teichmann <[email protected]>
276    
277            * formed/formed/plugins/export/rg_sql.py: Only create depending
278              repeat groups if no uuid is given. If a uuid is given then
279              the creation is triggered by an xml import.
280    
281    2009-04-28      Sascha L. Teichmann <[email protected]>
282    
283            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
284              replace the old one. The new one faciliates the new RepeatNode instead
285              of the Group.isRepeat() method to tell if something is to be repeated.
286    
287            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
288              The old one is deactivated.
289    
290            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
291    
292    2009-04-28      Sascha L. Teichmann <[email protected]>
293    
294            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
295              TODO: Adjust execution rights.
296    
297    2009-04-27      Sascha L. Teichmann <[email protected]>
298    
299            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
300              Add functions to create dataset.
301    
302    2009-04-24      Sascha L. Teichmann <[email protected]>
303    
304            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
305              tree structure functions in database.
306    
307            * formed/formed/config.py: load plug-in.
308    
309    2009-04-16      Sascha L. Teichmann <[email protected]>
310    
311            * formed/formed/model/data.py: Added 'digest' attribute to
312              RepeatNode. Removed needless methods
313    
314    2009-04-16      Sascha L. Teichmann <[email protected]>
315    
316            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
317              more readable with '=' and '<>'.
318    
319    2009-04-02      Sascha L. Teichmann <[email protected]>
320    
321            * formed/formed/plugins/export/sql.py: call anonymization
322              of uuid on anonymization of case.
323    
324    2009-03-31      Sascha L. Teichmann <[email protected]>
325    
326            * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
327              case_anonymize().
328    
329    2009-03-31      Sascha L. Teichmann <[email protected]>
330    
331            * formed/formed/model/exprtree.py: Add some code to pretty print
332              the trees infix.
333    
334            * formed/formed/plugins/export/rules.py: New. Exporter for human
335              readable rules.
336    
337            * formed/formed/plugins/export/html.py: Fixed HTML generation.
338    
339            * formed/formed/config.py: Added new new Rule export plug-in.
340    
341    2009-03-31      Sascha L. Teichmann <[email protected]>
342    
343            * formed/formed/model/exprtree.py: Fixes from server. Raise
344              exceptions if there is less or more than one element on stack
345              after compilation of expression.
346    
347    2009-03-20      Sascha L. Teichmann <[email protected]>
348    
349            * formed/formed/model/data.py: Removed debug output
350    
351            * formed/formed/plugins/modify/rules.py: Fixed error message.
352              Generate past and future rules.
353    
354    2009-03-16      Sascha L. Teichmann <[email protected]>
355    
356            * formed/formed/model/exprtree.py: Forget to call today with context.
357    
358    2009-03-16      Sascha L. Teichmann <[email protected]>
359    
360            * formed/formed/io/document.py: Fixed syntax typo.
361    
362    2009-03-16      Sascha L. Teichmann <[email protected]>
363    
364            * formed/formed/model/data.py: ConditionalNode inherits from Node directly.
365    
366    2009-03-16      Sascha L. Teichmann <[email protected]>
367    
368            * formed/formed/model/data.py: Added ConditionalNode
369    
370            * formed/formed/io/document.py: Make ConditionalNode loadable.
371    
372    2009-03-13      Sascha L. Teichmann <[email protected]>
373    
374            * formed/formed/plugins/modify/rules.py: Make the error descriptions
375              in date sequence rules more precise.
376    
377    2009-03-13      Sascha L. Teichmann <[email protected]>
378    
379            * formed/formed/plugins/modify/rules.py: generate date sequence rules.
380    
381    2009-03-13      Sascha L. Teichmann <[email protected]>
382    
383            * formed/formed/model/exprtree.py: New tree based expression engine.
384    
385            * formed/formed/model/__init__.py, formed/formed/model/data.py:
386              Adjusted imports.
387    
388    2009-03-12      Torsten Irländer <[email protected]>
389    2009-06-17      Sascha L. Teichmann <[email protected]>
390    
391            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
392    
393    2009-05-26      Sascha L. Teichmann <[email protected]>
394    
395            * formed/formed/plugins/names/filter.py: small optimization.
396    
397    2009-05-26      Sascha L. Teichmann <[email protected]>
398    
399            * formed/formed/plugins/names/filter.py: Repaired unique filter for
400              nodecomponent names.
401    
402    2009-05-06      Sascha L. Teichmann <[email protected]>
403    
404            * formed/formed/plugins/export/rg_sql.py: Only create depending
405              repeat groups if no uuid is given. If a uuid is given then
406              the creation is triggered by an xml import.
407    
408    2009-04-28      Sascha L. Teichmann <[email protected]>
409    
410            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
411              replace the old one. The new one faciliates the new RepeatNode instead
412              of the Group.isRepeat() method to tell if something is to be repeated.
413    
414            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
415              The old one is deactivated.
416    
417            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
418    
419    2009-04-28      Sascha L. Teichmann <[email protected]>
420    
421            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
422              TODO: Adjust execution rights.
423    
424    2009-04-27      Sascha L. Teichmann <[email protected]>
425    
426            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
427              Add functions to create dataset.
428    
429    2009-04-24      Sascha L. Teichmann <[email protected]>
430    
431            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
432              tree structure functions in database.
433    
434            * formed/formed/config.py: load plug-in.
435    
436    2009-04-16      Sascha L. Teichmann <[email protected]>
437    
438            * formed/formed/model/data.py: Added 'digest' attribute to
439              RepeatNode. Removed needless methods
440    
441    2009-04-16      Sascha L. Teichmann <[email protected]>
442    
443            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
444              more readable with '=' and '<>'.
445    
446    2009-04-02      Sascha L. Teichmann <[email protected]>
447    
448            * formed/formed/plugins/export/sql.py: call anonymization
449              of uuid on anonymization of case.
450    
451    2009-03-31      Sascha L. Teichmann <[email protected]>
452    
453            * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
454              case_anonymize().
455    
456    2009-03-31      Sascha L. Teichmann <[email protected]>
457    
458            * formed/formed/model/exprtree.py: Add some code to pretty print
459              the trees infix.
460    
461            * formed/formed/plugins/export/rules.py: New. Exporter for human
462              readable rules.
463    
464            * formed/formed/plugins/export/html.py: Fixed HTML generation.
465    
466            * formed/formed/config.py: Added new new Rule export plug-in.
467    
468    2009-03-31      Sascha L. Teichmann <[email protected]>
469    
470            * formed/formed/model/exprtree.py: Fixes from server. Raise
471              exceptions if there is less or more than one element on stack
472              after compilation of expression.
473    
474    2009-03-20      Sascha L. Teichmann <[email protected]>
475    
476            * formed/formed/model/data.py: Removed debug output
477    
478            * formed/formed/plugins/modify/rules.py: Fixed error message.
479              Generate past and future rules.
480    
481    2009-03-16      Sascha L. Teichmann <[email protected]>
482    
483            * formed/formed/model/exprtree.py: Forget to call today with context.
484    
485    2009-03-16      Sascha L. Teichmann <[email protected]>
486    
487            * formed/formed/io/document.py: Fixed syntax typo.
488    
489    2009-03-16      Sascha L. Teichmann <[email protected]>
490    
491            * formed/formed/model/data.py: ConditionalNode inherits from Node directly.
492    
493    2009-03-16      Sascha L. Teichmann <[email protected]>
494    
495            * formed/formed/model/data.py: Added ConditionalNode
496    
497            * formed/formed/io/document.py: Make ConditionalNode loadable.
498    
499    2009-03-13      Sascha L. Teichmann <[email protected]>
500    
501            * formed/formed/plugins/modify/rules.py: Make the error descriptions
502              in date sequence rules more precise.
503    
504    2009-03-13      Sascha L. Teichmann <[email protected]>
505    
506            * formed/formed/plugins/modify/rules.py: generate date sequence rules.
507    
508    2009-03-13      Sascha L. Teichmann <[email protected]>
509    
510            * formed/formed/model/exprtree.py: New tree based expression engine.
511    
512            * formed/formed/model/__init__.py, formed/formed/model/data.py:
513              Adjusted imports.
514    
515    2009-03-12      Torsten Irländer <[email protected]>
516    2009-06-17      Sascha L. Teichmann <[email protected]>
517    
518            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
519    
520    2009-05-26      Sascha L. Teichmann <[email protected]>
521    
522            * formed/formed/plugins/names/filter.py: small optimization.
523    
524    2009-05-26      Sascha L. Teichmann <[email protected]>
525    
526            * formed/formed/plugins/names/filter.py: Repaired unique filter for
527              nodecomponent names.
528    
529    2009-05-06      Sascha L. Teichmann <[email protected]>
530    
531            * formed/formed/plugins/export/rg_sql.py: Only create depending
532              repeat groups if no uuid is given. If a uuid is given then
533              the creation is triggered by an xml import.
534    
535    2009-04-28      Sascha L. Teichmann <[email protected]>
536    
537            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
538              replace the old one. The new one faciliates the new RepeatNode instead
539              of the Group.isRepeat() method to tell if something is to be repeated.
540    
541            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
542              The old one is deactivated.
543    
544            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
545    
546    2009-04-28      Sascha L. Teichmann <[email protected]>
547    
548            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
549              TODO: Adjust execution rights.
550    
551    2009-04-27      Sascha L. Teichmann <[email protected]>
552    
553            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
554              Add functions to create dataset.
555    
556    2009-04-24      Sascha L. Teichmann <[email protected]>
557    
558            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
559              tree structure functions in database.
560    
561            * formed/formed/config.py: load plug-in.
562    
563    2009-04-16      Sascha L. Teichmann <[email protected]>
564    
565            * formed/formed/model/data.py: Added 'digest' attribute to
566              RepeatNode. Removed needless methods
567    
568    2009-04-16      Sascha L. Teichmann <[email protected]>
569    
570            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
571              more readable with '=' and '<>'.
572    
573  2009-04-02      Sascha L. Teichmann <[email protected]>  2009-04-02      Sascha L. Teichmann <[email protected]>
574    
575          * formed/formed/plugins/export/sql.py: call anonymization          * formed/formed/plugins/export/sql.py: call anonymization

Legend:
Removed from v.324  
changed lines
  Added in v.405

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26