Commit Graph

425 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
102cb3c1a6 Merge branch 'w07_MDL-26294_20_byteserving' of git://github.com/skodak/moodle 2011-02-14 02:08:06 +01:00
Petr Skoda
dd3b7e7dfc MDL-26294 fix byteserving regression
Credit goes to James Mitchell.
2011-02-12 20:39:53 +01:00
Petr Skoda
9337cf32ca MDL-26329 fix incorrect draft url rewriting when slasharguments off
tinymce editor encodes '/' in the ?file= parameter, we have to decode %2F before doing our standard @@PLUGINFILE@@ processing.
2011-02-12 09:43:14 +01:00
Petr Skoda
893fe4b6b2 MDL-26069 detect missing file postprocessing 2011-01-29 17:50:12 +01:00
Petr Skoda
c4cef1fe39 MDL-25314 weaker misconfiguration detection
seems like there are too many problems in buffer flushing in different PHP/browser configurations; flushing the buffers after all headers are sent, this is the safest way
2010-11-20 11:39:11 +00:00
Petr Skoda
116ee3e433 MDL-25314 coding style improvement 2010-11-20 03:56:34 +00:00
Petr Skoda
596c71156d MDL-25314 some more header diagnostics when preparing to send file 2010-11-20 03:55:53 +00:00
Petr Skoda
6e65fcd9b9 trying to work around gzip issue 2010-11-19 08:51:49 +00:00
Petr Skoda
cbad562eee MDL-25314 improved prevention of output buffering + detection of misconfigured servers
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00:00
Petr Skoda
2f65797837 do not send stored file if nothing to send given 2010-10-18 11:39:57 +00:00
David Mudrak
d9ba4bd6ad MDL-24636 File API: Fixed calculation of the number of current files when merging with the draft area 2010-10-12 14:56:01 +00:00
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Rossiani Wijaya
ce5dc36e38 MDL-19927 - add media plugins support for ogg and ogv files. 2010-09-20 09:47:54 +00:00
Petr Skoda
eab8ed9fb7 fixed a few spelling errors in /admin/ 2010-09-17 10:27:26 +00:00
Petr Skoda
ba4082f51d fixed typo breaking curl option 2010-09-17 07:55:44 +00:00
Dongsheng Cai
b3ea9cb2ec MDL-21432, mbz icon 2010-09-15 09:30:14 +00:00
Petr Skoda
656e1184b8 MDL-24109 saving of draft files now detects all changes 2010-09-07 08:23:11 +00:00
Petr Skoda
d078f6d38e standardized PHPDocs package info 2010-09-06 11:29:21 +00:00
Petr Skoda
35b622e1f7 MDL-23984 fixed curl cache to use our default permissions 2010-08-29 17:09:33 +00:00
Dongsheng Cai
529377b572 "MDL-23894, added user quota limit to filesedit form" 2010-08-24 07:52:12 +00:00
Petr Skoda
ede7252234 MDL-23784 finally getting rid of all legacy .gif and .png extensions, yay! fixing issues with incorrect & in JS code 2010-08-12 20:37:24 +00:00
Petr Skoda
42776c9453 MDL-23592 adding ugly hack that copies data from intro to first post in single "simple" forum type 2010-08-01 09:42:55 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Petr Skoda
50a8bd6c1d MDL-14589 file api cleanup 2010-07-11 13:30:33 +00:00
Petr Skoda
f28ee49e98 MDL-14589 adding missing component to moodle_url factory methods, going to convert code to use these factories instead of old filelib.php functions 2010-07-11 09:20:20 +00:00
Petr Skoda
20e5da7d91 MDL-19211 back to the old text format preferences logic + minor refactoring and improvements 2010-07-10 12:12:59 +00:00
Dongsheng Cai
1230b9c96e MDL-23116, added file type icon to private file block, stop using the short file name from filemanager 2010-07-08 04:38:13 +00:00
Dongsheng Cai
e35194bec4 MDL-22982
1. rename repository.class to lib.php
2. fixed repository_callback.php
3. repository_ajax use moodle default exception handler
4. improve file_get_user_used_space performance
2010-07-05 07:27:49 +00:00
jerome mouneyrac
277c7a4033 file MDL-23075 fix format_postdata_for_curlcall when the params is an array of array of array 2010-07-05 02:56:04 +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
Dongsheng Cai
f79321f1b8 MDL-22548, added sortorder field to files table, drop mainfile field from resource table, use sortorder to decide main file 2010-05-28 07:29:11 +00:00
Dongsheng Cai
f36cb95140 "MDL-16597, fixed filepath" 2010-05-27 03:51:39 +00:00
Petr Skoda
1e06adb47c MDL-22546 do not accept bogus params in fulldelete() 2010-05-22 21:40:03 +00:00
Petr Skoda
34ff25a6ef fixed multiple inline docs comment typos 2010-05-21 18:11:57 +00:00
Petr Skoda
3a1055a548 MDL-22532 support for fetching of large files via temp files 2010-05-20 17:13:07 +00:00
Dongsheng Cai
ea1780adf3 MDL-13766, implemented user quota 2010-05-11 06:49:51 +00:00
Eloy Lafuente
637a60dc5f NOBUG mimetypes - improve a bit mimeinfo_from_icon() so, before using the
"return last" strategy (leading to all images returning image/tiff always)
it will try one "return by extension match" if possible.
2010-05-04 14:19:00 +00:00
David Mudrak
1b80c913cb MDL-22061 get_mimetype_description() does not rely on get_string() returning square brackets 2010-05-04 12:54:48 +00:00
Dongsheng Cai
b6accf69a0 "MDL-13766, fixed download dir" 2010-05-04 06:59:03 +00:00
Martin Dougiamas
9057a84818 MDL-14589 Check input better, preventing notices when using an editor without draftfiles 2010-05-01 08:58:27 +00:00
Dongsheng Cai
e5051df334 "MDL-13766, fix non-js filepicker" 2010-04-29 07:01:00 +00:00
Dongsheng Cai
b5e9bf485f "MDL-21021, fixed private file url" 2010-03-25 07:22:26 +00:00
Penny Leach
fda8369f38 filelib MDL-21752 fixed case where mimeinfo_from_icon was including document/unknown when there were better options 2010-03-16 18:58:08 +00:00
Dongsheng Cai
133fd70ba5 "MDL-13766, improve filemanager to browse user_private area files" 2010-03-15 06:12:39 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
jerome mouneyrac
5db608f435 file API MDL-20616 added support for multiple array POST parameters in the function download_file_content(). Also added unit tests. 2010-02-16 09:04:55 +00:00
Dongsheng Cai
2539ce37a6 "MDL-21170, fixed pix_url output problem, improve javascript-static.js for new filemanager" 2010-01-21 06:37:04 +00:00
Petr Skoda
f2ab0d0694 MDL-21240 more migration to html_writer 2010-01-18 20:39:47 +00:00
Dongsheng Cai
99eaca9d3d "MDL-21170, major update to filepicker, complete rewrote filepicker javascript code to use YUI3, need furthur polish" 2010-01-15 07:48:38 +00:00