1272 Commits

Author SHA1 Message Date
cap2501
305f223035 Switched over to using moodle commands instead of direct DB manipulation for everything but blocks(still working on that one). 2006-08-30 21:38:23 +00:00
cap2501
ff96b9df7e Added the 'delete' methods back nessicary to change $field to optional. 2006-08-30 19:22:34 +00:00
moodler
3511c16cfd Minor change to prevent bugs while Ed works on not needing this parameter at all. 2006-08-29 04:04:12 +00:00
cap2501
d63545d8e8 Fixed errors in refactoring ( rev4, almost there) 2006-08-29 02:34:35 +00:00
cap2501
dad4a8e5d7 Fixed errors in refactoring ( rev3, almost there) 2006-08-29 02:02:45 +00:00
cap2501
5281e0ab2a Fixed errors in refactoring ( rev2) 2006-08-29 01:38:58 +00:00
cap2501
6fe72833d0 Fixed errors in refactoring 2006-08-29 01:35:45 +00:00
moodler
5bfecd388d Cleaned up the code to remove security issues and to show Ed Coyne
how to use the Moodle API and follow coding guidelines.

I think I broke something but I'm sure Ed can fix it from here!
2006-08-28 14:42:07 +00:00
moodler
a0bfbeaae8 Integrated topicsajax into "topics" 2006-08-28 06:49:19 +00:00
cap2501
0dcb53d545 removed override for $USER->use_ajax 2006-08-28 04:30:46 +00:00
cap2501
2f661649b0 *** empty log message *** 2006-08-28 02:49:04 +00:00
cap2501
49884e9702 Removed evil tabs 2006-08-27 23:45:36 +00:00
cap2501
9a900dfc07 converted dos mode to unix mode 2006-08-27 23:28:39 +00:00
cap2501
097579f09c Fixed to eliminate use of 'GET' and 'POST' 2006-08-27 22:58:51 +00:00
cap2501
ee3c87bd84 Fixes needed to work from cvs 2006-08-27 22:09:56 +00:00
vyshane
1a3e93ffe6 Added has_capability checks 2006-08-25 08:51:50 +00:00
vyshane
25c38f25a1 Added has_capability check 2006-08-25 08:30:25 +00:00
vyshane
6ac96fcb3c Added has_capability checks 2006-08-25 08:27:28 +00:00
toyomoyo
41d7209c7f some (mainly admin realated) capabilities 2006-08-25 08:27:27 +00:00
moodler
954fdb4293 FIxed some tabs :(
and added a module-xxxxx CSS id to each item
2006-08-25 07:09:28 +00:00
vyshane
1be4d00d56 Previous committer missed one rename from $edit to $categoryedit. Fixed. 2006-08-25 04:06:41 +00:00
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