Nimisha Asthagiri
041d72ccc6
Update mongo counts.
2014-09-04 18:14:13 -04:00
Calen Pennington
fb56588090
Tweak mongo count numbers
2014-09-02 10:29:23 -04:00
Andy Armstrong
4fcc59b318
Merge branch 'release' into andya/merge-hotfix-2014-08-29
...
Conflicts:
cms/djangoapps/contentstore/tests/test_import.py
common/lib/xmodule/xmodule/modulestore/__init__.py
common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py
lms/djangoapps/courseware/tests/test_module_render.py
2014-08-29 16:50:40 -04:00
Andy Armstrong
7b26e85478
Merge branch 'release' into andya/merge-hotfix-2014-08-29
...
Conflicts:
cms/djangoapps/contentstore/tests/test_import.py
common/lib/xmodule/xmodule/modulestore/__init__.py
common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py
lms/djangoapps/courseware/tests/test_module_render.py
2014-08-29 16:50:10 -04:00
Calen Pennington
8dc7f34295
Improve debuggability when call-count numbers don't match up
2014-08-29 14:09:35 -04:00
Don Mitchell
e624ff3b04
Make path_to_location use bulk_write_operation for performance.
2014-08-27 16:29:47 -04:00
Calen Pennington
3672c9a292
Make find_matching_* work during split bulk operations
2014-08-27 16:29:47 -04:00
Calen Pennington
e7ce41061e
Improve debuggability when call-count numbers don't match up
2014-08-27 16:29:47 -04:00
Calen Pennington
50082387eb
Add a request-token to identify which xblock html was rendered as part of the current request
...
[STUD-2903]
2014-08-15 11:04:52 -04:00
Carson Gee
87fa6cc753
Check if user is anonymous before calling PSYCHOMETRICS
...
LTI grade callbacks for example, come in with an anonymous user. This causes a
stack trace in the psychometrics app that leads to the LTI service
getting a 404. This adds a check before that callback gets registered.
2014-08-01 12:34:12 -04:00
Don Mitchell
d4776a151b
Test both split and old mongo
2014-07-30 17:44:45 -04:00
Don Mitchell
0f0d75fce8
Convert toc test to use mongo not xml ms
...
Included adding a general create_toy_course and create_sample_course method for tests
2014-07-30 17:44:44 -04:00
Calen Pennington
4ded4be700
Fix calls to get_module to not pass course ids as positions
2014-07-15 09:22:04 -04:00
polesye
584da69bee
Fix unit test.
2014-06-24 14:26:02 +03:00
polesye
2629b48de8
Fix unit test.
2014-06-23 17:56:28 +03:00
cahrens
73e7ced6f9
Introduce constants for studio_view, student_view, and author_view.
2014-06-20 11:41:23 -04:00
Ned Batchelder
ec5aee2949
Remove duplicates in a class list so tests aren't duplicated
2014-06-06 13:17:36 -04:00
Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Calen Pennington
94c8d86a42
Fix failing tests from merge with master
2014-05-12 11:34:39 -04:00
Calen Pennington
c72b0bb293
Resolve merge conflicts relative to master
2014-05-09 15:31:20 -04:00
Calen Pennington
155ffe37ca
Merge remote-tracking branch 'edx/master' into opaque-keys-merge-master
...
Conflicts:
cms/djangoapps/contentstore/views/item.py
cms/djangoapps/contentstore/views/tests/test_container.py
cms/djangoapps/contentstore/views/tests/test_tabs.py
common/lib/xmodule/xmodule/modulestore/mongo/draft.py
lms/djangoapps/certificates/management/commands/gen_cert_report.py
lms/djangoapps/certificates/queue.py
lms/djangoapps/certificates/views.py
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/tests/test_module_render.py
lms/djangoapps/instructor/views/api.py
lms/djangoapps/instructor/views/instructor_dashboard.py
lms/djangoapps/instructor/views/legacy.py
lms/djangoapps/shoppingcart/tests/test_models.py
lms/djangoapps/verify_student/views.py
2014-05-09 15:29:32 -04:00
Don Mitchell
7be81341d7
Revert StudentModule.module_state_key to field rather than computed property
2014-05-09 10:41:12 -04:00
Calen Pennington
9811926d97
Make course ids and usage ids opaque to LMS and Studio [partial commit]
...
This commit updates lms/djangoapps/courseware.
These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).
For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.
Co-Author: Andy Armstrong <andya@edx.org >
Co-Author: Christina Roberts <christina@edx.org >
Co-Author: David Baumgold <db@edx.org >
Co-Author: Diana Huang <dkh@edx.org >
Co-Author: Don Mitchell <dmitchell@edx.org >
Co-Author: Julia Hansbrough <julia@edx.org >
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org >
Co-Author: Sarina Canelake <sarina@edx.org >
[LMS-2370]
2014-05-06 10:08:32 -04:00
cahrens
7e05f3cdab
pep8/pylint cleanup
2014-05-02 15:36:22 -04:00
cahrens
1e92a6c884
Do not show "View in Studio" links for child verticals of verticals.
...
STUD-1558
2014-05-02 13:36:44 -04:00
Jason Bau
f8c062b6ce
lti 2.0 result service rest endpoint
2014-04-29 12:01:12 -07:00
Giulio Gratta
3456c1173b
Added "Edit in CMS" links throughout courseware
2014-04-04 10:23:51 -07:00
Gabe Mulley
fe21f47573
Add module display name to module related server events
...
This information will likely be used frequently for analytics purposes, so we would like to denormalize here to avoid having to join with the modulestore later.
Fixes: AN-594
2014-02-25 11:53:36 -05:00
Calen Pennington
dbc99ef8ad
Implement children for pure XBlocks in edx-platform
...
This requires fixing the javascript api implementation, and adding
an implementation of get_block to the ModuleSystem api.
However, the implementation is incomplete, due to mismatches between
the expectations of XModule and XBlock.
Also adds tests using the Acid block to make sure that the javascript
and python apis for children are working correctly.
2014-02-21 15:01:20 -05:00
Usman Khalid
21d8b40576
Added feature setting 'DISPLAY_HISTOGRAMS_TO_STAFF' to configure display of histograms in Staff Debug Info panel.
...
Generating histograms requires scanning the courseware_studentmodule table on
each view. This can make staff access to courseware very slow on large courses.
Default is False.
LMS-1199
2014-02-13 17:15:20 +05:00
Usman Khalid
f6d7cb5065
Renamed feature setting 'DISPLAY_HISTOGRAMS_TO_STAFF' to 'DISPLAY_DEBUG_INFO_TO_STAFF' to better communicate its purpose.
...
Default is True.
LMS-1199
2014-02-13 17:15:19 +05:00
Dave St.Germain
a6797899da
Removed inappropriate section tags. Because screen readers announce each section, they should not be used unless they are actually defining meaningful sections.
2014-02-05 11:32:08 -05:00
cahrens
df09e99ad1
Create explicit Locations.
...
Part of STUD-1030
2013-12-12 14:37:00 -05:00
Calen Pennington
11bbf4c182
Add grading functionality to LTI xmodule
...
Co-author: Alexander Kryklia <kryklia@edx.org >
Co-author: Ned Batchelder <ned@edx.org >
Co-author: Oleg Marchev <oleg@edx.org >
Co-author: Valera Rozuvan <valera@edx.org >
Co-author: polesye
[BLD-384]
2013-11-26 16:30:55 -05:00
Calen Pennington
1205173d6f
Add a per-course anonymous student id
...
This does not yet replace the existing per-student anonymous id, but
is intended to do so in the future.
Co-author: Alexander Kryklia <kryklia@edx.org >
Co-author: Ned Batchelder <ned@edx.org >
Co-author: Oleg Marchev <oleg@edx.org >
Co-author: Valera Rozuvan <valera@edx.org >
Co-author: polesye
2013-11-26 16:29:35 -05:00
Calen Pennington
6d613f9d4e
Enable un-authenticated handler urls
...
Updates to depend on the latest version of XBlock, which includes
support for service-to-service (thirdparty) handler urls, which aren't
authenticated with a user (unlike handler requests coming from the
xblock client-side javascript).
Co-author: Ned Batchelder <ned@edx.org >
2013-11-26 16:29:34 -05:00
Calen Pennington
864d831ce3
Use XBlock handlers for handle_ajax in XModules
...
Adds xblock handler_url support to the LMS, and makes handle_ajax use
that code.
[LMS-230] [LMS-229]
2013-11-08 11:08:48 -05:00
Calen Pennington
8ddd8c14a4
Fix pylint/pep8 errors
2013-11-08 11:08:48 -05:00
Calen Pennington
ce6fbae693
Add an XBlock javascript runtime, and use it to run XModules
...
[LMS-57]
2013-10-18 16:31:32 -04:00
Calen Pennington
658810a94f
Use xblock render shortcuts
2013-10-08 15:58:23 -04:00
Calen Pennington
6b474724ac
Make XModuleDescriptor and XModule act as a single class
...
By transparently proxying between the XModuleDescriptor and the XModule,
and between their runtimes, we can make them act as a single class, so
that we can swap in an actual XBlock instead.
2013-10-08 15:29:17 -04:00
Calen Pennington
230bf0c643
Switch get_html replacement out for using wrap_child
2013-10-03 14:28:19 -04:00
Calen Pennington
8201b1412e
Use XBlock 0.3
2013-09-06 09:45:59 -04:00
Will Daly
c680dfdd40
Merge pull request #768 from edx/will/use-mixed-modulestore-in-tests
...
Will/use mixed modulestore in tests
2013-08-23 08:38:09 -07:00
Chris Dodge
ef98c54f5b
fix some pylint violations
2013-08-21 20:06:10 -04:00
ichuang
42af561a17
pep8 and pylint for tests of nostatic import
2013-08-21 11:23:00 -04:00
Will Daly
96c2a50370
Merge branch 'master' into will/use-mixed-modulestore-in-tests
...
Conflicts:
common/lib/xmodule/xmodule/modulestore/django.py
lms/djangoapps/courseware/tests/test_views.py
lms/djangoapps/courseware/tests/tests.py
2013-08-21 10:12:24 -04:00
Will Daly
48c6daacb8
Removed unnecessary settings wrangling from ModuleStoreTestCase.
...
Modified navigation tests to use MixedModulestore
Updated factories to find editable modulestore
Updated test_submitting_problems
Updated test_tabs.py
Updated test_view_authentication
Updated test_views
Updated courseware/tests/tests.py
Updated test_masquerade
Updated test_module_render
Pylint fixes
Updated video and word cloud tests
Updated course wiki tests
Updated license and open_ended tests.
One open_ended test still failing due to Mako initialization issues
Updated staticbook
Updated django_comment_client tests
Updated instructor tests
Updated instructor task tests
Updated external_auth tests
Updated course_groups
2013-08-21 09:36:45 -04:00
ichuang
0d938d3940
Merge branch 'master' of github.com:edx/edx-platform into feature/ichuang/import-with-no-static
...
Conflicts:
lms/djangoapps/courseware/tests/test_module_render.py
2013-08-20 23:40:09 -04:00
ichuang
95952bd693
add tests of static_asset_path and importing with no static;
...
fix (again) static_replace to work with static_asset_path
2013-08-20 23:30:26 -04:00