225 Commits

Author SHA1 Message Date
stronk7
343fc72785 Now this script is using the new, central unzip_file() function.
TEST, TEST!!!

Merged from MOODLE_14_STABLE
2004-10-10 21:58:43 +00:00
stronk7
1a11dfd14a iNow FileManager is using the new, central zip_files() function.
Only tested under MacOS X. It should support all the new
features of that function (Win32 external zip, imporved security...).

TODO: Create the unzip_file() function and use it here too!!
      Apply this changes to the rest of filemanagers (coursefiles.php...)
      TEST, TEST, TEST...!!

Merged from MOODLE_14_STABLE
2004-10-10 01:20:59 +00:00
stronk7
ad4e0fcc30 New version of this. Merged from MOODLE_14_STABLE.
It won't work until moodlelib.php was merged!! Tons of conflicts!!
2004-10-07 14:18:43 +00:00
moodler
8ef1e12f74 Merged fix for unclean oldname from renaming ... from stable. 2004-09-28 08:05:18 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
mjollnir_
3bb4d8440b Integration of new centralised upload code with files/index.php
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-59
    2004-09-15 02:41:00 GMT
    Penny Leach <penny@catalyst.net.nz>
    upload/virus integration with course files

Full logs:

Revision: moodle--eduforge--1.3.3--patch-59
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Wed Sep 15 14:41:00 NZST 2004
Standard-date: 2004-09-15 02:41:00 GMT
Modified-files: files/index.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-59
Summary: upload/virus integration with course files
Keywords:
2004-09-15 02:43:40 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
moodler
206a507520 MErged from CVS 2004-08-30 08:44:00 +00:00
gustav_delius
222ac91bc9 removed unnecessary calls to get_site() 2004-08-29 14:15:40 +00:00
moodler
ffae3d4615 Fixing Bug 812 and problems with slashes when editing text and HTML files
Again.
2004-08-04 16:26:44 +00:00
moodler
5debc7a803 Added PPS (Powerpoint) 2004-06-09 08:58:03 +00:00
moodler
a844bc045d Postscript files show pdf icn 2004-05-29 05:07:34 +00:00
defacer
8ccc9d060f The way this was written before, it produced a warning for unregistered extensions. 2004-05-24 11:16:06 +00:00
moodler
16a5602cd7 1. Directory Resources now support sub directories
2.  Subdirectories in File Manager now display their total size
2004-05-16 08:52:32 +00:00
moodler
7969713a4f Added gz 2004-04-25 02:11:48 +00:00
moodler
5151ae66e3 Full paths when including pclzip bug 1139 2004-03-13 12:08:28 +00:00
moodler
602bde06e7 Added .3gp type 2004-02-23 19:10:00 +00:00
moodler
5875b7d611 Undoing recent changes ... should be in a separate file 2004-02-20 14:16:07 +00:00
paca70
94b9a1ca02 First changes for creating help-translation system.
http://site/files/index.php?fi=lang
shows now selected language "lang" files.
2004-02-19 10:13:07 +00:00
moodler
241f6f306b MOved the file icons into the proper place (at last) 2004-02-14 16:19:48 +00:00
moodler
ca31091b12 Uploading in course restricted by site setting ... 2004-02-10 09:00:24 +00:00
moodler
393137e290 Add a mimetype for .asf files 2004-02-08 12:21:06 +00:00
moodler
98a45cd7e7 Support for auto embedding of WMV files 2004-01-20 11:22:09 +00:00
moodler
eef16119b9 Only editing teachers can see files 2004-01-17 05:39:29 +00:00
moodler
c0f2bc8462 Fixed bug 812 about editing text files with backslashes in them. 2003-12-09 08:15:34 +00:00
moodler
4511145165 Use filemtime not filectime 2003-12-08 13:31:14 +00:00
moodler
fdfc6269ef Backupdata is now always created if it is needed.
Navigation is a little neater (no longer puts a link on the current folder)
2003-09-16 06:15:01 +00:00
moodler
4c48acf01b Fixed some short PHP tags 2003-09-09 08:43:27 +00:00
moodler
c79f9629ed Some extra explanation so that hitting "yes" on the restore screen isn't so scary! :-) 2003-08-23 15:47:57 +00:00
moodler
704d595629 Changed from DOS to Unix format 2003-08-20 11:54:45 +00:00
moodler
862810dc09 No need to call isteacher and isteacheredit, just isteacheredit will do. :-) 2003-08-16 16:14:25 +00:00
stronk7
3953f4bdc4 Now the "restore" option is showed to isteacheredit() teachers. 2003-08-16 11:46:54 +00:00
moodler
542a6914e5 Many more mime types added - thanks to D Hawes 2003-08-16 04:33:31 +00:00
moodler
25e3c612ba New icons from dhawes@mac.com 2003-08-16 04:28:21 +00:00
moodler
87002b0e9f Only creators can restore courses 2003-08-16 02:48:18 +00:00
moodler
55e4b5f97d Some cleanups of the admin page to make it
- more explanatory
  - more expandable

Apologies for the lost muscle memories, but I think this
will work better in the long run.
2003-08-10 08:01:14 +00:00
moodler
1efcfce8a3 More missing strings 2003-08-05 03:25:16 +00:00
moodler
27c4094294 Fixed some missing strings that no-one picked up before! 2003-08-04 16:07:17 +00:00
stronk7
2bd19d60cf Restore option allowed to teachers too.
The course_id is passed to restore.php as a parameter
2003-08-02 10:08:57 +00:00
moodler
65c59e30b8 New restore link for admins so they can restore courses ... 2003-08-01 15:09:35 +00:00
moodler
70363f8819 Updated this link too 2003-07-09 04:56:04 +00:00
moodler
7d064d87ff Fixed a bug affecting the zipping of files within subdirectories,
patch from Robert Hetzel.
2003-06-19 13:12:34 +00:00
moodler
c4ad9158e3 More robust check for $CFG->backup_version 2003-05-25 12:14:15 +00:00
stronk7
476fd9c716 Minor changes to support the "restore" option with zip files. Only
showed if the backup utility is installed ($CFG->backup_version exists)
and the user is an admin. Sent email to Martin to say him this !!
2003-05-14 23:09:34 +00:00
moodler
0f4f911059 Added .jpe as a JPEG (some people do it I notice! :-( ) 2003-05-07 11:43:08 +00:00
moodler
e865ded4ba Don't treat Flash files (.swf) like other images. 2003-05-07 11:41:27 +00:00
moodler
dc0dc7d5dd Tidying up the way pix images are used.
It's now also possible to override the standard pix with a set of new ones
in a theme.
2003-04-28 04:32:55 +00:00
moodler
fc613dff69 Directories are now made using make_upload_directory from moodlelib 2003-04-25 08:39:11 +00:00
paca70
d2802df553 Added mimetype and icon for avi-files. 2003-04-20 07:42:18 +00:00
moodler
e64984a0bb Modifications to allow Moodle files management page to use PclZip
instead of external zip programs.

To use the internal PclZip, the config variables "zip" and "unzip"
must be left blank.

Code for PclZip integration originally from Robert Hetzel, though
I've expanded it and modified it a lot.

The zip files seem compatible with itself and Windows XP, but I had a
compatibility problem trying to unzip a PclZip file using Zip 2.3 on Linux
(directories are unpacked as empty files)
2003-04-06 05:53:47 +00:00