[system] / trunk / webwork2 / doc / TODO Repository:
ViewVC logotype

Annotation of /trunk/webwork2/doc/TODO

Parent Directory Parent Directory | Revision Log Revision Log


Revision 615 - (view) (download)

1 : sh002i 469 ################################################################################
2 : sh002i 494 # WeBWorK mod_perl (c) 2000-2002 WeBWorK Project
3 : sh002i 615 # $Id: TODO,v 1.16 2002-10-30 19:50:54 sh002i Exp $
4 : sh002i 469 ################################################################################
5 :    
6 : sh002i 452 Son of WeBWorK - TODO list
7 :    
8 : sh002i 475 OK write template file from what we drew on the board
9 :     OK normalize files:
10 :     - (c) header on all files
11 :     - standard order of preamble lines:
12 :     1. (c) header
13 :    
14 :     2. package PACKAGENAME;
15 :    
16 :     3. short summary of the package (pod's NAME section)
17 :    
18 :     4. use - pragmatic modules
19 :     5. use - standard perl modules
20 :     6. use - CPAN modules
21 :     7. use - webwork modules
22 :     - ALWAYS use strict and use warnings
23 :     - use "use base" rather than "our @ISA"
24 :     - no warnings or errors!
25 :     - (later on) POD documentation for all files
26 :     OK fix templating code in ContentGenerator, add new escape functions
27 :     OK implement the new template
28 : sh002i 494 OK finish ProblemSets and ProblemSet
29 :    
30 :     --------------------------------------------------------------------------------
31 : sh002i 562
32 : sh002i 503 DONE New interface to PG.pm
33 :     DONE - instead of it accessing the database directly, accept $user,
34 : sh002i 494 $set, and $problem as arguments (instead of $setName, etc.)
35 : sh002i 503 DONE - UPDATE PG.pm'S DOCS!!!!!!!!!!!!!
36 :     DONE - Fix Problem.pm and Hardcopy.pm to work with the new interface
37 : sh002i 494
38 :     Hardcopy generation
39 : sh002i 502 DONE - ad-hoc version of &latex2png in Hardcopy.pm (move later)
40 :     DONE - fix code (heh heh)
41 : sh002i 555 DONE - fix hardcopySetHeader
42 : sh002i 494
43 :     Integration of dvipng method of image generation
44 : sh002i 526 N/A - choice between writing to a temporary TeX file from within
45 : sh002i 494 dangerousMacros, or queueing the equations up in RAM and
46 :     passing them out to the caller (via PG_flags?) who will then
47 :     call &latex2png
48 : sh002i 526 DONE - write tempfile from dangerousMacros
49 : sh002i 494 - PRO: gets it out of RAM
50 :     - PRO: no dependancies between equations
51 :     - CON: have to coordinate between latex2png and
52 :     dangerous macros for tempfile locations
53 : sh002i 526 FORGET - queue equations in RAM
54 : sh002i 494 - PRO: all file access and external calls happen
55 :     outside of the safe compartment.
56 :     - PRO: latex2png gets to decide where to put files
57 :     - CON: stuff sits in RAM
58 :     - CON: uses a package array to queue equations :p
59 : sh002i 507
60 : sh002i 562 --------------------------------------------------------------------------------
61 :    
62 : sh002i 509 DONE display of screen set header in ProblemSet.pm (easy)
63 : sh002i 547 DONE add <!--#if can="blah" warning="1" error="1"-->
64 : sh002i 555 DONE fix alignment of displaymath images
65 :     DONE print $pg->{header_text} in head of Problem.pm
66 :     DONE remove "set" and "prob" from URL generation, remove s/^(set|prob)//;
67 :     DONE remove webwork-dvipng-xxxxx temp directories when finished with them
68 : sh002i 562 DONE make "enter" on the problem form trigger "submit answer", not "redisplay"
69 : sh002i 558 DONE handling of PG warnings (?!?!?!?!)
70 : sh002i 562 DONE time logging
71 : sh002i 607 test transaction logging
72 : sh002i 562 DONE make static images work
73 :     DONE make GD-generated images work
74 :     DONE make HTML links work
75 : sh002i 615 DONE make images in PDFs work
76 : sh002i 614 remove dependancies on Global:: from IO functions
77 : sh002i 607 handle PG errors (and warnings) in Hardcopy
78 :     fix TTH mode character encodings (check on mac and windows)
79 : sh002i 509 have logout button invalidate key
80 : sh002i 555 Pretty die messages (from outside of the translator)
81 : sh002i 562 Feedback - need nice modular way of sending email
82 :     Options - email address and password
83 : sh002i 614 grep for "***" in source, address all issues
84 : sh002i 555
85 : sh002i 562 --------------------------------------------------------------------------------
86 : sh002i 555
87 : sh002i 607 change notes
88 : sh002i 562
89 : sh002i 547 --------------------------------------------------------------------------------
90 : sh002i 555
91 : sh002i 614 IO functions (dependancies on other IO functions are not listed)
92 :    
93 :     all variables in the global namespace should be replaced with items in the
94 :     %envir hash. all functions that access the envir hash need to be evaluated
95 :     from within the safe compartment (i.e. &unrestricted_eval'd).
96 :    
97 :     includePGtext
98 :     $envir{probFileName}
99 :     send_mail_to
100 :     $REMOTE_HOST
101 :     $REMOTE_ADDR
102 :     $Global::smtpServer
103 :     $Global::webmaster
104 :     &Global::wwerror
105 :     read_whole_problem_file
106 :     read_whole_file
107 :     convertPath stub
108 :     getDirDelim stub
109 :     getCourseTempDirectory
110 :     $envir{tempDirectory}
111 :     surePathToTmpFile
112 :     #$Global::tmp_directory_permission
113 :     #$Global::numericalGroupID
114 :     &Global::wwerror
115 :     fileFromPath
116 :     directoryFromPath
117 :     createFile
118 :     createDirectory
119 :     getImageDimmensions
120 :    
121 :     --------------------------------------------------------------------------------
122 :    
123 : sh002i 526 Calling LaTeX/dvipng and PDFLaTeX in a nice way
124 :     - create LaTeX.pm (?)
125 :     - &latex2pdf
126 :     - create secure tempdir
127 :     - write hardcopy to tex file
128 :     - call pdflatex
129 :     - move resulting pdf file to tmp/hardcopy/whatever.pdf
130 :     - remove tempdir
131 :     - &latex2png (dvipng method)
132 :     - create secure tempdir
133 :     - write equations to tex file
134 :     - call latex
135 :     - run dvipng (as per ImageGenerator) on dvi file
136 :     - move resulting images to tmp/dvipng/whatever.png
137 :     - remove tempdir

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9