324 Commits

Author SHA1 Message Date
Aparup Banerjee
60b5a2fec7 MDL-27251 Files API - added timeout re-calculation as an optional argument. added setting for minimum Kbps for large files fetched from internet where the passed in timeout maybe too low.
allowed turning off the http HEAD request timeout calculation with zero (or negative) bitrate

	This was added in to allow servers that have a problem with
	HEAD requests to carry on with the given timeout without re-calculations.
	See PULL-651 for the discussion.

	the optional argument to force recalculation of timeout has been forced within scorm/locallib.php

	timeout re-calculation only increments timeout.
2011-04-27 10:49:40 +08:00
Tim Hunt
af7b3673d7 MDL-26847 new method file_storage::delete_area_files_select for efficient bulk file deletion. 2011-03-21 15:21:02 +00:00
Eloy Lafuente (stronk7)
be981316f4 MDL-25708 recordsets - fix file_storage 2011-01-25 19:59:00 +01:00
Petr Skoda
b554173562 MDL-25370 general cron support for nearly all plugin types 2010-12-21 15:18:29 +00:00
Petr Skoda
320e50b783 MDL-25472 support non-standard dir separators in zip archives and other anomalies 2010-12-08 08:08:45 +00:00
Tim Hunt
d2af10140a forum files MDL-25167 files in the post file area were not moved when the post was moved or deleted.
Also, I refactord some code out of forum_move_post and into a new method file_storage::move_area_files_to_new_context. I hope that is OK.
2010-11-11 18:58:06 +00:00
Petr Skoda
ac6f1a82f9 MDL-24321 switching to stdClass 2010-09-21 07:57:42 +00:00
Rossiani Wijaya
ce5dc36e38 MDL-19927 - add media plugins support for ogg and ogv files. 2010-09-20 09:47:54 +00:00
Anthony Borrow
eb6f592a36 MDL-24224 fixing a couple more 'strin' typos 2010-09-19 19:15:37 +00:00
Petr Skoda
693ef3a8af MDL-24283 improved stored_file encapsulation, this should allow us to hack with stored_file/file_storage internals in the future without breaking BC 2010-09-19 15:50:18 +00:00
Petr Skoda
5d92c29c15 fixed spelling 2010-09-18 10:35:05 +00:00
Petr Skoda
d3427cfe9f removing unused variables 2010-09-18 10:33:26 +00:00
Petr Skoda
8a680500c6 fixed phpdocs and incorrect exception names 2010-09-18 10:31:31 +00:00
Dongsheng Cai
3257cdaee8 "MDL-13766, added two video types for html editor" 2010-09-13 09:42:20 +00:00
Petr Skoda
16741cac51 MDL-24144 hiding of empty folders in repository/local 2010-09-12 12:29:32 +00:00
Petr Skoda
05f2d18ba2 MDL-18431 use of ZIPARCHIVE::OVERWRITE changed in 5.2.8 - credit goes to Dan Marsden 2010-09-10 21:19:31 +00:00
Petr Skoda
c311889cc0 MDL-18431 use of ZIPARCHIVE::OVERWRITE changed in 5.2.8 2010-09-10 21:18:31 +00:00
Petr Skoda
59333bc943 MDL-23991 not a nice hack for sending file as string content to zip packer 2010-08-29 16:44:32 +00:00
Petr Skoda
c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda
d0b6f92a23 MDL-23885 flattening filepool directory structure - hopefully this will lower the number of directories but still keep a reasonable number of files in each directory on large installs; see tracker for more details 2010-08-25 21:45:34 +00:00
Petr Skoda
2e69ea4a17 MDL-23897 adding miissing cleanup of draft areas 2010-08-23 07:33:02 +00:00
Dongsheng Cai
05cd3e90bf "EDITOR MDL-23596, add mp4 file support to media plugin" 2010-08-02 02:36:39 +00:00
Dongsheng Cai
b0606403f8 MDL-23163 added more audio file types 2010-07-09 05:49:39 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00