Commit Graph

20 Commits

Author SHA1 Message Date
Mark Nelson 1678181a56 MDL-59612 core: removed hard-coded check for referer in modules
See mod/upgrade.txt for explanation.

Part of MDL-59313.
2017-07-31 12:03:28 +08: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
Juan Leyva f3fe1b8b35 MDL-49793 url: Move logging and completion to new API 2015-06-01 13:43:17 +02: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
Mark Nelson 841a369a87 MDL-40920 mod_url: replaced add_to_log calls with events 2013-12-09 18:49:55 -08:00
Marina Glancy e58a30f9e8 MDL-42577 mod_url: add redirection delay with edit link
only for teachers and in the course format that does not have course view page (Single activity)
2013-10-29 16:08:01 +11:00
Damyon Wiese 74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c.
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 6fd7b70f4b MDL-34470 url: Replace all instances of get_context_instance() with context_xxx::instance() in mod/url 2012-07-23 15:10:07 +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 48f69e418c MDL-30005 fix general URI support in URL module
The recent change completely removed support for general URIs and enforced strict URL validation which was breaking backwards compatibility and was not user friendly at all.

This patch finally adds full URI support with basic validation and fixes some older xhtml strict issues.

Please note we do not try to explain the difference between URL and URI to our users. Also keep in mind that mod/url has XSS risk and does not do any security validation of the data.
2011-10-30 23:53:17 +01:00
Ankit Kumar Agarwal 8077c81f47 MDL-29619 Validate urls before generating output 2011-10-21 14:00:38 +05:30
Petr Skoda 5e21cac896 MDL-25336 fixed & in mod/url and fixed incomplete click url when embedding 2010-11-20 03:17:19 +00:00
Petr Skoda ccd7189a8b MDL-14627 new mod/url:view capability 2010-10-14 19:40:50 +00:00
Petr Skoda 2b641d15e5 MDL-21249 improved php docs and adding copyright blocks in mod/url 2010-07-25 11:20:23 +00:00
Rossiani Wijaya 2ea5705f2c MDL-21687 - include completionlib.php 2010-06-24 03:38:27 +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 58a27a7467 MDL-20069 new URL module, includes migrate from old mod/resource; remaining issues to be listed in tracker as sub-tasks 2009-08-13 20:49:37 +00:00