Commit graph

1501 commits

Author SHA1 Message Date
tjhunt
2fe0d172f8 Fix PHP syntax error. I wish more developers used Eclipse. 2006-08-24 11:22:24 +00:00
moodler
0a0bb38019 Ed Coyne's AJAX course format, with some cleanups done.
More cleanups to come from Ed.

This isn't actually working for me right now but he'll fix it now.

This is completely optional and won't affect any other code right now.
2006-08-24 03:20:37 +00:00
moodler
600212a9a1 FIxing Ed's mistaken checkin 2006-08-24 03:17:53 +00:00
danmarsden
038184e264 MDL-4493 issue with 405 pages for IIS users - must specify actual page, as the notice function does a post - you cannot use the POST Verb on a directory in IIS. 2006-08-24 02:08:59 +00:00
cap2501
0894b9271e Semi-final version 2006-08-21 06:15:24 +00:00
cap2501
04b2d74f03 Main JS file for topic - ajax course format (still needs a little cleaning though) 2006-08-21 06:14:43 +00:00
cap2501
be2a520783 Restful interface for AJAX course format 2006-08-21 06:13:28 +00:00
vinkmar
7ff99cb64f admin page cleanup (google soc 2006)... updated to use new pagelib 2006-08-18 07:27:05 +00:00
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +00:00
vyshane
6c384dd1bb Replaced isteacher and isadmin calls by has_capability 2006-08-15 09:56:41 +00:00
vyshane
f8a6c19d23 Replaced creator() calls with has_capability() 2006-08-15 09:45:11 +00:00
vyshane
9f5c1e1057 Added has_capability calls 2006-08-15 09:28:12 +00:00
toyomoyo
0a8a95c91e some more UI stuff 2006-08-15 08:29:29 +00:00
toyomoyo
7e2d7c92ad some UI changes 2006-08-14 08:46:44 +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
b63ec9db78 Adding roles to front page course list "add" button 2006-08-13 13:17:38 +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
d1a66080d5 Bug #6168 - missing link for course request - fixed; merged from MOODLE_16_STABLE 2006-07-31 09:18:52 +00:00
skodak
36259d1bd3 Bug #6135 - Reduce unnecessary use of strtolower to make non-English languages look better; merged from MOODLE_16_STABLE 2006-07-30 21:47:43 +00:00
skodak
d157bd5b28 fixed course/index.php category display affected by previous commit - improved category and course list display on front page; merged from MOODLE_16_STABLE 2006-07-19 13:16:57 +00:00
skodak
1bc6fc82b6 section not always moved when requested - page reloading prevented by anchor; added random parameter to force reloading; merged from MOODLE_16_STABLE 2006-07-19 12:52:06 +00:00
skodak
a987106d9e Bug #6093 - Removed course sections re-appear after moving existing sections; merged from MOODLE_16_STABLE 2006-07-19 12:30:39 +00:00
skodak
6f24e48e1f Improved category and course list display on front page- see bug Bug #5965 - Frontpage Category List also showing courses; new Combo List(categories + courses), fixed categories list and separate settings for not logged in / logged in users; merged from MOODLE_16_STABLE 2006-07-19 12:10:07 +00:00
skodak
43d774a94f Bug #6120 - Course creation - loginproblem; merged from MOODLE_16_STABLE 2006-07-17 08:39:36 +00:00
skodak
81e10e950d Bug #6007 - "The requested URL /course/report/log/view.php was not found on this server" merged from MOODLE_16_STABLE 2006-07-04 05:27:18 +00:00
skodak
13d32e2297 Bug #5974 - Course overview report should not error when stats are not up to date; fixed by changing the return value from stats_check_uptodate(), NULL is now OK, string value describes error and adding notify() where needed; merged from MOODLE_16_STABLE 2006-07-03 15:43:41 +00:00
skodak
d6e1bd8092 Bug #5941 - Myriad of problems with Paypal enrollmemts, part 3 - fixed 'login as student' button, now plain guest login action; merged from MOODLE_16_STABLE 2006-06-28 15:38:04 +00:00
skodak
7c24284126 minor loginas cleanup; merged from MOODLE_16_STABLE 2006-06-28 14:58:30 +00:00
skodak
6865c1ff89 fixed broken stats image link, Bug #5924 - User profile statistics tab; merged from MOODLE_16_STABLE 2006-06-26 13:49:03 +00:00
moodler
df2f835eeb Merged changes from stable 2006-06-11 06:48:56 +00:00
skodak
f2fe353f2b Fixed course searching; merged from MOODLE_16_STABLE 2006-06-08 06:25:05 +00:00
skodak
c2f3feed17 incorrect course number in categories after course delete; merged from MOODLE_16_STABLE 2006-06-07 14:05:44 +00:00
skodak
332fbc3027 Bug #5734 - Enrolled students can't access metacourse after unhiding while logged in; merged from MODOLE_16_STABLE 2006-06-06 19:01:46 +00:00
vyshane
030605e57a Merge from 1.6. Refactored this report module so that we can use it as an
admin report module.
2006-06-06 04:15:04 +00:00
skodak
f4f0bc84cb Bug #5716 - Impossible to turn off highlighted current topic; merged from MOODLE_16_STABLE 2006-06-03 23:49:15 +00:00
stronk7
b841722573 icourse report xxxx actions must send courseid in the info field. Bug 5714.
(http://moodle.org/bugs/bug.php?op=show&bugid=5714)

Merged from MOODLE_16_STABLE
2006-06-03 20:37:55 +00:00
skodak
6d7ef1f2c3 merged Martins warning patch from MOODLE_16_STABLE 2006-06-02 16:53:17 +00:00
nfreear
b65f13b510 Fix, bug 5614 - added ALT text for link icons (x 5), based on TITLE. Merged from stable branch. 2006-06-02 13:18:49 +00:00
vyshane
44e852cbea Merged from 1.6. Fixed php warnings when no course is selected. 2006-06-02 07:37:45 +00:00
skodak
cb77cf1262 fixed problem in restricted modules - mods were accessed using strtolower(translated module name) instead of directory name as usual, it partially worked for English; merged from MOODLE_16_STABLE 2006-06-01 19:52:38 +00:00
tjhunt
1dd9972889 Check for errors before doing other processing. (Compare this with the add case.) 2006-05-31 10:34:05 +00:00
nfreear
134759fc36 Ongoing fix, bug 5614 - added ALT text for link icons, based on TITLE. Merged from stable branch. 2006-05-25 16:00:26 +00:00
skodak
a632e5dab1 fixed bug 5594 - can not save group details; merged from MOODLE_16_STABLE 2006-05-23 18:00:20 +00:00
skodak
4b9842d27d fixed incorrect output buffer use - bug #5590; merged from MOODLE_16_STABLE 2006-05-23 10:55:32 +00:00
skodak
2ee2481ef9 fixed register globals issue with $loginasguest; merged from MOODLE_16_STABLE 2006-05-21 20:51:52 +00:00
skodak
cd7d03fa48 fixed register globals issues in course/search.php; merged from MOODLE_16_STABLE 2006-05-20 18:41:59 +00:00
skodak
9cb14dbd9e proper initialisation of $focus SC#257; merged from MOODLE_16_STABLE 2006-05-20 18:19:27 +00:00
skodak
82f0028119 do not show pending courses button for nonadmins bug #5564; merged from MOODLE_16_STABLE 2006-05-20 18:08:25 +00:00
dwoolhead
58de1815f4 Bug 5536 Replaced references to hide by show. Merged from stable branch. 2006-05-18 16:15:04 +00:00