コード例 #1
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         if not RCPaperReviewManager.hasRights(self):
             RHContribModifBase._checkProtection(self)
     else:
         raise MaKaCError(
             _("Paper Reviewing is not active for this conference"))
コード例 #2
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         if self._target.getConference().getConfPaperReview().getChoice() == CPR.NO_REVIEWING:
             raise MaKaCError(_("Type of reviewing has not been chosen yet"))
         elif not (RCPaperReviewManager.hasRights(self) or RCContributionReferee.hasRights(self)):
             RHContribModifBase._checkProtection(self);
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
コード例 #3
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         if self._target.getConference().getConfPaperReview().getChoice() == CPR.NO_REVIEWING:
             raise MaKaCError(_("Type of reviewing has not been chosen yet"))
         elif not (RCPaperReviewManager.hasRights(self) or RCContributionReferee.hasRights(self)):
             RHContribModifBase._checkProtection(self);
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
コード例 #4
0
    def _checkParams( self, params ):
        RHContribModifBase._checkParams( self, params )
        if not (self._target.getReviewManager().getLastReview().isAuthorSubmitted()):
            raise MaKaCError("You must wait until the author has submitted the materials")

        self._questions = params.get("questions")
        self._judgement = params.get("judgement")
        self._comments = params.get("comments")
コード例 #5
0
    def _checkParams(self, params):
        RHContribModifBase._checkParams(self, params)
        if not (self._target.getReviewManager().getLastReview().
                isAuthorSubmitted()):
            raise MaKaCError(
                "You must wait until the author has submitted the materials")

        self._questions = params.get("questions")
        self._judgement = params.get("judgement")
        self._comments = params.get("comments")
コード例 #6
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     try:
         self._day = int(params.get('sDay', 0))
         self._month = int(params.get('sMonth', 0))
         self._year = int(params.get('sYear', 0))
         if self._day == 0 or self._month == 0 or self._year == 0:
             raise MaKaCError("Please set the date correctly")
     except Exception:
         raise MaKaCError("Please set the date correctly")
コード例 #7
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     try:
         self._day = int(params.get('sDay', 0))
         self._month = int(params.get('sMonth', 0))
         self._year = int(params.get('sYear', 0))
         if self._day == 0 or self._month == 0 or self._year == 0:
             raise MaKaCError("Please set the date correctly")
     except Exception:
         raise MaKaCError("Please set the date correctly")
コード例 #8
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     if self._target.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted():
         raise MaKaCError("The content assessment has been submitted")
コード例 #9
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     if self._target.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() and \
        not self._target.getConference().getConfPaperReview().getChoice() == CPR.LAYOUT_REVIEWING:
         raise MaKaCError("The editor assessment has been submitted")
コード例 #10
0
 def _checkProtection(self):
     if not RCContributionReferee.hasRights(self):
         RHContribModifBase._checkProtection(self);
コード例 #11
0
 def _checkParams( self, params ):
     RHContribModifBase._checkParams( self, params )
     self._reviewer = int(params.get("reviewerRemoveAssignSelection"))
     if self._reviewer == None:
         raise FormValuesError("No reviewer selected")
コード例 #12
0
 def _checkProtection(self):
     if not RCContributionReferee.hasRights(self):
         RHContribModifBase._checkProtection(self)
コード例 #13
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     if self._target.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() and \
        not self._target.getConference().getConfPaperReview().getChoice() == CPR.LAYOUT_REVIEWING:
         raise MaKaCError("The editor assessment has been submitted")
コード例 #14
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     self._referee = int(params.get("refereeAssignSelection"))
     if self._referee == None:
         raise FormValuesError("No referee selected")
コード例 #15
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     if self._target.getReviewManager().getLastReview().getRefereeJudgement(
     ).isSubmitted():
         raise MaKaCError("The content assessment has been submitted")
コード例 #16
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     if not (self._target.getReviewManager().getLastReview().
             isAuthorSubmitted()):
         raise MaKaCError(
             "You must wait until the author has submitted the materials")
コード例 #17
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         if not (RCPaperReviewManager.hasRights(self) or RCContributionReferee.hasRights(self)):
             RHContribModifBase._checkProtection(self);
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
コード例 #18
0
 def _checkParams( self, params ):
     RHContribModifBase._checkParams( self, params )
     self._editor = int(params.get("editorAssignSelection"))
     if self._editor == None:
         raise FormValuesError("No editor selected")
コード例 #19
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     if not (self._target.getReviewManager().getLastReview().isAuthorSubmitted()):
         raise MaKaCError("You must wait until the author has submitted the materials")
コード例 #20
0
 def _checkParams(self, params):
     RHContribModifBase._checkParams(self, params)
     self._editor = int(params.get("editorAssignSelection"))
     if self._editor == None:
         raise FormValuesError("No editor selected")