Commit Graph

135 Commits

Author SHA1 Message Date
Petr Skoda ee503644ae MDL-22054 startinging blocks to pluginname
AMOS START
 CPY [administration,core],[pluginname,block_admin]
AMOS END
2010-04-11 10:49:36 +00:00
Petr Skoda 4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Dan Poltawski 209a123509 blocks/admin MDL-21593 - Specify full url to 'child courses'
forward ported from MOODLE_19_STABLE
2010-02-24 08:58:40 +00:00
Eloy Lafuente 157aa3a22d MDL-21666 backup & restore caps - renaming the import one 2010-02-19 19:11:06 +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 b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda 4ca6cfbfd4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:00:47 +00:00
skodak 0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
peterbulmer 1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
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
tjhunt 6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
skodak 17da2e6f28 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
tjhunt 3179b0006a blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way 2009-05-06 09:15:33 +00:00
tjhunt 830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
mjollnir_ ee1efe0b0f MDL-17694: very small stickyblocks improvements (Merged from MOODLE_19_STABLE) 2008-12-19 09:49:33 +00:00
skodak a2e4bf7f23 MDL-17463 - reparate capabilities for course and admin reports 2008-11-29 14:22:10 +00:00
ikawhero cf74300857 MDL-17434 Fixed URLs for enrol/unenrol links
Merged from MOODLE_19_STABLE
2008-11-28 06:06:35 +00:00
nicolasconnault dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +00:00
tjhunt 96f1a7a265 roles admin: Improve the usability of the assign roles interface - this is the first half of the work. Part of MDL-16993.
To do this, I found a way to clean up the method signatures of a couple of accesslib methods, so I did, hence the fact that this seems to touch some unrelated files.

Also, there is a nice new method in accesslib get_context_url, which gives you the natural URL for a context, so the course view page, or the user profile, etc.
2008-10-30 06:26:18 +00:00
jerome f48fb4d692 MDL-15402: add a repository type functionality in the administration: enable/disable course and user repository setting 2008-10-09 03:02:26 +00:00
jerome faaa613d99 MDL-15404: fix few bugs in repository administration, add a beta version of the course repository list 2008-09-05 06:30:18 +00:00
jerome a660039578 MDL-15402: new version of repository administration 2008-09-02 08:58:53 +00:00
skodak d927c5b4ef MDL-15821 do not show profile link in admin block if using guest account; merged from MOODLE_19_STABLE 2008-07-24 23:14:58 +00:00
skodak 3a0c6cca33 MDL-8521 new feature - safe overrides, see tracker for details; merged from MOODLE_19_STABLE 2008-07-23 16:10:06 +00:00
skodak c7da43571b MDL-14679 converted some count_records 2008-06-02 21:47:31 +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
jerome 70044d63c4 MDL-11382 added a link 'Profil' to the administration block 2008-05-02 06:07:51 +00:00
jerome 5448c13d41 MDL-11382 Put back 'Activity Reports' and 'Edit Profil' links in the administration block 2008-04-24 08:58:48 +00:00
moodler 433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
skodak 76b570d602 MDL-12938, MDL-12937 - unenrol fixes - can not unenrol if can not unassign all users roles in course, do not show self unenrol if enrolment comes from parent context, fixed rturn value from get_user_roles; based on patch by Eric Merrill; merged from MOODLE_19_STABLE 2008-02-05 12:59:28 +00:00
moodler 1ee0c98322 MDL-13245 Merged viewallfix from stable 1.9 2008-01-31 01:30:43 +00:00
moodler f1401c244e Merged MDL-13245 from 1.9 2008-01-30 06:59:25 +00:00
skodak dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
tjhunt 9ce2fe53cb MDL-12501 - Logic for including 'Grades' link in admin block is different for the logic in grade/report/index.php. Merged from MOODLE_19_STABLE. 2007-12-07 16:58:07 +00:00
tjhunt e5a3a5176d MDL-11952 - In the course admin block, if the user has moodle/question:managecategory, but no other capabilites, the questions link should go to the manage categories page. Merged from MOODLE_19_STABLE. 2007-10-29 16:58:32 +00:00
skodak b571c6b37b MDL-10995 eliminated some get course record calls - reused $COURSE instead 2007-08-26 08:24:50 +00:00
Martin Langhoff 13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
jamiesensei 8bdd8660bf See http://moodle.org/mod/forum/discuss.php?d=77564#p345310 Questions link not showing up. 2007-08-12 16:09:57 +00:00
moodler 1966aa49b9 Added outcomes link back again 2007-08-02 07:39:24 +00:00
moodler c4a71837f3 Removed outcomes and scales links (Use grades instead) 2007-08-02 05:13:15 +00:00
moodler 33c35353dd Don't show outcomes at all if it's not enabled. 2007-08-01 03:57:28 +00:00
stronk7 b030054c1c Using new outcomes icon + whitespace cleaning. 2007-07-31 22:54:46 +00:00
moodler 60e2592702 Reordered the list a bit 2007-07-31 13:51:07 +00:00
skodak 042596946b tabbed Edit/Outcomes interface, link from course admin block, added manage outcomes capability, other cleanup 2007-07-31 09:10:35 +00:00
skodak 78ad5f3ff0 MDL-10544 placeholder for outcome edit forms grade/edit/outcome/
MDL-10650 scales code moved to grade/edit/scale/
refactoring in grade/edit/
2007-07-29 23:02:03 +00:00
skodak 65dd61bda6 MDL-10579 Implement capability checks in grade import/export/report/edit pages - work in progress
refactoring - reports now use real index.php
2007-07-23 22:20:07 +00:00
skodak dd45888a24 MDL-9511 adding/renaming grading capabilities 2007-07-23 19:22:48 +00:00
moodler 540c411934 MOved the main link to reports.php 2007-07-16 04:04:49 +00:00
moodler 052ba1f503 Merged applicable_format fixes for MDL-9119 2007-03-30 16:52:38 +00:00
moodler 6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00