Log of /trunk/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.)
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.