86 Commits

Author SHA1 Message Date
Juan Leyva
537f7b38c8 MDL-49792 resource: Move logging and completion to new API 2015-07-30 23:01:01 +02:00
Simey Lameze
dcee0b9447 MDL-49360 core_lib: add new method get_local_referer()
This commit also replace all usages of $_SERVER['HTTP_REFERER'] and get_referer().
2015-07-27 11:11:24 +08:00
Marina Glancy
e2b8f37da5 MDL-47558 resource: allow to edit module without being redirected
Thanks to Nathan Lewis for the code suggestion
2015-02-06 13:10:26 +08:00
Marina Glancy
fbc4b77841 MDL-44321 events: cleaning up course_module_viewed event 2014-02-28 16:36:09 +08:00
Sam Hemelryk
11e41f1ae4 MDL-44156 mod_resource: unified @package use 2014-02-18 11:19:33 +13:00
Rajesh Taneja
4a536604b8 MDL-40917 mod_resource: replaced add_to_log with events 2014-01-10 14:12:07 +08:00
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
sam marshall
68828cc431 MDL-31015 File/URL resource 'Open' and 'Force download' options should work consistently 2012-01-27 16:01:19 +00:00
Petr Skoda
f3a7f485c4 MDL-26452 fix resource mod regression breaking upgrade on Windows 2011-02-16 21:41:04 +01:00
Petr Skoda
516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Petr Skoda
ce459060fe MDL-14627 new mod/resource:view capability 2010-10-14 19:36:19 +00:00
Petr Skoda
702ab58c08 MDL-21249 improved php docs and adding copyright blocks in mod/resource 2010-07-25 11:25:02 +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
Sam Marshall
518f7d924c Completion MDL-21687 Resource, Page fail to include completion library (& die) 2010-06-24 10:17:24 +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
Sam Marshall
c15a60e6be MDL-21687 Completion 'on view' not working on resource types after resource was rewritten 2010-02-23 13:10:45 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
tjhunt
4e1132a8c5 forum: MDL-19119 missing requires now course/lib.php is not included everywhere.
Put in most of the obvious missing require_once($CFG->libdir . '/completionlib.php');
2009-05-08 09:00:41 +00:00
sam_marshall
18a2a0cb3a MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource. 2008-07-29 17:22:47 +00:00
dongsheng
baa336f08e "MDL-14129, fix all print_error" 2008-06-12 10:55:23 +00:00
skodak
5f5cd33c1d MDL-15114 resource mod converted 2008-06-04 00:04:03 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
d3787db022 added missing $course 2007-01-27 19:14:23 +00:00
skodak
9f741612e5 MDL-8262 fixed require_course_login and $COURSE logic 2007-01-22 18:49:42 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
moodler
3e88d524ad New faster filters! 2005-03-04 10:13:42 +00:00
moodler
7054372371 More secure use of parameters, merged from stable 2004-11-11 07:45:27 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
moodler
1aef6fb798 Fixed lots of bodgy little things 2004-07-28 06:56:59 +00:00
moodler
d18830fe31 Merged in the new resource structure to TRUNK 2004-07-25 14:32:05 +00:00
moodler
891581dbde Add a link across to the Files area 2004-05-16 09:11:17 +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
c15cea3604 Added some checks for forcelogin on resources 2004-05-11 13:16:20 +00:00
moodler
4464fcf74a Minor change to table format 2004-05-03 05:36:11 +00:00
moodler
593d774fb0 Fix path problem with main directory listing 2004-05-02 15:25:46 +00:00
moodler
cd2dea0a8d Added file size and table headings to Directory resource 2004-05-02 15:22:00 +00:00
moodler
7ba54e1b78 A new resource type called Directory ... it simply lists all the
files in a directory to make them available to students.
2004-05-02 15:10:04 +00:00
moodler
16bc83d693 QUicktime should use "aspect" for best results on different movies 2004-04-17 07:49:54 +00:00
moodler
245f5aaa61 Using scaling when displaying quicktime 2004-04-17 07:32:54 +00:00
stronk7
977070f9e8 Undo one line inserted by error in my previous commit
with one change I was trying some time ago...sorry :-(
But now all should be correct.
2004-03-11 23:50:05 +00:00
stronk7
da0fe63f91 Fixed some wrong call to pclzip.lib.php. See:
http://moodle.org/bugs/bug.php?op=show&bugid=1138
2004-03-11 23:47:18 +00:00
moodler
cb4287ea70 Reverting previous fix, since it's now done across the board by file.php 2004-03-09 06:28:31 +00:00
moodler
e359234d0f Fix for bug 1106
When resource_filterexternalpages are turned on then uploaded HTML
files are also now filtered properly.
2004-03-09 06:20:11 +00:00
moodler
4101e996e1 Make Quicktime movies loop by default 2004-02-20 11:58:44 +00:00
moodler
54caa35e20 DOn't print blank summaries 2004-02-13 03:42:51 +00:00
moodler
7eac5f93cd Removed some rubbish 2004-02-08 12:51:27 +00:00
moodler
952b9c07b6 Quicktime plugin 2004-02-08 12:48:43 +00:00