Log of /branches/gage_dev/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
Parent Directory
Revision
6320 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 7 01:30:33 2010 UTC (2 years, 10 months ago) by
gage
File length: 115491 byte(s)
Diff to
previous 6310
Provide new channels for reporting warnings in Problem.pm, allow @ in user ids in DB.pm and clean up alarm for TIMEOUTS in Local.pm
Revision
6310 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 29 12:24:14 2010 UTC (2 years, 10 months ago) by
gage
File length: 115495 byte(s)
Diff to
previous 6299
Corrected typo which prevented the course names listed on the front page of admin from
being linked to their courses.
Revision
5664 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 9 00:27:04 2008 UTC (5 years ago) by
gage
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
File length: 78352 byte(s)
Diff to
previous 5650
Added a banner which asks users to register production servers.
Clicking on the "register button" brings up a page with a mailto: link.
and a "server site registered" button. Clicking on the mailto link brings
up the administrator's email application with suggested information to be emailed
to gage@math.rochester.edu (for now -- later we can replace this with an alias mail
address and eventually with some sort of form and a database for the recipient.)
Clicking on the "server site registered" button creates an empty file
courses/admin/registered_2.4.5
where 2.4.5 is the current version number found in WeBWorK.
if this file is present the "please register" banner goes away.
It's just a first cut at tackling this problem.
p
Revision
4918 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 30 19:07:55 2007 UTC (6 years, 1 month ago) by
glarose
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
File length: 74423 byte(s)
Diff to
previous 4917
Some bugfixes, preliminary commit of relax_restrict_ip function. this
commit
- adds relax_restrict_ip and hide_score_by_problem columns to the set
and set_user tables
- adds the corresponding fields to the Set and UserSet DB Records
- patches 'no location' handling in the location management routine
in CourseAdmin.pm
- improves Authz->checkSet's handling of the case of location
restriction when no addresses exist for a location, makes it
use any cached set that may be available, and makes it honor
relax_restrict_ip
- corrects a typo and some comments in DB.pm
- allows ip restriction fields in ProblemSetList when importing from
or exporting to set definition files
- updates ProblemSetDetail.pm to handle the relax_restrict_ip field
The relax_restrict_ip function has not been well tested.
hide_score_by_problem isn't yet used.
Revision
4129 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 15 14:48:19 2006 UTC (6 years, 11 months ago) by
gage
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
File length: 69457 byte(s)
Diff to
previous 4127
Implemented unarchiving function to complement archiving function.
Archive exports the course database to courseName/DATA and then tas and gzips the directory courseName to
courseDirectory/courseName.tar.gz
Unarchive allows one to choose files of the type courseDirectory/courseName.tar.gz and then
ungzip, untar them to courseDirectory/courseName -- the database record in courseName/DATA is
then loaded into the webwork database.
So far there is only minimal error checking about whether all or part of the course exists when unarchiving.
There are not yet features for archiving and then deleting a course -- these two operations have to be done
separately for now.
Revision
3528 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 14 16:52:11 2005 UTC (7 years, 9 months ago) by
gage
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
File length: 65555 byte(s)
Diff to
previous 3437
Add the beginnings of a facility for archiving a course. This method uses mysqldump
and therefore will work only with a mysql database. Many things are still hardwired
In particular mysqldump is hardwired.
The database name is hardwired to "webwork"
Archiving consists of dumping the tables associated to the course to a file
$courseID/DATA/$courseID_mysql.database (this file can be used
to created a new database for the course. it will not overwrite existing
tables however.)
Then the entire course directory is tarred and gzipped and placed
in the courses directory with the naem $courseID.tar.gz
Currently nothing is deleted from the database and no directories are deleted.
So the implementation is fairly safe, but not yet very useful for course management.
There is not yet a facility for automatically importing the archived course.
Revision
3434 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 31 15:26:18 2005 UTC (7 years, 9 months ago) by
gage
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
File length: 55155 byte(s)
Diff to
previous 3377
User interface changes added. All courses are sorted without regard to case.
The main page now lists all available courses and their database type -- finding the
database type slows things down a bit, so this might not be a desirable feature when
there are many courses.
It also discovers missing course.conf files. If the course.conf file is missing then it's more
likely that the database type is not accurate.
Revision
3377 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 14 13:15:27 2005 UTC (7 years, 10 months ago) by
glarose
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
File length: 54144 byte(s)
Diff to
previous 3284
Preliminary commit of changes to add Gateway module.
This adds to WeBWorK
- the ability to create versioned, timed problem sets ("gateway tests")
for which all problems are displayed on a single page ("versioned"
means that students can get multiple versions of the problem set),
- the ability to create sets that draw problems from groups of
problems, and
- the ability to create sets that require a proctor login to start
and grade.
Sets can be defined as gateway tests or proctored gateway tests from
the ProblemSetDetail page.
Not quite bug-free yet. Known bugs include handling of problem values
on the Student Progress page (I think this may be a problem with
changing from sql database format where all entries were 'text' to
sql_single in ver 2.1, where they are integer), and a division by zero
error on the grades page (which may be the same problem).
Tests with a number of attempts per version greater than one haven't
been carefully tested, nor has scoring of gateway tests.
Revision
3059 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 21 04:41:03 2004 UTC (8 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
File length: 50759 byte(s)
Diff to
previous 3054
Added course renaming to CourseManagement, CourseAdmin.
It works like this:
- move the course directory
- move any course subdirectories that are still at their old locations
(like if they were outside the course directory)
- create a new database using addCourseHelper()
- copy the course data into the new course database using
copyCourseDataHelper() (INSERT INTO $new SELECT * FROM $old)
- delete the old course database using deleteCourseHelper()
TODO:
* write helpers for gdbm and sql layouts
* write command-line script
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.