toyomoyo
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +00:00
toyomoyo
d02eededf7
adding capabilities
2006-09-06 08:55:23 +00:00
toyomoyo
3924b9884b
adding capabilities
2006-09-05 08:50:23 +00:00
moodler
2244c22d72
Use the new config variable as a default for paging
2006-09-05 06:11:48 +00:00
cap2501
5be392bd10
Updated so nothing in the database is being manipulated directly except for the block position. look into moving this functionality into the blocks_execute_action.
2006-09-05 00:47:47 +00:00
stronk7
fea43a7f51
Casting $course->modinfo to string prevents one notice to
...
be showed when it's null, returning false as desired.
2006-09-04 21:12:37 +00:00
moodler
4d2401d524
Removed student view
2006-09-03 08:46:30 +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
skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
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