Skip to content

PG 2.20 Release Candidate #1231

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

Open
wants to merge 513 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
513 commits
Select commit Hold shift + click to select a range
e0578a7
Fix bracket ends for graphtool intervals with the `useBracketEnds` se…
drgrice1 Mar 13, 2025
ab6d4dd
Merge pull request #1211 from drgrice1/graphtool-interval-bracket-end…
pstaabp Mar 25, 2025
6397dde
Merge pull request #1214 from drgrice1/file-permission-tweak
pstaabp Mar 25, 2025
cdddbde
updated sample problems.
pstaabp Feb 25, 2025
07e2ef9
Added new Sample Problems
pstaabp Feb 25, 2025
5ce1dc4
Update the Vector graph tool as the functionality recently changed.
pstaabp Mar 4, 2025
373ae73
Some cleanup of the wording and restoring some formatting.
pstaabp Mar 25, 2025
6c88950
Add a flood fill algorithm to the GraphTool.
drgrice1 Mar 3, 2025
1a970f6
Make a single `onBoundary` method to each object.
drgrice1 Mar 11, 2025
65219a8
Fix an infinite loop that is occurring unexplicably.
drgrice1 Mar 12, 2025
7fe7554
Increase the canvas size by one.
drgrice1 Mar 12, 2025
9bfaff6
Exit the perl flood fill inner loop if an already filled column is en…
drgrice1 Mar 12, 2025
f9e5d8b
Missed clean up of the quadrilateral tikz methods.
drgrice1 Mar 13, 2025
bfc568b
Fix an error in the isCrossed computation for graphtool quadrilateral…
drgrice1 Mar 13, 2025
f358c70
Clean up the fill resolution and unitX/unitY computations.
drgrice1 Mar 16, 2025
5d4e107
Tweak the logic for the segment and vector onBoundary method.
drgrice1 Mar 16, 2025
ff08f5b
Switch the default back to the inequality fill for the graph tool.
drgrice1 Mar 25, 2025
d454a0e
Merge pull request #1212 from drgrice1/localization-update
pstaabp Mar 25, 2025
6351166
Merge pull request #1206 from drgrice1/graphtool-flood-fill
pstaabp Mar 25, 2025
c9d1d34
Fix comparison of a fraction to infinity.
drgrice1 Mar 27, 2025
2612e10
Fix typo in Matrix doc and add a test.
pstaabp Mar 27, 2025
ed18e79
Merge pull request #1222 from drgrice1/fraction-cmp-to-inf
pstaabp Mar 27, 2025
9e20a63
Trimed pg problems to max width of 80 charactors.
pstaabp Mar 27, 2025
098a131
Merge pull request #17 from pstaabp/matrix-add-unit-test
Alex-Jordan Mar 28, 2025
f547673
cleanup from PR#1215 review
Alex-Jordan Mar 28, 2025
b97d8dd
correct POD for ->value
Alex-Jordan Mar 29, 2025
d7f6260
some more tests for matrices
Alex-Jordan Mar 29, 2025
b728ca8
update several matrix methods to apply to degree n matrices
Alex-Jordan Mar 24, 2025
bb3eb77
cleanup from PR#1216 review
Alex-Jordan Mar 28, 2025
3500d91
more tests for Matrix MathObjects
Alex-Jordan Mar 29, 2025
f49077d
Clean up the documentation language.
pstaabp Apr 1, 2025
eaa4e78
Merge pull request #1215 from Alex-Jordan/matrices
pstaabp Apr 1, 2025
130bfc5
update several matrix methods to apply to degree n matrices
Alex-Jordan Mar 24, 2025
0aba6d1
cleanup from PR#1216 review
Alex-Jordan Mar 28, 2025
f36e52b
more tests for Matrix MathObjects
Alex-Jordan Mar 29, 2025
a733d6a
remove Data::Dumper from matrix testing
Alex-Jordan Apr 1, 2025
bff1ae8
Fix a vulnerabilities with the `PGcore::insertGraph` and `surePathToT…
drgrice1 Mar 21, 2025
4519640
Merge branch 'matrices-2' of https://github.com/Alex-Jordan/pg into m…
pstaabp Apr 2, 2025
245e192
Switch from the `JSON` module to `Mojo::JSON`.
drgrice1 Apr 4, 2025
f7e338e
Merge pull request #1219 from drgrice1/sure-path-to-tmp-file-vulnerab…
Alex-Jordan Apr 5, 2025
37d9c87
Remove the json packages from the docker build and the github workflows.
drgrice1 Apr 8, 2025
0666562
Merge pull request #1226 from drgrice1/json-to-mojo-json
pstaabp Apr 8, 2025
e410541
Merge pull request #1216 from Alex-Jordan/matrices-2
drgrice1 Apr 8, 2025
0b66813
Remove the `max-width` on radio or checkbox sub part answers of a `Ra…
drgrice1 Apr 4, 2025
49e4ca1
upgrade degree-1 matrices to degree 2 when doing a comparison
Alex-Jordan Apr 11, 2025
c7f8373
remove unnecessary line
Alex-Jordan Apr 11, 2025
b62cf82
transpose degree n matrices
Alex-Jordan Mar 24, 2025
1ea3603
Merge pull request #1225 from drgrice1/radio-mult-sub-radio-or-check-…
Alex-Jordan Apr 15, 2025
fa82e38
Merge pull request #1228 from Alex-Jordan/form-correction
drgrice1 Apr 15, 2025
23331f8
Update the Rserve interface.
drgrice1 Mar 19, 2025
7190e10
Merge remote-tracking branch 'origin/main' into PG-2.20
drgrice1 Apr 27, 2025
2b48ef9
Merge pull request #1213 from drgrice1/rserve-update
dlglin Apr 29, 2025
c7b44e7
Remove aria labels from radio buttons.
drgrice1 Apr 4, 2025
1b244ed
Remove 0_60_100 grader, fix syntax error and clarify instructions for…
dlglin May 5, 2025
dea814e
Merge pull request #1233 from dlglin/remove0_60_100
somiaj May 6, 2025
0c7b952
Merge pull request #1217 from Alex-Jordan/matrices-3
pstaabp May 6, 2025
9a63d34
Merge pull request #1224 from drgrice1/radio-buttons-no-aria
pstaabp May 6, 2025
4890f83
Change the version to 2.20 and remove the license from files.
drgrice1 Apr 29, 2025
1d2efb6
Merge pull request #1232 from drgrice1/version-update
pstaabp May 6, 2025
f7da728
Finalize MathQuill for the 2.20 release.
drgrice1 Apr 25, 2025
c89f9a7
Fix the maketext call added to `lib/Value/AnswerChecker.pm` in #1224.
drgrice1 May 10, 2025
1392a55
Merge pull request #1235 from drgrice1/fix-failing-maketext
pstaabp May 13, 2025
0e40ba2
Merge pull request #1227 from Alex-Jordan/matrix-compare
pstaabp May 13, 2025
ed4a6fa
Fix the maketext call added to `lib/Value/AnswerChecker.pm` in #1224.
drgrice1 May 10, 2025
6eddaee
upgrade degree-1 matrices to degree 2 when doing a comparison
Alex-Jordan Apr 11, 2025
395952c
Merge pull request #1230 from drgrice1/finalize-mathquill-for-release
Alex-Jordan May 14, 2025
71d5765
Switch to a better extension system for the GraphTool.
drgrice1 Mar 7, 2025
1adc630
Take the Perl package approach further and make them MathObjects.
drgrice1 Mar 14, 2025
630831f
Update the sample problem demonstrating custom graphtool checker ussage.
drgrice1 Apr 17, 2025
1265db9
Improvements to the debugging `show` method of PGML.
drgrice1 Sep 14, 2024
04d5b53
Finalize MathQuill for the 2.20 release.
drgrice1 Apr 25, 2025
03766a0
Update tutorial/sample-problems/DiffCalc/AnswerWithUnits.pg
Alex-Jordan May 20, 2025
248b86b
Merge pull request #1201 from pstaabp/new-sample-problems-and-updates
Alex-Jordan May 20, 2025
a727b60
Merge pull request #1218 from drgrice1/graphtool-graph-math-object
Alex-Jordan May 20, 2025
d9fc4d8
Fix a vulnerability in `Statistics.pm` and the macro `PGstatisticsmac…
drgrice1 Mar 25, 2025
4c0b10f
updated sample problems.
pstaabp Feb 25, 2025
3f410ac
Added new Sample Problems
pstaabp Feb 25, 2025
8a084da
Update the Vector graph tool as the functionality recently changed.
pstaabp Mar 4, 2025
0a46ea8
Some cleanup of the wording and restoring some formatting.
pstaabp Mar 25, 2025
c5cdad1
Trimed pg problems to max width of 80 charactors.
pstaabp Mar 27, 2025
ef6ed73
Clean up the documentation language.
pstaabp Apr 1, 2025
d91e2b5
Update tutorial/sample-problems/DiffCalc/AnswerWithUnits.pg
Alex-Jordan May 20, 2025
9f07991
Switch to a better extension system for the GraphTool.
drgrice1 Mar 7, 2025
e0d1faf
Take the Perl package approach further and make them MathObjects.
drgrice1 Mar 14, 2025
c11d1eb
Update the sample problem demonstrating custom graphtool checker ussage.
drgrice1 Apr 17, 2025
40e638c
Merge pull request #1220 from drgrice1/statisticsmacros-vulnerability
Alex-Jordan May 20, 2025
3ba9fef
Fix a vulnerability in the Rserve code.
drgrice1 Mar 22, 2025
f22c1e2
Fix a vulnerability in `Statistics.pm` and the macro `PGstatisticsmac…
drgrice1 Mar 25, 2025
62e645b
Merge pull request #1223 from drgrice1/pgml-show-improvements
Alex-Jordan May 20, 2025
0edc42a
Improvements to the debugging `show` method of PGML.
drgrice1 Sep 14, 2024
666242b
Merge pull request #1229 from drgrice1/rserve-update-plus-complete-re…
Alex-Jordan May 20, 2025
2b0668e
Fix a vulnerability in the Rserve code.
drgrice1 Mar 22, 2025
6fe1969
Fix a typo in a GraphTool class name.
drgrice1 May 22, 2025
bc65e8f
Merge pull request #1236 from drgrice1/bugfix/graphtool-cirlce
Alex-Jordan May 26, 2025
661552a
Fix a typo in a GraphTool class name.
drgrice1 May 22, 2025
a6fbf79
Change DragNDrop TeX logic on when to use multicols.
somiaj May 25, 2025
e2e0741
Remove unload event listener from JavaScript.
somiaj May 28, 2025
dd4c11c
Merge pull request #1238 from somiaj/drag-n-drop-use-linewidth
Alex-Jordan May 28, 2025
86285bd
Change DragNDrop TeX logic on when to use multicols.
somiaj May 25, 2025
f9ab22c
Implement makeZero() for matrices (and other types).
dpvc Jun 1, 2025
a94ca17
Merge pull request #1240 from somiaj/remove-unload-listener
pstaabp Jun 3, 2025
601750b
Merge pull request #1241 from somiaj/derivatives-of-vector-constants
pstaabp Jun 3, 2025
ec52a84
Remove unload event listener from JavaScript.
somiaj May 28, 2025
1b43196
Implement makeZero() for matrices (and other types).
dpvc Jun 1, 2025
dbfc47e
Add PGplot, a method for generating graphs.
somiaj Apr 10, 2023
4df4b00
Move Plots components to lib/.
pstaabp Mar 24, 2024
dcb12d5
Add use strict and use warnings to Plots modules.
pstaabp Aug 14, 2024
153315c
Code review changes from drgrice1.
somiaj Aug 15, 2024
0023948
Move some macros into the deprecated folder
pstaabp May 27, 2025
a61ff53
Add JSXGraph graph output to Plots.
somiaj Nov 10, 2024
bc02e1c
Add show_ticks and tick_labels option to each axis.
somiaj Jun 6, 2025
0942a53
Add ability to plot vector fields with Plots.
somiaj Jun 9, 2025
bf478fd
add canvasObject.pl, regrnfsPG.pl
pstaabp Jun 9, 2025
300305e
Various improvements to plotting.
somiaj Jun 9, 2025
d7fc52a
Add a white background to pgplot TikZ output.
drgrice1 Jun 10, 2025
576de1e
Merge pull request #3 from drgrice1/pgplot-background
somiaj Jun 10, 2025
c438d1b
Redefine pgfplot standard and axis on top layers.
somiaj Jun 10, 2025
afbb602
Clean up the `addToPreamble` call.
drgrice1 Jun 11, 2025
3d2eb43
Remove ticks option from axes.
somiaj Jun 11, 2025
ce968ee
Merge pull request #4 from drgrice1/pgplot-background
somiaj Jun 11, 2025
ba3887c
Fix ariaDescription in Plots::JSXGraph.
somiaj Jun 11, 2025
9838738
Update JSXGraph Axes and fix TikZ fill issue.
somiaj Jun 11, 2025
408b316
Minor things that need to be done.
drgrice1 Jun 11, 2025
49fb8c9
Add imageview features to JSXGraph output of plots when the jsx_navig…
drgrice1 Jun 11, 2025
a00bea6
Wait until the containing div has size before drawing the board.
drgrice1 Jun 11, 2025
c9ac325
Add a workaround for the issue with the bounding box when the zoom fa…
drgrice1 Jun 12, 2025
e73c181
Merge pull request #5 from drgrice1/pgplot-imageview
somiaj Jun 12, 2025
8610604
Add arrow_size and adjust default colors.
somiaj Jun 12, 2025
98a5fa2
Merge pull request #966 from somiaj/pgplot
somiaj Jun 12, 2025
38cd196
Merge pull request #1242 from pstaabp/deprecate-macros
Alex-Jordan Jun 17, 2025
d0de12e
Remove old problems from the doc directory
pstaabp Jun 17, 2025
0ba1bf4
More files to remove.
pstaabp Jun 17, 2025
67093d1
Add PGplot, a method for generating graphs.
somiaj Apr 10, 2023
3510220
Move Plots components to lib/.
pstaabp Mar 24, 2024
032167c
Add use strict and use warnings to Plots modules.
pstaabp Aug 14, 2024
d5c03d1
Code review changes from drgrice1.
somiaj Aug 15, 2024
a395301
Add JSXGraph graph output to Plots.
somiaj Nov 10, 2024
c6c8ccf
Add show_ticks and tick_labels option to each axis.
somiaj Jun 6, 2025
142f3b1
Add ability to plot vector fields with Plots.
somiaj Jun 9, 2025
dd0f5ca
Various improvements to plotting.
somiaj Jun 9, 2025
b600611
Add a white background to pgplot TikZ output.
drgrice1 Jun 10, 2025
89b60fd
Redefine pgfplot standard and axis on top layers.
somiaj Jun 10, 2025
2dec7e5
Remove ticks option from axes.
somiaj Jun 11, 2025
0a00885
Clean up the `addToPreamble` call.
drgrice1 Jun 11, 2025
a52fe94
Fix ariaDescription in Plots::JSXGraph.
somiaj Jun 11, 2025
dda0d93
Update JSXGraph Axes and fix TikZ fill issue.
somiaj Jun 11, 2025
2723e1f
Minor things that need to be done.
drgrice1 Jun 11, 2025
33f8df0
Add imageview features to JSXGraph output of plots when the jsx_navig…
drgrice1 Jun 11, 2025
325b65f
Wait until the containing div has size before drawing the board.
drgrice1 Jun 11, 2025
8c49ca4
Add a workaround for the issue with the bounding box when the zoom fa…
drgrice1 Jun 12, 2025
bb6716d
Add arrow_size and adjust default colors.
somiaj Jun 12, 2025
004a0fe
Move some macros into the deprecated folder
pstaabp May 27, 2025
a377752
add canvasObject.pl, regrnfsPG.pl
pstaabp Jun 9, 2025
61e3ba6
package-lock.json: update caniuse-lite and change indentation to tabs
Alex-Jordan Jun 18, 2025
f5c8e8e
Merge pull request #1248 from Alex-Jordan/update-package-lock
drgrice1 Jun 18, 2025
8d25a17
package-lock.json: update caniuse-lite and change indentation to tabs
Alex-Jordan Jun 18, 2025
fb634bc
remove another unneeded script.
pstaabp Jun 18, 2025
490900f
Merge pull request #1246 from pstaabp/remove-old-problems
drgrice1 Jun 18, 2025
b576b2a
Remove old problems from the doc directory
pstaabp Jun 17, 2025
c215d94
More files to remove.
pstaabp Jun 17, 2025
6d2c8cd
remove another unneeded script.
pstaabp Jun 18, 2025
640abe6
fix a niceTables bug
Alex-Jordan Jun 18, 2025
945912f
Merge pull request #1249 from Alex-Jordan/niceTablesBug
pstaabp Jun 18, 2025
8f78551
A better fix for the JSXGraph imageview issue.
drgrice1 Jun 12, 2025
ab50ca2
Hide major/minor grid lines when axes are not visible in Tikz.
somiaj Jun 12, 2025
dd4a72a
Another round of Plots color updates.
somiaj Jun 12, 2025
c51e670
Plots bug fixes.
somiaj Jun 12, 2025
73055f7
Make linestyle between JSXGraph and Tikz more uniform.
somiaj Jun 13, 2025
ce449bd
Add method add_circle to Plots.
somiaj Jun 13, 2025
2f237da
Plots add add_arc method for drawing arcs and code cleanup.
somiaj Jun 13, 2025
2d569dd
Change Plots label's orientation to rotate.
somiaj Jun 13, 2025
e32d4e5
Add ability to graph polar functions r = f(theta) to Plots.
somiaj Jun 17, 2025
831dd1b
Use the graph's color for the default fill_color.
somiaj Jun 17, 2025
5ba41a4
Plots, add multipath functions.
somiaj Jun 17, 2025
9050b1a
Plots, set number format to avoid SI notation in formulas.
somiaj Jun 17, 2025
7c32e28
Don't use sticky axes if JSXGraph navigation is disabled.
somiaj Jun 17, 2025
c80e4a1
Plots::Axes, grid updates.
somiaj Jun 17, 2025
bb22085
Plots, use Tikz with tgz extension for PTX output.
somiaj Jun 18, 2025
0c9fe78
Use <= for multipath logic to ensure final end point gets computed co…
somiaj Jun 18, 2025
1b17fb5
Rename title as ariaLabel as that is what the option is for.
somiaj Jun 18, 2025
b3ae733
Change JSXGraph default arrow_size to 8.
somiaj Jun 18, 2025
232b000
Add warning if name is missing when trying to fill.
somiaj Jun 18, 2025
cfba117
Modify how height of Plots image is computed.
somiaj Jun 18, 2025
102ff71
fix a niceTables bug
Alex-Jordan Jun 18, 2025
b35f650
Merge pull request #1245 from somiaj/plots-improvements
pstaabp Jun 18, 2025
9cc5644
A better fix for the JSXGraph imageview issue.
drgrice1 Jun 12, 2025
264f826
Hide major/minor grid lines when axes are not visible in Tikz.
somiaj Jun 12, 2025
34450c6
Another round of Plots color updates.
somiaj Jun 12, 2025
09db04f
Plots bug fixes.
somiaj Jun 12, 2025
984cbe5
Make linestyle between JSXGraph and Tikz more uniform.
somiaj Jun 13, 2025
0f3bc79
Add method add_circle to Plots.
somiaj Jun 13, 2025
02176c1
Plots add add_arc method for drawing arcs and code cleanup.
somiaj Jun 13, 2025
fad8f2c
Change Plots label's orientation to rotate.
somiaj Jun 13, 2025
7e7a692
Add ability to graph polar functions r = f(theta) to Plots.
somiaj Jun 17, 2025
84bb645
Use the graph's color for the default fill_color.
somiaj Jun 17, 2025
f761703
Plots, add multipath functions.
somiaj Jun 17, 2025
acae402
Plots, set number format to avoid SI notation in formulas.
somiaj Jun 17, 2025
737b047
Don't use sticky axes if JSXGraph navigation is disabled.
somiaj Jun 17, 2025
2c79c49
Plots::Axes, grid updates.
somiaj Jun 17, 2025
0f2aca6
Plots, use Tikz with tgz extension for PTX output.
somiaj Jun 18, 2025
82af9c8
Use <= for multipath logic to ensure final end point gets computed co…
somiaj Jun 18, 2025
a088d46
Rename title as ariaLabel as that is what the option is for.
somiaj Jun 18, 2025
170f4f3
Change JSXGraph default arrow_size to 8.
somiaj Jun 18, 2025
d53cafd
Add warning if name is missing when trying to fill.
somiaj Jun 18, 2025
7cd7231
Modify how height of Plots image is computed.
somiaj Jun 18, 2025
15b8b9b
Change Plots options to aria_label and aria_description.
somiaj Jun 18, 2025
aab9598
Fix points at infinity for intervals.
drgrice1 Jun 20, 2025
3c9ea20
Merge pull request #1253 from drgrice1/bugfix/graphtool-points-at-inf…
Alex-Jordan Jun 20, 2025
d15e158
long image descriptions
Alex-Jordan Jun 17, 2025
a33de39
Change badges to buttons and remove inline javascript.
drgrice1 Jun 20, 2025
c08d473
Fix minor issues.
drgrice1 Jun 20, 2025
18fbad6
Close image long descriptions on a mouse click or escape button press.
drgrice1 Jun 20, 2025
e8ddfb0
Add the long description to graphtool answer graphs.
drgrice1 Jun 20, 2025
26c1975
change long description border radius
Alex-Jordan Jun 20, 2025
7b3a14b
Add long_description to TeX hardcopy output.
somiaj Jun 20, 2025
812d7d8
Merge pull request #1252 from somiaj/make-aria-options-consistant
pstaabp Jun 20, 2025
4aa5b36
fix test image (issue #720)
Alex-Jordan Jun 20, 2025
e35ae29
Merge pull request #1255 from Alex-Jordan/fixLaTeXImageTest
somiaj Jun 20, 2025
464e49e
Fix points at infinity for intervals.
drgrice1 Jun 20, 2025
5b18479
Change Plots options to aria_label and aria_description.
somiaj Jun 18, 2025
64c29f4
fix test image (issue #720)
Alex-Jordan Jun 20, 2025
c7079cb
Add some sample problems for Plots.pl
pstaabp Jun 17, 2025
39fb5e3
Remove updated by ... comment, added categories
pstaabp Jun 20, 2025
f0a28af
Deprecate some more macros and set a warning if using.
pstaabp Jun 19, 2025
71cbbb8
Restore these macro.
pstaabp Jun 21, 2025
bc250ed
Save the list of deprecated macros in the PGloadfiles object.
somiaj Jun 21, 2025
2ebfa7e
change styling on hardcopy image descriptions
Alex-Jordan Jun 20, 2025
4df44f0
Merge pull request #29 from somiaj/loadmacros-deprecate-save
pstaabp Jun 23, 2025
1bf3f2d
Merge pull request #1251 from pstaabp/add-plots-sample-probs
Alex-Jordan Jun 24, 2025
10575c8
Add some sample problems for Plots.pl
pstaabp Jun 17, 2025
36ec4d6
Remove updated by ... comment, added categories
pstaabp Jun 20, 2025
4b79612
revert to previous version of PGloadfiles
pstaabp Jun 24, 2025
c0b50ff
Merge pull request #1256 from pstaabp/loadmacros-deprecate
Alex-Jordan Jun 24, 2025
caf9c5e
Deprecate some more macros and set a warning if using.
pstaabp Jun 19, 2025
ee7ad91
Restore these macro.
pstaabp Jun 21, 2025
0d41458
Save the list of deprecated macros in the PGloadfiles object.
somiaj Jun 21, 2025
9247caf
revert to previous version of PGloadfiles
pstaabp Jun 24, 2025
935beb0
Remove the localization `tense` method.
drgrice1 Jun 23, 2025
38889fc
Merge pull request #1257 from drgrice1/localization-no-tense
somiaj Jun 25, 2025
0d97a07
Remove the localization `tense` method.
drgrice1 Jun 23, 2025
efdd045
Merge pull request #1247 from Alex-Jordan/image-descriptions
drgrice1 Jun 25, 2025
a933f29
long image descriptions
Alex-Jordan Jun 17, 2025
aeb182f
Change badges to buttons and remove inline javascript.
drgrice1 Jun 20, 2025
3723f9f
Fix minor issues.
drgrice1 Jun 20, 2025
f21a134
Close image long descriptions on a mouse click or escape button press.
drgrice1 Jun 20, 2025
e7e1de1
Add the long description to graphtool answer graphs.
drgrice1 Jun 20, 2025
3fb4a4b
change long description border radius
Alex-Jordan Jun 20, 2025
7afe672
Add long_description to TeX hardcopy output.
somiaj Jun 20, 2025
3d89cdf
change styling on hardcopy image descriptions
Alex-Jordan Jun 20, 2025
0aab03a
Merge remote-tracking branch 'origin/develop' into PG-2.20
drgrice1 Jun 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/check-formats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ on:
jobs:
perltidy:
name: Check Perl file formatting with perltidy
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
image: perl:5.34
image: perl:5.38
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: cpanm -n Perl::Tidy@20220613
run: cpanm -n Perl::Tidy@20240903
- name: Run perltidy
shell: bash
run: |
Expand All @@ -30,7 +30,7 @@ jobs:

prettier:
name: Check JavaScript, style, and HTML file formatting with prettier
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
unit-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout PG code
uses: actions/checkout@v4
Expand All @@ -21,20 +21,20 @@ jobs:
dvisvgm \
imagemagick \
libclass-accessor-perl \
libclass-tiny-perl \
libdbi-perl \
libencode-perl \
libgd-perl \
libhtml-parser-perl \
libjson-perl \
libjson-xs-perl \
liblocale-maketext-lexicon-perl \
libmojolicious-perl \
libtest-mockobject-perl \
libtest2-suite-perl \
libtie-ixhash-perl \
libuuid-tiny-perl \
libyaml-libyaml-perl \
pdf2svg \
r-base-core \
r-cran-rserve \
texlive \
texlive-latex-extra \
texlive-latex-recommended \
Expand All @@ -46,4 +46,5 @@ jobs:
- name: Run Perl unit tests
run: |
export PG_ROOT=`pwd`
R_HOME=/usr/lib/R /usr/lib/R/site-library/Rserve/libs/Rserve --no-save
prove -r t
1 change: 0 additions & 1 deletion .perltidyrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
-nlop # No logical padding (this causes mixed tabs and spaces)
-wn # Weld nested containers
-xci # Extended continuation indentation
-vxl='q' # No vertical alignment of qw quotes
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Online Homework Delivery System
Version 2.*

Copyright 2000-2024, The WeBWorK Project
Copyright 2000-2025, The WeBWorK Project
All rights reserved.

This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

http://webwork.maa.org/wiki/Category:Release_Notes

Copyright 2000-2024, The WeBWorK Project
Copyright 2000-2025, The WeBWorK Project
http://webwork.maa.org
All rights reserved.
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$PG_VERSION ='2.19';
$PG_COPYRIGHT_YEARS = '1996-2024';
$PG_VERSION ='2.20';
$PG_COPYRIGHT_YEARS = '1996-2025';

1;
14 changes: 0 additions & 14 deletions bin/convert-to-pgml.pl
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
#!/usr/bin/env perl
################################################################################
# WeBWorK Online Homework Delivery System
# Copyright &copy; 2000-2024 The WeBWorK Project, https://github.com/openwebwork
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
# Artistic License for more details.
################################################################################

=head1 NAME

Expand Down
6 changes: 2 additions & 4 deletions bin/parse-problem-doc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ BEGIN
use lib "$pg_root/lib";

use Mojo::Template;
use File::Basename qw(fileparse basename);
use File::Basename qw(basename);
use Getopt::Long;
use File::Copy qw(copy);
use YAML::XS qw(DumpFile);
use Pod::Simple::Search;

use SampleProblemParser qw(parseSampleProblem generateMetadata);
Expand Down Expand Up @@ -155,8 +154,7 @@ ($params, %options)
return;
}

# Copy the PG.js file and CSS file into the output directory.
copy("$pg_root/tutorial/js/PG.js", $out_dir);
# Copy the CSS file into the output directory.
copy("$pg_root/tutorial/css/sample-problem.css", $out_dir);

1;
14 changes: 0 additions & 14 deletions bin/perltidy-pg.pl
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
#!/usr/bin/env perl
################################################################################
# WeBWorK Online Homework Delivery System
# Copyright &copy; 2000-2024 The WeBWorK Project, https://github.com/openwebwork
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
# Artistic License for more details.
################################################################################

=head1 NAME

Expand Down
1 change: 0 additions & 1 deletion bin/perltidy-pg.rc
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@
-nlop # No logical padding (this causes mixed tabs and spaces)
-wn # Weld nested containers
-xci # Extended continuation indentation
-vxl='q' # No vertical alignment of qw quotes
19 changes: 2 additions & 17 deletions bin/run-perltidy.pl
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
#!/usr/bin/env perl
################################################################################
# WeBWorK Online Homework Delivery System
# Copyright &copy; 2000-2024 The WeBWorK Project, https://github.com/openwebwork
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
# Artistic License for more details.
################################################################################

=head1 NAME

Expand Down Expand Up @@ -62,9 +48,8 @@ =head1 OPTIONS

my $pg_root = curfile->dirname->dirname;

die "Version 20220613 or newer of perltidy is required for this script.\n"
. "The installed version is $Perl::Tidy::VERSION.\n"
unless $Perl::Tidy::VERSION >= 20220613;
die "Version 20240903 of perltidy is required for this script.\nThe installed version is $Perl::Tidy::VERSION.\n"
unless $Perl::Tidy::VERSION == 20240903;
die "The .perltidyrc file in the pg root directory is not readable.\n"
unless -r "$pg_root/.perltidyrc";

Expand Down
10 changes: 8 additions & 2 deletions conf/pg_config.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ specialPGEnvironmentVars:
# Size in pixels of dynamically-generated images, i.e. graphs.
onTheFlyImageSize: 400

# To enable Rserve (the R statistical server), uncomment the following two
# lines. The R server needs to be installed and running in order for this to
# work. See http://webwork.maa.org/wiki/R_in_WeBWorK for more info.
#Rserve:
# host: localhost

# Locations of CAPA resources. (Only necessary if you need to use converted CAPA problems.)
CAPA_Tools: $Contrib_dir/CAPA/macros/CAPA_Tools/
CAPA_MCTools: $Contrib_dir/Contrib/CAPA/macros/CAPA_MCTools/
Expand Down Expand Up @@ -230,6 +236,7 @@ modules:
- [Multiple]
- [PGrandom]
- [Regression]
- ['Plots::Plot', 'Plots::Axes', 'Plots::Data', 'Plots::Tikz', 'Plots::JSXGraph', 'Plots::GD']
- [Select]
- [Units]
- [VectorField]
Expand All @@ -248,8 +255,7 @@ modules:
- ['Tie::IxHash']
- ['Locale::Maketext']
- ['WeBWorK::PG::Localize']
- [JSON]
- ['Class::Tiny']
- ['Mojo::JSON']
- ['IO::Handle']
- ['Rserve']
- [DragNDrop]
Expand Down
9 changes: 3 additions & 6 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# cpanm --installdeps .

on runtime => sub {
requires 'perl' => '5.20.3';
recommends 'perl' => '5.30.0'; # Needed for Statistics::R::IO
requires 'perl' => '5.20.3';

requires 'DBI';
requires 'Digest::MD5';
Expand All @@ -14,8 +13,7 @@ on runtime => sub {
requires 'GD';
requires 'HTML::Entities';
requires 'HTML::Parser';
requires 'JSON';
requires 'JSON::XS';
requires 'Mojo::JSON';
requires 'Locale::Maketext';
requires 'Locale::Maketext::Lexicon';
requires 'Mojolicious';
Expand All @@ -25,13 +23,12 @@ on runtime => sub {
requires 'YAML::XS';

# Needed for Rserve
recommends 'Statistics::R::IO::Rserve';
recommends 'Class::Tiny';
recommends 'IO::Handle';
};

on test => sub {
requires 'Test2::V0' => '0.000139';
requires 'Test::MockObject::Extends';
requires 'HTML::TagParser'; # Used by t/macros/basicmacros.t

recommends 'Data::Dumper'; # For debugging data structures
Expand Down
Loading