EduploneExam/questions BaseExamQuestion.py,1.21,1.22 FillGapQuestion.py,1.16,1.17 FreeTextQuestion.py,1.17,1.18 MatchingQuestion.py,1.17,1.18 MathQuestion.py,1.17,1.18 MultipleChoiceQuestion.py,1.17,1.18 SingleChoiceQuestion.py,1.17,1.18 TextTaskQuestion.py,1.17,1.18 TrueFalseQuestion.py,1.17,1.18

Nils Haagen <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam/questions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22204/questions

Modified Files:
	BaseExamQuestion.py FillGapQuestion.py FreeTextQuestion.py 
	MatchingQuestion.py MathQuestion.py MultipleChoiceQuestion.py 
	SingleChoiceQuestion.py TextTaskQuestion.py 
	TrueFalseQuestion.py 
Log Message:
security SOLVED cd EduploneExam/cd EduploneExam/

Index: FreeTextQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FreeTextQuestion.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** FreeTextQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
--- FreeTextQuestion.py	16 Dec 2004 15:18:26 -0000	1.18
***************
*** 8,12 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 8,12 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #

Index: FillGapQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FillGapQuestion.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** FillGapQuestion.py	16 Dec 2004 13:28:20 -0000	1.16
--- FillGapQuestion.py	16 Dec 2004 15:18:26 -0000	1.17
***************
*** 8,12 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 8,12 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #

Index: TrueFalseQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TrueFalseQuestion.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** TrueFalseQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
--- TrueFalseQuestion.py	16 Dec 2004 15:18:27 -0000	1.18
***************
*** 8,12 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 8,12 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #

Index: BaseExamQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/BaseExamQuestion.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** BaseExamQuestion.py	16 Dec 2004 14:43:17 -0000	1.21
--- BaseExamQuestion.py	16 Dec 2004 15:18:26 -0000	1.22
***************
*** 8,16 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! #
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
--- 8,16 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! # 
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
***************
*** 45,51 ****
  class BaseExamQuestion(BaseContent):
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'BaseExamQuestion'
!     archetype_name = 'BaseExamQuestion'   #this name appears in the 'add' box
!     allowed_content_types = []
  
      __implements__ = getattr(BaseContent,'__implements__',()) + (IExamNotifier,IExamQuestion,)
--- 45,51 ----
  class BaseExamQuestion(BaseContent):
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'BaseExamQuestion' 
!     archetype_name = 'BaseExamQuestion'   #this name appears in the 'add' box 
!     allowed_content_types = [] 
  
      __implements__ = getattr(BaseContent,'__implements__',()) + (IExamNotifier,IExamQuestion,)
***************
*** 63,67 ****
              ),
          ),
! 
          StringField('title',
              accessor='''Title''',
--- 63,67 ----
              ),
          ),
!         
          StringField('title',
              accessor='''Title''',
***************
*** 74,78 ****
              ),
          ),
! 
          TextField('question',
              widget=TextAreaWidget(description='Enter a value for question.',
--- 74,78 ----
              ),
          ),
!         
          TextField('question',
              widget=TextAreaWidget(description='Enter a value for question.',
***************
*** 83,87 ****
              ),
          ),
! 
          TextField('instruction',
              widget=TextAreaWidget(description='Enter a value for instruction.',
--- 83,87 ----
              ),
          ),
!         
          TextField('instruction',
              widget=TextAreaWidget(description='Enter a value for instruction.',
***************
*** 92,96 ****
              ),
          ),
! 
          IntegerField('maxScore',
              widget=IntegerWidget(description='Enter a value for maxScore.',
--- 92,96 ----
              ),
          ),
!         
          IntegerField('maxScore',
              widget=IntegerWidget(description='Enter a value for maxScore.',
***************
*** 101,105 ****
              ),
          ),
! 
          BooleanField('strict',
              widget=BooleanWidget(description='Enter a value for strict.',
--- 101,105 ----
              ),
          ),
!         
          BooleanField('strict',
              widget=BooleanWidget(description='Enter a value for strict.',
***************
*** 110,114 ****
              ),
          ),
! 
          ImageField('picture',
              storage=AttributeStorage(),
--- 110,114 ----
              ),
          ),
!         
          ImageField('picture',
              storage=AttributeStorage(),
***************
*** 120,124 ****
              ),
          ),
! 
      ),
      )
--- 120,124 ----
              ),
          ),
!         
      ),
      )
***************
*** 177,180 ****
--- 177,182 ----
          return self.archetype_name
  
+     #manually created methods
+ 
      def _lookupUID(self, uid):
          tool = getToolByName(self, UID_CATALOG)
***************
*** 199,208 ****
          }
  
! 
      actions=  (
! 
  
            )
! 
  
  registerType(BaseExamQuestion)
--- 201,210 ----
          }
  
!         
      actions=  (
!         
  
            )
!         
  
  registerType(BaseExamQuestion)
***************
*** 211,212 ****
--- 213,216 ----
  ##code-section module-footer #fill in your manual code here
  ##/code-section module-footer
+ 
+ 

Index: MathQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MathQuestion.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** MathQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
--- MathQuestion.py	16 Dec 2004 15:18:27 -0000	1.18
***************
*** 8,12 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 8,12 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #

Index: MatchingQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MatchingQuestion.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** MatchingQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
--- MatchingQuestion.py	16 Dec 2004 15:18:26 -0000	1.18
***************
*** 8,12 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 8,12 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #

Index: TextTaskQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TextTaskQuestion.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** TextTaskQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
--- TextTaskQuestion.py	16 Dec 2004 15:18:27 -0000	1.18
***************
*** 8,12 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 8,12 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #

Index: SingleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/SingleChoiceQuestion.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** SingleChoiceQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
--- SingleChoiceQuestion.py	16 Dec 2004 15:18:27 -0000	1.18
***************
*** 8,12 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 8,12 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #

Index: MultipleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MultipleChoiceQuestion.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** MultipleChoiceQuestion.py	16 Dec 2004 14:43:17 -0000	1.17
--- MultipleChoiceQuestion.py	16 Dec 2004 15:18:27 -0000	1.18
***************
*** 8,16 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! #
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
--- 8,16 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 16:17:23 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! # 
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
***************
*** 45,50 ****
      '''
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'MultipleChoiceQuestion'
!     archetype_name = 'MultipleChoiceQuestion'   #this name appears in the 'add' box
      allowed_content_types = ['MultipleChoiceAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
--- 45,50 ----
      '''
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'MultipleChoiceQuestion' 
!     archetype_name = 'MultipleChoiceQuestion'   #this name appears in the 'add' box 
      allowed_content_types = ['MultipleChoiceAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
***************
*** 63,67 ****
              ),
          ),
! 
          StringField('title',
              accessor='''Title''',
--- 63,67 ----
              ),
          ),
!         
          StringField('title',
              accessor='''Title''',
***************
*** 74,78 ****
              ),
          ),
! 
      ),
      )
--- 74,78 ----
              ),
          ),
!         
      ),
      )
***************
*** 122,131 ****
          }
  
! 
      actions=  (
! 
  
            )
! 
  
  registerType(MultipleChoiceQuestion)
--- 122,131 ----
          }
  
!         
      actions=  (
!         
  
            )
!         
  
  registerType(MultipleChoiceQuestion)
***************
*** 135,136 ****
--- 135,138 ----
  registerQuestionType(MultipleChoiceQuestion)
  ##/code-section module-footer
+ 
+ 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.