Пример #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")