Greg Price
e5846e64bd
Modify course registration flow for new login and registration pages
...
Now that we are using separate pages for login and registration rather than
modals, clicking the registration button for a course should direct an
unauthenticated user to the registration page, and the user should be enrolled
in the course upon successful registration. Likewise, an unauthenticated user
attempting to unenroll from a course should be directed to the login page and
subsequently unenrolled from the course upon successful login. The enrollment
change service also now uses HTTP status codes rather than JSON to communicate
status to the front end.
2013-05-03 10:01:11 -04:00
ichuang
f1a899ac1c
Merge branch 'master' of github.com:MITx/mitx into feature/ichuang/masquerade-v3
2013-04-20 12:25:47 -04:00
Jay Zoldak
be76f73107
Consolidate and upgrade factories
2013-04-18 15:11:10 -04:00
Calen Pennington
6644b78819
Fix gradebook when using grade cutoffs other than A/B/C
2013-04-16 11:38:58 -04:00
ichuang
5ca0393e05
add test for masquerade
2013-04-13 22:47:49 -04:00
Jay Zoldak
d8c186d3a1
fix pylint errors in test_login.py
2013-04-12 10:25:12 -04:00
Jay Zoldak
1cc6a0a60d
Fix pylint errors
2013-04-11 17:20:38 -04:00
Jay Zoldak
bb1134b8ee
Convert login tests to use factories
2013-04-11 16:54:16 -04:00
Christina Roberts
de44813732
Merge pull request #1808 from MITx/bug/christina/studio
...
Show course end date on course about page
2013-04-04 13:34:00 -07:00
cahrens
57343c7d9e
On course about page, display course end date if no about page HTML blog (end_date.html) exists.
...
#224
2013-04-04 15:35:07 -04:00
cahrens
d02dc37d9f
On course about page, display course end date if no about page HTML blog (end_date.html) exists.
...
#224
2013-04-04 15:22:56 -04:00
Calen Pennington
039ccb83cc
Migrate to the open source XBlock repo
2013-04-04 10:55:31 -04:00
cahrens
8ace7fe57c
Merge branch 'master' into bug/christina/studio
...
Conflicts:
cms/djangoapps/contentstore/views.py
common/lib/xmodule/xmodule/capa_module.py
common/lib/xmodule/xmodule/combined_open_ended_module.py
common/lib/xmodule/xmodule/peer_grading_module.py
2013-04-01 12:30:07 -04:00
cahrens
16f4a3f9c1
Convert due date to a Date (vs. a string with no year).
2013-04-01 11:37:05 -04:00
Jay Zoldak
d044d5c48d
a few more pep8 fixes
2013-03-29 13:15:33 -04:00
Jay Zoldak
b63aae221e
small pep8 pylint and superclass fixes
2013-03-29 10:41:27 -04:00
Will Daly
5bf839c9a9
Guard against trying to load a template when checking pages.
2013-03-28 16:55:20 -04:00
Will Daly
f652fb5f73
Pylint and pep8 fixes
2013-03-28 12:51:09 -04:00
Will Daly
13c01ec3fc
Randomized instructor page tests
2013-03-28 10:03:05 -04:00
Will Daly
bf37d4a9a3
Randomized loading of test pages for dark launch test
2013-03-28 09:33:51 -04:00
Will Daly
3eefb7d5ec
Resolved conflicts from rebase to master; fixed keyword error caught by
...
pylint
2013-03-28 08:58:56 -04:00
Will Daly
27a31230bf
Removed full course tests
2013-03-28 08:55:45 -04:00
Will Daly
7978c581db
Changed test for checking all pages to checking a random page
2013-03-28 08:55:16 -04:00
Brian Wilson
c639799a07
fix missing import
2013-03-27 18:12:48 -04:00
Brian Wilson
bb7bc88847
merge out from master
2013-03-27 18:04:58 -04:00
Brian Wilson
99778b1b5b
add fixes for 500 bugs (lighthouse 287 and 293) by requiring login for accessing licenses and inline discussions. Add unit tests for licenses, and rearrange tests based off of (the former) PageLoad. Also cleanups for pylint and pep8.
2013-03-27 17:59:56 -04:00
Will Daly
cddc868656
Login URL resolves differently in LMS and CMS, which breaks login_test
...
when loaded by rake test_cms
I moved the test into lms/courseware/tests so they run correctly.
2013-03-27 13:01:10 -04:00
Calen Pennington
2c0e5b82ff
Return a 403 when an anonymous user attempts to hit modx_dispatch. Fixes https://www.pivotaltracker.com/story/show/46916015 and https://www.pivotaltracker.com/story/show/46916029
2013-03-27 07:29:22 -04:00
Calen Pennington
6b64b4214f
Make relative imports explicitly relative
2013-03-15 11:23:22 -04:00
Victor Shnayder
84f05f9f61
Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
...
Conflicts:
common/lib/xmodule/xmodule/capa_module.py
common/lib/xmodule/xmodule/foldit_module.py
common/lib/xmodule/xmodule/tests/__init__.py
common/lib/xmodule/xmodule/tests/test_capa_module.py
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
common/lib/xmodule/xmodule/tests/test_conditional.py
common/lib/xmodule/xmodule/tests/test_self_assessment.py
2013-03-08 00:40:18 -05:00
Calen Pennington
cec3475c9d
Remove references to .definition and .metadata in modules
2013-03-06 18:07:56 -05:00
Calen Pennington
8a9ba79d1f
Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
...
Conflicts:
cms/djangoapps/contentstore/views.py
common/lib/xmodule/xmodule/course_module.py
common/lib/xmodule/xmodule/open_ended_grading_classes/self_assessment_module.py
common/lib/xmodule/xmodule/peer_grading_module.py
2013-03-06 12:15:07 -05:00
Will Daly
2f5ea630e7
Cleaned up courseware test_tabs unittests
2013-03-06 10:16:43 -05:00
Will Daly
0d1b380008
Removed test_grades.py in courseware django app.
2013-03-06 09:44:53 -05:00
Will Daly
72411a175f
Added jnater's unit tests, cleaned up broken tests, ran pep8fix
2013-03-06 09:41:26 -05:00
Calen Pennington
b7680f3157
Fix tests except for conditional module and open ended grading
2013-03-05 15:04:59 -05:00
Jay Zoldak
b0a018195a
Pep8 fixes for tests
2013-03-05 11:53:00 -05:00
Jay Zoldak
cee24c5cb2
Import existing UserFactory
2013-03-05 11:18:07 -05:00
Will Daly
2fd9ccece1
Fixed whitespace issues; removed a test that made no assertions
2013-03-05 09:34:52 -05:00
Will Daly
437aadb28e
Cleaned up some tests; deleted skip tests
2013-03-05 09:32:20 -05:00
Will Daly
faf5c3f0a2
Updated Deena's tests after merge with master to ensure that none
...
of the tests fail. Deleted some tests.
2013-03-05 09:10:02 -05:00
Will Daly
2436d59e14
Merge branch 'master' into feature/deena/testing
...
Conflicts:
cms/djangoapps/contentstore/tests/factories.py
lms/djangoapps/courseware/tests/test_access.py
2013-03-04 16:30:41 -05:00
Calen Pennington
bd822b9d2f
Fix tests post-merge
2013-02-13 14:13:22 -05:00
Calen Pennington
793bbfd351
Set up dev environment for testing xml vs mongo vs split_mongo modulestores
2013-02-13 14:04:21 -05:00
Ned Batchelder
aa2d0ecaf2
We no longer need override_settings, Django has a better one.
2013-02-11 17:06:35 -05:00
Calen Pennington
4f555f6480
Merge remote-tracking branch 'origin/master' into feature/cale/xmodule-storage-model
...
Conflicts:
cms/djangoapps/contentstore/course_info_model.py
cms/djangoapps/contentstore/module_info_model.py
cms/djangoapps/contentstore/tests/factories.py
cms/djangoapps/contentstore/tests/test_course_settings.py
cms/djangoapps/contentstore/views.py
cms/djangoapps/models/settings/course_details.py
cms/djangoapps/models/settings/course_grading.py
cms/templates/edit_subsection.html
common/djangoapps/mitxmako/shortcuts.py
common/djangoapps/static_replace.py
common/djangoapps/util/converters.py
common/djangoapps/xmodule_modifiers.py
common/lib/xmodule/setup.py
common/lib/xmodule/xmodule/abtest_module.py
common/lib/xmodule/xmodule/capa_module.py
common/lib/xmodule/xmodule/course_module.py
common/lib/xmodule/xmodule/discussion_module.py
common/lib/xmodule/xmodule/error_module.py
common/lib/xmodule/xmodule/html_module.py
common/lib/xmodule/xmodule/js/src/video/display.coffee
common/lib/xmodule/xmodule/mako_module.py
common/lib/xmodule/xmodule/modulestore/mongo.py
common/lib/xmodule/xmodule/modulestore/store_utilities.py
common/lib/xmodule/xmodule/modulestore/xml.py
common/lib/xmodule/xmodule/modulestore/xml_importer.py
common/lib/xmodule/xmodule/raw_module.py
common/lib/xmodule/xmodule/self_assessment_module.py
common/lib/xmodule/xmodule/seq_module.py
common/lib/xmodule/xmodule/template_module.py
common/lib/xmodule/xmodule/tests/__init__.py
common/lib/xmodule/xmodule/tests/test_export.py
common/lib/xmodule/xmodule/tests/test_import.py
common/lib/xmodule/xmodule/video_module.py
common/lib/xmodule/xmodule/x_module.py
common/lib/xmodule/xmodule/xml_module.py
lms/djangoapps/courseware/access.py
lms/djangoapps/courseware/courses.py
lms/djangoapps/courseware/grades.py
lms/djangoapps/courseware/models.py
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/tests/tests.py
lms/djangoapps/courseware/views.py
lms/djangoapps/django_comment_client/utils.py
lms/templates/staff_problem_info.html
lms/templates/video.html
rakefile
2013-02-07 15:12:30 -05:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
Deena Wang
1a6fc1b505
Merge branch 'feature/deena/testing' of https://github.com/MITx/mitx into feature/deena/testing
...
Conflicts:
cms/djangoapps/contentstore/tests/test_views.py
2013-02-01 16:05:44 -05:00
Ned Batchelder
9d34767e6a
Fix the remaining module storage tests.
2013-02-01 15:45:43 -05:00
Deena Wang
25aca5866d
Merge branch 'master' into feature/deena/testing
...
Conflicts:
lms/djangoapps/courseware/tests/test_access.py
2013-02-01 10:19:40 -05:00