[system] / trunk / webwork2 / lib / WeBWorK / ContentGenerator / CourseAdmin.pm Repository:
ViewVC logotype

Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 7140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 21 15:25:07 2012 UTC (7 years, 4 months ago) by apizer
File length: 121140 byte(s)
Diff to previous 7136
Add methods to list/hide/unhide inactive courses

Revision 7136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 4 16:40:02 2012 UTC (7 years, 8 months ago) by apizer
File length: 105465 byte(s)
Diff to previous 7135
Also remove the original default course tmp files (if it exists) since the location of tmp files might hace changed after the
course was created.

Revision 7135 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 4 00:44:39 2012 UTC (7 years, 8 months ago) by apizer
File length: 105307 byte(s)
Diff to previous 7023
Remove course specific temp files before archiving

Revision 7023 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 25 13:28:08 2011 UTC (8 years, 1 month ago) by gage
File length: 105111 byte(s)
Diff to previous 6936
localization updates,
added a fix for Authen.pm which unescapes cookie data.
returned library browser 2 to the lineup



Revision 6936 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 18 18:51:38 2011 UTC (8 years, 3 months ago) by gage
File length: 105112 byte(s)
Diff to previous 6916
add modifications that allow WeBWorK to be localized.

Not all of the strings have been translated at this point.


Revision 6916 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 01:33:27 2011 UTC (8 years, 3 months ago) by gage
File length: 105092 byte(s)
Diff to previous 6850
cosmetic changes


Revision 6850 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 11 17:14:37 2011 UTC (8 years, 4 months ago) by gage
File length: 105089 byte(s)
Diff to previous 6685
?	added some warning messages to Course Admin if permissions on DATA, log and html directories are not set correctly.
?	added refreshEquations(1) to PG to force all equation images to be recalculated.

