Commit Graph

24432 Commits

Author SHA1 Message Date
Chris Dodge
bde448d950 make sure the CourseAccessRole Django ORM Admin page uses a raw_id so that we don't populate millions of rows from the production database in the drop down list 2014-07-17 12:04:56 -04:00
Calen Pennington
1607b7fc0d Merge pull request #4445 from cpennington/cross-store-xml-import-export
Add tests for xml import/export between different modulestores
2014-07-17 10:55:55 -04:00
Calen Pennington
d354571e95 Use field scopes to compute which metadata to strip from the definition during XML import of XMLModule subclasses 2014-07-17 10:35:37 -04:00
Calen Pennington
9a4e1f5cd1 Only compute block types with children once 2014-07-17 10:35:37 -04:00
Calen Pennington
3c7aa18d25 Don't use raw asserts in split (to handle different types of UsageKeys sanely) 2014-07-17 10:35:37 -04:00
Calen Pennington
1bc0b323b1 Explicitly create the AssetKey for all assets coming out of a ContentStore 2014-07-17 10:35:36 -04:00
Calen Pennington
4e67c2a9b3 Add the manual testing course for testing xml import/export across modulestores 2014-07-17 10:35:36 -04:00
Calen Pennington
8e0189bcf7 Skip DraftVersioningModuleStore tests 2014-07-17 10:35:35 -04:00
Calen Pennington
7a55f1207d Add tests of cross-modulestore import/export
[LMS-2945]
2014-07-17 10:35:04 -04:00
Ned Batchelder
ebfcb5d8ce Merge pull request #4349 from louyihua/localization-cms
Make TinyMCE editor translatable
2014-07-16 17:06:37 -04:00
louyihua
db39e6a311 Make TinyMCE editor translatable
Combine TinyMCE's built-in translation scheme with the django's translation framework.
So edX's translators can also make translations for TinyMCE used in edX.
2014-07-17 02:37:01 +08:00
Anton Stupak
26d35ac4f8 Merge pull request #4441 from edx/anton/fix-flaky--bok-choy-test
Video: fix flaky bok-choy test.
2014-07-16 21:11:46 +03:00
Ned Batchelder
18b7e6f59d Merge pull request #4347 from louyihua/studio-advanced-settings-localization
Fix quotation mark & apostrophe related i18n bug
2014-07-16 13:51:02 -04:00
Calen Pennington
7c6cd56ed3 Merge pull request #4447 from cpennington/squelch-deprecation-warnings-in-test
Remove warning filter from library code (should be set by applications/tests directly)
2014-07-16 13:07:17 -04:00
Sarina Canelake
405c4f9eb3 Merge pull request #4244 from Stanford-Online/jbau/edx/course-specific-login-opaquekeys
course_specific_reg/login for OpaqueKeys
2014-07-16 12:45:39 -04:00
Ned Batchelder
8f9c383c68 Merge pull request #4449 from edx/ned/tweaks-for-i18n-docs
Tweaks for i18n docs
2014-07-16 12:30:39 -04:00
louyihua
9d284d2f61 Fix quotation mark & apostrophe related i18n bug
Just done by using the escapejs function :)
2014-07-16 23:56:30 +08:00
Ned Batchelder
fc16ee3a6e Tweaks for i18n docs 2014-07-16 11:48:35 -04:00
Sarina Canelake
fba7bb91bd Merge pull request #3718 from jazkarta/idde-bugfix
Fix a bug in Individual Due Date Extensions (IDDE).
2014-07-16 11:30:10 -04:00
Calen Pennington
ae3942baa2 Remove warning filter from library code (should be set by applications/tests directly) 2014-07-16 11:14:24 -04:00
Don Mitchell
347b660623 Merge pull request #4413 from edx/remove-loc-mapper
Remove LocMapperStore
2014-07-16 11:09:24 -04:00
Jason Bau
e9022e74a8 Hotfix course_specific_reg/login for OpaqueKeys 2014-07-16 10:18:21 -04:00
Don Mitchell
9f2fa7e105 sql migrations cannot use loc mapper 2014-07-16 09:21:25 -04:00
Don Mitchell
a9695828ab Remove LocMapperStore
LMS-2918
2014-07-16 09:21:25 -04:00
polesye
37cccb85e4 BLD-1190: Fix bok-choy test. 2014-07-16 13:34:00 +03:00
muhammad-ammar
a71919efa7 Merge pull request #4422 from edx/ammar/fix-handout-tests
Add promise to ensure unit visibility is changed
2014-07-16 12:25:48 +05:00
Andy Armstrong
cd2315c1fb Merge pull request #4435 from edx/christina/stud-1963
Disable test that is leaving modal open.
2014-07-15 17:48:11 -04:00
Feanil Patel
a5330052c8 Merge pull request #4430 from edx/feanil/fix_bokchoy
Feanil/fix bokchoy
2014-07-15 17:05:09 -04:00
cahrens
8a484b64d3 Disable test that is leaving modal open.
STUD-1963
2014-07-15 16:52:52 -04:00
Jason Bau
fb39111af3 Merge pull request #4417 from edx/jbau/event-responsetype
Change answer <-> response matching in capa.get_submission_metadata
2014-07-15 16:51:42 -04:00
Sarina Canelake
666f563ee6 Merge pull request #4418 from Stanford-Online/dcadams/make_registration_button_conditional
Make text on register button on About page conditional.
2014-07-15 16:37:00 -04:00
Chris Rossi
700504c52f Fix a bug in Individual Due Date Extensions (IDDE).
The IDDE implementation relied on a StudentModule being created for a
particular block in order to set the extended due date on that block.
Since StudentModules seem to be created on demand whenever data is
written to an attribute with Scope.user_state, it meant that if a
homework problem hadn't yet been touched by a student it was possible
that the due date extension wouldn't take effect for that problem, even
if the due date extension was successfully set for the parent unit.

