Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Ankit Agarwal
bf0f06b1be
MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method
2012-08-02 15:37:38 +08:00
Petr Skoda
cdbea7eed1
MDL-31607 use full course object for require_login() if already available
...
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Petr Skoda
d078f6d38e
standardized PHPDocs package info
2010-09-06 11:29:21 +00:00
Petr Skoda
57ebd15e1d
MDL-23308 reverting previously reverted deprecation of legacy course files - we have agreed during the meeting on Thursday that we add new setting to allow this, not keeping the course files everywhere forever
2010-09-03 19:14:33 +00:00
Dongsheng Cai
93beda0490
MDL-23308, coursefiles plugin could return the file link instead of copying it
2010-09-03 04:14:29 +00:00
Petr Skoda
edfd6a5e73
MDL-14589 user icons now stored in file storage pool
2010-07-11 11:43:15 +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
Petr Skoda
bf34822b9d
MDL-22547 course->legacyfiles switch implemented
2010-05-22 13:10:05 +00:00
Petr Skoda
2e9b772fb8
MDL-20693 new NO_DEBUG_DISPLAY define
2009-10-31 22:02:05 +00:00
skodak
8265a51db6
MDL-18111 improving file api comments and docs, fixing license header
2009-05-21 09:44:26 +00:00
skodak
05c0f5240c
MDL-14589 removed obsoleted comments
2009-03-28 15:07:24 +00:00
skodak
56949c17de
MDL-14992 refactored use of session_write_close()
2009-01-17 15:25:08 +00:00
skodak
11e7b506ce
MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support
2009-01-05 21:37:20 +00:00
skodak
9e5fa330f3
MDL-14589 new file not found general function
2008-08-16 17:23:19 +00:00
skodak
172dd12c63
MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906
2008-07-31 22:15:30 +00:00
scyrma
5a254a2938
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9)
2008-07-10 09:55:11 +00:00
skodak
9da3dfa4ac
MDL-13776 assignment attachment access now verified in module context; merged from MOODLE_19_STABLE
2008-07-05 14:18:30 +00:00
skodak
f33e1ed4ae
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
2008-05-15 21:40:00 +00:00
dongsheng
33aa5723ca
"MDL-14129, fix print_error call"
2008-04-30 04:09:29 +00:00
stronk7
f4013c10d3
New setting in require_login() to avoid certain scripts (file.php)
...
to mess $SESSION->wantsurl. MDL-14495 ; merged from 19_STABLE
2008-04-25 18:55:36 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
skodak
f44762bd6f
MDL-11434 $CFG->filelifetime = 0 has no effect; patch by Chris Fryer
2007-09-25 09:37:58 +00:00
skodak
90a32fd5e6
MDL-9168 nested site policy when forcelogin enabled; merged from MOODLE_18_STABLE
2007-04-02 16:13:41 +00:00
skodak
feaf5d06db
MDL-8015 improved file uploading
...
- changed file upload api in formslib
- fixed blog attachments and related code in file.php
- fixed glossary attachments
- fixed embedded images in forum posts and blogs - only gif, png and jpeg; the problme was that svg were embedded using img tag which was wrong, the same applied to other picture formats unsupported by browsers (please note that student submitted svg should be never embedded in moodle page for security reasons)
- other minor fixes
2006-12-28 21:21:44 +00:00
toyomoyo
7d0e5a95c3
adding attachment for blogs
2006-11-20 08:31:48 +00:00
skodak
bee8703ea5
Advanced Upload assignment type - student can't read teacher's uploaded response file MDL-6771
2006-10-01 20:04:53 +00:00
skodak
0cd482e54d
fix for MDL-6599 - problem with hiding of resource when $CFG->preventaccesstohiddenfiles enabled
2006-09-25 08:53:10 +00:00
skodak
7eb0b60a1f
debugging and error reporting level fixes and improvements MDL-6671
2006-09-23 09:38:39 +00:00
skodak
2464c592e3
removed moodle specific debug messages from file.php
2006-09-21 06:38:27 +00:00
skodak
ba4e0b059d
fixed warning caused by missing fields in $course; tweaked mime info for firefox when forcing download - it should use default system mime associations which should be safe in case of firefox.
2006-09-20 17:51:59 +00:00
skodak
de9a33f3c9
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 17:15:18 +00:00
toyomoyo
ea8158c118
changing sql calls from user_students table to role_assignments table
2006-09-14 09:08:07 +00:00
toyomoyo
c5a3467aa0
fixing missing bracket
2006-09-14 06:43:01 +00:00
toyomoyo
61b03dc7a6
replacing legacy calls
2006-09-14 03:18:55 +00:00
toyomoyo
3924b9884b
adding capabilities
2006-09-05 08:50:23 +00:00
skodak
3d05094553
SC #280 force downloading of database files; merged from MOODLE_16_STABLE
2006-07-30 22:44:50 +00:00
thepurpleblob
b9709b76d9
Corrected oversight with uploaded file filters change
...
See http://moodle.org/mod/forum/discuss.php?d=40177
2006-02-21 12:54:24 +00:00
skodak
69faecceaf
new parameter forcedownload; merged from MOODLE_15_STABLE
2005-07-12 08:05:42 +00:00
martinlanghoff
2ea55bc050
Merged from MOODLE_14_STABLE - Unlock session during fileserving.
2005-05-17 01:00:48 +00:00
moodler
4d68dff4b7
Call new lib/filelib.php
2005-03-07 11:34:16 +00:00
skodak
48283ff638
slashargument test fix
2005-02-26 20:43:30 +00:00
skodak
fd05dffed6
SC#98 protection of uploaded files in resources, please review and test
2005-02-22 23:36:20 +00:00
skodak
e7f927a0fc
new handling of uploaded files, please TEST, TEST, TEST
2004-12-14 18:57:51 +00:00
dhawes
822a106319
Added a file level phpdoc docblock tag. Also converted double quote strings to single quote literals.
2004-09-29 18:19:39 +00:00
moodler
76112421d8
Merged from stable
2004-09-07 14:13:19 +00:00
moodler
de482722f6
Added a 404 header but it seems not to work ... not sure why not.
2004-08-18 05:59:14 +00:00
moodler
5e98103bd0
Remove possible path disclosure and add a translatable error message
2004-08-18 05:47:55 +00:00
moodler
ee88d30b4c
Don't put HTML and text files through clean_text.
2004-08-10 10:44:29 +00:00