[Mpuls-commits] r1837 - wasko/branches/2.0

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Feb 26 10:04:50 CET 2010


Author: torsten
Date: 2010-02-26 10:04:49 +0100 (Fri, 26 Feb 2010)
New Revision: 1837

Modified:
   wasko/branches/2.0/ChangeLog
Log:
Updated ChangeLog


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-26 09:04:18 UTC (rev 1836)
+++ wasko/branches/2.0/ChangeLog	2010-02-26 09:04:49 UTC (rev 1837)
@@ -20,6 +20,33 @@
 	* mpulsweb/lib/anonymize.py: Deleted functions which has been moved
 	into mpulsbase model.case
 
+	* mpulsweb/model/case.py (MpulsCase.check_anonymizeability): New
+	method to check if a case can be anonymized. This check can enhance the
+	consistence check in some points, but it will always include the
+	consistence check
+	* mpulsweb/controllers/case.py (CaseController.markForAnonymize), 
+	(CaseController.anonymize): Call new check_anonymizeability() method.
+
+	* mpulsweb/model/phase.py (ConsistenceCheckException): Moved exception
+	class into phase model
+	* mpulsweb/model/phase.py (PhaseList.check_consistence): New Method.
+	Raises exception with info on which phase is not consistent.
+	* mpulsweb/model/phase.py (PhaseList.is_valid): Use check_consistence
+	to estimate consistence of a case.
+
+	* mpulsweb/model/case.py: Import ConsistenceCheckException from
+	model.phase now. 
+	* mpulsweb/model/case.py (MpulsCase.check_consistence): Implement
+	  consistence check.
+
+	* mpulsweb/lib/config.py:  Added new variable to blacklist phaseparts
+	  for anonymisation. 
+	* jmd.json: Define blacklistet phasepart for jmd 
+	* mpulsweb/model/phase.py: Implement some code to check if a case can
+	  be anonymized.
+	* mpulsweb/model/case.py: Implemented basic checks if a case can be
+	  anonymized. 
+
 2010-02-25  Bernhard Herzog  <bh at intevation.de>
 
 	* waskaweb/templates/casemanagement/caselist.mako (fields): Port



More information about the Mpuls-commits mailing list