-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop wwclientsup7 #657
Merged
Merged
Develop wwclientsup7 #657
Changes from 56 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
12f4398
Fix conflict in WebworkClient
mgage b5e8f03
Make sure that courseName is always defined in CourseEnvironment
mgage 6df229e
Add accessor (a mutator) for the "summary" item contained in Attempt…
mgage c999dd6
Make the test script for AttemptsTable prettier.
mgage 5cf154b
Add "grab_course_environment" support script for testing scripts in t…
mgage cde9172
Updates to testAttemptsTable script
mgage 3c2c575
Add capabilities to the AttemptsTable object
mgage 14c45de
Modify webwork2/lib/WeBWorK/ContentGenerator/Problem.pm to use Atte…
mgage 5ad0dd3
Add POD documentation to attemptsTable.pm
mgage 242b5b1
Additional documentation
mgage 8bcfe66
Fixed bug in instructorXMLHandler
mgage 0d3c622
Replace "encodedSource" by encoded_source
mgage 58aec49
Have displayMode and problemSeed defined in one place $envir->{inputs…
mgage 78187b8
Have displayMode and problemSeed defined in one place $envir->{inputs…
mgage dce04fc
Have displayMode and problemSeed defined in one place $envir->{inputs…
mgage 0cf9edc
Cleanup
mgage ee4e1e4
Cleanup -- don't want problemSeed =0
mgage df30ce6
Define displayMode in the hash inputs_ref
mgage ba002df
some debug adjustments
mgage aec006d
Merge branch 'release-2.11' into wwclientsup7-debug
mgage 5a51c08
Merge commit '14c45de16b61188457f37135cb016815f18ce8a1' into wwclient…
mgage 662ffc9
Merge branch 'develop_attemptTables_update3' into wwclientsup7-debug
mgage 9e84b8d
Updates for using attemptsTables
mgage 719c836
sendXMLRPC.pl replaces renderProblem.pl, renderProblem_raw_output.p…
mgage b3ca897
Rename inputs.txt to input.pg so that it will work with sendXMLRPC.pl
mgage 6aec5cb
check2_problems_in_dir.sh duplicates check_problems_in_dir.sh using …
mgage eada3ce
Add options, allow a directory as input (as well as a string of files…
mgage 2a9f191
Add additional debugging options (via checkboxes) to Problem.pm
mgage 5eaf268
Improve error message when the session key has timed out.
mgage 47aaef7
Remove warning messages and warnings from undefined quantities
mgage eda4cc1
Initialize variable properly
mgage 3f213f6
Catch errors so that the process doesn't stop if we hit a bad file
mgage fd725d4
Add showResource checkbox. Improve sendXMLRPC handling of directorie…
mgage 70110a6
Add defaults.config support for embedSVG and embedPDF
mgage 9d6dbf5
Fix typo in cut/past operation.
mgage ca4a910
More support for embedSVG and embedPDF
mgage 4c3b42f
Improve methods of scraping the correct answers from the response
mgage e5e7dff
prevent undefined error. Remove warning used during testing
mgage 7fd4d81
Cosmetic changes
mgage c02efed
Remove displayMode and problemSeed from the inputs_ref hash (these c…
mgage af84d97
Merge branch 'release-2.11' into develop_wwclientsup7
mgage 9aeea42
Fix bungled merge
mgage 919c634
Add helpful error message if someone uses the key word password inste…
mgage b935ef7
Cosmetic
mgage 31739f0
Replacing password by course_password.
mgage 92a6ca4
Removing languageMode (a synonym for displayMode) which I don't belie…
mgage f026d11
Correct the fact that the ShowResources checkbox was not "sticky".
mgage 4f67fa4
Add ability to process a list of pg questions from a file specified b…
mgage ebf1316
Replace WWgrade with WWcorrectAns
mgage 17abf5e
Allow data in credentials file to override the displayMode for the WW…
mgage 24e7868
Update instructorXMLRPC to correspond to changes in WebworkWebservice.
mgage 6b06fa0
Merge branch 'develop' into develop_wwclientsup7
mgage f25f5ec
Add support for choosing alternate templates using parameters passed …
mgage 8755a99
Add ability to edit source file (-e switch)
mgage 6f9fc08
Some question as to whether I've made the right choices in Problelem.…
mgage 05b3906
Merge branch 'develop' into develop_wwclientsup7a
mgage b9de8a3
Fixed a missed conflict from the last merge of the new develop with w…
mgage 8b6bee8
Revert ProblemSetList2.pm to the develop version.
mgage d659eeb
Fix typos in defaults.config -- specifically about the editors displ…
mgage ed68d60
Fix spelling of browsernojs
mgage 7861dc2
Change $self->{ce} to $self->ce
mgage 416efdb
Update comments about search paths for html files, image files and pd…
mgage f13c229
Reverting a bad merge for output_comments subroutine.
mgage 5186f9d
Remove hardcoding of perl location. Add warning that this .sh file i…
mgage 0dad7f3
Make ww_credentials a .dist file
mgage fea5bbd
Finish updating ww_credentials.dist
mgage a55f9e5
Remove hardcoding of perl from check2_problems.
mgage 3920f8c
Fix check in for $rh undefined in web service.
mgage 4ba78e1
Remove the if ($debugXmlCode) { } clause from around the eval{ "$rh…
mgage File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
#usage | ||
# check_problems_in_dir.s directory_name | ||
|
||
echo "Checking problems in directory $1" | ||
echo '' > "$WEBWORK_ROOT/DATA/bad_problems.txt" | ||
echo "Results sent to" | ||
echo "$WEBWORK_ROOT/DATA/bad_problems.txt" | ||
time find $1 -name "*.pg" -exec /Volumes/WW_test/opt/local/bin/perl $WEBWORK_ROOT/clients/sendXMLRPC.pl -C -B {} ';' #tail -f /Volumes/WW_test/opt/webwork/webwork2/DATA/bad_problems.txt; | ||
echo "start search" | ||
#tail -f "$WEBWORK_ROOT/DATA/bad_problems.txt" | ||
echo "Time for $1"; | ||
echo "" | ||
echo "" | ||
exit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
##DESCRIPTION | ||
## A very simple first problem | ||
##ENDDESCRIPTION | ||
##KEYWORDS('algebra') | ||
DOCUMENT(); # This should be the first executable line in the problem. | ||
loadMacros( | ||
"PGstandard.pl", | ||
"MathObjects.pl", | ||
"PGmatrixmacros.pl", | ||
); | ||
Context("Vector"); | ||
|
||
TEXT(beginproblem()); | ||
|
||
$showPartialCorrectAnswers = 1; | ||
$a = random(-10,-1,1); | ||
$b = random(1,11,1); | ||
$c = random(1,11,1); | ||
$d = random(1,11,1); | ||
$two = Real("2"); | ||
BEGIN_TEXT | ||
$PAR | ||
Enter 1 \{ANS(num_cmp(1)), ans_rule(30)\}$BR | ||
Enter 2 \{ANS($two->cmp), ans_rule(30) \}$BR | ||
Enter \(x^2-1\) \{ANS(Compute("x^2-1")->cmp); ans_rule(30)\}$BR | ||
Enter \(x^2-1\) \{ANS(Compute("x^2-1")->cmp); ans_box(2,30)\}$BR | ||
Enter \(< 4, 6, 7>\)\{ANS(Compute("<4,6,7>")->cmp), ans_rule( 30)\} $BR | ||
END_TEXT | ||
ENDDOCUMENT(); # This should be the last executable line in the problem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
DOCUMENT(); | ||
|
||
loadMacros( | ||
"PGstandard.pl", | ||
"MathObjects.pl", | ||
"parserMultiAnswer.pl", | ||
"MatrixCheckers.pl", | ||
"PGmatrixmacros.pl", | ||
"PGinfo.pl", | ||
"PGcourse.pl", | ||
); | ||
|
||
Context("Matrix"); | ||
|
||
TEXT(beginproblem()); | ||
TEXT($BEGIN_ONE_COLUMN); | ||
$showPartialCorrectAnswers = 1; | ||
|
||
|
||
BEGIN_TEXT | ||
MathObject matrices | ||
$PAR | ||
\{display_matrix([[1,4,7],[3,1,7]]) \} | ||
|
||
END_TEXT | ||
|
||
$M = Matrix(" [[4,5,6],[3,2,1]]" ); | ||
$M2 = Matrix("[[1,2],[3,4]]"); | ||
$M3 = Matrix("[[3,1],[4,1]]"); | ||
$input = $inputs_ref->{AnSwEr0001}//'[0]'; | ||
$N = Matrix($input); | ||
$N2 = Matrix($inputs_ref->{mymatrix}//'[0]'); | ||
Context()->texStrings; | ||
BEGIN_TEXT | ||
Enter a matrix here [[4,5,6],[3,2,1]] \{ANS($M->cmp), ans_box( 4,80) \} $BR | ||
and the entered matrix is | ||
\[$N\] | ||
$BR | ||
Enter a matrix here [[1,2],[3,4]] \{NAMED_ANS_BOX('mymatrix', 4,80) \} $BR | ||
\[$N2\] | ||
$BR | ||
Enter a final matrix [[3,1],[4,1]] here $PAR | ||
\{ANS($M3->cmp),$M3->ans_array(3) \} $PAR | ||
END_TEXT | ||
Context()->normalStrings; | ||
|
||
|
||
LABELED_ANS('mymatrix', $M2->cmp); | ||
|
||
|
||
#listVariables(); | ||
|
||
ENDDOCUMENT(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a hard coded path to perl and should probably just rely on the path or a config variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok -- although this .sh file becomes redundant once the new sendXMLRPC is stable. It's functionality is embedded in the new sendXMLRPC.