Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
problem-builder
Commits
34dcb6bd
Commit
34dcb6bd
authored
Mar 05, 2015
by
Braden MacDonald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add AUTHORS file, update headers
parent
5f13249c
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
140 additions
and
64 deletions
+140
-64
AUTHORS
+11
-0
mentoring/answer.py
+1
-4
mentoring/choice.py
+1
-4
mentoring/mcq.py
+1
-4
mentoring/mentoring.py
+1
-4
mentoring/message.py
+1
-4
mentoring/models.py
+1
-4
mentoring/mrq.py
+1
-4
mentoring/questionnaire.py
+1
-4
mentoring/step.py
+1
-0
mentoring/table.py
+1
-4
mentoring/tests/integration/base_test.py
+1
-4
mentoring/tests/integration/test_answer.py
+1
-4
mentoring/tests/integration/test_assessment.py
+19
-0
mentoring/tests/integration/test_mcq.py
+1
-4
mentoring/tests/integration/test_mentoring.py
+19
-0
mentoring/tests/integration/test_progression.py
+1
-4
mentoring/tests/integration/test_table.py
+1
-4
mentoring/tip.py
+1
-4
mentoring/v1/studio_xml_utils.py
+19
-0
mentoring/v1/tests/test_upgrade.py
+19
-0
mentoring/v1/upgrade.py
+18
-0
mentoring/v1/xml_changes.py
+18
-0
setup.py
+1
-4
No files found.
AUTHORS
0 → 100644
View file @
34dcb6bd
Developed by OpenCraft
http://opencraft.com/
Xavier Antoviaque <xavier@opencraft.com>
Filippo Valsorda <fv@filippo.io>
Matjaz Gregoric <matjaz@opencraft.com>
David Gabor Bodor <david.gabor.bodor@gmail.com>
Alan Boudreault <boudreault.alan@gmail.com>
Eugeny Kolpakov <eugeny@opencraft.com>
Braden MacDonald <braden@opencraft.com>
Jonathan Piacenti <jonathan@opencraft.com>
mentoring/answer.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/choice.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/mcq.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/mentoring.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/message.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/models.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/mrq.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 edX
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/questionnaire.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/step.py
View file @
34dcb6bd
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
# along with this program in a file in the toplevel directory called
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
#
#
from
lazy
import
lazy
from
lazy
import
lazy
from
xblockutils.helpers
import
child_isinstance
from
xblockutils.helpers
import
child_isinstance
...
...
mentoring/table.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/tests/integration/base_test.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/tests/integration/test_answer.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/tests/integration/test_assessment.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of the License, or (at your
# option) any later version of the AGPL published by the FSF.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
#
from
.base_test
import
MentoringAssessmentBaseTest
,
GetChoices
from
.base_test
import
MentoringAssessmentBaseTest
,
GetChoices
CORRECT
,
INCORRECT
,
PARTIAL
=
"correct"
,
"incorrect"
,
"partially-correct"
CORRECT
,
INCORRECT
,
PARTIAL
=
"correct"
,
"incorrect"
,
"partially-correct"
...
...
mentoring/tests/integration/test_mcq.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/tests/integration/test_mentoring.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of the License, or (at your
# option) any later version of the AGPL published by the FSF.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
#
import
re
import
re
import
mock
import
mock
import
ddt
import
ddt
...
...
mentoring/tests/integration/test_progression.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/tests/integration/test_table.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/tip.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
mentoring/v1/studio_xml_utils.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of the License, or (at your
# option) any later version of the AGPL published by the FSF.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
#
"""
"""
The mentoring XBlock was previously designed to be edited using XML.
The mentoring XBlock was previously designed to be edited using XML.
...
...
mentoring/v1/tests/test_upgrade.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of the License, or (at your
# option) any later version of the AGPL published by the FSF.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
#
"""
"""
Test that we can upgrade from mentoring v1 to mentoring v2.
Test that we can upgrade from mentoring v1 to mentoring v2.
"""
"""
...
...
mentoring/v1/upgrade.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of the License, or (at your
# option) any later version of the AGPL published by the FSF.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
#
"""
"""
The mentoring XBlock was previously designed to be edited using XML.
The mentoring XBlock was previously designed to be edited using XML.
...
...
mentoring/v1/xml_changes.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of the License, or (at your
# option) any later version of the AGPL published by the FSF.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
#
"""
"""
Each class in this file represents a change made to the XML schema between v1 and v2.
Each class in this file represents a change made to the XML schema between v1 and v2.
"""
"""
...
...
setup.py
View file @
34dcb6bd
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
#
#
# Copyright (C) 2014 Harvard
# Copyright (c) 2014-2015 Harvard, edX & OpenCraft
#
# Authors:
# Xavier Antoviaque <xavier@antoviaque.org>
#
#
# This software's license gives you freedom; you can copy, convey,
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# propagate, redistribute and/or modify this program under the terms of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment