723 Commits

Author SHA1 Message Date
vyshane
bede8db79f Updated with new capabilities 2006-08-15 05:01:00 +00:00
skodak
795821c497 fixed warning in participants block 2006-08-14 08:54:45 +00:00
moodler
339a9129ec Only need to pass contextid to this script 2006-08-14 08:41:54 +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
stronk7
388e9ab212 One more FK in blocks system. 2006-08-09 11:56:02 +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
stronk7
08b6ce833d Initial commit for rss block tables 2006-08-07 18:40:37 +00:00
stronk7
158c1b3035 Initial commit of blocks XMLDB schema 2006-08-07 18:30:46 +00:00
danmarsden
5ac207d98e fix for Bug #4733 title gets garbled when html inside title. 2006-07-23 22:05:18 +00:00
skodak
ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
skodak
3984a18589 Bug #6080 - Loancalc block doesn't define a footer string; merged from MOODLE_16_STABLE 2006-07-14 21:05:14 +00:00
sam_marshall
44c55d4662 Added hooks so that blocks can create functions that are run when they are installed and uninstalled. The base implementation does nothing. 2006-07-14 11:17:46 +00:00
mchampan
a25a3912f7 Search functions moved from mod/name/lib.php to search/documents/mod_document.php.
Pagination added to query page. Various small changes and amendments.
2006-07-11 17:15:22 +00:00
mchampan
e0eb89a13e Initial commit 2006-07-11 16:08:47 +00:00
mchampan
682d403259 Initial commit 2006-06-25 23:07:36 +00:00
moodler
25fb38d465 Merged tag block context fixes from stable 2006-06-19 14:17:55 +00:00
moodler
2de48ff93d Added check for $CFG->disablemycourses 2006-06-16 04:28:56 +00:00
vyshane
9dc3d3255d Merged from 1.6. Fix for Bug #5767 - Section links block is removed from
course view after settings update.
2006-06-13 07:50:02 +00:00
nfreear
782792047b Fix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php: print_side_block, edits to moodleblock.class.php, Standard style, en_utf8 language pack. 2006-06-09 14:25:18 +00:00
toyomoyo
e3cfd5d717 merged fix for 5748 2006-06-08 04:08:04 +00:00
toyomoyo
cc82876291 changepassword obsolete, merged 2006-05-31 07:24:19 +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
moodler
1a2ea6f488 Merged $course -> $COURSE fixes from 1.6 stable 2006-05-29 08:17:57 +00:00
skodak
70efd5689a fixed redirection to https:// for edit profile and change password when loginhttps on; merged from MOODLE_16_STABLE 2006-05-21 20:35:22 +00:00
vyshane
2631c1744e Fix for Bug #5541 2006-05-19 06:25:12 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
martinlanghoff
7f8199c253 moodle16cleanup: blocks/rss_client set the correct column default value 2006-05-17 06:35:50 +00:00
toyomoyo
6caa2c52ec merged fix for 5493 2006-05-15 03:00:11 +00:00
toyomoyo
114f81ce09 merged, tidying up constants 2006-05-15 02:57:48 +00:00
toyomoyo
f1f5ec3773 fix for 5438 merged 2006-05-08 07:09:28 +00:00
stronk7
0045d58c69 Now the help link in the admin block points to Docs. Bug 4803.
(http://moodle.org/bugs/bug.php?op=show&bugid=4803)

Merged from MOODLE_16_STABLE
2006-05-05 17:56:56 +00:00
toyomoyo
332135efd0 fix for 5386 2006-05-01 07:49:28 +00:00
toyomoyo
351576e4df fix for 5384, added a link for tags in the blog_menu block 2006-05-01 03:53:16 +00:00
moodler
dd0863ddf4 Fixed links on blog pages 2006-05-01 03:34:51 +00:00
moodler
6279c33fbd Some fixes for the links in the blog tags block 2006-05-01 03:11:45 +00:00
moodler
776d8f1581 Moved blog_tags block styles to the block itself 2006-05-01 02:01:37 +00:00
moodler
6f7d1382eb Just tidying up, and removed the logs link (it's in reports) 2006-04-26 16:09:43 +00:00
toyomoyo
9fad492eb5 some small fixes, mostly for 5174 2006-04-24 03:36:02 +00:00
toyomoyo
e080039ebe just in case of there's no course 2006-04-20 07:34:06 +00:00
toyomoyo
56c5918727 fix for 5257 2006-04-20 02:33:04 +00:00
toyomoyo
98ae4e63da block unicode migration bugs 2006-04-18 06:17:30 +00:00
toyomoyo
a2d09dee4b bug #5234, so I took out has_config, this block has no config globals right? 2006-04-18 02:37:44 +00:00
vyshane
ab6d44896a Added default value for not null. 2006-04-13 02:55:27 +00:00
vyshane
4b10570aef Added default value for enum that has been defined as not null. 2006-04-12 09:01:07 +00:00
toyomoyo
26f8fcd0f4 took out blog_isLogged_In function 2006-04-12 04:10:24 +00:00
toyomoyo
a1856aff0b html issues 2006-04-12 04:03:57 +00:00