Feanil Patel
bb8420bb51
Rmove the extra configurabilty logic for reset buttons.
...
The `DEFAULT_SHOW_RESET_BUTTON` is not actually referenced anywhere
other than in these two places where it's read. As far as I can tell,
nothing sets this value so it's always going to fallback to false.
Since this mixin is imported during startup, removing this unblocks
testing on python3 where it can fail to start up if the settings haven't
fully loaded before you try to access them.
2019-07-29 13:55:22 -04:00
Alan Zarembok
95616d7d11
PROD-448: Gracefully handle exceptions from user-supplied code in
...
advanced problems so that they do not become uneditable.
2019-07-11 14:45:58 -04:00
Jolyon Bloomfield
86f564e1b6
Fixing course links in solution blocks
2019-05-17 23:12:42 -04:00
Kyle Mulka
d4cbcfd5d5
INCR-229 ran modernize and isort on some files ( #20463 )
...
* INCR-229 ran modernize on common/lib/xmodule/xmodule/[a-g]*.py except for graders.py
* fix a couple xss-commit-linter issues
2019-05-09 00:57:09 -04:00
Usman Khalid
41c6236e0a
Convert CapaModule to ProblemBlock.
...
* Minimum possible changes were made to merge CapaModule & CapaDescriptor into
one ProblemBlock class.
* There are no known changes in behavior.
* CapaModule and CapaDescriptor inherited from a number of classes which inherit
from XModule or XModuleDescriptor but did not depend on them. For all these
classes the methods were moved to mixins which did not inherit from either and
then these mixins were added to ProblemBlock in the order which maintains MRO.
2019-05-01 20:08:36 +05:00
Joseph Okonda
4a98e4626a
Add new Option to Show Answer Dropdown.
...
In Studio: Introduces a new option, `after some number of attempts`
and a new entry box for specifying the number of attempts.
This allows course creators to specify that a given question's
answer is only viewable, i.e its show answer button is visible,
after the learner has attempted answering the question -
by hitting the submit button - a given number of times. Included
in this commit are unit tests for the new feature.
2019-02-08 12:33:40 -08:00
Diana Huang
6572d99e76
Remove all references to datadog from our code.
2019-01-08 15:41:24 -05:00
Simon Chen
af3e5ba4c3
Merge pull request #18149 from mitodl/pdpinch/expose-attempts
...
Expose attempt number to python custom grader
2018-09-10 15:50:28 -04:00
Jolyon Bloomfield
9981b153b3
Remember to add changes before committing...
2018-08-30 16:22:50 -04:00
Jolyon Bloomfield
28e64d95cc
Handle situation where attempts have been reset to 0 and problem is regraded; Update comments
2018-08-30 16:21:23 -04:00
Peter Pinch
3763d26651
clarify comments
2018-08-30 15:57:42 -04:00
rabiaiftikhar
72cba77bbb
EDUCATOR-3030 donot submit completion for grader's response while updating problem score.
2018-08-29 16:04:28 +05:00
Peter Pinch
ddd8d41906
expose attempts to python custom grader
2018-08-27 11:49:55 -04:00
rabiaiftikhar
8286dcce88
EDUCATOR-3030 remove temperory logs
2018-08-10 10:46:29 +05:00
rabiaiftikhar
0438c1b535
EDUCATOR-3030 add temperory logs
2018-07-20 21:51:05 +05:00
Jolyon Bloomfield
caedf6b444
Allow solutions to be displayed on showanswer=attempted if not attempted but past due
2018-05-16 12:56:42 -04:00
Awais Jibran
bef0eb1135
updated correct map when new score is calculated
2018-04-18 15:13:25 +05:00
Peter Pinch
9ee7ef1acf
reduce escaping on sandbox errors returned to learners
2018-02-26 21:51:55 -05:00
Jeremy Bowman
5289c7e828
PLAT-1915 Stop using deprecated BaseException.message
2018-01-31 17:22:01 -05:00
Jeremy Bowman
ebc54c8f1a
PLAT-1890 Fixed assorted ModifyingEnforceTypeWarning warnings
2018-01-24 11:49:42 -05:00
Jeremy Bowman
d3d6272d8f
PLAT-1873 to_deprecated_string() cleanup part 1
2018-01-08 13:51:42 -05:00
muhammad-ammar
690542c998
fix capa hint focus
...
EDUCATOR-1555
2017-11-08 00:18:50 +05:00
Awais Jibran
a428c08168
Fix Show Answer button display for the value "Answered" in studio
...
In docs it is explained that we should show "Show Answer" button for "Answered" value when the user has correctly submitted the answer. The current behavior is such, even if the learner has answered the question wrong, the "Show Answer" button would be available.
EDUCATOR-1563
2017-10-26 12:35:30 +05:00
George Song
2605bf99b6
Merge pull request #15700 from mitodl/aq_unicode_issue_capa
...
Fixed problem with non-Latin characters in loncapa/python problems
2017-10-13 04:59:21 -07:00
Asad Azam
cde6f4b773
Fixed score update on rescore
2017-10-11 23:03:04 +05:00
Amir Qayyum Khan
a7e0c3f420
Fixed issue with non-Latin characters in loncapa/python problems
2017-10-04 19:50:30 +05:00
Sanford Student
932776159c
EDUCATOR-165 instructor task and UI for overriding learner grades.
2017-07-18 13:51:56 -04:00
Peter Pinch
b9e768410f
return only error value to students when codejail raises an exception
...
remove comment for translators
inst.args[0] is more reliable than inst.message
consistent escaping
2017-06-13 21:17:00 -04:00
Jillian Vogel
6ca8a702ae
Mask grades on progress page according to "Show Correctness" setting.
2017-05-31 16:57:38 +02:00
John Eskew
3b57542ab0
Revert "Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance"
...
This reverts commit f97f052591 , reversing
changes made to 800bcd8e20 .
2017-05-30 12:42:54 -04:00
John Eskew
f97f052591
Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance
...
Move fields.py, inheritance.py, and partitions to openedx/core.
2017-05-25 14:21:03 -04:00
John Eskew
76389d8678
Run all files touched in inheritance/partition work through isort.
2017-05-25 13:24:08 -04:00
John Eskew
66f3aa5ccf
Move fields.py, inheritance.py, and partitions to openedx/core.
2017-05-25 13:24:08 -04:00
Adam Palay
3b803085db
make translated string unicode (EDUCATOR-460)
2017-05-23 13:13:56 -04:00
Albert (AJ) St. Aubin
185bac1837
Merge pull request #15012 from edx/aj/EDUCATOR-60
...
Updated the message and style of the status notification when a user …
2017-05-03 13:29:03 -04:00
Albert St. Aubin
d9b8d51dab
Updated the message and style of the status notification when a user enters text into numerical input
2017-05-03 11:50:40 -04:00
J. Cliff Dyer
ea0027f338
refactor CAPA to use scorable xblock mixin
...
for TNL-6594
2017-05-01 15:08:17 -04:00
Jillian Vogel
f18a2be837
Implement optional hiding of capa assessment results
2017-04-13 15:52:57 -07:00
cahrens
55712d1148
Show checkmarks when "Show Answer" is clicked.
...
TNL-6357
2017-01-31 09:55:08 -05:00
Gregory Martin
e1e47793df
change help strings
2017-01-12 09:02:28 -05:00
J. Cliff Dyer
22ce30039b
Use new XMLString type for CAPA data field.
...
TNL-5245
2016-12-15 15:35:44 -05:00
Sanford Student
5f2ffbe75b
implementation of grading events
...
for TNL-5045
2016-12-07 14:47:08 -05:00
Nimisha Asthagiri
f1f5a8f12f
Optimize max_score by moving from XModule to Descriptor
...
TNL-5939
2016-11-17 09:17:59 -05:00
Albert St. Aubin
866399ba05
Changes for ui correctness state when saving a problem
...
TNL-1955
2016-11-16 12:30:04 -05:00
Albert (AJ) St. Aubin
c01df60014
Merge pull request #13786 from edx/aj/TNL-5549_problemMetaRefactor
...
Aj/tnl 5549 problem meta refactor
2016-10-21 13:03:32 -04:00
Albert St. Aubin
dbb66f8c09
Updated the problem meta to show a score of 0 and refactored/simplified the JS that build the problem meta string
...
TNL-5549
2016-10-21 06:40:20 -04:00
Nimisha Asthagiri
aa000c1a3d
Support for rescoring a problem only if the new score is higher
...
TNL-5046
2016-10-20 15:08:54 -04:00
Albert St. Aubin
088b5c6615
Corrected issue with the Show Hint button enabled state with single hint.
...
TNL-5737
2016-10-11 15:50:40 -04:00
muhammad-ammar
aed1ea8028
fix attribute access
2016-10-07 12:14:32 +05:00
muhammad-ammar
c3b6b10478
Problem (capa) feedback UX revamp.
...
TNL-4877
2016-10-06 17:34:43 -04:00