[system] / branches / rel-2-3-dev / webwork2 / lib / WeBWorK / ContentGenerator / Instructor / FileManager.pm Repository:
ViewVC logotype

Log of /branches/rel-2-3-dev/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm

Parent Directory Parent Directory


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

Revision 4951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 26 04:11:51 2007 UTC (6 years ago) by sh002i
File length: 37419 byte(s)
Diff to previous 4610
backport (dpvc): Added directory listing when a directory is being
deleted.  The listing will show the total number of files in the
direcotry, and the top level contents of the directory (with numbers of
items in the each subdirectory listed, but not the contents).  This
resolves bug #1246.

Revision 4610 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 3 20:07:24 2006 UTC (6 years, 6 months ago) by sh002i
File length: 36105 byte(s)
Diff to previous 4473
backport (dpvc): Changed button order to put "save" before "save as" as
per Arnie's suggestion in

   http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$4100

This avoids "save" disappearing off the right-hand side when the browser
windows isn't big enough to show it.

Revision 4473 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 10 19:54:50 2006 UTC (6 years, 8 months ago) by sh002i
File length: 36104 byte(s)
Diff to previous 4472
backport (dpvc): Second attempt to trap the stderr output of bsdtar.

Revision 4472 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 10 19:54:04 2006 UTC (6 years, 8 months ago) by sh002i
File length: 36104 byte(s)
Diff to previous 4396
backport (dpvc): Use shell_qupte and readpipe to handle tar commands,
and include stderr in the output so that we can report the correct
number of files archived via bsdtar.

Revision 4396 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 24 21:07:52 2006 UTC (6 years, 8 months ago) by
File length: 36229 byte(s)
Diff to previous 4290
This commit was manufactured by cvs2svn to create branch 'rel-2-3-dev'.

Revision 4290 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 20 23:21:44 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36229 byte(s)
Diff to previous 4258
fixed syntax of call to radio_group -- leading dashes are required.

the rule is (as defined by CGI::Util::rearrange):

* if the first argument is a hashref, interpret its contents as named
parameters. leading dashes can be used, but are not required.

* otherwise, if the first parameter begins with a dash, interpret the
argument string as named parameters. a leading dash is technically only
required on the first item, but you'd be nuts to mix dash and no-dash.

* otherwise, treat the argument list as non-named parameters.

Revision 4258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 14 21:22:04 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36233 byte(s)
Diff to previous 4252
Minor formatting changes in CGI calls.  Mostly adding {} at the beginning of functions that
concatenate their inputs.

Revision 4252 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 13 18:56:39 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36208 byte(s)
Diff to previous 4234
Replaced "values" by "value" in call to radio_group.  Sorry about that. :-)

Revision 4234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 01:19:15 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36208 byte(s)
Diff to previous 4042
Mostly replace use CGI; with use WeBWorK::CGI

Files with additional changes to CGI calls are
SendMail, SetMaker PGProblemEditor Instructor::Index and FileManager

