moodle/admin
tjhunt e92c286c20 block contexts: MDL-19098 every block should have a context
even non-course and sticky blocks.

The parent context is block_instances.parentcontextid.

The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.

However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.

Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
..
cli MDL-15249 support for environment test in cli scripts 2009-06-03 16:24:00 +00:00
dbtransfer admin dbtransfer: MDL-18225 dbtransfer script should do some output to reassure you that something is happening. 2009-02-12 08:34:35 +00:00
mnet MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:12:19 +00:00
report MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:26:02 +00:00
roles block contexts: MDL-19098 every block should have a context 2009-07-13 08:37:34 +00:00
settings fixed whitespace 2009-07-09 19:54:54 +00:00
user MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
xmldb javascript MDL-16673 Removed all removeable uses of CFG->javascript 2009-07-07 09:09:16 +00:00
auth.php MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
auth_config.php moodle_page: MDL-12212 more ->pagepaths to kill 2009-05-06 08:43:51 +00:00
block.php blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
blocks.php MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
cron.php MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
dbperformance.php MDL-14679 towards adodb separation 2008-06-09 18:48:28 +00:00
delete.php "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
editors.php MDL-19211 text editor plugins configuration 2009-05-17 21:10:06 +00:00
enrol.php MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
enrol_config.php MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
environment.php MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
environment.xml MDL-18976 simplexml ext now marked as required, credit goes to Dan Poltawski 2009-06-03 21:15:47 +00:00
filters.php fixed missing OUTPUT global regression 2009-07-04 16:31:33 +00:00
generator.php MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
handlevirus.php MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception) 2009-01-03 14:28:02 +00:00
health.php "MDL-18540, change the uses of option" 2009-03-30 10:07:24 +00:00
index.php Remove unnecessary 'none' passed to footer. 2009-07-10 05:37:36 +00:00
innodb.php MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
lang.php MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
langimport.php MDL-18670 adding proper permissions for mkdir(); merged from MOODLE_19_STABLE 2009-05-06 16:10:45 +00:00
mailout-debugger.php MDL-12142 mailout-debugger: Now works on Windows too 2007-11-20 00:31:40 +00:00
modules.php MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
multilangupgrade.php MDL-14992 towards new moodle db sessions 2009-01-14 17:08:29 +00:00
oacleanup.php MDL-14679 towards /admin conversion 2008-05-30 21:36:57 +00:00
phpinfo.php MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
portfolio.php moodle_page: MDL-12212 more ->pagepaths to kill 2009-05-06 08:43:51 +00:00
process_email.php MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception) 2009-01-03 14:28:02 +00:00
qtypes.php MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 12:07:58 +00:00
register.php MDL-19467 Fixed one of Tim's typos and added a language string for URL 2009-06-30 05:49:58 +00:00
replace.php block contexts: MDL-19098 every block should have a context 2009-07-13 08:37:34 +00:00
repository.php "MDL-13766, use OUTPUT to print box" 2009-07-09 07:17:18 +00:00
repositoryinstance.php "MDL-18520, file system, supported choose a subdirectory" 2009-06-30 09:10:42 +00:00
search.php Fix print_footer call, and some fallout from the pagelib changes. 2009-06-12 11:53:35 +00:00
settings.php themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme 2009-07-09 07:35:03 +00:00
timezone.php MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
timezoneimport.php Correct timezones listing when importing olson files ; merged from 19_STABLE 2007-12-31 15:25:27 +00:00
upgradesettings.php XHTML strict 2009-07-02 06:57:21 +00:00
uploadpicture.php administration MDL-19525 remove global $userfields usage from uploadpicture_form class, merged from 1.9 2009-06-16 09:09:33 +00:00
uploadpicture_form.php administration MDL-19525 remove global $userfields usage from uploadpicture_form class, merged from 1.9 2009-06-16 09:09:33 +00:00
uploaduser.php MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
uploaduser_form.php MDL-19211 text editor plugins configuration 2009-05-17 21:10:06 +00:00
user.php MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:12:19 +00:00
wsprotocols.php moodle_page: MDL-12212 more ->pagepaths to kill 2009-05-06 08:43:51 +00:00