David Ormsbee
dfd3a699b9
Accept either a list of possible values, or a string as a value for
...
comparison of correctness in multiple choice.
Multiple choice code is scattered and sometimes sends a list of
choices for the value, and sometimes a single string. We used to use
"in" which scarily handled both cases (list or substring search),
but that caused a bug when you had two choices like choice_1 and
choice10. Moving to == caused us to break when lists were sent to
us. So this ugly code is extra paranoid and checks both possibilities.
This really needs a better cleanup.
2013-03-30 11:09:44 -04:00
Brian Wilson
23d96b2533
change submission history to be ordered by id
2013-03-29 21:16:20 -04:00
Carlos Andrés Rocha
29efa84205
Enable dev env support for sass source maps
...
Change the parameters of the sass compiler to output source
maps. Google Chrome uses the maps in the debugger to show the sass or
scss file that originated the style for a particular element.
More information here:
http://fonicmonkey.net/2013/03/25/native-sass-scss-source-map-support-in-chrome-and-rails/
2013-03-29 18:34:02 -04:00
chrisndodge
1c47573bd7
Merge pull request #1669 from MITx/fix/vik/add-oe-tab
...
Fix/vik/add oe tab
2013-03-29 13:55:58 -07:00
Chris Dodge
02f97858f6
move the provisioning seeding from LMS into Common. Add provisioning seeding calling from create new course view.
2013-03-29 16:32:53 -04:00
Vik Paruchuri
033f5ce73c
Make process to add open ended tab to studio reversible
2013-03-29 15:53:28 -04:00
Don Mitchell
c655c814e8
Merge pull request #1721 from MITx/feature/cdodge/add-no-inheritable-metadata-on-verticals-to-xlint
...
add checking for metadata that we can't support editing for in Studio. T...
2013-03-29 12:38:42 -07:00
Don Mitchell
80f57db7c3
Merge pull request #1762 from MITx/feature/cdodge/course-overview-perf
...
Feature/cdodge/course overview perf
2013-03-29 12:35:41 -07:00
Chris Dodge
599ca4d429
oops. I'm not programming in C# any longer
2013-03-29 15:31:37 -04:00
Chris Dodge
60e295895e
remove unused parameter
2013-03-29 15:26:21 -04:00
Brian Wilson
29731ec40b
management command to remove excess input_state entries
2013-03-29 15:20:34 -04:00
brianhw
6b1e1b1425
Merge pull request #1769 from MITx/fix/ned/cleanup-wacky-code
...
Enough is enough.
2013-03-29 12:10:23 -07:00
Ned Batchelder
0cfcd183b2
No need to wrap comments that tightly.
2013-03-29 15:05:22 -04:00
Ned Batchelder
e8f8e9e197
Enough is enough.
2013-03-29 14:49:24 -04:00
Chris Dodge
3ce01882bb
add an 'allowed' list of metadata (e.g. display_name, etc.) and also restrict metadata on sequentials
2013-03-29 13:59:59 -04:00
Vik Paruchuri
b8e6c94dd6
Add in a comment
2013-03-29 13:57:16 -04:00
Jay Zoldak
a5b1428bba
Merge pull request #1760 from MITx/feature/will/speed_up_unit_tests
...
Feature/will/speed up unit tests
2013-03-29 10:53:10 -07:00
Vik Paruchuri
5aa357938d
Minor fixes for things that broke in the merge
2013-03-29 13:48:20 -04:00
Vik Paruchuri
65c2fd5f0c
Fix some post-merge errors
2013-03-29 13:22:13 -04:00
Jay Zoldak
d044d5c48d
a few more pep8 fixes
2013-03-29 13:15:33 -04:00
Vik Paruchuri
20bbf75fba
Merge remote-tracking branch 'origin/master' into fix/vik/add-oe-tab
...
Conflicts:
cms/djangoapps/contentstore/utils.py
cms/djangoapps/contentstore/views.py
cms/djangoapps/models/settings/course_metadata.py
2013-03-29 13:10:47 -04:00
David Ormsbee
f6e9b2edd7
Merge pull request #1767 from MITx/hotfix/diana/input-state-fix
...
Remove the default and prevent input_state from persisting across problems
2013-03-29 09:29:09 -07:00
Diana Huang
17adc986bd
Remove the default and prevent input_state from keeping around
...
unnecessary data.
2013-03-29 12:16:27 -04:00
Brian Wilson
50fd7ee7a4
fix test
2013-03-29 12:01:10 -04:00
Will Daly
4f9d18df8c
Wrote unit tests to verify bug fix in
...
https://github.com/MITx/mitx/pull/1764
2013-03-29 12:00:17 -04:00
Vik Paruchuri
d5376e71ff
Add in a test for the weight field
2013-03-29 11:46:44 -04:00
Vik Paruchuri
5391cefddc
Add in tests to see if max score properly exposed and calculated in combinedopenended
2013-03-29 11:17:35 -04:00
David Ormsbee
34899c20ba
Merge pull request #1764 from MITx/hotfix/diana/random_check_bug
...
Fixed bug in parsing of urandom struct so that seed
2013-03-29 08:10:49 -07:00
Jay Zoldak
b63aae221e
small pep8 pylint and superclass fixes
2013-03-29 10:41:27 -04:00
Brian Talbot
f85e18ed3b
studio - resolving local merge
2013-03-29 10:20:08 -04:00
Will Daly
f90dd49556
Fixed bug in parsing of urandom struct so that seed
...
is set to an integer (and correctly saved) instead of a tuple.
2013-03-29 10:18:11 -04:00
Vik Paruchuri
53620d7879
Merge remote-tracking branch 'origin/master' into fix/vik/oe-and-progress
2013-03-29 10:16:00 -04:00
Chris Dodge
bbb53a17f8
add some depth optimziations for edit subsection and unit pages as well
2013-03-29 09:58:03 -04:00
Kevin Chugh
5534d8bdce
fix mega merge conflicts
2013-03-29 07:33:52 -04:00
Brian Wilson
39d666cd13
modify AssignmentFormatGrader to act like a SingleSectionGrader on single sections
2013-03-29 01:27:36 -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
d92533bb51
Test case now drops the mongo collection
2013-03-28 16:41:55 -04:00
Will Daly
86bc70c3c2
Reverted cms changes back
2013-03-28 15:00:19 -04:00
Chris Dodge
ee5076bda9
fix incorrect comment
2013-03-28 14:48:12 -04:00
Chris Dodge
cdc353b61c
add back dropped import
2013-03-28 14:07:13 -04:00
Chris Dodge
8fdeee06ed
Merge branch 'master' of github.com:MITx/mitx into fix/cdodge/studio-forum-improvements
...
Conflicts:
cms/one_time_startup.py
common/lib/xmodule/xmodule/modulestore/mongo.py
2013-03-28 13:27:29 -04:00
Ned Batchelder
252f9364a6
Merge pull request #1761 from MITx/content/rocha/utaustinx-courses
...
Content/rocha/utaustinx courses
2013-03-28 10:26:02 -07:00
Carlos Andrés Rocha
a15baa97c5
Add UTAustinX landing page
2013-03-28 13:23:58 -04:00
Carlos Andrés Rocha
4050da6b4c
Enable meta-universities (organizations that contain other)
2013-03-28 13:23:50 -04:00
Chris Dodge
c55d54b071
also, we don't support metadata on chapters
2013-03-28 13:03:34 -04:00
Will Daly
f652fb5f73
Pylint and pep8 fixes
2013-03-28 12:51:09 -04:00
Brian Talbot
2cd8f448f7
studio - resolving merge with tender widget branch
2013-03-28 12:48:42 -04:00
Brian Talbot
bc248a1d4a
studio - tender widget: revised styling with spam protection back in place
2013-03-28 12:47:08 -04:00
Brian Talbot
653369e3cf
resolving local stash merge
2013-03-28 12:37:58 -04:00
Will Daly
6f8c9b4a9f
Optimized ModuleStoreTestCase to reload templates only once
...
over all test runs.
2013-03-28 12:31:46 -04:00