83 Commits

Author SHA1 Message Date
Petr Skoda
4fb2306ee4 MDL-21146 $CFG can not be used in low level file operations - please set the defaults elsewhere if really necessary; removing the extra cleaning + undefined notices - please make sure all palces that actually output the strings are processed properly, there is no way around this, cleaning must be always done before output, not just storage; using real nulls where we do not know the value 2010-04-06 18:34:38 +00:00
Dongsheng Cai
1dce6261b7 "MDL-21146, adding file license support to repository api, first commit" 2010-03-29 03:39:08 +00:00
Eloy Lafuente
2fdde5d178 MDL-21666 backup & restore caps - upload/download renamed 2010-02-19 18:33:26 +00:00
Eloy Lafuente
d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
Petr Skoda
5e991e3797 MDL-21362 fixed incorrect url constructors 2010-01-17 16:09:15 +00:00
Sam Hemelryk
a881f97099 files MDL-20635 Changed cleanup of files when a context is deleted from the moment it occurs to cron 2009-12-23 01:24:17 +00:00
skodak
72d0aed6ab MDL-14591 improved docs when copying files - thanks Nicolas forspotting this 2009-10-14 08:53:50 +00:00
mudrd8mz
68874d549f file api: fixing a critical typo 2009-08-03 18:54:07 +00:00
skodak
3c131047f2 MDL-16089 fixed hardcoded itemid in module files support 2009-07-27 19:32:45 +00:00
skodak
ead1429070 MDL-16231 fixed regression - completed delete file refactoring 2009-07-27 12:39:13 +00:00
skodak
3b6076788d MDL-14589 fixed area tree generation 2009-07-04 18:47:56 +00:00
skodak
752b9f42f5 MDL-14589 new function returning area files in tree structure 2009-06-21 18:22:52 +00:00
skodak
b8ac7ecec8 MDL-18293 removed obsoleted checking of return values from insert and update_record 2009-06-13 16:47:05 +00:00
skodak
1aa01caf90 MDL-16231 reimplemented deleting of files + cron cleanup 2009-06-03 08:10:21 +00:00
skodak
4cd9dfda7b MDL-18111 improving file api comments and docs 2009-05-21 09:37:21 +00:00
skodak
5c3a3b8a91 MDL-18111 improving file api comments and docs, fixing license header 2009-05-21 09:05:17 +00:00
skodak
33488ad66a MDL-18111 improving file api comments and docs, fixing license header 2009-05-21 08:42:22 +00:00
skodak
64a19b3828 MDL-18111 improving file api comments and docs, fixing license header 2009-05-21 08:25:52 +00:00
skodak
4eef139962 MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +00:00
skodak
c05e9754ce MDL-18111 improving file api comments and docs, fixing license header + minor refactoring 2009-05-20 22:17:53 +00:00
skodak
16a95e8f8d MDL-18111 improving file api comments and docs, fixing license header 2009-05-20 21:27:56 +00:00
skodak
0589769fcf MDL-15906 removing obsoleted code, now in filelib.php 2009-05-20 21:17:58 +00:00
skodak
25aebf09b7 MDL-18111 improving file api comments and docs, fixing license header 2009-05-20 21:16:38 +00:00
skodak
cd221853d6 MDL-14589 adding file export options to file_browser classes 2009-05-20 20:57:21 +00:00
skodak
3268cf9921 MDL-18910 full support for module intro editor with embedded images 2009-04-22 06:48:15 +00:00
nicolasconnault
2b726e9f3a MDL-15931 More unit tests of file_info_* classes 2009-04-20 13:10:42 +00:00
skodak
0266b1ade4 MDL-15931 there is no need to pollute public api with tons of public functions that are in fact private ;-) 2009-04-20 09:04:53 +00:00
nicolasconnault
dd13271188 MDL-15931 refactored file_browser.php 2009-04-20 08:18:33 +00:00
nicolasconnault
edfbf2fe81 MDL-15931 Adding testfilelib.php and a few comments in file API code 2009-04-18 15:16:13 +00:00
skodak
7daf91f210 MDL-14589 course section summary string 2009-02-18 09:03:09 +00:00
skodak
3156b8ca48 MDL-14589 implemented browsing of course section files + fixed bug when getting parent dirs of stored files 2009-02-16 20:47:22 +00:00
tjhunt
b81fd01dfe file api: MDL-18111 Improve doc comments a bit. 2009-02-11 07:46:53 +00:00
dongsheng
014c1ca037 "MDL-17391, filter repository intances by file types" 2008-12-08 05:19:09 +00:00
skodak
655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
skodak
4b6b5ce7d9 MDL-16596 adding missing get_parent_directory() method 2008-09-21 19:53:46 +00:00
skodak
8b1ed8bf8f MDL-16596 adding missing get_pathnamehash() method 2008-09-21 15:54:48 +00:00
skodak
cd5be217db MDL-16596 file listing methods now return arrays index with pathnamehash (useful when looking for existing files); create from stored file now supports directories too - very useful when moving files between areas 2008-09-21 10:35:39 +00:00
skodak
6ed19c7464 MDL-16596 adding missing get_pathnamehash() method 2008-09-21 10:33:58 +00:00
skodak
8546def3b6 MDL-16596 basic areafiles formslib element 2008-09-20 20:56:21 +00:00
mjollnir_
8bd49ec01f fixing int() should be (int) in file storage 2008-09-16 15:56:19 +00:00
skodak
797f19e881 MDL-14589 image resizing and conversion support 2008-09-13 19:38:44 +00:00
skodak
0bd47adcd0 MDL-14589 no file browsing if not logged-in 2008-09-12 08:22:41 +00:00
skodak
106f3b6779 MDL-16394 user profile browsing and serving improvements 2008-09-08 23:16:48 +00:00
skodak
3445b38281 MDL-14589 fixed undefined itemid 2008-09-07 23:21:31 +00:00
skodak
a4e936d47d MDL-14589 adding missing lang strings 2008-09-07 22:35:03 +00:00
skodak
a20c017def MDL-14589 /. files are not created anymore when browsing empty areas, yay! 2008-09-07 22:23:10 +00:00
skodak
96fef79f5f MDL-14589 /. files are not created anymore when browsing empty areas, yay! 2008-09-07 10:06:26 +00:00
skodak
cfe9446817 MDL-14589 list of user areas is read only 2008-09-07 09:57:35 +00:00
skodak
ec8b711fb3 MDL-15919 do not modify $file_record parameters when creating new files 2008-09-06 21:33:07 +00:00
skodak
84dabeef01 MDL-16374 support for file browsing in modules 2008-09-06 18:18:36 +00:00