Revision 4042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 2 12:32:02 2006 UTC (7 years, 1 month ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36069 byte(s)
Diff to previous 3973
When a file is uploaded and there is an error opening the destination
file, the error message now includes the system error report and the
file is no longer printed (causing a WeBWorK error).

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
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36047 byte(s)
Diff to previous 3675
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 3675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 30 19:36:57 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36045 byte(s)
Diff to previous 3641
added manage_course_files activity. changed FileManger to use new
activity. added hasPermissions() checks to Index and Contentgenerator to
only show File Manger when user has permission.

Revision 3641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 20 23:42:22 2005 UTC (7 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36061 byte(s)
Diff to previous 3549
Fixed a problem with reporting the directories where files with given
types should be uploaded.

Revision 3549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 22 03:27:59 2005 UTC (7 years, 9 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36034 byte(s)
Diff to previous 3451
Changed default directory shown to be the templates directory.
Changed GZIP and UNGZIP to 'Make Archive' and 'Unpack Archive'.

Revision 3451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 4 00:58:39 2005 UTC (7 years, 9 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 35901 byte(s)
Diff to previous 3447
Can't separate the form into two separate forms (as in the previous
update) otherwise the values of the checkboxes in the lower section
are lost when a button in the upper section is clicked.  So we'll have
to assume that if a user selects a file, he really wants it to be
uploaded.  (He can always use the BACK button on the browser to back
out of it if necessary.)

Revision 3447 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 19:23:58 2005 UTC (7 years, 9 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 36535 byte(s)
Diff to previous 3354
Added a hack to get around Netscape 7.1 bug with onChange event
handler not being called when an upload file has been selected.

Revision 3354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 17:54:39 2005 UTC (7 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 35638 byte(s)
Diff to previous 3331
Fixed incorrect method call to SaveHiidenFlags (should have been
HiddenFlags).

Revision 3331 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 2 17:04:31 2005 UTC (7 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 35645 byte(s)
Diff to previous 3330
Fixed an error in creating the tarred archives (I had messed it up
when adding the report of how many files were archived).

Revision 3330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 2 16:52:31 2005 UTC (7 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 35617 byte(s)
Diff to previous 3111
Major updates to the file manager to allow it to:

1.  Show dates and sizes of files (optionally, since some browsers
    don't handle the CSS to change to a monospaced font).

2.  Provide better control over renaming of uploaded files whose
    names already exist (there is a checkbox for overwriting them
    automatically; if unchecked, the user is prompted for a new name).

3.  Allow the creation or gzipped tar archives from files in the
    course directory.  Multiple files and directories can be selected
    to be included in the archive.  If only one file is selected, the
    archive will have it's name with ".tgz" appended; if mulitple
    files are selected, the archive will get a unique name starting
    with the course ID.

4.  Provide a checkbox that controls whether uploaded .tgz archives
    are unpacked automatically, and a second that controls whether the
    unpacked archive file is deleted afterward.  Files from the
    archive will be unpacked into the current directory, and will
    overwrite existing files silently.

5.  Follow symbolic links that are to files or directories within the
    course hierarchy.  In addition, there is a new variable in
    global.conf that provides a list of "valid links"; these are
    directories to which the FileManager is allowed to follow symbolic
    links.  The system administator can add directories to this list
    in order to allow professors to access limited areas outside their
    course directory (but they still need to have a symblic link
    within their course to those areas in order to view them).

I think this covers all the current FileManager requests, and this
closes bug#791.

Revision 3111 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 27 04:26:37 2005 UTC (8 years, 3 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 26674 byte(s)
Diff to previous 3086
Added Text/Binary/Automatic buttons for conversion of line-breaks on
file uploads.  (Downloaded files are not modified, since we don't know
the user's platform.  Could try to use the HTTP_USERAGENT environment
variable to determine this.)

Also produce a warning message if a file is put in the wrong directory
(e.g., .def files should be put in templates).

Fixed some incorrect indenting.

Revision 3086 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 8 16:42:10 2005 UTC (8 years, 4 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 25192 byte(s)
Diff to previous 3063
Fixed a bug with the file editor that did not process the file name
correctly in the top-level directory.

Fixed a bug in uploading a file where the name was given a sequence
number even when one was not needed.

Revision 3063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 23 02:15:17 2004 UTC (8 years, 5 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 25108 byte(s)
Diff to previous 2944
Work around MSIE bug.  (Can't do height:100% for the size of the
scrolling list.  Every other browser in the world seems to be able to
handle this.)

Revision 2944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 01:06:19 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 25112 byte(s)
Diff to previous 2904
formatting fixes (sorry jj, dpvc).

Revision 2904 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 12 18:13:58 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 25177 byte(s)
Diff to previous 2898
Changed "refresh" to "refresh display" as name for button in
ProblemSetDetail
Added link to the
File Manager

Revision 2898 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 11 23:13:53 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 25052 byte(s)
Diff to previous 2897
entabed (we like real tabs)

Revision 2897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 11 23:13:22 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 26128 byte(s)
Diff to previous 2896
fixed call to start_multipart_form which caused authen params to be
included in form action.

Revision 2896 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Oct 11 23:11:41 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
File length: 26087 byte(s)
added davide's filemanager

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