?added AddToTexPreamble($str ) to PG  to allow short macro definitions such as    \newcommand{\myVec}[#1]{\vec{#1}}
	?	this works in images mode and in hardcopy mode.  It does not work in jsMath mode (but fails gracefully).  MathJax also fails, not quite so gracefully.


Revision 6685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 29 04:45:26 2011 UTC (8 years, 8 months ago) by gage
File length: 116607 byte(s)
Diff to previous 6683
returning to first fix for depths, location,  etc. table


Revision 6683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 29 02:05:12 2011 UTC (8 years, 8 months ago) by gage
File length: 116609 byte(s)
Diff to previous 6670
Commiting version 2 for creating depths, location and location_address on start up.



Revision 6670 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 20 04:06:21 2011 UTC (8 years, 8 months ago) by gage
File length: 116607 byte(s)
Diff to previous 6311
Add code to initialize depts, location and location_addresses when admin starts up

commented out utilities for dbExport and dbImport -- we aren't using those anymore.



Revision 6311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 29 17:25:50 2010 UTC (9 years, 3 months ago) by gage
File length: 115491 byte(s)
Diff to previous 6309
Corrected an error that gave incorrect links to the names of  courses on the front page.


Revision 6309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 29 12:15:51 2010 UTC (9 years, 3 months ago) by gage
File length: 115495 byte(s)
Diff to previous 6293
?
Corrected typo which prevented the course names listed on the front page of admin from
being linked to their courses.



Revision 6293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 14 04:09:56 2010 UTC (9 years, 4 months ago) by Mgage
File length: 115494 byte(s)
Diff to previous 6176
backporting

Revision 6176 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 22 03:30:09 2009 UTC (9 years, 9 months ago) by gage
File length: 97646 byte(s)
Diff to previous 6175
updates to make multiple selections work when repairs need to be made.

Revision 6175 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 22 02:47:20 2009 UTC (9 years, 9 months ago) by gage
File length: 97562 byte(s)
Diff to previous 6074
Added code which allows you to select multiple courses to archive.

Revision 6074 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 7 18:19:43 2009 UTC (10 years, 3 months ago) by apizer
File length: 96078 byte(s)
Diff to previous 6066
Skip over modelCourse in initial list of courses. Trying to create missing
directories lead to warnings and stating "Database tables ok" is misleading

Revision 6066 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 26 00:44:27 2009 UTC (10 years, 3 months ago) by gage
File length: 96030 byte(s)
Diff to previous 6042
updating the link to the list of TimeZones

Revision 6042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 4 01:36:51 2009 UTC (10 years, 4 months ago) by gage
File length: 96034 byte(s)
Diff to previous 6004
update certain tmp files for courses automatically -- this reduces the number of error messages
when viewing old courses.

Revision 6004 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 11 03:31:38 2009 UTC (10 years, 8 months ago) by gage
File length: 95925 byte(s)
Diff to previous 5986
Added ability to automatically create some directories -- so far only html_temp
when archiving the course.

Revision 5986 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 4 03:15:51 2009 UTC (10 years, 8 months ago) by gage
File length: 95676 byte(s)
Diff to previous 5985
Added code to check the directory structure of the courses (make sure all standard
directories are present and have rwx privileges available to the webserver.

No automatic repair of the directory structure is performed. (We'll see how annoying that is.)

Revision 5985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 2 03:18:10 2009 UTC (10 years, 8 months ago) by gage
File length: 92670 byte(s)
Diff to previous 5980
Streamlined the course integrity checking

Revision 5980 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 25 21:31:38 2009 UTC (10 years, 8 months ago) by gage
File length: 90854 byte(s)
Diff to previous 5978
Changes which allow the rename function to also add new tables when renaming.

Updating fields is not yet implemented.

Revision 5978 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 25 15:29:37 2009 UTC (10 years, 8 months ago) by gage
File length: 85259 byte(s)
Diff to previous 5973
Changes to support archiving and unarchiving courses

Revision 5973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 18 03:25:37 2009 UTC (10 years, 9 months ago) by gage
File length: 84046 byte(s)
Diff to previous 5840
changes to support increased error checking when archiving courses

Revision 5840 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 2 17:16:10 2008 UTC (11 years, 3 months ago) by gage
File length: 80157 byte(s)
Diff to previous 5776
forward port of typo correction in url

Revision 5776 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 25 14:38:19 2008 UTC (11 years, 3 months ago) by gage
File length: 80169 byte(s)
Diff to previous 5716
forward port from rel-2-4-patches
changed wording on registration text

Revision 5716 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 21 16:36:52 2008 UTC (11 years, 3 months ago) by gage
File length: 79934 byte(s)
Diff to previous 5679
 Formatting changes.

Revision 5679 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 23 14:54:46 2008 UTC (11 years, 4 months ago) by gage
File length: 79843 byte(s)
Diff to previous 5666
Moved trim_spaces utility from AddUsers.pm to Utils.pm (data munger section)
CourseAdmin page now calls trim_spaces to clean up data entered when creating
a new course   (spaces at beginning and end of entry are trimmed).  This addresses
bug #1442

Revision 5666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 9 11:55:17 2008 UTC (11 years, 5 months ago) by gage
File length: 79309 byte(s)
Diff to previous 5665
Added a few more cosmetic tweaks to the text and to the execution flow.

This registration is now acceptable except that the questions asked in the email
need to be examined more closely.

A later version might allow for automatic registration.

Revision 5665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 9 00:42:24 2008 UTC (11 years, 5 months ago) by gage
File length: 78897 byte(s)
Diff to previous 5664
Changed the message on the email message a bit.

Revision 5664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 9 00:27:04 2008 UTC (11 years, 5 months ago) by gage
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 5650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 29 19:28:08 2008 UTC (11 years, 5 months ago) by sh002i
File length: 74661 byte(s)
Diff to previous 5319
commented out unused variable

Revision 5319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 13 22:59:59 2007 UTC (12 years, 2 months ago) by sh002i
File length: 74644 byte(s)
Diff to previous 5221
updated copyright dates

Revision 5221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 26 18:53:08 2007 UTC (12 years, 2 months ago) by sh002i
File length: 74644 byte(s)
Diff to previous 5207
Construct additional course environments using %WeBWorK::SeedCE, which
will always have all necessary values in it. The old way broke when we
moved the definitions of $webwork_courses_* and $webwork_htdocs_* out of
global.conf and into webwork.apache[2]-config (and therefore into
SeedCE).

Revision 5207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 21 19:13:10 2007 UTC (12 years, 2 months ago) by sh002i
File length: 75758 byte(s)
Diff to previous 5028
use new dummp_table/restore_table code for course archiving/unarchiving

Revision 5028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 25 12:09:58 2007 UTC (12 years, 3 months ago) by gage
File length: 75480 byte(s)
Diff to previous 5020
Changes to make unarchiving possible with a choice names for the unarchived files.

To do:  Provide updating of the database.  Currently there may be difficulties if the database is upgraded
between the time the course is archived and the course is unarchived.

The behavior with sql_moodle  data schemas has not been tested.

Revision 5020 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 22 19:05:59 2007 UTC (12 years, 3 months ago) by sh002i
File length: 74443 byte(s)
Diff to previous 4918
use $ce->{externalPrograms}{gzip} rather than 'gzip'.

Revision 4918 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 30 19:07:55 2007 UTC (12 years, 6 months ago) by glarose
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 4917 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 30 14:21:14 2007 UTC (12 years, 6 months ago) by glarose
File length: 74405 byte(s)
Diff to previous 4910
Usability update: add direct edit links to list of displayed locations,
ability to delete multiple locations selected from the list.

Revision 4910 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 28 18:32:11 2007 UTC (12 years, 6 months ago) by glarose
File length: 73424 byte(s)
Diff to previous 4841
Follow up commit of IP address restriction code.  This adds IP address
location management to CourseAdmin.pm, corrects a typo for location
address management in DB.pm, and makes ProblemSetDetail.pm prettier
when displaying locations for restrictions.

Revision 4841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 01:33:21 2007 UTC (12 years, 7 months ago) by sh002i
File length: 58164 byte(s)
Diff to previous 4642
better error reporting for external program calls

Revision 4642 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 10 17:56:01 2006 UTC (12 years, 11 months ago) by sh002i
File length: 57803 byte(s)
Diff to previous 4527
complete the fix for the undefined problibs hash problem.

Revision 4527 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 26 15:57:41 2006 UTC (13 years ago) by sh002i
File length: 57830 byte(s)
Diff to previous 4518
remove several useless "use Data::Dumper" lines

Revision 4518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 25 22:14:54 2006 UTC (13 years ago) by sh002i
File length: 57848 byte(s)
Diff to previous 4377
tons of "DBFIXME" notes -- how to make database access more efficient

Revision 4377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 14 18:21:52 2006 UTC (13 years, 2 months ago) by sh002i
File length: 57633 byte(s)
Diff to previous 4357
make course title and institution optional

Revision 4357 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 8 16:03:25 2006 UTC (13 years, 2 months ago) by sh002i
File length: 57503 byte(s)
Diff to previous 4312
removed vestigal gdbm/sql options. fix how dblayout radio buttons are
generated, so that the default layout or selected is selected correctly.

Revision 4312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 28 02:13:25 2006 UTC (13 years, 2 months ago) by sh002i
File length: 72015 byte(s)
Diff to previous 4311
only show import/export warning when those functions are selected.

Revision 4311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 28 02:10:33 2006 UTC (13 years, 2 months ago) by sh002i
File length: 71923 byte(s)
Diff to previous 4295
allow for courses with no contact people in the admin course when
deleting or archiving courses.

Revision 4295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 24 23:28:41 2006 UTC (13 years, 2 months ago) by gage
File length: 71903 byte(s)
Diff to previous 4280
Fixed CGI::radio call (replaced with CGI::radio_group

Fixed   name parameter in Options  (replaced name by -name as required by CGI)

Revision 4280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 18 13:10:54 2006 UTC (13 years, 3 months ago) by gage
File length: 71895 byte(s)
Diff to previous 4246
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 4246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 13 14:55:46 2006 UTC (13 years, 3 months ago) by gage
File length: 71782 byte(s)
Diff to previous 4244
Fixed checkbox CGI glitch

Revision 4244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 13 14:47:21 2006 UTC (13 years, 3 months ago) by gage
File length: 71779 byte(s)
Diff to previous 4235
Made calls to CGI::    use named parameters so that WeBWorK::CGI handles them properly

Revision 4235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 01:23:54 2006 UTC (13 years, 3 months ago) by gage
File length: 70835 byte(s)
Diff to previous 4202
Converting from use CGI to use WeBWorK::CGI

The only substantial change is in Hardcopy where set_id was changed to "sid"

I believe that change is correct.

Revision 4202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 8 14:07:35 2006 UTC (13 years, 3 months ago) by gage
File length: 70809 byte(s)
Diff to previous 4136
Try using the -nosticky pragma to see if this fixes the problem.

Revision 4136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 19 15:57:24 2006 UTC (13 years, 4 months ago) by gage
File length: 70806 byte(s)
Diff to previous 4129
Allow delete option after archiving course.

Revision 4129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 15 14:48:19 2006 UTC (13 years, 4 months ago) by gage
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 4127 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 10 14:18:56 2006 UTC (13 years, 4 months ago) by gage
File length: 63982 byte(s)
Diff to previous 4087
Add contact person for a new course to the admin course as a student.
Student's have no access to CourseAdmin features.

Revision 4087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 19:52:12 2006 UTC (13 years, 5 months ago) by sh002i
File length: 61797 byte(s)
Diff to previous 3973
replace @DB_LAYOUT_ORDER and %DB_LAYOUT_DESCRIPTIONS with values from
course environment. remove form fields for 'sql' and 'gdbm' layouts.

Revision 3973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 23:13:56 2006 UTC (13 years, 8 months ago) by sh002i
File length: 65436 byte(s)
Diff to previous 3744
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 3744 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 7 21:21:01 2005 UTC (13 years, 11 months ago) by sh002i
File length: 65434 byte(s)
Diff to previous 3621
stop using CGI::Pretty, for speed and output size.

Revision 3621 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 15 20:24:44 2005 UTC (14 years, 1 month ago) by gage
File length: 65449 byte(s)
Diff to previous 3528
Modifications to the directions for archiving courses.

Revision 3528 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 14 16:52:11 2005 UTC (14 years, 2 months ago) by gage
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 3437 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 31 17:27:21 2005 UTC (14 years, 2 months ago) by gage
File length: 55785 byte(s)
Diff to previous 3435
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 3435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 31 15:33:56 2005 UTC (14 years, 2 months ago) by gage
File length: 55155 byte(s)
Diff to previous 3434
Changed unordered list to ordered list.

Revision 3434 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 31 15:26:18 2005 UTC (14 years, 2 months ago) by gage
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 (14 years, 3 months ago) by glarose
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 3284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 10 16:01:29 2005 UTC (14 years, 4 months ago) by gage
File length: 54144 byte(s)
Diff to previous 3235
Bring HEAD and rel-2-1-patches in line with each other.

Revision 3235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 20 16:28:25 2005 UTC (14 years, 5 months ago) by gage
File length: 53983 byte(s)
Diff to previous 3059
Modifications that support import and export to gzipped disk files

Revision 3059 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 21 04:41:03 2004 UTC (14 years, 9 months ago) by sh002i
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

Revision 3054 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 19 22:39:59 2004 UTC (14 years, 10 months ago) by gage
File length: 41898 byte(s)
Diff to previous 2887
Changed message passing when there is a duplicate administrator.

use addbadmessage() facility instead of warn

Revision 2887 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 10 21:04:47 2004 UTC (15 years ago) by sh002i
File length: 41721 byte(s)
Diff to previous 2885
catch invalid course names in validation (bug #702). fix typo in
previous commit.

Revision 2885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 10 20:48:17 2004 UTC (15 years ago) by sh002i
File length: 41543 byte(s)
Diff to previous 2853
added check for user ID collisions, closing bug #711.

Revision 2853 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 29 23:45:42 2004 UTC (15 years ago) by sh002i
File length: 41574 byte(s)
Diff to previous 2844
don't send stupid header for safari, don't set feedbackRecipients.

Revision 2844 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 29 16:19:37 2004 UTC (15 years ago) by sh002i
File length: 41454 byte(s)
Diff to previous 2719
removed silly safari hack, added warning about this utility sucking.

Revision 2719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 2 21:21:43 2004 UTC (15 years, 1 month ago) by sh002i
File length: 41269 byte(s)
Diff to previous 2704
formatting fix (also comitted to rel-2-0-patches)

Revision 2704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 31 01:15:53 2004 UTC (15 years, 1 month ago) by dpvc
File length: 41370 byte(s)
Diff to previous 2639
The variable for printing file names in course.conf was incorrectly
set up using email addresses instead of userIDs.

Revision 2639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 01:41:39 2004 UTC (15 years, 2 months ago) by sh002i
File length: 41369 byte(s)
Diff to previous 2479
added ordering and descriptions for known database layouts

Revision 2479 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 10 16:28:56 2004 UTC (15 years, 3 months ago) by sh002i
File length: 39767 byte(s)
Diff to previous 2478
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 2478 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 10 16:07:02 2004 UTC (15 years, 3 months ago) by sh002i
File length: 39583 byte(s)
Diff to previous 2391
support incremental sending of exported databases (still slow though).

Revision 2391 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 24 20:54:52 2004 UTC (15 years, 3 months ago) by sh002i
File length: 38658 byte(s)
Diff to previous 2384
exported database now has content type "application/xml".,

Revision 2384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 24 17:43:32 2004 UTC (15 years, 3 months ago) by sh002i
File length: 38651 byte(s)
Diff to previous 2378
email handling. add email to user record, allowedRecipients, and
feedbackRecipients. Add userIDs of all added users to
PRINT_FILE_NAMES_FOR.

Revision 2378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 23 23:10:44 2004 UTC (15 years, 3 months ago) by sh002i
File length: 38343 byte(s)
Diff to previous 2373
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 2373 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 23 19:19:32 2004 UTC (15 years, 3 months ago) by sh002i
File length: 39173 byte(s)
Diff to previous 2322
added check for a course already existing

Revision 2322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 16 01:58:03 2004 UTC (15 years, 4 months ago) by gage
File length: 39052 byte(s)
Diff to previous 2299
First and last names of new instructor as inserted in the new course.

The list of courses one can use as a template is not alphabetized.

Revision 2299 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 13 01:29:03 2004 UTC (15 years, 4 months ago) by gage
File length: 38628 byte(s)
Diff to previous 2256
Changed the formatting of the add course form

Revision 2256 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 6 00:20:14 2004 UTC (15 years, 4 months ago) by gage
File length: 37898 byte(s)
Diff to previous 2254
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 2254 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 5 19:18:37 2004 UTC (15 years, 4 months ago) by gage
File length: 37795 byte(s)
Diff to previous 2242
Changed the layout of the form so that optional items are listed last.

Revision 2242 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 18:21:38 2004 UTC (15 years, 4 months ago) by gage
File length: 36563 byte(s)
Diff to previous 2189
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 2189 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 23 23:59:41 2004 UTC (15 years, 4 months ago) by sh002i
File length: 32767 byte(s)
Diff to previous 2148
delete course improvements. can now have blank sql password and leave
database name blank for default value.

Revision 2148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 22 01:08:09 2004 UTC (15 years, 4 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) - [select for diffs]
Modified Fri May 21 20:55:38 2004 UTC (15 years, 5 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 (15 years, 5 months ago) by sh002i
File length: 31721 byte(s)
Diff to previous 2045
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 2045 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 8 02:01:13 2004 UTC (15 years, 5 months ago) by gage
File length: 31589 byte(s)
Diff to previous 2043
Sort the courseIDs in the scrolling lists.

Revision 2043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 7 23:13:44 2004 UTC (15 years, 5 months ago) by sh002i
File length: 31484 byte(s)
Diff to previous 2042
ripped out the rest of the skeleton

Revision 2042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 7 22:26:49 2004 UTC (15 years, 5 months ago) by gage
File length: 33444 byte(s)
Diff to previous 2026
Fixed typo where a hash was initialized using an anonymous hash reference.

Revision 2026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 7 14:12:20 2004 UTC (15 years, 5 months ago) by gage
File length: 33442 byte(s)
Diff to previous 2023
Only someone with professor privileges can use CourseAdministration.pm

Revision 2023 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 7 04:28:54 2004 UTC (15 years, 5 months ago) by jj
File length: 33036 byte(s)
Diff to previous 2004
If there is more than one mysql source (which there is now thanks to
ProblemLibrary), then we look for the most commonly used source.  Fixed
a bug in this counting part.

Revision 2004 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 5 22:02:12 2004 UTC (15 years, 5 months ago) by sh002i
File length: 33017 byte(s)
Diff to previous 1985
globalUserID is actually used in addCourse

Revision 1985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 29 22:22:33 2004 UTC (15 years, 5 months ago) by sh002i
File length: 32830 byte(s)
Diff to previous 1960
implemented import and export, fixed some bugs

Revision 1960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 9 20:19:25 2004 UTC (15 years, 6 months ago) by sh002i
File length: 23393 byte(s)
Diff to previous 1945
fixed interface to not be so sucky, added delete function.

Revision 1945 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Apr 5 03:58:30 2004 UTC (15 years, 6 months ago) by sh002i
File length: 14644 byte(s)
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.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9