forked from openwebwork/webwork2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconverted-cgs
81 lines (58 loc) · 2.88 KB
/
converted-cgs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
4 => 3 + GENERATE PATHS WITH URLPath INSTEAD OF HARD CODING
(this has to be done before we can change the virtual heirarchy.)
lib/WeBWorK/ContentGenerator.pm
lib/WeBWorK/ContentGenerator/EquationDisplay.pm
lib/WeBWorK/ContentGenerator/Error.pm
lib/WeBWorK/ContentGenerator/Feedback.pm
lib/WeBWorK/ContentGenerator/Grades.pm
lib/WeBWorK/ContentGenerator/Home.pm
lib/WeBWorK/ContentGenerator/Instructor.pm
lib/WeBWorK/ContentGenerator/Instructor/AddUsers.pm
lib/WeBWorK/ContentGenerator/Instructor/Assigner.pm
lib/WeBWorK/ContentGenerator/Instructor/FileXfer.pm
lib/WeBWorK/ContentGenerator/Instructor/Index.pm
lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
lib/WeBWorK/ContentGenerator/Login.pm
lib/WeBWorK/ContentGenerator/Logout.pm
lib/WeBWorK/ContentGenerator/Options.pm
lib/WeBWorK/ContentGenerator/Problem.pm
lib/WeBWorK/ContentGenerator/ProblemSet.pm
lib/WeBWorK/ContentGenerator/ProblemSets.pm
lib/WeBWorK/ContentGenerator/Instructor/ProblemList.pm
lib/WeBWorK/ContentGenerator/Instructor/ProblemSetEditor.pm
lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm
lib/WeBWorK/ContentGenerator/Instructor/Scoring.pm
lib/WeBWorK/ContentGenerator/Instructor/ScoringDownload.pm
lib/WeBWorK/ContentGenerator/Instructor/SendMail.pm
lib/WeBWorK/ContentGenerator/Instructor/SetsAssignedToUser.pm
lib/WeBWorK/ContentGenerator/Instructor/ShowAnswers.pm
lib/WeBWorK/ContentGenerator/Instructor/Stats.pm
lib/WeBWorK/ContentGenerator/Instructor/UserList.pm
3 => 2 + GET PATH DATA FROM URLPath INSTEAD OF FROM $self->r
(this has to be done before we can take advantage of path/param munging.)
lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
- delaying path generation changes until major cleanup
lib/WeBWorK/ContentGenerator/Hardcopy.pm
- delaying path generation changes until major cleanup
lib/WeBWorK/ContentGenerator/Instructor/UsersAssignedToSet.pm
2 => 1 + GET $ce, $db, $authz FROM $self->r INSTEAD OF FROM $self
(this has to be done before we can remove ce/db/authz from $self.)
1 => REMOVE DEPENDANCY ON DATA FROM @_ (get from URLPath instead)
(this has to be done before things will work.)
0 => NONE OF THE ABOVE DONE
----- Code that needs cleaning -----
- lots of code needs to be factored out of Problem and GatewayQuiz:
- problem logic (recording answers, checking permissions, etc.)
- display idioms (attemptResults, etc.)
- Hardcopy:
- move actual PDF generation into a Utils::* module
- clean up error handling
- code can be factored out of Grades, Stats, and SendMail
- a widget for displaying the "student progress" chart
- util code for doing mail merge from scoring files (whatever it does)
- Instructor needs work -- there's a lot of cut-n-paste going on
- factor info box formatting code out of Login, ProblemSets, ProblemSet
and into WeBWorK::HTML::InfoBox
- some modules should probably go under Utils:
- Compatability.pm
- Timing.pm