Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm
Parent Directory
Revision
3331 -
(
view)
(
download)
(
as text)
(
annotate)
-
[selected]
Modified
Sat Jul 2 17:04:31 2005 UTC (7 years, 11 months ago) by
dpvc
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, 11 months ago) by
dpvc
File length: 35617 byte(s)
Diff to
previous 3111
,
to
selected 3331
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, 4 months ago) by
dpvc
File length: 26674 byte(s)
Diff to
previous 3086
,
to
selected 3331
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, 5 months ago) by
dpvc
File length: 25192 byte(s)
Diff to
previous 3063
,
to
selected 3331
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.
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.