Commit graph

106 commits

Author SHA1 Message Date
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
toyomoyo
e2cd3ed012 merged nick's fix for MDL-8582, ampersand in course name/shortname causes xtheml strict problems 2007-02-23 06:03:09 +00:00
skodak
84c8ede022 MDL-8343 reorganize frontpage settings in admintree - admin tree now allows to specify context together with required capability for each entry
MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - first part of cleanup related to frontpage
2007-01-29 21:29:27 +00:00
skodak
440d164869 MDL-7861xhtml strict and css fixes in blocks 2007-01-09 23:45:24 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
toyomoyo
7cf0769e97 reenabling this for site level course, backup/restore/assign roles and so on.
This provides a course context for the site course
2006-11-15 07:17:46 +00:00
moodler
f440589b77 Merged fix from MDL-7239 2006-10-31 14:08:17 +00:00
skodak
c517c8f779 Wrong "settings" link in course Administration block on module pages MDL-7286; merged from MOODLE_17_STABLE 2006-10-30 14:58:09 +00:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
d7a7184730 New upgrade.php file added for this module. MDL-7214 2006-10-26 16:33:49 +00:00
moodler
bd4128e91f Merged enrolment-related fixes from stable 2006-10-20 17:53:50 +00:00
moodler
d4484f3209 IFxed some notices when the block was used on sticky blocks page. MDL-6620 2006-09-30 08:22:17 +00:00
moodler
2d14e8a8fe Removed duplicate capability moodle/course:managequestions MDL-6610 2006-09-28 07:17:39 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
moodler
09edb3794b Fixed a capability name typo 2006-09-21 14:07:27 +00:00
skodak
b79da3ac68 moodle/course:managemetacourse is now singular 2006-09-19 06:35:52 +00:00
skodak
a7a54c3ba1 new metacourse fixes for admin block 2006-09-18 09:58:22 +00:00
moodler
b649a19e20 Some tidying up of admin blocks 2006-09-06 05:24:35 +00:00
moodler
6d0bd10c0a A temporary icon for roles (needs work!) 2006-09-06 02:16:48 +00:00
toyomoyo
cc398c7262 adding caapabilities 2006-09-04 08:45:08 +00:00
skodak
50999a0b94 new admin block fixes and reorganisation - I guess we need something more traditional for now 2006-09-03 13:10:56 +00:00
skodak
02cc05a708 fixes for new admin blocks 2006-09-02 23:55:56 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
moodler
cf0b6604e0 Removed tabs
This block still needs work to merge with the new admin pages
2006-08-31 04:00:01 +00:00
vyshane
905c4567a2 Removed forum_get_course_forum for forum type teacher. 2006-08-23 07:05:36 +00:00
vyshane
bede8db79f Updated with new capabilities 2006-08-15 05:01:00 +00:00
moodler
5c524305e3 FIxed 'assign roles' link from course admin 2006-08-14 08:34:11 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
624f2fea76 Removed some old calls to isadmin 2006-08-13 13:12:51 +00:00
moodler
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
toyomoyo
6dede909af merged, changepassword obsolete 2006-05-31 07:12:10 +00:00
moodler
815c84a8dc Merged fix from stable 2006-05-29 08:36:58 +00:00