EduploneExam/questions BaseExamQuestion.py,1.5,1.6 FillGapQuestion.py,1.5,1.6 FreeTextQuestion.py,1.5,1.6 MatchingQuestion.py,1.5,1.6 MathQuestion.py,1.5,1.6 MultipleChoiceQuestion.py,1.5,1.6 SingleChoiceQuestion.py,1.5,1.6 TextTaskQuestion.py,1.5,1.6 TrueFalseQuestion.py,1.5,1.6
Jens Klein <[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-serv11084/questions
Modified Files:
BaseExamQuestion.py FillGapQuestion.py FreeTextQuestion.py
MatchingQuestion.py MathQuestion.py MultipleChoiceQuestion.py
SingleChoiceQuestion.py TextTaskQuestion.py
TrueFalseQuestion.py
Log Message:
refactored arround
Index: FreeTextQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FreeTextQuestion.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** FreeTextQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- FreeTextQuestion.py 14 Dec 2004 16:50:31 -0000 1.6
***************
*** 8,12 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 8,12 ----
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 17:38:52 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.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** FillGapQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- FillGapQuestion.py 14 Dec 2004 16:50:31 -0000 1.6
***************
*** 8,12 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 8,12 ----
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 17:38:52 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 44,48 ****
portal_type = meta_type = 'FillGapQuestion'
archetype_name = 'FillGapQuestion' #this name appears in the 'add' box
! allowed_content_types = ['BlindGapAnswer', 'ChoiceGapAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
__implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
--- 44,48 ----
portal_type = meta_type = 'FillGapQuestion'
archetype_name = 'FillGapQuestion' #this name appears in the 'add' box
! allowed_content_types = ['ChoiceGapAnswer', 'BlindGapAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
__implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
Index: TrueFalseQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TrueFalseQuestion.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** TrueFalseQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- TrueFalseQuestion.py 14 Dec 2004 16:50:32 -0000 1.6
***************
*** 8,16 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 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: Tue Dec 14 17:38:52 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
***************
*** 42,47 ****
class TrueFalseQuestion(BaseFolder,BaseExamQuestion):
security = ClassSecurityInfo()
! portal_type = meta_type = 'TrueFalseQuestion'
! archetype_name = 'TrueFalseQuestion' #this name appears in the 'add' box
allowed_content_types = ['TrueFalseAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
--- 42,47 ----
class TrueFalseQuestion(BaseFolder,BaseExamQuestion):
security = ClassSecurityInfo()
! portal_type = meta_type = 'TrueFalseQuestion'
! archetype_name = 'TrueFalseQuestion' #this name appears in the 'add' box
allowed_content_types = ['TrueFalseAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
***************
*** 60,64 ****
),
),
!
StringField('title',
accessor='''Title''',
--- 60,64 ----
),
),
!
StringField('title',
accessor='''Title''',
***************
*** 71,75 ****
),
),
!
),
)
--- 71,75 ----
),
),
!
),
)
***************
*** 88,97 ****
}
!
actions= (
!
)
!
registerType(TrueFalseQuestion)
--- 88,97 ----
}
!
actions= (
!
)
!
registerType(TrueFalseQuestion)
***************
*** 101,102 ****
--- 101,104 ----
registerQuestionType(TrueFalseQuestion)
##/code-section module-footer
+
+
Index: MathQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MathQuestion.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MathQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- MathQuestion.py 14 Dec 2004 16:50:31 -0000 1.6
***************
*** 8,12 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 8,12 ----
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 17:38:53 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.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MatchingQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- MatchingQuestion.py 14 Dec 2004 16:50:31 -0000 1.6
***************
*** 8,12 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 8,12 ----
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 17:38:53 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.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** TextTaskQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- TextTaskQuestion.py 14 Dec 2004 16:50:32 -0000 1.6
***************
*** 8,12 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 8,12 ----
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 17:38:53 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.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SingleChoiceQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- SingleChoiceQuestion.py 14 Dec 2004 16:50:32 -0000 1.6
***************
*** 8,12 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 8,12 ----
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 17:38:52 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.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MultipleChoiceQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- MultipleChoiceQuestion.py 14 Dec 2004 16:50:32 -0000 1.6
***************
*** 8,12 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 8,12 ----
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 17:38:52 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.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** BaseExamQuestion.py 14 Dec 2004 15:06:26 -0000 1.5
--- BaseExamQuestion.py 14 Dec 2004 16:50:31 -0000 1.6
***************
*** 8,12 ****
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 16:03:57 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 8,12 ----
# by FH-Aargau, Switzerland
#
! # Generated: Tue Dec 14 17:38:52 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
-------------------------------------------------------
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/