Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
Parent Directory
Revision
4280 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 18 13:10:54 2006 UTC (6 years, 10 months ago) by
gage
File length: 71895 byte(s)
Diff to
previous 4246
,
to
selected 2138
Formatting corrections (including adding some {}). Checbox_groups does not yet work correctly.
Removed support for sql template in rename, (it's still present in delete).
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
File length: 69457 byte(s)
Diff to
previous 4127
,
to
selected 2138
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
3973 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 25 23:13:56 2006 UTC (7 years, 3 months ago) by
sh002i
File length: 65436 byte(s)
Diff to
previous 3744
,
to
selected 2138
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006.
this is probably overkill, since there are some files that were created
after 2000 and some files that were last modified before 2006.)
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
File length: 65555 byte(s)
Diff to
previous 3437
,
to
selected 2138
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
3437 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 31 17:27:21 2005 UTC (7 years, 9 months ago) by
gage
File length: 55785 byte(s)
Diff to
previous 3435
,
to
selected 2138
Updating the user interface. The checkbox to include webwork administrators in s
a course is now on by default.
The default templates course to copy when creating a new course can now be set in global.conf.
This is the course that automatically comes up by default in the pop-up menu.
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
File length: 55155 byte(s)
Diff to
previous 3377
,
to
selected 2138
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
File length: 54144 byte(s)
Diff to
previous 3284
,
to
selected 2138
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, 4 months ago) by
sh002i
File length: 50759 byte(s)
Diff to
previous 3054
,
to
selected 2138
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
Revision
2479 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 10 16:28:56 2004 UTC (8 years, 10 months ago) by
sh002i
File length: 39767 byte(s)
Diff to
previous 2478
,
to
selected 2138
an ugly hack to convince safari to download the damn file! apparently
just sending a "Content-Disposition: attachment" header isn't enough. it
has to be a BINARY FILE! WTF! better solutions welcome.
Revision
2378 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 23 23:10:44 2004 UTC (8 years, 10 months ago) by
sh002i
File length: 38343 byte(s)
Diff to
previous 2373
,
to
selected 2138
cleaned up form layout and improved error handling. also, instead of
having a separate set of field
for the "admin user", implemented an option to "add the WeBWorK
administrators to the new course".
Revision
2256 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 6 00:20:14 2004 UTC (8 years, 11 months ago) by
gage
File length: 37898 byte(s)
Diff to
previous 2254
,
to
selected 2138
Added comments -- should we enter the contact person as a student in the admin class
so that we can use the email facility to contact people hosted on this server?
Revision
2242 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 2 18:21:38 2004 UTC (8 years, 11 months ago) by
gage
File length: 36563 byte(s)
Diff to
previous 2189
,
to
selected 2138
Changed formatting of the "Add course" sub page.
When a new course is created the course name, id, institution and so forth
are logged in hosted_courses.log in admin/logs
This logging facility must be defined in the admin/course.conf file.
--Mike
Revision
2148 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat May 22 01:08:09 2004 UTC (8 years, 11 months ago) by
sh002i
File length: 32600 byte(s)
Diff to
previous 2138
added ability to import the contents of another course's templates
directory when creating a new course. this is supported in bin/addcourse
with the --templates-from=COURSEID switch and in the web interface with
an additional form field.
Revision
2138 -
(
view)
(
download)
(
as text)
(
annotate)
-
[selected]
Modified
Fri May 21 20:55:38 2004 UTC (8 years, 11 months ago) by
sh002i
File length: 31756 byte(s)
Diff to
previous 2104
added missing "use" line.
"use WeBWorK::CourseEnvironment".
Revision
2104 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu May 13 20:49:18 2004 UTC (9 years ago) by
sh002i
File length: 31721 byte(s)
Diff to
previous 2045
,
to
selected 2138
several changes towards closing bug #481. (1) removed database "multiple
source" warnings. (2) if sql database name is blank, "webwork_$courseID"
is used. (3) removed sql execution warnings. (4) allowed blank sql admin
password.
Revision
1945 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Mon Apr 5 03:58:30 2004 UTC (9 years, 1 month ago) by
sh002i
File length: 14644 byte(s)
Diff
to
selected 2138
preliminary web-based course creation support
try it -- create a course called "admin" the usual way and then visit it
in your browser.
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.