This patch fixes this problem by creating new StudentModules as
necessary in order to make sure extended due dates propogate properly to
all problems in a unit.
2014-07-15 15:54:55 -04:00
David Adams
aa1b623904 Make text on register button on About page conditional.
Added a new advanced setting; invitation_only

 If invitation_only display "Enrollment in this course is by invitation only"
 Otherwise, if outside of enrollment period display "Enrollment is Closed"

 This issue is logged at LMS-2670

 Also fixed in this PR is issue LMS-2717; even though the Register button was greyed out,
 clicking it sent one to the registration page.
2014-07-15 12:51:12 -07:00
Alison Hodges
9c929104c7 Merge pull request #4372 from edx/ahodges/documentation/discussionoverview
New chapter on discussion features for all users
2014-07-15 15:19:59 -04:00
Feanil Patel
22b97338c9 Create the test database if it doesn't exist.
There is a bootstrapping case where the test DB doesn't exist which causes reset_db to fail.
2014-07-15 13:55:18 -04:00
Feanil Patel
c9a63657f6 Check to make sure that the mysql service is running. 2014-07-15 13:54:25 -04:00
Calen Pennington
4986a61877 Merge pull request #4414 from cpennington/fix-get-module-calls
Fix calls to get_module to not pass course ids as positions
2014-07-15 12:55:12 -04:00
Alison Hodges
b96658c85e New chapter on discussion features for all users 2014-07-15 12:48:09 -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
Sarina Canelake
d1891542df Merge pull request #4420 from Stanford-Online/kluo/fix-name-changes-template
Fix pending name changes template
2014-07-15 09:03:10 -04:00
Will Daly
f86b031a20 Merge pull request #4416 from edx/will/timepicker-css-in-unit-editor
Add JQuery timepicker CSS to the unit and container templates
2014-07-15 07:59:41 -04:00
Tim Babych
b79fe85fd0 Merge pull request #4423 from edx/tim/group-conf-course-key-pattern
Update (optional) Group Configuration urls to use settings.COURSE_KEY_PATTERN
2014-07-15 12:40:56 +03:00
Tim Babych
d7b396a98b Update (optional) Group Configuration urls to use settings.COURSE_KEY_PATTERN. 2014-07-15 12:28:37 +03:00
Muhammad Ammar
b2e08ddc72 Add promise to ensure unit visibility is changed 2014-07-15 07:10:01 +00:00
Tim Babych
246e0e6f66 Merge pull request #4411 from edx/anton/group-experiments
Create new group configurations page
2014-07-15 08:19:34 +03:00
Kevin Luo
adc7c13f45 Fix pending name changes template
- Strings marked for translation need to be wrapped in quotes to be
string type.
- Update old post function call
- Remove extra close brackets in function definitions
- Wrap href attribute in quotes
- Move square bracket outside of translated text
2014-07-14 17:04:42 -07:00
Nimisha Asthagiri
851fe47a95 Merge pull request #4370 from edx/nimisha/split-drop-database-2952
Implement close_connections and drop_database on modulestores.
2014-07-14 18:17:48 -04:00
Jason Bau
faff8c577e Change answer <-> response matching in capa.get_submission_metadata 2014-07-14 17:09:06 -04:00
Christina Roberts
afa3e0d2d5 Merge pull request #4402 from edx/christina/staff-lock
Add "visible_to_staff_only" field to support staff locking in Studio.
2014-07-14 16:34:33 -04:00
Nimisha Asthagiri
d7cf8b7fa0 Implement close_connections and drop_database on modulestores. 2014-07-14 16:01:10 -04:00