Log of /branches/rel-2-3-dev/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
Parent Directory
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
,
to
selected 3451
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
3451 -
(
view)
(
download)
(
as text)
(
annotate)
-
[selected]
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
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
,
to
selected 3451
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.
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.