ichuang
2fe4895e43
more static_asset_path handling in courses.py
2013-08-20 18:09:27 -04:00
ichuang
210fa112f3
modify handling of info/handouts and module_render to honor static_asset_path
2013-08-20 18:08:01 -04:00
Chris Dodge
bc5e27fe17
update some more call sites in LMS to always pass in a course_id
2013-08-19 23:42:26 -04:00
Chris Dodge
a16aee340a
get_items should take a course_id
2013-08-19 23:42:26 -04:00
Jonah Stanley
73ad057eff
Merge pull request #710 from edx/jonahstanley/help-acceptance-test
...
Jonahstanley/help acceptance test
2013-08-19 14:02:29 -07:00
Diana Huang
9469991f52
Merge pull request #713 from edx/diana/button-updates
...
Drupal side Register button updates
2013-08-19 07:28:45 -07:00
JonahStanley
ce5d9b93b1
Added the full range of help modal options
...
Fixed pylint violations
2013-08-19 09:56:57 -04:00
chrisndodge
7aa4418934
Merge pull request #723 from edx/fix/cdodge/bad-links-can-cause-exception-on-rewrite
...
Fix/cdodge/bad links can cause exception on rewrite
2013-08-19 06:33:55 -07:00
ichuang
220ec522a1
Merge branch 'master' of github.com:edx/edx-platform into feature/ichuang/import-with-no-static
...
Conflicts:
common/djangoapps/static_replace/__init__.py
common/djangoapps/xmodule_modifiers.py
lms/djangoapps/courseware/courses.py
lms/djangoapps/courseware/module_render.py
2013-08-19 08:24:35 -04:00
Anton Stupak
7a68516d12
Fix formatting.
2013-08-19 10:39:52 +03:00
Anton Stupak
a921e44aa3
Fix steps.
2013-08-19 10:39:52 +03:00
Anton Stupak
d848477596
Remove unecessary assert.
2013-08-19 09:10:50 +03:00
Chris Dodge
033f922ec0
add a try catch around the staticstorage lookup, which can throw an exception
2013-08-17 10:33:59 -04:00
chrisndodge
594a73d437
Merge pull request #722 from edx/feature/cdodge/add-a-mixed-modulestore
...
Feature/cdodge/add a mixed modulestore
2013-08-17 07:32:51 -07:00
chrisndodge
8ba3214cd4
Merge pull request #496 from edx/feature/cdodge/add-a-mixed-modulestore
...
Add a 'MixedModuleStore' which aggregates between XML and Mongo Modulestores
2013-08-16 13:02:31 -07:00
JonahStanley
fc899ab116
Stylistic change and factored out method to common
2013-08-16 15:30:35 -04:00
JonahStanley
43bee86074
Tightened up wording
2013-08-16 11:08:05 -04:00
JonahStanley
967fdee6bc
Made filling field a bit safer
2013-08-16 10:55:14 -04:00
JonahStanley
97f70e8598
Fixed wording to better reflect BDD specs
2013-08-16 10:52:20 -04:00
JonahStanley
fc67c2ee6b
Wrote preliminary help modal acceptance tests
2013-08-16 10:36:12 -04:00
Adam Palay
8aee225136
in grading, if problem cannot be created, return score as none
2013-08-16 10:25:38 -04:00
Chris Dodge
61219169d4
change over the modulestore configuration to be a dict and use a property accessor. Also update some django-admin configs to use this means to set the runtime configuration
2013-08-15 22:58:04 -04:00
Chris Dodge
5ee5beafbe
fix bad merge conflict resolution
2013-08-15 22:58:03 -04:00
Chris Dodge
aa8b054590
fix missed conflict resolution
2013-08-15 22:58:03 -04:00
Chris Dodge
5298f54f4c
fix tests
2013-08-15 22:58:02 -04:00
Chris Dodge
cff93d324b
WIP
2013-08-15 22:58:02 -04:00
Chris Dodge
82988972ad
WIP: added a get_modulestore_type. Added some unit tests. changed over the isinstance() with respect to modulestores to use this get_modulestore_type()
2013-08-15 22:58:02 -04:00
Diana Huang
c8fdf6ad29
Add in tests for the marketing site button.
2013-08-15 16:34:48 -04:00
Diana Huang
4946fbcd5b
Change registration button based on number of modes.
2013-08-15 16:34:48 -04:00
David Ormsbee
3ce87583ab
Shift enroll/unenroll logic to CourseEnrollment model, add is_active and mode.
...
Features coming down the pipe will want to be able to:
* Refer to enrollments before they are actually activated (approval step).
* See what courses a user used to be enrolled in for when they re-enroll in
the same course, or a different run of that course.
* Have different "modes" of enrolling in a course, representing things like
honor certificate enrollment, auditing (no certs), etc.
This change adds an is_active flag and mode (with default being "honor").
The commit is only as large as it is because many parts of the codebase were
manipulating enrollments by adding and removing CourseEnrollment objects
directly. It was necessary to create classmethods on CourseEnrollment to
encapsulate this functionality and then port everything over to using them.
The migration to add columns has been tested on a prod replica, and seems to be
fine for running on a live system with single digit millions of rows of
enrollments.
2013-08-14 13:23:06 -04:00
ichuang
a5bb971c9b
add static_asset_path metadata to course, and honor its use in link rewriting
2013-08-12 20:26:20 +00:00
Anton Stupak
74f3595d54
Add acceptance tests for checking rendering.
2013-08-12 14:32:15 +03:00
Peter Fogg
e20acee4c4
Working on Videoalpha test fix.
...
Fixed all common and LMS tests.
The tests were failing because XMLDescriptor adds in some attributes
to _model_data, such as `xml_attributes`, that aren't necessary. The
solution is to handle all XML parsing in VideoDescriptor. There's
still one test failing in CMS, which has to do with metadata being
saved. I'm still working out how to update it in such a way that it
doesn't fail, but still tests something meaningful.
2013-08-12 14:32:15 +03:00
Anton Stupak
d846462ce9
Migrate acceptance tests: old Video -> new Video.
2013-08-12 14:32:07 +03:00
Vasyl Nakvasiuk
b33b5c7bd4
Python: videoalpha -> video.
2013-08-12 14:31:48 +03:00
Vasyl Nakvasiuk
28b0ba5e10
Migrate video tests to videoalpha tests, remove video tests.
2013-08-12 14:31:47 +03:00
JonahStanley
5a579921f2
Fixed stylistic things and no longer skipped tests in firefox
2013-08-08 13:24:28 -04:00
JonahStanley
38c2997fcf
Added a comment on the features that will not work on firefox
2013-08-08 13:24:27 -04:00
JonahStanley
7056c80319
Fixed most of the lms tests to work on firefox
2013-08-08 13:24:25 -04:00
Jay Zoldak
006b90af9f
Modify cms acceptance tests to use auto_auth workflow.
2013-08-08 12:08:25 -04:00
Vasyl Nakvasiuk
ae8b2c883c
add Word Cloud acceptance tests
2013-08-07 15:46:27 +03:00
Peter Fogg
ae517fee01
Merge pull request #455 from edx/peter-fogg/remove-videoalpha-xml
...
Peter fogg/remove videoalpha xml
2013-08-06 11:06:46 -07:00
Peter Fogg
9c84440501
PR comment cleanup.
2013-08-06 13:23:33 -04:00
Peter Fogg
08c5f955aa
Unstyled prototype for new list editor design.
2013-08-06 13:23:33 -04:00
Peter Fogg
f317244ac4
Convert Video Alpha to metadata-only.
2013-08-06 13:23:33 -04:00
Chris Dodge
9e96b9525b
tie in the normal courseware link url rewriting in capa module since that presents HTML via an Ajax callbacks and not via module_render.py
2013-08-05 15:24:19 -04:00
chrisndodge
85267e6a73
Merge pull request #535 from edx/feature/cdodge/add-display-org-and-coursenum
...
add display_coursenumber and display_organization fields on the CourseModule
2013-08-04 18:00:29 -07:00
Diana Huang
4005b3bd79
Merge pull request #554 from edx/diana/django-ratelimit
...
Limit the rate of logins
2013-08-02 11:02:04 -07:00
Diana Huang
c867be7961
Limit the rate of logins.
2013-08-02 11:23:59 -04:00
Miles Steele
bc9cce5733
add instructor dash version switch
2013-08-02 09:52:13 -04:00