65 Commits

Author SHA1 Message Date
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
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
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
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
moodler
6f7d1382eb Just tidying up, and removed the logs link (it's in reports) 2006-04-26 16:09:43 +00:00
moodler
9d8d30e03a Aha, the link to the new reset feature 2006-03-21 09:04:22 +00:00
vyshane
2c42a9e71c Fixed Bug #4945 2006-03-21 03:11:38 +00:00
skodak
838231ff95 fixed broken log links in admin menu; I noticed it some time ago, the merge seems to be finished - I decided to fix it now 2006-03-15 21:03:45 +00:00
nfreear
3182eb7832 Accessibility: (strict HTML) remove unnecessary width/height attributes on <img> (OU-Bugz: 697) 2006-03-14 14:05:51 +00:00
nfreear
ea78c234f9 Accessibility: fixed ambiguous asterisk next to 'edit profile', with title and hidden text (OU-Bugz: 733). 2006-03-14 12:55:06 +00:00
patrickslee
96a7973eb9 Updated Authorize.net for Ethem 2006-03-13 21:19:04 +00:00
martinlanghoff
d70fd5612d block_admin: add special cases for enrol/authorize -- might need more work for multienrol 2006-03-10 02:20:56 +00:00
moodler
222aa60d3f Adding reports link. 2006-03-09 07:40:41 +00:00
gustav_delius
2662cf46fc Some improvements to how the tabs and links behave. 2006-03-01 21:16:28 +00:00
gustav_delius
d7c4c1b653 Admin Question link now points to the new question bank editing interface in moodle/question/ 2006-02-24 10:58:04 +00:00
gustav_delius
344be2522c Added link to questions bank 2006-02-17 17:15:56 +00:00
defacer
e68cf1b3e9 Merging from STABLE:
Fix for bug 4627:

Hide "change password" link in admin block if the user is restricted.
Not a security issue, as the script doesn't allow you to change your
password even if you go there by typing in the URL.

Credits for report & patch go to Joseph Rezeau.
2006-01-28 19:49:16 +00:00
mjollnir_
e49c4d3075 Fixing wishlist bug # 4357: different icon & wording in admin block for metacourse importstudents 2006-01-17 23:54:14 +00:00
moodler
ef26f27869 Change string name in admin list 2006-01-05 06:30:54 +00:00
defacer
ccfa3918de Merge from STABLE:
XHTML fix, pointed out by James Ballard here:
http://moodle.org/mod/forum/discuss.php?d=35830

(Also just found out it's bug 4451)
2005-12-07 15:01:02 +00:00
patrickslee
9edf8e04e5 More restrictions on enrol/unenrol of meta courses. Thanks to Bug #4057
Merged from MOODLE_15_STABLE
2005-11-15 21:55:13 +00:00
defacer
044cdea0c6 Removing MY_MOODLE_FORMAT constant, we just play along with relative paths. 2005-10-30 01:10:08 +00:00
mjollnir_
140c139e56 Various stats fixes - including putting the link to stats in admin block - which somebody had accidently (I presume) backed out during a conflict 2005-09-28 06:07:40 +00:00
gustav_delius
232b3ccc09 Turn editing on link in admin block was missing sesskey, fixing bug 4013 2005-09-26 09:26:06 +00:00
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
mjollnir_
0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
moodler
84bb3c12d5 Merged block changes from STABLE 2005-05-24 16:57:20 +00:00
moodler
d71756cd47 Bit too zealous 2005-05-05 07:48:15 +00:00
moodler
ac74d58f82 Removed Ellipses, they were looking naff and inconsistent 2005-05-05 07:14:43 +00:00
moodler
4eb25d43aa Adding the new grade tables
POSTGRES IS NOT DONE YET!!!!   DOES SOMEONE WANT TO TACKLE IT NOW?
2005-03-28 18:16:39 +00:00
moodler
01454bd0c8 Styles updates 2005-03-25 16:41:05 +00:00
moodler
2bdc20c709 Just for now, because the new one isn't ready to unleash yet 2005-03-17 21:32:48 +00:00
moodler
a9d9b46af8 Guests can't use messaging 2005-03-17 20:39:30 +00:00
defacer
3ef642d96a Implemented discussion from bug 2547:
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
  instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00
mjollnir_
873bf8758f Initial checkin for import course content functionality (uses backup/restore). Probably needs wording changes and new icon! Please test me *thoroughly*! 2005-01-27 02:35:10 +00:00
mjollnir_
5f37b628ae Update for meta courses. New table renamed from meta_course to course_meta (and upgrade script provided in mysql.php and postgres7.php) and new field in course table renamed from meta_course to metacourse. Associated changes in code. Please test me! 2005-01-25 04:33:02 +00:00
mjollnir_
b61efafba5 Initial checkin for new meta courses feature. Please test!
See http://moodle.org/mod/forum/discuss.php?d=17269 for description.
2005-01-24 22:21:28 +00:00
defacer
04280e857e Renamed set_user_sesskey() to just sesskey(). SC#74 2005-01-23 22:07:13 +00:00
defacer
1a33f699b2 Merging fix for bug 2264 & improvements from MOODLE_14_STABLE 2005-01-12 11:40:46 +00:00
moodler
1376ebb1c1 Undoing the "login as student" link that chooses a student at random. 2004-12-27 02:29:46 +00:00
gustav_delius
48d3eadabc I have put a "Login as Student" link into the admin block. 2004-12-26 20:18:24 +00:00
defacer
e89d741af3 New naming conventions for class names to bring them in line with the
rest of Moodle. The convention for blocks is now:

class block_something extends block_base { ... }

HOWTO updated accordingly, plus some more minor polishing. More to come.
2004-11-23 18:53:34 +00:00