Skip to content
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

PG-2.17 #697

Merged
merged 209 commits into from
Jul 18, 2022
Merged

PG-2.17 #697

merged 209 commits into from
Jul 18, 2022

Conversation

drgrice1
Copy link
Member

No description provided.

drgrice1 and others added 30 commits July 14, 2021 15:39
Resolve problem with space after function to a power. (#598)
…wers = 1;

Copied over functions (e.g. "numNeeded") from the original draggableProof.pl which might be called by certain pg problems.
Also, a previous update broke scoring-by-edit-distance. The variable $actualAnswer in draggableProof.pl is redefined to address this.
Fixed NEW_ANS_NAME in DragNDrop.pm POD
Removed obsolete comment in POD of draggableProof.pl and draggableSubets.pl
Co-authored-by: Glenn Rice <47527406+drgrice1@users.noreply.github.com>
Co-authored-by: Glenn Rice <47527406+drgrice1@users.noreply.github.com>
Co-authored-by: Glenn Rice <47527406+drgrice1@users.noreply.github.com>
taniwallach and others added 28 commits May 24, 2022 21:33
still be a final result from the AnswerHints postfilter.
as that would be the result of the calculation used for any such
n due to overflow of the Perl floating point data type.
…K and PG 2.16.

It seems that Safari does not properly honor the specifications for the FocusEvent.RelatedTarget, and the new method does not work for that lame browser (at least the current version).
* Added a test for the factorial.

* FIX: clarified some of the language in the tests.
Limit loop to compute factorial to n<=170, for n>170 return Perl Inf
the input boxes as LTR and the menu should internally be in
LTR so the symbols will appear properly.
AnswerHints test "wrong" subroutine used to trigger hints returns
a zero.
Change the text of the error message issued when the "eval" fails, and
make it a "warn" instead of a results table "answer message".
Correct exponential for factor of eV
fixes #677

Adds definitions for kev, MeV and GeV

Remove t/README because it has been superseded by t/README.md
…ols.

When graphing a parabola (via any of the tools that do so) or a cubic it is possible to create degenerate objects.  The code that is supposed to prevent that wasn't quite working right.  The jsxgraph board object needs to be updated after setting the position of a point programatically.

To test this graph any of those objects and then move one of the defining points of the object around with the keyboard.  For example, graph a three point quadratic and try to move one point onto the same vertical line as another point.  That should not be possible.
Correct value for electron volt in Units.pm
Fix the prevention of creating degenerate objects with keyboard contols.
…hack

Revert to the mqeditor toolbar focus hack previously used with WeBWorK and PG 2.16.
Fix ww3 mq-editor preview button code causing console log error in ww2 gateway quizzes.
…roblems.

This removes the font size and from these elements.  It also removes the
font-family that was set on selects.  The font family still applies to
textreas and text inputs.
  Only use \textstyle formating option in a fraction's TeX output for
  mixed numbers. For other cases don't include this to allow the size
  of the fraction to be formatted according to \displaystyle.
In contextFraction only use \textstyle for mixed numbers.
For PTX output, don't include hidden MathQuill inputs
Tweak the styles for labels, text inputs, selects, and textareas in problems.
This fixes issue openwebwork/webwork2#1739.

In the PG problem editor, the page in the iframe is not displayed until
after the page loads.  As such the javascript getComputedStyle method
fails.  The same things happens with the graphtool.  The same solution
is now implemented for knowls.
Make knowls wait until the page css has loaded before initializing.
@drgrice1 drgrice1 merged commit d242aab into main Jul 18, 2022
@drgrice1 drgrice1 deleted the PG-2.17 branch July 18, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.