/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 336 by torsten, Thu Jun 18 07:00:01 2009 UTC revision 426 by bh, Wed Nov 24 16:58:10 2010 UTC
# Line 1  Line 1 
1    2010-11-24  Bernhard Herzog  <[email protected]>
2    
3            * formed/formed/plugins/export/rules_sh.py (binary_operator_map):
4            New.  Map binary formed expr operators to their SQL counterparts.
5            (sql_OperatorBinary): Use binary_operator_map instead of a cascade
6            of if-statements with lots of code duplication.  Also, put
7            parentheses around the resulting SQL expression to make sure the
8            expression is correctly.  This fixes a problem with WASKO tagging
9            rules, where the a FormEd expression of the form like "2 1 1980
10            date 1 1 1980 date - 93 *" would be incorrectly converted to the
11            SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date"
12    
13    2010-11-24  Bernhard Herzog  <[email protected]>
14    
15            * formed/formed/plugins/export/rules_sh.py: Fix formatting.
16    
17    2010-11-15  Torsten Irlaender <[email protected]>
18    
19            * formed/formed/model/data.py: Do not set attribute "repeat" for
20            Repeat-Groups.
21    
22    2010-11-10  Torsten Irlaender <[email protected]>
23    
24            * formed/formed/plugins/modify/rules.py: Fixed date sequence rule
25            checks for date in future.
26    
27    2010-11-08  Roland Geider <[email protected]>
28    
29            * formed/formed/plugins/export/xsd.py: validate formedtree.xml
30    
31    2010-11-08  Roland Geider <[email protected]>
32    
33            * formed/formed/model/data.py,
34              formed/formed/plugins/export/xsd.py,
35              formed/formed/config.py: issue1131: generate XSD for case exports
36    
37    2010-10-21  Torsten Irlaender <[email protected]>
38    
39            * formed/formed/plugins/export/rules_sh.py: Added new LE-Operator
40            * formed/formed/plugins/modify/rules.py: Add error rule to force phase
41              relevant datefields not to be "unknown".
42    
43    2010-10-12  Roland Geider <[email protected]>
44    
45            * formed/formed/plugins/export/rules_sh.py: Ignore rules if any fields
46              in the rule are in a repeat group
47    
48    2010-10-11  Roland Geider <[email protected]>
49    
50            * formed/plugins/export/rules_sh.py: Added support to more opperators
51              to be able to export the WASKO case
52    
53    2010-10-06  Torsten Irlaender <[email protected]>
54    
55            * formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed
56            gerating SQL for Rules
57            * formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date
58            function.
59    
60    2010-10-05  Torsten Irländer <[email protected]>
61    
62            * formed/formed/model/data.py: Fixed error when setting tag attribute.
63            * formed/formed/plugins/export/rules_sh.py: Added generating exporting
64              tagging-xml
65            * formed/formed/plugins/modify/rules.py: Do not generate automatic
66              tagids for rules.
67    
68    2010-10-04  Torsten Irländer <[email protected]>
69    
70            * formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute
71            "tag" for rule-leafs
72            * formed/formed/config.py: Added export rules as XML to Menu
73            * formed/formed/plugins/modify/rules.py
74            (GenerateRequiredRules.generateDateSequenceRules): Generate automatic
75            tag ids for date-sequence rules
76    
77    2010-09-30  Torsten Irländer <[email protected]>
78    
79            * formed/formed/plugins/export/rules_sh.py
80            (ExportRulesAsSH.doExport): Filter out duplicted rules.
81    
82    2010-09-20  Frank Koormann   <[email protected]>
83    
84            * formed/formed/plugins/export/latex.py (RecursiveExporter):
85            Add "required"-field information to output and include
86            choice list contents.
87    
88    2010-09-16  Bernhard Herzog  <[email protected]>
89    
90            Avoid database deadlocks that can happen when database clients try
91            to work with the same case using two separate database
92            connections.  See mpuls/issue1145 for details.
93    
94            * formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the
95            computation of the new json structure description into the new
96            database function compute_case_structure
97            (TRIGGER_TMPL): Change the trigger functions to immediately update
98            the cached json structure description instead of just setting the
99            modified flag.  This avoids the lazy recomputation that makes what
100            seems like a read-only access (calling get_case_structure) into a
101            writing access (updates of the cache).  The writes lock the row in
102            the case_structure table which prevent other connections from
103            accessing the same case.  As part of this, the delete triggers are
104            now AFTER triggers because the repeat groups instance must have
105            been removed when the structure is recomputed.
106            (SUBSELECT_TMPL): Since the delete trigger is now an after
107            trigger, we need to change the way the master id is computed.  We
108            cannot join with the repeatgroup table in question because the row
109            has already been deleted.  However, we can use the master_id
110            column of the OLD row to select the row of the parent table.
111            (create_triggers): Avoid the inner joins with the current repeat
112            group for the above mentioned reasons.  In the very common case of
113            repeat groups which are direct children of the master_tbl, we can
114            compare the master_tbl.id directly with the row's master_id.
115    
116    2010-09-14 Roland Geider <[email protected]>
117    
118            * formed/formed/plugins/export/xsd.py: issue1131: update XSD for new
119              formedtree structure
120    
121    2010-09-01 Roland Geider <[email protected]>
122    
123            * formed/formed/plugins/modify/rules.py: issue1050: mandatory fields
124              appearing double.
125              The problem was that the way the formEditor handled fields with
126              manually created rules changed. Instead of ignoring fields (very
127              early behaviour) or always generating them (early behaviour), now the
128              formED will only ignore fields with rules which name starts with
129              'required-rule-manual'. This is helpful when the rules for mandatory
130              fields are more complex (e.g. mother's name is only required if
131              mother is known).
132    
133    2010-08-10  Torsten Irländer <[email protected]>
134    
135            * contrib/diff_formed.py: New helperscript to diff to given
136              formedtrees
137    
138    2010-08-09      Roland Geider <[email protected]>
139    
140            * formed/model/exprtree.py: fixed typo
141    
142    2010-08-04  Bernhard Herzog  <[email protected]>
143    
144            * formed/po/de_DE.po: Update translations
145    
146    2010-08-04  Bernhard Herzog  <[email protected]>
147    
148            * formed/po/formed.pot: Regenerated.
149    
150            * formed/po/de_DE.po: Update.
151    
152    2010-08-04  Bernhard Herzog  <[email protected]>
153    
154            * formed/po/Makefile: Use correct filename of the pot-file in the
155            usage message
156    
157    2010-08-04  Bernhard Herzog  <[email protected]>
158    
159            * formed/po/Makefile (LIST_POTFILES): Sort the file names to make
160            the order of entries in the .pot-file more predictable.
161    
162    2010-08-04  Bernhard Herzog  <[email protected]>
163    
164            * formed/formed/model/nodecomponents.py (RootNode.__init__)
165            (RootNode.getVersion, RootNode.setVersion): Add attribute
166            "version" and accessor methods.
167    
168            * formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let
169            the user set the document version.
170            (MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion
171    
172    2010-08-02  Bernhard Herzog  <[email protected]>
173    
174            * formed/formed.py, formed/formed/io/document.py,
175            formed/formed/io/factories.py, formed/formed/io/parser.py,
176            formed/formed/model/data.py, formed/formed/model/event.py,
177            formed/formed/model/expr.py, formed/formed/model/exprtree.py,
178            formed/formed/model/memory.py, formed/formed/model/misc.py,
179            formed/formed/model/nodecomponents.py,
180            formed/formed/model/persistent.py: Fix coding declaration to be
181            acceptable to both python and Emacs.
182    
183    2010-07-29  Torsten Irländer <[email protected]>
184    
185            * formed/formed/model/data.py: Added "invisible" attribute to
186            BoolLeafs. This can be used to hide options in choicelists. so the
187            user can not select the value in the user interface. But the db will
188            have this option so is ist still present in the db an can be used
189            * formed/formed/model/exprtree.py: Added "days" function.
190    
191    2010-07-26      Roland Geider <[email protected]>
192    
193            * formed/formed/model/nodecomponents.py,
194              formed/formed/plugins/modify/rules.py: generated date rules take
195              into consideration repeat groups
196    
197    2010-07-21  Torsten Irländer <[email protected]>
198    
199            Issue870
200    
201            * formed/formed/plugins/modify/rules.py (descriptions): Do not collect
202            all headers to the referenced fields. Only list labels of the error
203            fields, which should be distinct enough.
204    
205            Issue851
206    
207            * formed/formed/model/data.py
208              formed/formed/plugins/export/new_sql.py
209              formed/formed/plugins/web/view_renderer.py
210              formed/formed/io/document.py
211              formed/formed/config.py: Added Float-Field to Formed
212    
213    2010-06-11  Bernhard Herzog  <[email protected]>
214    
215            * formed/formed/plugins/export/rg_sql.py
216            (CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call
217            create_master_ds to create the master tbl entry.  This way we can
218            add SQL code that's specific to an MPuls instance to
219            create_master_ds and still have create_master_tbl use that new
220            code.  This is useful for e.g. the JMD-Struktur part.
221    
222    2010-06-02      Roland Geider <[email protected]>
223    
224            * formed/formed/plugins/modify/rules.py: make the names of generated
225              date-sequence-rules unique
226    
227    2010-06-02      Roland Geider <[email protected]>
228    
229            * formed/plugins/export/xls.py: updated regular expression
230    
231    2010-05-17      Frank Koormann <[email protected]>
232    
233            * formed/formed/plugins/export/latex.py: Improved section labeling.
234    
235            * formed/formed/plugins/export/xls.py:
236              Export references (ie where are the lists used).
237    
238    2010-04-30  Torsten Irländer <[email protected]>
239    
240            * formed/formed/plugins/modify/rules.py (VariableType.substitute): Do
241            not generate "%"-rules for required fields in repeat-groups.
242    
243    2010-04-28      Roland Geider <[email protected]>
244    
245            * formed/plugins/export/xls.py: Radiogroups are exported
246            * formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD
247              JMD formedtree.xml validates XSD
248    
249    2010-04-08  Torsten Irländer <[email protected]>
250    
251            * formed/formed/plugins/modify/rules.py
252            (GenerateRequiredRules.generateDateSequenceRules): Add error mark to
253            rules. Generete each rule twice to be able to render errors at both
254            datefields.
255    
256    2010-04-07  Torsten Irländer <[email protected]>
257    
258            * formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag.
259    
260    2010-04-06  Torsten Irländer <[email protected]>
261    
262            * formed/formed/io/document.py (_toXML): Added comment with
263            "$Revision"-tag. This tag will/can then be substituted by the VCS.
264            * formed/formed/plugins/export/new_sql.py
265            (ExportAsSQLFilter.doExport): Added comment with
266            "$Revision"-tag. This tag will/can then be substituted by the VCS.
267            * formed/formed/model/exprtree.py: Added years operator.
268    
269    2010-03-30      Roland Geider <[email protected]>
270    
271            * formed/formed/plugins/export/latex.py: Added filter
272    
273    2010-03-25      Roland Geider <[email protected]>
274    
275            * formed/formed/plugins/export/xsd.py: Generate valid XML
276    
277    2010-02-11      Frank Koormann <[email protected]>
278    
279            * formed/formed/plugins/export/xls.py: Allow groups in choices.
280    
281    2009-12-02      Torsten Irländer <[email protected]>
282    
283            * formed/formed/plugins/export/typemap.py: do not ignore conditional
284              nodes on traversal.
285    
286    2009-11-17      Sascha L. Teichmann <[email protected]>
287    
288            * formed/formed/model/exprtree.py: Recognize '%' vars
289              in compilation. Does not eval it!
290    
291            * formed/formed/plugins/modify/rules.py: Generate '%' vars
292              for variables in repeat groups.
293    
294    2009-11-13      Sascha L. Teichmann <[email protected]>
295    
296            * formed/formed/plugins/export/typemap.py: Fixed to work
297            with new repeat group nodes.
298    
299    2009-10-28      Sascha L. Teichmann <[email protected]>
300    
301            * formed/formed/plugins/export/xsd.py,
302            formed/formed/plugins/export/sql.py,
303            formed/formed/plugins/export/new_sql.py: Allow groups in choices.
304    
305    2009-10-07      Frank Koormann <[email protected]>
306    
307            * formed/formed/plugins/export/latex.py:
308            Adjusted textprocessing to escape tex-active characters.
309    
310    2009-10-07      Sascha L. Teichmann <[email protected]>
311    
312            * formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py,
313            formed/formed/plugins/export/html2.py: Adjusted to cope with
314            "semi-complete" implementation of logbook tree structure.
315    
316    2009-06-18      Torsten Irländer <[email protected]>
317    
318            * formed/formed/plugins/export/new_sql.py,
319              formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and
320              added permissions.
321    
322  2009-06-18      Torsten Irländer <[email protected]>  2009-06-18      Torsten Irländer <[email protected]>
323    
324          * formed/formed/plugins/export/new_sql.py: Commented out generation of          * formed/formed/plugins/export/new_sql.py: Commented out generation of

Legend:
Removed from v.336  
changed lines
  Added in v.426

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26